Subject: Re: build.sh distribution failed
To: None <current-users@netbsd.org>
From: Christoph Egger <Christoph_Egger@gmx.de>
List: current-users
Date: 02/17/2004 16:41:38
> > 
> > Hi!
> 
> I give some more information:
> 
> > machine: Sun Ultra1 (sparc64)
> kernel: NetBSD 1.6ZK
> userland: NetBSD 1.6.1
> 
> I am trying to upgrade NetBSD 1.6.1/sparc64 to NetBSD-current/sparc64 with
> the instructions
> given at http://www.netbsd.org/Documentation/current/#updating
> 
> > Failed command: build.sh distribution
> > 
> >
>
/usr/obj/tooldir.NetBSD-1.6ZK-sparc64/bin/../lib/gcc-lib/sparc64--netbsd/3.3.3/../../../../sparc64--netbsd/bin/ld:
> > cannot find -ldes
> > collect2: ld returned 1 exit status
> > *** Error code 1
> > 
> > Stop.
> > nbmake: stopped in /usr/src-current/lib/libkrb
> > *** Error code 1
> > 
> > Stop.
> > nbmake: stopped in /usr/src-current/lib
> > *** Error code 1
> > 
> > Stop.
> > nbmake: stopped in /usr/src-current/lib
> > *** Error code 1
> > 
> > Stop.
> > 
> > ERROR: Failed to make distribution
> > *** BUILD ABORTED ***
> 
> Output of 'ls -l /usr/lib/libdes*' gives:
> 
> lrwxr-xr-x  1 root  wheel  11 Apr  7  2003 libdes.a -> libcrypto.a
> lrwxr-xr-x  1 root  wheel  12 Apr  7  2003 libdes.so -> libcrypto.so
> lrwxr-xr-x  1 root  wheel  14 Apr  7  2003 libdes.so.6 -> libcrypto.so.1
> lrwxr-xr-x  1 root  wheel  16 Apr  7  2003 libdes.so.6.0 ->
> libcrypto.so.1.1
> lrwxr-xr-x  1 root  wheel  13 Apr  7  2003 libdes_p.a -> libcrypto_p.a
> lrwxr-xr-x  1 root  wheel  15 Apr  7  2003 libdes_pic.a -> libcrypto_pic.a
> 
> and libcrypto is also present:
> 
> -r--r--r--  1 root  wheel  2164054 Apr  7  2003 libcrypto.a
> lrwxr-xr-x  1 root  wheel       16 Apr  7  2003 libcrypto.so ->
> libcrypto.so.1.1
> lrwxr-xr-x  1 root  wheel       16 Apr  7  2003 libcrypto.so.1 ->
> libcrypto.so.1.1
> -r--r--r--  1 root  wheel  1142075 Apr  7  2003 libcrypto.so.1.1
> -r--r--r--  1 root  wheel  2198462 Apr  7  2003 libcrypto_p.a
> -r--r--r--  1 root  wheel  2053102 Apr  7  2003 libcrypto_pic.a

Some more information:

The last executed command before the failure was:

/usr/src-current/obj/tooldir.NetBSD-1.6ZK-sparc64/bin/sparc64--netbsd-gcc
-Wl,-nostdlib -B/usr/src-current/obj/destdir.sparc64/usr/lib/
-B/usr/src-current/obj/destdir.sparc64/usr/lib/ 
-Wl,-rpath-link,/usr/src-current/obj/destdir.sparc64/lib:/usr/src-current/obj/destdir.sparc64/usr/lib
-L/usr/src-current/obj/destdir.sparc64/lib -Wl,-x -shared -Wl,-soname,libkrb.so.6  -o
libkrb.so.6.0 -Wl,--whole-archive libkrb_pic.a -Wl,--no-whole-archive -ldes 
-L/usr/src-current/obj/destdir.sparc64/usr/lib

ls -l /usr/src-current/obj/destdir.sparc64/usr/lib gives this:

-r--r--r--  1 root  wheel     3674 Feb 17 01:48 crt0.o
-r--r--r--  1 root  wheel     3965 Feb 17 01:48 crtbegin.o
-r--r--r--  1 root  wheel     4381 Feb 17 01:48 crtbeginS.o
-r--r--r--  1 root  wheel     1472 Feb 17 01:48 crtend.o
-r--r--r--  1 root  wheel     1473 Feb 17 01:48 crtendS.o
-r--r--r--  1 root  wheel     1400 Feb 17 01:48 crti.o
-r--r--r--  1 root  wheel     1104 Feb 17 01:48 crtn.o
-r--r--r--  1 root  wheel     4037 Feb 17 01:48 gcrt0.o
drwxr-xr-x  2 root  wheel      512 Feb 17 01:42 i18n
-r--r--r--  1 root  wheel  2353768 Feb 17 02:46 libc.a
lrwxr-xr-x  1 root  wheel       19 Feb 17 02:46 libc.so ->
/lib/libc.so.12.111
lrwxr-xr-x  1 root  wheel       19 Feb 17 02:46 libc.so.12 ->
/lib/libc.so.12.111
lrwxr-xr-x  1 root  wheel       19 Feb 17 02:46 libc.so.12.111 ->
/lib/libc.so.12.111
-r--r--r--  1 root  wheel  2895170 Feb 17 02:46 libc_p.a
-r--r--r--  1 root  wheel  2449552 Feb 17 02:46 libc_pic.a

So, there's actually no libdes. Forgotten to install?

-- 
CU,

Christoph Egger
E-Mail: Christoph_Egger@gmx.de

GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++