Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2013 12:47:59 -0700
From:      Jeremy Chadwick <jdc@koitsu.org>
To:        "Edwin L. Culp W." <edwinlculp@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: problem building world on 9.1 stable after changing 100% to svn
Message-ID:  <20130330194759.GA69749@icarus.home.lan>
In-Reply-To: <CALFgp2PiDKDozFDPH-HmNYyyEESGC7z6HKOQvmqyLkVW%2BT0zaQ@mail.gmail.com>
References:  <CALFgp2PiDKDozFDPH-HmNYyyEESGC7z6HKOQvmqyLkVW%2BT0zaQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 30, 2013 at 01:48:20PM -0500, Edwin L. Culp W. wrote:
> I am currently tying to use the new tools that replace cvsup and then
> recompile.  Ports are working as expected but buildworld has been giving me
> a headache .
> I'm manually trying
> 
> 
> # svn up /usr/src
> 
>    Updating '.':
>    At revision 248935.
> 
> # cd /usr/src
>  # make buildworld
> 
> It then chugs right along util it generates tha e following error:
> 
> 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
> 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'
> *** [xinstall.o] Error code 1
> 
> Stop in /usr/src/usr.bin/xinstall.
> *** [all] Error code 1
> 
> Stop in /usr/src/usr.bin.
> *** [usr.bin.all__D] Error code 1
> 
> Stop in /usr/src.
> *** [everything] Error code 1
> 
> Stop in /usr/src.
> *** [buildworld] Error code 1
> 
> Stop in /usr/src.
> 
> I've probably missed something obvious because I can't find it and I've
> been building world for years with no real problems.
> 
> Thanks for your help,
> 
> ed
> 
> uname follows:
> 
> # uname -a
> FreeBSD home.encontacto.net 9.1-STABLE FreeBSD 9.1-STABLE #444 r248654M:
> Wed Mar 27 05:43:15 CST 2013
> root@home.encontacto.net:/usr/obj/usr/src/sys/ENCONTACTO
> amd64

The most likely culprit here is "old cruft" in /usr/obj, but I make no
promises.

rm -fr /usr/obj/* and restart your build.

The recent MFC of an update install/xinstall pulls in reliance on
strsvis(3), which is part of contrib/libc-vis/vis.c, so my theory is
that you have old cruft in /usr/obj that the build environment is
referring to which lacks strsvis.

If that results in the same build failure, I recommend CC'ing
brooks@freebsd.org and bring this to his attention, as it may be more
fallout from the recent MFC.

-- 
| Jeremy Chadwick                                   jdc@koitsu.org |
| UNIX Systems Administrator                http://jdc.koitsu.org/ |
| Mountain View, CA, US                                            |
| Making life hard for others since 1977.             PGP 4BD6C0CB |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130330194759.GA69749>