From owner-freebsd-current@FreeBSD.ORG Sun Oct 5 09:37:46 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 C34BB209; Sun, 5 Oct 2014 09:37:46 +0000 (UTC) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (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 8CF7CCB0; Sun, 5 Oct 2014 09:37:46 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id kq14so3661455pab.26 for ; Sun, 05 Oct 2014 02:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LXJ1xmbPQym6IY27hxd0XFJIKdxoso7D14zFY7sMrXs=; b=Rq4ECp5PJe/++4BkL3akGPrYFYsCTJTL2xAtE5EB7JAfWO8w36elTiBWYtw3Cesxml uV+HC/zwYd+i7h+ayRffGYANaXmDGE3xjF/0wQw5PBlP3ZXWsxTUee2yf3S0GiTp9Bcj d+FDTWYclKaYng6v6OZMMvAsSQK8n5lUFpoD62n2LAStW/9tEj8vP5aT4F8LE3GpUTo5 It6BIp+7I32w9C599MDumOepo81T9piyXaj5s84z2gkLnepDaLaE5q/Vb6mJfkeVOUBU iOnaoWh89Bi7fZweixoTvIdyFChpKGvih6VKvOzfJ3W8WB9VCP+vi+9z9UDgzCF1CboC 0RhA== X-Received: by 10.70.36.237 with SMTP id t13mr358221pdj.134.1412501866027; Sun, 05 Oct 2014 02:37:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.9.66 with HTTP; Sun, 5 Oct 2014 02:37:25 -0700 (PDT) In-Reply-To: <20141005111855.1d8691d1.ohartman@zedat.fu-berlin.de> 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> From: Arseny Nasokin Date: Sun, 5 Oct 2014 13:37:25 +0400 Message-ID: Subject: Re: CURRENT: buildworld fails to compile: cannot find -lctf cc: error: linker command failed [libproc.so.3] To: "O. Hartmann" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "Russell L. Carter" , Mark Johnston , 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: Sun, 05 Oct 2014 09:37:46 -0000 Waiting for patch in -CURRENT. -- Eir Nym On 5 October 2014 13:18, O. Hartmann wrote: > Am Sun, 5 Oct 2014 05:36:57 +0400 > Arseny Nasokin schrieb: > > > Mark, > > > > Thank you for patch, I encounter same error and this patch works for me= . > > > > =E2=9C=AA > > > > > > -- Eir Nym > > > > On 5 October 2014 04:43, Mark Johnston wrote: > > > > > 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=3Dgnu99 > > > > >>>>> -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 afte= r > > > > >> lib/ when compiling 32-bit libs, whereas cddl/lib is built first > > > > >> 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 th= e > > > > > 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@freebsd.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" > > After some minor corrections to the patch (the patched original sources > seem not to match > most recent CURRENT sources as of revision 272562), buildworld works agai= n > as expected. > > Thank you very much. > > Oliver >