Is buildworld broken?

Bill Hacker wbh at
Sat Mar 19 08:12:35 PST 2005

Adrian Nida wrote:


I'm trying to rebuild world, kernel, etc. and ran into this error.  I rm'ed -r /
usr/obj, rm'ed -r /usr/src, and re-cvsupped (as of ~30 minutes ago).  Is anyone 
else seeing this?  If not, any ideas what I should do to fix?

Which age of binaries and build tools were running when you started?

Bill Hacker

cc -O -pipe  -I/usr/obj/usr/src/btools_i386/usr/src/usr.bin/patch -
DBOOTSTRAPPING   -Wunknown-pragmas -Wall -W -Wstrict-prototypes -Wmissing-
prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -
Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-
decls   -static -o patch patch.o pch.o inp.o util.o backupfile.o getopt_long.o 
/usr/lib/libc.a(getopt_long.o): In function `getopt_long':
getopt_long.o(.text+0x86c): multiple definition of `getopt_long'
getopt_long.o(.text+0x864): first defined here
/usr/lib/libc.a(getopt_long.o): In function `getopt_long_only':
getopt_long.o(.text+0x890): multiple definition of `getopt_long_only'
getopt_long.o(.text+0x888): first defined here
*** Error code 1

Stop in /usr/src/usr.bin/patch.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.



More information about the Bugs mailing list