pkgsrc-Users archive

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

pkgsrc fails to bootstrap with SolarisStudio



Hi,
I tried to bootstrap pkgsrc (2017-Q4) with SolarisStudio 12.4 ( aka SunStudio/Workshop/Pro) but it fails with these errors :

===> Bootstrapping awk
===> running: /usr/bin/sh /usr/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g root /usr/pkgsrc/bootstrap/work/awk
===> running: (cd /usr/pkgsrc/bootstrap/work/awk && /usr/pkgsrc/bootstrap/work/bin/bmake  -j1 -f Makefile CC="/opt/solarisstudio12.4/bin/cc" CFLAGS="")
/opt/solarisstudio12.4/bin/cc   -c ytab.c
"/n/fs/fac/bwk/awk/awkgram.y", line 28: cannot find include file: "awk.h"
"/n/fs/fac/bwk/awk/awkgram.y", line 30: syntax error before or at: *
"/n/fs/fac/bwk/awk/awkgram.y", line 33: warning: old-style declaration or incorrect type for: Node
"/n/fs/fac/bwk/awk/awkgram.y", line 33: syntax error before or at: *
"/n/fs/fac/bwk/awk/awkgram.y", line 33: warning: old-style declaration or incorrect type for: beginloc
"/n/fs/fac/bwk/awk/awkgram.y", line 34: warning: old-style declaration or incorrect type for: Node
"/n/fs/fac/bwk/awk/awkgram.y", line 34: syntax error before or at: *
"/n/fs/fac/bwk/awk/awkgram.y", line 34: warning: old-style declaration or incorrect type for: endloc
"/n/fs/fac/bwk/awk/awkgram.y", line 38: warning: old-style declaration or incorrect type for: Node
"/n/fs/fac/bwk/awk/awkgram.y", line 38: syntax error before or at: *
"/n/fs/fac/bwk/awk/awkgram.y", line 38: warning: old-style declaration or incorrect type for: arglist
"/n/fs/fac/bwk/awk/awkgram.y", line 42: syntax error before or at: Node
"/n/fs/fac/bwk/awk/awkgram.y", line 447: syntax error before or at: *
"/n/fs/fac/bwk/awk/awkgram.y", line 449: warning: implicit function declaration: isarr
"/n/fs/fac/bwk/awk/awkgram.y", line 449: undefined symbol: p
"/n/fs/fac/bwk/awk/awkgram.y", line 450: warning: implicit function declaration: SYNTAX
"/n/fs/fac/bwk/awk/awkgram.y", line 450: undefined struct/union member: nval
"/n/fs/fac/bwk/awk/awkgram.y", line 450: left operand of "->" must be pointer to struct/union
....
....
....
"/n/fs/fac/bwk/awk/awkgram.y", line 442: undefined struct/union member: p
"/n/fs/fac/bwk/awk/awkgram.y", line 442: improper member use: p
"/n/fs/fac/bwk/awk/awkgram.y", line 442: warning: improper pointer/integer combination: op "="
cc: acomp failed for ytab.c
*** [ytab.o] Error code 2

bmake: stopped in /usr/pkgsrc/bootstrap/work/awk
1 error

bmake: stopped in /usr/pkgsrc/bootstrap/work/awk
===> exited with status 2
aborted.

I tried to bootstrap with this command :

env CC=/opt/solarisstudio12.4/bin/cc SUNWSPROBASE=/opt/solarisstudio12.4/ ./bootstrap --abi=64

Which was taken from the README.Solaris (which by the way seems outdated... sunfreeware is kind of dead now... ) so I guess at some moment it worked.

Does bootstraping from SunPro still supported by pkgsrc ?
Do I need something more to make it works ?


Home | Main Index | Thread Index | Old Index