Subject: pkg/22499: Pkgsrc bootstrap problem on Solaris 8
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <l_faillie@yahoo.com>
List: netbsd-bugs
Date: 08/15/2003 22:10:43
>Number: 22499
>Category: pkg
>Synopsis: Pkgsrc bootstrap problem on Solaris 8
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 15 22:11:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Laurent Faillie
>Release: Solaris 8 (so, not NetBSD ;-D)
>Organization:
>Environment:
SunOS zeus 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-5_10
>Description:
Binary bootstrap from NetBSD site seems to be obsolete for Solaris8/Sparc machine. If you try to compile something, it will fails w/ following messages :
[1797]/export/home/laurent/bidon/pkgsrc/graphics/gimp $bmake
===> Your package tools need to be updated to 2003/04/17 versions.
===> The installed package tools were last updated on 2001/03/02.
===> To fix this, use the following command:
===> cd /export/home/laurent/bidon/pkgsrc/pkgtools/pkg_install && bmake install
===> Your Zoularis needs to be updated to the 2001/03/23 version.
===> The installed Zoularis was last updated on 2000/05/22.
*** Error code 255
Ok, I take bootstrap-pkgsrc, untar it and do a
./bootstrap --localbase=/usr/local
and I got following problem :
1/ all install-sh script have 'x' right missing (no problem : chmod ...).
2/ the compilation fails w/ following errors :
gcc -I.. -I./.. -I. -I. -DHAVE_CONFIG_H -I./missing -D__EXTENSIONS__ -D_PATH_DEFSYSPATH="/usr/local/share/mk" -DMAKE_BOOTSTRAP -c lstNext.c
gcc *.o lst.lib/*.o -o bmake.boot
lst.lib/lstAppend.o: In function `Lst_Append':
lst.lib/lstAppend.o(.text+0x0): multiple definition of `Lst_Append'
lstAppend.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_Append' changed from 220 to 444 in lst.lib/lstAppend.o
lst.lib/lstAtEnd.o: In function `Lst_AtEnd':
lst.lib/lstAtEnd.o(.text+0x0): multiple definition of `Lst_AtEnd'
lstAtEnd.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_AtEnd' changed from 36 to 56 in lst.lib/lstAtEnd.o
lst.lib/lstAtFront.o: In function `Lst_AtFront':
lst.lib/lstAtFront.o(.text+0x0): multiple definition of `Lst_AtFront'
lstAtFront.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_AtFront' changed from 36 to 56 in lst.lib/lstAtFront.o
lst.lib/lstClose.o: In function `Lst_Close':
lst.lib/lstClose.o(.text+0x0): multiple definition of `Lst_Close'
lstClose.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_Close' changed from 32 to 72 in lst.lib/lstClose.o
lst.lib/lstConcat.o: In function `Lst_Concat':
lst.lib/lstConcat.o(.text+0x0): multiple definition of `Lst_Concat'
lstConcat.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_Concat' changed from 372 to 700 in lst.lib/lstConcat.o
lst.lib/lstDatum.o: In function `Lst_Datum':
lst.lib/lstDatum.o(.text+0x0): multiple definition of `Lst_Datum'
lstDatum.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_Datum' changed from 24 to 52 in lst.lib/lstDatum.o
lst.lib/lstDeQueue.o: In function `Lst_DeQueue':
lst.lib/lstDeQueue.o(.text+0x0): multiple definition of `Lst_DeQueue'
lstDeQueue.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_DeQueue' changed from 64 to 116 in lst.lib/lstDeQueue.o
lst.lib/lstDestroy.o: In function `Lst_Destroy':
lst.lib/lstDestroy.o(.text+0x0): multiple definition of `Lst_Destroy'
lstDestroy.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_Destroy' changed from 188 to 332 in lst.lib/lstDestroy.o
lst.lib/lstDupl.o: In function `Lst_Duplicate':
lst.lib/lstDupl.o(.text+0x0): multiple definition of `Lst_Duplicate'
lstDupl.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_Duplicate' changed from 192 to 344 in lst.lib/lstDupl.o
lst.lib/lstEnQueue.o: In function `Lst_EnQueue':
lst.lib/lstEnQueue.o(.text+0x0): multiple definition of `Lst_EnQueue'
lstEnQueue.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_EnQueue' changed from 56 to 84 in lst.lib/lstEnQueue.o
lst.lib/lstFind.o: In function `Lst_Find':
lst.lib/lstFind.o(.text+0x0): multiple definition of `Lst_Find'
lstFind.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_Find' changed from 40 to 64 in lst.lib/lstFind.o
lst.lib/lstFindFrom.o: In function `Lst_FindFrom':
lst.lib/lstFindFrom.o(.text+0x0): multiple definition of `Lst_FindFrom'
lstFindFrom.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_FindFrom' changed from 120 to 244 in lst.lib/lstFindFrom.o
lst.lib/lstFirst.o: In function `Lst_First':
lst.lib/lstFirst.o(.text+0x0): multiple definition of `Lst_First'
lstFirst.o(.text+0x0): first defined here
/usr/local/bin/ld: Warning: size of symbol `Lst_First' changed from 44 to 80 in lst.lib/lstFirst.o
lst.lib/lstForEach.o: In function `Lst_ForEach':
lst.lib/lstForEach.o(.text+0x0): multiple definition of `Lst_ForEach'
[...]
I use gcc version 3.0.1
Thanks for your help
Laurent
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: