NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build.sh fails to build in bin/sh (netbsd-5 branch)



I'm trying to upgrade my system in netbsd-5 branch.
Did anybody else see this following?

Command to build was
    ./build.sh -O /srv/obj -T /srv/obj/tools -U -u build distribution sets

#      link  sh/sh
/srv/obj/tools/bin/x86_64--netbsd-gcc  -B/srv/obj/destdir.amd64/usr/lib/ 
-B/srv/obj/destdir.amd64/usr/lib/  -Wl,-nostdlib    -Wl,--fatal-warnings     -o 
sh  alias.o cd.o echo.o error.o eval.o exec.o expand.o histedit.o input.o 
jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o options.o parser.o 
redir.o show.o trap.o output.o var.o test.o kill.o syntax.o arith.o arith_lex.o 
builtins.o init.o nodes.o printf.o -ll -ledit -lterminfo       
-L/srv/obj/destdir.amd64/usr/lib   -Wl,-dynamic-linker=/libexec/ld.elf_so 
-Wl,-rpath-link,/srv/obj/destdir.amd64/lib  -R/lib  
-L/srv/obj/destdir.amd64/lib -Wl,-rpath-link,/srv/obj/destdir.amd64/usr/lib  
-L/srv/obj/destdir.amd64/usr/lib
/srv/obj/tools/lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld: 
cannot find -lterminfo
collect2: ld returned 1 exit status

*** Failed target:  sh
*** Failed command: /srv/obj/tools/bin/x86_64--netbsd-gcc 
-B/srv/obj/destdir.amd64/usr/lib/ -B/srv/obj/destdir.amd64/usr/lib/ 
-Wl,-nostdlib -Wl,--fatal-warnings -o sh alias.o cd.o echo.o error.o eval.o 
exec.o expand.o histedit.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o 
mystring.o options.o parser.o redir.o show.o trap.o output.o var.o test.o 
kill.o syntax.o arith.o arith_lex.o builtins.o init.o nodes.o printf.o -ll 
-ledit -lterminfo -L/srv/obj/destdir.amd64/usr/lib 
-Wl,-dynamic-linker=/libexec/ld.elf_so 
-Wl,-rpath-link,/srv/obj/destdir.amd64/lib -R/lib -L/srv/obj/destdir.amd64/lib 
-Wl,-rpath-link,/srv/obj/destdir.amd64/usr/lib -L/srv/obj/destdir.amd64/usr/lib
*** Error code 1

Stop.
nbmake: stopped in /srv/src/bin/sh

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index