From owner-svn-ports-head@FreeBSD.ORG Thu Jul 24 13:18:00 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5457E3EB for ; Thu, 24 Jul 2014 13:18:00 +0000 (UTC) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE9DD2F2A for ; Thu, 24 Jul 2014 13:17:59 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id gl10so1874988lab.21 for ; Thu, 24 Jul 2014 06:17:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=UmBWMgQcPx8dF44aJuEWRLozaUzkF1jfC3HLnYBrLes=; b=JL8Ju+tAE6zkClhJv5xHQXBDNWi0MEryBWO2mCj/Lfg2wklMqKmF/GniiZ1tlmvIj9 3tZLg14+NJnaJ/BHVx2k+hYHg5Alg3WvrL5IIbw0qlugxPLkSHYfaPn3VzxZbcm830sr BhVO+vqQtDINoKa7cSVaBSHsst2VLu+sTnnEFDAcLdCEvzuEtUDafYqAJxAy1OGWAHJ6 rdNy+croQlY+g3optcNLq2bwdms2nlhMeZJVUezmUwzwhwajeltKZ75+ngpzRTOTU6Du 3V8fp4oHxHmrjO2gM9UuXeIEMYHKzMSs5CNkdGE+220TKkQdEUuob0M/Bl+F510QaC/D WXPQ== X-Gm-Message-State: ALoCoQkXCAnJ4VB8K/AvdQKUpsyb5Q9fZMU4fIL5z8vrRapunnOdDKSEDIbhEeO8qOCP2To5oM8q X-Received: by 10.112.143.8 with SMTP id sa8mr8895256lbb.89.1406207871113; Thu, 24 Jul 2014 06:17:51 -0700 (PDT) MIME-Version: 1.0 Sender: sunpoet@sunpoet.net Received: by 10.112.161.100 with HTTP; Thu, 24 Jul 2014 06:17:30 -0700 (PDT) In-Reply-To: <20140724110707.690e7fe7@kalimero.tijl.coosemans.org> References: <201407240511.s6O5Btub011489@svn.freebsd.org> <20140724110707.690e7fe7@kalimero.tijl.coosemans.org> From: Sunpoet Po-Chuan Hsieh Date: Thu, 24 Jul 2014 21:17:30 +0800 X-Google-Sender-Auth: UWyr4-btB3vft4-TshmGa-SzGCc Message-ID: Subject: Re: svn commit: r362762 - head/sysutils/freeipmi To: Tijl Coosemans Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 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:18:00 -0000 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