Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 14:15:39 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-stable@freebsd.org
Cc:        freebsd-hackers@freebsd.org
Subject:   strsvis breakage when upgrading to from 9.1 to 9-STABLE
Message-ID:  <l1uk52$a5u$1@ger.gmane.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ldp27c2T6jlwwIAuJ5kuJkQpkoOdKkUDW
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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:

=3D=3D=3D> 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=3Dgnu99 -fstack-protecto=
r
-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=3Dgnu99 -fstack-protecto=
r
-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?


--ldp27c2T6jlwwIAuJ5kuJkQpkoOdKkUDW
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iKYEARECAGYFAlJC0+tfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDYxNDE4MkQ3ODMwNDAwMDJFRUIzNDhFNUZE
MDhENTA2M0RGRjFEMkMACgkQ/QjVBj3/HSw5CQCePRY82VY+85bcIsyZLQS6cQFa
UH0An0VKlqyfvl/uvc1nQ3Jrqln8ziEd
=Aock
-----END PGP SIGNATURE-----

--ldp27c2T6jlwwIAuJ5kuJkQpkoOdKkUDW--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l1uk52$a5u$1>