From owner-svn-ports-head@FreeBSD.ORG Thu Jul 24 13:40:59 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 16C4A920; Thu, 24 Jul 2014 13:40:59 +0000 (UTC) Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be [195.238.6.174]) by mx1.freebsd.org (Postfix) with ESMTP id 2FF2820FB; Thu, 24 Jul 2014 13:40:57 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnIGAAwM0VNbs4XT/2dsb2JhbABZgw5STQrJOYdDAYEKF3eEAwEBBTocIxALFAMBCSUPKhYIBhOIRgEIwDwXjnoBARwzB4RGBZsygVOScINKOy8BAQEBgQg Received: from 211.133-179-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.179.133.211]) by relay.skynet.be with ESMTP; 24 Jul 2014 15:40:50 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id s6ODemYZ003426; Thu, 24 Jul 2014 15:40:48 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Thu, 24 Jul 2014 15:40:47 +0200 From: Tijl Coosemans To: Sunpoet Po-Chuan Hsieh Subject: Re: svn commit: r362762 - head/sysutils/freeipmi Message-ID: <20140724154047.0a2c4ded@kalimero.tijl.coosemans.org> In-Reply-To: References: <201407240511.s6O5Btub011489@svn.freebsd.org> <20140724110707.690e7fe7@kalimero.tijl.coosemans.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2014 13:40:59 -0000 On Thu, 24 Jul 2014 21:17:30 +0800 Sunpoet Po-Chuan Hsieh wrote: > On Thu, Jul 24, 2014 at 5:07 PM, Tijl Coosemans 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 I cannot access that log url, but I suspect it's the same as this one: http://beefy4.isc.freebsd.org/bulk/head-amd64-default-ssp/2014-07-23_14h23m28s/logs/freeipmi-1.4.4.log There's this line in the configure output: checking if cc PIC flag -fPIC -DPIC works... no Can you check the config.log file to see why this test fails?