Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2014 21:17:30 +0800
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        Tijl Coosemans <tijl@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers <ports-committers@freebsd.org>
Subject:   Re: svn commit: r362762 - head/sysutils/freeipmi
Message-ID:  <CAMHz58SUEna8ouWxL9Aggj_96eAyoskV1F9=CcJEV2%2BRDhPrdw@mail.gmail.com>
In-Reply-To: <20140724110707.690e7fe7@kalimero.tijl.coosemans.org>
References:  <201407240511.s6O5Btub011489@svn.freebsd.org> <20140724110707.690e7fe7@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 24, 2014 at 5:07 PM, Tijl Coosemans <tijl@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@FreeBSD.org
Last committer: sunpoet@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58SUEna8ouWxL9Aggj_96eAyoskV1F9=CcJEV2%2BRDhPrdw>