pkgsrc-Bugs archive

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

pkg/46559: bootstrapping pkgsrc on solaris 10 / sparc64 fails in shells/pdksh



>Number:         46559
>Category:       pkg
>Synopsis:       bootstrapping pkgsrc on solaris 10 / sparc64 fails in 
>shells/pdksh
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 07 19:50:00 +0000 2012
>Originator:     Volkmar Seifert
>Release:        Solaris 10 / SPARC :)
>Organization:
>Environment:
SunOS lion 5.10 Generic_147440-01 sun4u sparc SUNW,Sun-Blade-1000
>Description:
I installed a complete Solaris 10 on my Blade 1000, with all packages and 
additional packages required for pkgsrc. I downloaded the pkgsrc.tar.gz file 
from netbsd.org and unpacked it into its own partition /pkgsrc. Then I 
attempted to bootstrap it with the following line:

./bootstrap --abi 64 --prefix /pkgsrc --varbase /pkgsrc/var --workdir 
/pkgsrc/work

from within the bootstrap-directory.

I have no CFLAGS set or anything else like that.
I use the cc from the Solaris Studio 12.3 for Solaris 10.

The result can be reviewed in full under

http://www.nifelheim.info/~mjoellnir/pkgsrc/solars_bootstrap.log

In short:

It failed during the build-phase of shells/pdksh with this error:

cc -c  -DHAVE_CONFIG_H -I. -I. -O c_ulimit.c
cc: Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs
"proto.h", line 102: warning:  attribute "format" is unknown, ignored
"proto.h", line 104: warning:  attribute "format" is unknown, ignored
"proto.h", line 106: warning:  attribute "format" is unknown, ignored
"proto.h", line 108: warning:  attribute "format" is unknown, ignored
"proto.h", line 111: warning:  attribute "format" is unknown, ignored
"proto.h", line 113: warning:  attribute "format" is unknown, ignored
"proto.h", line 154: warning:  attribute "format" is unknown, ignored
"c_ulimit.c", line 128: incomplete struct/union/enum rlimit: limit
"c_ulimit.c", line 197: warning: implicit function declaration: getrlimit
"c_ulimit.c", line 199: undefined struct/union member: rlim_cur
"c_ulimit.c", line 201: undefined struct/union member: rlim_max
"c_ulimit.c", line 229: undefined struct/union member: rlim_cur
"c_ulimit.c", line 231: undefined struct/union member: rlim_max
"c_ulimit.c", line 232: warning: implicit function declaration: setrlimit
"c_ulimit.c", line 242: undefined struct/union member: rlim_cur
"c_ulimit.c", line 244: undefined struct/union member: rlim_max
cc: acomp failed for c_ulimit.c
*** Error code 2

Stop.
bmake: stopped in /pkgsrc/work/wrk/shells/pdksh/work/pdksh-5.2.14
*** Error code 1

Stop.
bmake: stopped in /pkgsrc/pkgsrc/shells/pdksh
*** Error code 1

Stop.
bmake: stopped in /pkgsrc/pkgsrc/shells/pdksh
===> exited with status 1
aborted.

>How-To-Repeat:
Just run bootstrap, the options are irrelevant, I checked that, too, of course.
>Fix:
That's to be found out :)



Home | Main Index | Thread Index | Old Index