From owner-freebsd-current@FreeBSD.ORG Mon Feb 16 22:10:28 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA3404A7 for ; Mon, 16 Feb 2015 22:10:28 +0000 (UTC) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB48199A for ; Mon, 16 Feb 2015 22:10:28 +0000 (UTC) Received: by pabrd3 with SMTP id rd3so1302583pab.1 for ; Mon, 16 Feb 2015 14:10:21 -0800 (PST) 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=nYepPNOhBbvBLWcCjHowIiNCdyh2nIJXKcRyX/GgaoA=; b=cFRC+HTJsl0j3pVc18VNDSF29iOon7vjiL0AQQposiYR4trkHJZJePomgvhqh20igu CvrzvgVrr668diU089XeFpIRefkNffHxI2oJFzN+k8yKz/9s7mFW+8WXAnyCu3uOGjH+ ltqPf3MrGKYeAVI66X1it2APjU9i/6d1gl8M7QUk8JjrJZXM+7Y7GWiTp8Tew5Y9eeLZ 2uvlv88qXakEZqVJRR8Y8u/Z4URu15X+2tCpzqZOkERXdICl+R8k8IG7hfXpf1TdKCzG HZtriAyDImkSaXFvv9r5ohDIIkXK7SHkFHwDNCCKucvgcqfdOXJs5mzf1LmFY0Ef4Gba 9meg== X-Received: by 10.68.125.227 with SMTP id mt3mr44295903pbb.118.1424124621811; Mon, 16 Feb 2015 14:10:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.66.232.9 with HTTP; Mon, 16 Feb 2015 14:10:01 -0800 (PST) In-Reply-To: References: <19E33DDA-E850-466F-9BD9-EB7ED257E428@gmail.com> From: Arseny Nasokin Date: Tue, 17 Feb 2015 02:10:01 +0400 Message-ID: Subject: Re: Current build world failed: bsdxml is missing? To: Garrett Cooper Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: 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, 16 Feb 2015 22:10:28 -0000 On 16 February 2015 at 17:04, Arseny Nasokin wrote: > On 16 February 2015 at 15:34, Garrett Cooper > wrote: > >> On Feb 16, 2015, at 4:28, Arseny Nasokin wrote: >> >> > Geom XML output is failed to build. >> > >> > Build box SVN version is: CURRENT-r265265. >> > >> > Related log output is: >> > >> > --- sbin.all__D --- >> > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o): In function >> > `geom_xml2tree': >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x5e): undefined reference >> to >> > `XML_ParserCreate' >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xa2): undefined reference >> to >> > `XML_SetUserData' >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xb4): undefined reference >> to >> > `XML_SetElementHandler' >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xc1): undefined reference >> to >> > `XML_SetCharacterDataHandler' >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xdb): undefined reference >> to >> > `XML_Parse' >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xfd): undefined reference >> to >> > `XML_ParserFree' >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x373): undefined referenc= e >> to >> > `XML_ParserFree' >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x37d): undefined referenc= e >> to >> > `XML_GetErrorCode' >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x397): undefined referenc= e >> to >> > `XML_ParserFree' >> > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o): In function >> > `StartElement': >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x3eb): undefined referenc= e >> to >> > `sbuf_new' >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x735): undefined referenc= e >> to >> > `XML_StopParser' >> > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o): In function >> > `EndElement': >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x7bb): undefined referenc= e >> to >> > `sbuf_finish' >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x7d0): undefined referenc= e >> to >> > `sbuf_data' >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x7e9): undefined referenc= e >> to >> > `sbuf_delete' >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xa25): undefined referenc= e >> to >> > `XML_StopParser' >> > /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o): In function >> > `CharData': >> > /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xc62): undefined referenc= e >> to >> > `sbuf_bcat=E2=80=99 >> >> I think the fact that it=E2=80=99s missing sbuf* is the underlying cause= for the >> failures seen here. Can you please post more context in a pastebin or >> something (what phase did buildworld fail, what options did you pass to >> make, i.e. -DNO_CLEAN, etc?)? >> >> Thanks! >> > > Thank you for fast reply, > > I remove /usr/obj/usr and $TMPDIR explicitly with rm(1) and chflags(1) an= d > only then build world. (I use separate $TMPDIR for that process) > > # make toolchain 'SRCCONF=3D/path/to/src.conf' -DNO_CLEAN > '__MAKE_CONF=3D/dev/null' 'TARGET=3Damd64' > # make buildworld 'SRCCONF=3D/path/to/src.conf' -DNO_CLEAN > '__MAKE_CONF=3D/dev/null' 'TARGET=3Damd64' > ... > > The stage is: 4.4 (building everything) > > Build script is here: > https://bitbucket.org/eirnym/bsd/src/9822ba9b1ed54414a79d5a632b3857f8b671= c769/builder/mkw.sh?at=3Ddefault > > -- Eir Nym > Full log is here http://eroese.org/_/_/pub/bsd/world.amd64.278844.log (~23 Mb) Recent part is: gzip -cn /usr/src/sbin/atm/atmconfig/atmconfig.8 > atmconfig.8.gz =3D=3D=3D> sbin/badsect (all) cc -O2 -pipe -DNDEBUG -std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -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 -Qunused-arguments -c /usr/src/sbin/badsect/badsect.c ctfconvert -L VERSION badsect.o ERROR: ctfconvert: badsect.o doesn't have type data to convert cc -O2 -pipe -DNDEBUG -std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -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 -Qunused-arguments -static -o badsect badsect.o -lufs ctfmerge -L VERSION -o badsect badsect.o ERROR: ctfmerge: No ctf sections found to merge gzip -cn /usr/src/sbin/badsect/badsect.8 > badsect.8.gz =3D=3D=3D> sbin/bsdlabel (all) cc -O2 -pipe -DNDEBUG -std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/sbin/bsdlabel/bsdlabel.c ctfconvert -L VERSION bsdlabel.o ERROR: ctfconvert: bsdlabel.o doesn't have type data to convert cc -O2 -pipe -DNDEBUG -std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/sbin/bsdlabel/../../sys/geom/geom_bsd_enc.c ctfconvert -L VERSION geom_bsd_enc.o ERROR: ctfconvert: geom_bsd_enc.o doesn't have type data to convert cc -O2 -pipe -DNDEBUG -std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -static -o bsdlabel bsdlabel.o geom_bsd_enc.o -lgeom /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o): In function `geom_xml2tree': /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x5e): undefined reference to `XML_ParserCreate' /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xa2): undefined reference to `XML_SetUserData' /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xb4): undefined reference to `XML_SetElementHandler' /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xc1): undefined reference to `XML_SetCharacterDataHandler' /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xdb): undefined reference to `XML_Parse' /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xfd): undefined reference to `XML_ParserFree' /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x373): undefined reference to `XML_ParserFree' /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x37d): undefined reference to `XML_GetErrorCode' /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x397): undefined reference to `XML_ParserFree' /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o): In function `StartElement': /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x3eb): undefined reference to `sbuf_new' /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x735): undefined reference to `XML_StopParser' /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o): In function `EndElement': /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x7bb): undefined reference to `sbuf_finish' /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x7d0): undefined reference to `sbuf_data' /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0x7e9): undefined reference to `sbuf_delete' /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xa25): undefined reference to `XML_StopParser' /usr/obj/usr/src/tmp/usr/lib/libgeom.a(geom_xml2tree.o): In function `CharData': /usr/src/lib/libgeom/geom_xml2tree.c:(.text+0xc62): undefined reference to `sbuf_bcat' cc: error: linker command failed with exit code 1 (use -v to see invocation= ) *** Error code 1 Stop. make[4]: stopped in /usr/src/sbin/bsdlabel *** Error code 1 -- Eir Nym