From owner-freebsd-current@FreeBSD.ORG Mon Oct 6 14:59:55 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37B7331E; Mon, 6 Oct 2014 14:59:55 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B228D8A5; Mon, 6 Oct 2014 14:59:54 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1Xb9lJ-001W3K-VP>; Mon, 06 Oct 2014 16:59:45 +0200 Received: from f052001024.adsl.alicedsl.de ([78.52.1.24] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1Xb9lJ-002ZGa-Qe>; Mon, 06 Oct 2014 16:59:45 +0200 Date: Mon, 6 Oct 2014 16:59:40 +0200 From: "O. Hartmann" To: Mark Johnston Subject: Re: CURRENT: buildworld fails to compile: cannot find -lctf cc: error: linker command failed [libproc.so.3] Message-ID: <20141006165940.1b1ed2d2.ohartman@zedat.fu-berlin.de> In-Reply-To: <20141005222019.GA55189@charmander.picturesperfect.net> References: <20141004194756.5c291180.ohartman@zedat.fu-berlin.de> <20141004183337.GA22999@charmander.picturesperfect.net> <20141004224007.GA82800@charmander.picturesperfect.net> <54308593.6050301@pinyon.org> <20141005004314.GA30051@charmander.picturesperfect.net> <20141005111855.1d8691d1.ohartman@zedat.fu-berlin.de> <20141005222019.GA55189@charmander.picturesperfect.net> Organization: FU Berlin X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/u_m0hebVUW9Yb_umnU5n8sM"; protocol="application/pgp-signature" X-Originating-IP: 78.52.1.24 X-ZEDAT-Hint: A Cc: "Russell L. Carter" , Arseny Nasokin , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2014 14:59:55 -0000 --Sig_/u_m0hebVUW9Yb_umnU5n8sM Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am Sun, 5 Oct 2014 15:20:20 -0700 Mark Johnston schrieb: > On Sun, Oct 05, 2014 at 11:18:55AM +0200, O. Hartmann wrote: > > Am Sun, 5 Oct 2014 05:36:57 +0400 > > Arseny Nasokin schrieb: > >=20 > > > Mark, > > >=20 > > > Thank you for patch, I encounter same error and this patch works for = me. > > >=20 > > > =E2=9C=AA > > >=20 > > >=20 > > > -- Eir Nym > > >=20 > > > On 5 October 2014 04:43, Mark Johnston wrote: > > >=20 > > > > On Sat, Oct 04, 2014 at 04:41:07PM -0700, Russell L. Carter wrote: > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > > Hash: SHA1 > > > > > > > > > > > > > > > > > > > > On 10/04/14 15:58, Mark Johnston wrote: > > > > > > On Sat, Oct 4, 2014 at 3:40 PM, Mark Johnston > > > > > > wrote: > > > > > >> On Sat, Oct 04, 2014 at 04:39:37PM -0400, Ryan Stone wrote: > > > > > >>> On Sat, Oct 4, 2014 at 2:33 PM, Mark Johnston > > > > > >>> wrote: > > > > > >>>> On Sat, Oct 04, 2014 at 07:47:56PM +0200, O. Hartmann wrote: > > > > > >>>>> Recent sources (Revision: 272529) fail to compile: > > > > > >>>>> > > > > > >>>>> [...] cc -m32 -march=3Dnative -DCOMPAT_32BIT -isystem > > > > > >>>>> /usr/obj/usr/src/lib32/usr/include/ > > > > > >>>>> -L/usr/obj/usr/src/lib32/usr/lib32 > > > > > >>>>> -B/usr/obj/usr/src/lib32/usr/lib32 -O2 -pipe -O3 -O3 -pipe > > > > > >>>>> -DYP -I/usr/obj/usr/src/lib32/usr/include/rpcsvc -std=3Dgnu= 99 > > > > > >>>>> -fstack-protector -Wsystem-headers -Werror > > > > > >>>>> -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int > > > > > >>>>> -Wno-unused-const-variable -Wno-tautological-compare > > > > > >>>>> -Wno-unused-value -Wno-parentheses-equality > > > > > >>>>> -Wno-unused-function -Wno-enum-conversion -Wno-switch > > > > > >>>>> -Wno-switch-enum -Wno-knr-promoted-parameter > > > > > >>>>> -Wno-parentheses -Qunused-arguments -c > > > > > >>>>> /usr/src/lib/librpcsvc/yp_passwd.c -o yp_passwd.o --- > > > > > >>>>> all_subdir_libproc --- --- libproc.so.3 --- > > > > > >>>>> /usr/obj/usr/src/tmp/usr/bin/ld: skipping incompatible > > > > > >>>>> /usr/obj/usr/src/tmp/usr/lib/libctf.so when searching for > > > > > >>>> > > > > > >>>> I'm confused by this message. Are you building with > > > > > >>>> -DNO_CLEAN? Do you have anything in make.conf or src.conf, > > > > > >>>> especially anything that's changed since libctf was rebuilt? > > > > > >>>> > > > > > >>>> You might try rebuilding libctf with > > > > > >>>> > > > > > >>>> $ cd /usr/src $ make -C cddl/lib/libctf clean all > > > > > >>>> > > > > > >>>> but I'm not sure why ld is ignoring the existing libctf.so. > > > > > >>> > > > > > >>> The failure is coming while building the lib32 compat > > > > > >>> libraries. Are we not currently building a lib32 libctf.so? > > > > > >> > > > > > >> No, we do. One thing I've noticed is that cddl/lib is built af= ter > > > > > >> lib/ when compiling 32-bit libs, whereas cddl/lib is built fir= st > > > > > >> when building natively. > > > > > > > > > > > > Sorry, that's not even true. I misread a part of Makefile.inc1. > > > > > > > > > > > > I'm still not able to reproduce the problem, but it seems that = the > > > > > > patch here is appropriate: > > > > > > http://people.freebsd.org/~markj/patches/libctf_prebuild.diff > > > > > > > > > > > > Oliver, could you give this a try? > > > > > > > > > > Even poudriere can't get past this one. > > > > > > > > Sorry, it was incomplete. It's been updated: > > > > http://people.freebsd.org/~markj/patches/libctf_prebuild.diff > > > > _______________________________________________ > > > > freebsd-current@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freeb= sd.org" > > > > > > > _______________________________________________ > > > freebsd-current@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd= .org" > >=20 > > After some minor corrections to the patch (the patched original sources= seem not to > > match most recent CURRENT sources as of revision 272562), buildworld wo= rks again as > > expected. > >=20 > > Thank you very much. >=20 > Committed as r272576. Sorry for the breakage. >=20 > The patch was generated from my git tree, which didn't contain r272484, > so the patch wouldn't apply to svn cleanly. I'll be sure to check that > next time. :( >=20 > Thanks, > -Mark > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" ... everything is shiny here ... Oliver --Sig_/u_m0hebVUW9Yb_umnU5n8sM Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUMq5hAAoJEOgBcD7A/5N8irkH/2TNu99jlXeFChwslXufoGQn mI5yPYfdXPBDPet8KCaFsbzVyqIZvAt0JWEIalVp0aufquRlZk6tJblTn8ZM8rm/ L15HoPqxtRYJQvvWJpjagzG6DIK703O8NzkLXuc6MGLX/seDt3Ly8i1qnjKCYaYp 3xS4KQ3XIoU1mBvmvh37YHX9WfpiJaqCPC6wds9mYd0OUjKKasfy8INEY5Offo1d 6FJViYM6PjbtRj72emyy3y+wCdGFUSR3ja4KBKK5apg9rdmrhWgPuR+g4O21NhfH dlXO5fX01zKCRy02CkFUzxXWJ9Hztqpz1x2vdlIWBHlKuauFg877fwuGWWG3wCQ= =ARdg -----END PGP SIGNATURE----- --Sig_/u_m0hebVUW9Yb_umnU5n8sM--