Re: Current build world failed: bsdxml is missing?
On 27 February 2015 at 18:04, Manfred Antar wrote: > At 03:51 AM 2/27/2015, Arseny Nasokin wrote: > > > >Hi guys, > > > >I've found the reason and I've fixed it. > > > >The reason is I build world with WITHOUT_DYNAMIC_ROOT option. The library > >libgeom depends on libbsdxml and libsbuf which will not linked to target > >program in this case. > > > >I have the patch for several programs in sbin and usr.sbin to fix this > >problem. > > > > > >-- Eir Nym > > It would be nice if someone fixed this, it's been broken for quit awhile > The WITHOUT_DYNAMIC_ROOT option. > If I want static root, have to patch a few makefiles in bin and sbin. > Thanks > > > || n...@pozo.com || > || || > > > > > Hi, I've created PR 198078 for this particular bug and PR 198079 to add Jenkins target to build WITHOUT_DYNAMIC_ROOT option. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198078 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198079 -- Eir Nym ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Current build world failed: bsdxml is missing?
At 03:51 AM 2/27/2015, Arseny Nasokin wrote: >Hi guys, > >I've found the reason and I've fixed it. > >The reason is I build world with WITHOUT_DYNAMIC_ROOT option. The library >libgeom depends on libbsdxml and libsbuf which will not linked to target >program in this case. > >I have the patch for several programs in sbin and usr.sbin to fix this >problem. > > >-- Eir Nym It would be nice if someone fixed this, it's been broken for quit awhile The WITHOUT_DYNAMIC_ROOT option. If I want static root, have to patch a few makefiles in bin and sbin. Thanks || n...@pozo.com || || || ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Current build world failed: bsdxml is missing?
On 17 February 2015 at 01:10, Arseny Nasokin wrote: > 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 >>> 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’ >>> >>> I think the fact that it’s 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) and only then build world. (I use separate $TMPDIR for that >> process) >> >> # make toolchain 'SRCCONF=/path/to/src.conf' -DNO_CLEAN >> '__MAKE_CONF=/dev/null' 'TARGET=amd64' >> # make buildworld 'SRCCONF=/path/to/src.conf' -DNO_CLEAN >> '__MAKE_CONF=/dev/null' 'TARGET=amd64' >> ... >> >> The stage is: 4.4 (building everything) >> >> Build script is here: >> https://bitbucket.org/eirnym/bsd/src/9822ba9b1ed54414a79d5a632b3857f8b671c769/builder/mkw.sh?at=default >> >> -- 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 > ===> sbin/badsect (all) > cc -O2 -pipe -DNDEBUG -std=gnu99 -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=gnu99 -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 > ===> sbin/bsdlabel (all) > cc -O2 -pipe -DNDEBUG -std=gnu99 -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
Re: Current build world failed: bsdxml is missing?
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 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’ >> >> I think the fact that it’s 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) and > only then build world. (I use separate $TMPDIR for that process) > > # make toolchain 'SRCCONF=/path/to/src.conf' -DNO_CLEAN > '__MAKE_CONF=/dev/null' 'TARGET=amd64' > # make buildworld 'SRCCONF=/path/to/src.conf' -DNO_CLEAN > '__MAKE_CONF=/dev/null' 'TARGET=amd64' > ... > > The stage is: 4.4 (building everything) > > Build script is here: > https://bitbucket.org/eirnym/bsd/src/9822ba9b1ed54414a79d5a632b3857f8b671c769/builder/mkw.sh?at=default > > -- 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 ===> sbin/badsect (all) cc -O2 -pipe -DNDEBUG -std=gnu99 -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=gnu99 -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 ===> sbin/bsdlabel (all) cc -O2 -pipe -DNDEBUG -std=gnu99 -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 -Q
Re: Current build world failed: bsdxml is missing?
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 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’ > > I think the fact that it’s 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) and only then build world. (I use separate $TMPDIR for that process) # make toolchain 'SRCCONF=/path/to/src.conf' -DNO_CLEAN '__MAKE_CONF=/dev/null' 'TARGET=amd64' # make buildworld 'SRCCONF=/path/to/src.conf' -DNO_CLEAN '__MAKE_CONF=/dev/null' 'TARGET=amd64' ... The stage is: 4.4 (building everything) Build script is here: https://bitbucket.org/eirnym/bsd/src/9822ba9b1ed54414a79d5a632b3857f8b671c769/builder/mkw.sh?at=default -- Eir Nym ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Current build world failed: bsdxml is missing?
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 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’ I think the fact that it’s 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! signature.asc Description: Message signed with OpenPGP using GPGMail