svn commit: r362762 - head/sysutils/freeipmi

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Jul 24 13:18:00 UTC 2014


On Thu, Jul 24, 2014 at 5:07 PM, Tijl Coosemans <tijl at freebsd.org> wrote:

> On Thu, 24 Jul 2014 05:11:55 +0000 (UTC) Sunpoet Po-Chuan Hsieh wrote:
> > Author: sunpoet
> > Date: Thu Jul 24 05:11:54 2014
> > New Revision: 362762
> > URL: http://svnweb.freebsd.org/changeset/ports/362762
> > QAT: https://qat.redports.org/buildarchive/r362762/
> >
> > Log:
> >   - Fix build on 11-CURRENT
> >
> > Modified:
> >   head/sysutils/freeipmi/Makefile
> >
> > Modified: head/sysutils/freeipmi/Makefile
> >
> ==============================================================================
> > --- head/sysutils/freeipmi/Makefile   Thu Jul 24 05:01:54 2014
>  (r362761)
> > +++ head/sysutils/freeipmi/Makefile   Thu Jul 24 05:11:54 2014
>  (r362762)
> > @@ -24,7 +24,7 @@ CONFIGURE_ARGS=     --disable-init-scripts \
> >
> --with-ipmi-monitoring-sdr-cache-dir=${CACHE_DIR}/ipmimonitoringsdrcache \
> >               --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig
> >  CONFIGURE_ENV=       PTHREAD_LIBS=-pthread ac_cv_path_CPP=${CPP}
> > -CPPFLAGS+=   -I${LOCALBASE}/include
> > +CPPFLAGS+=   -fPIC -I${LOCALBASE}/include
>
> Adding -fPIC like that is almost always wrong, because now you also
> build executables and static libraries with it.
>
> This port builds fine without -fPIC on beefy and redports so what
> exactly is the problem?
>
> Same for r362761.
>

I got pkg-fallout mail before this commit.
And I got same error on an up-to-date poudriere jail (11.0-CURRENT, amd64,
ftp).

The pkg-fallout mail:

Subject: [package - head-amd64-default-ssp][sysutils/freeipmi] Failed for
freeipmi-1.4.4 in build

Maintainer:     sunpoet at FreeBSD.org
Last committer: sunpoet at FreeBSD.org
Ident:          $FreeBSD: head/sysutils/freeipmi/Makefile 359782 2014-06-29
16:08:36Z sunpoet $
Log URL:
http://beefy4.isc.freebsd.org/data/head-amd64-default-ssp/2014-07-23_14h23m28s/logs/
freeipmi-1.4.4.log
Build URL:
http://beefy4.isc.freebsd.org/build.html?mastername=head-amd64-default-ssp&build=2014-07-23_14h23m28s

...

/usr/bin/ld: api/.libs/libfreeipmi_la-ipmi-api.o: relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
api/.libs/libfreeipmi_la-ipmi-api.o: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [libfreeipmi.la] Error 1
gmake[3]: Leaving directory `/wrkdirs/usr/ports/sysutils/
freeipmi/work/freeipmi-1.4.4/libfreeipmi'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/wrkdirs/usr/ports/sysutils/
freeipmi/work/freeipmi-1.4.4/libfreeipmi'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/wrkdirs/usr/ports/sysutils/
freeipmi/work/freeipmi-1.4.4'
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/freeipmi


More information about the svn-ports-head mailing list