strsvis breakage when upgrading to from 9.1 to 9-STABLE

Ivan Voras ivoras at freebsd.org
Wed Sep 25 12:15:58 UTC 2013


Hello,

I've sent a similar query before, but didn't receive any answers.

When upgrading from 9.1 to 9-STABLE, the buildworld fails with:

===> usr.bin/xinstall (all)
cc -O2 -pipe  -I/usr/src/usr.bin/xinstall/../../contrib/mtree
-I/usr/src/usr.bin/xinstall/../../lib/libnetbsd
-I/usr/src/usr.bin/xinstall/../../lib/libmd -std=gnu99 -fstack-protector
-Wsystem-headers -Werror -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 -c
/usr/src/usr.bin/xinstall/xinstall.c
cc -O2 -pipe  -I/usr/src/usr.bin/xinstall/../../contrib/mtree
-I/usr/src/usr.bin/xinstall/../../lib/libnetbsd
-I/usr/src/usr.bin/xinstall/../../lib/libmd -std=gnu99 -fstack-protector
-Wsystem-headers -Werror -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 -c
/usr/src/usr.bin/xinstall/../../contrib/mtree/getid.c
cc1: warnings being treated as errors
/usr/src/usr.bin/xinstall/xinstall.c: In function 'metadata_log':
/usr/src/usr.bin/xinstall/xinstall.c:1331: warning: implicit declaration
of function 'strsvis'
/usr/src/usr.bin/xinstall/xinstall.c:1331: warning: nested extern
declaration of 'strsvis'

Digging around, it looks like strsvis is in the 9-STABLE sources but not
in the installed system's (9.1) sources. I assume the build process is
pulling in system headers and libraries, but that seems wrong. Isn't the
build process supposed to pull in only sources from /usr/src and
libraries which are freshly built instead of the system ones?

What would be the workaround for the above problem?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 391 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130925/0f3cfb77/attachment.sig>


More information about the freebsd-stable mailing list