pkgsrc-Users archive

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

Re: 2008Q1 on OpenSolaris snv_90 with Sun Studio 12 freezes during bootstrap



On 30/06/2008, Christian Walther <cptsalek%gmail.com@localhost> wrote:
> Hi,
>
>  I'm on current OpenSolaris snv_90 with the new release of Suns own
>  compiler, Studio 12 installed its default location and symlinked to
>  the /usr hierarchy.

What is this symlink hierarchy for?

I just did successful bootstrap under OpenSolaris snv_91, using
SunStudioExpress, just following README.Solaris.

ci@lisa-os:~$ /opt/SunStudioExpress/bin/cc -V
cc: Sun Ceres C 5.10 SunOS_i386 2008/04/04

ci@lisa-os:~$ uname -a
SunOS lisa-os 5.11 snv_91 i86pc i386 i86pc Solaris

>  I downloaded pkgsrc 2008Q1

I use snapshot of HEAD as downloaded an hour ago from ftp.ie.netbsd.org.

> and tried to bootstrap it. During some unit
>  testing for bmake it "freezes" due to some defunct processes.
>  Bootstraps output stops at:
>
>  cd /datapool/pkgsrc/bootstrap/work/bmake/SunOS/unit-tests &&
>  /datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake
>  TEST_MAKE=/datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake test
>  /datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake -f Makefile > test.out 2>&1
>
>
>  Ptree shows the following:
>
>             11147 /bin/sh ./bootstrap
>               13259 /usr/xpg4/bin/sh ./boot-strap -q -o SunOS
>  --prefix=/datapool/pkgsrc/bootstrap/w
>                 15755 make -f makefile.boot bootstrap
>                   16241 sh -ce CC="cc" LIBC= MAKEFLAGS=
>  MAKESYSPATH=`pwd`/mk:/datapool/pkgsrc/bootstrap
>                     16243
>  /datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake -f Makefile test
>                       16249
>  /datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake
>  TEST_MAKE=/datapool/pkgsrc/bo
>                         16251 /usr/xpg4/bin/sh -c cd
>  /datapool/pkgsrc/bootstrap/work/bmake/SunOS/unit-tests &
>                           16252
>  /datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake -f Makefile
>                             16272
>  /datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake -k -f
>  /datapool/pkgsrc/bootst
>                               16273 grep -v ^---
>                                 16274
>  /datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake -f
>  /datapool/pkgsrc/bootstrap
>                                   16277 <defunct>
>
>
>
>  And here's the output of pargs of the calling process 16274:
>
>  # pargs -aex 16274
>  16274:  /datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake -f
>  /datapool/pkgsrc/bootstrap
>  argv[0]: /datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake
>  argv[1]: -f
>  argv[2]: /datapool/pkgsrc/bootstrap/work/bmake/unit-tests/dotwait
>  argv[3]: -j4
>  argv[4]: simple
>
>  envp[0]: _=/datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake
>  envp[1]: OSMAJOR=5
>  envp[2]: PKG_DBDIR=/var/db/pkg
>  envp[3]: HZ=
>  envp[4]: CHOWN=/usr/bin/chown
>  envp[5]: MACHINE_ARCH=i386
>  envp[6]: VARBASE=/var
>  envp[7]: 
> MAKESYSPATH=/datapool/pkgsrc/bootstrap/work/bmake/SunOS/mk:/datapool/pkgsrc/bootstrap/work/share/mk:mk:/datapool/pkgsrc/bootstrap/work/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk
>  envp[8]: 
> PATH=/usr/pkg/bin:/usr/pkg/sbin:/usr/xpg4/bin::/usr/sbin:/usr/bin:/sbin:/usr/sbin:/usr/ccs/bin
>  envp[9]: OLDPWD=/datapool/pkgsrc/bootstrap/work/bmake/SunOS/unit-tests
>  envp[10]: PS_AXC=-e
>  envp[11]: HOST_TARGET=sunos5-i386
>  envp[12]: LOGNAME=root
>  envp[13]: MAKEFLAGS= -k -j 4 -J 15,16
>  TEST_MAKE=/datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake
>  envp[14]: MAIL=/var/mail/root
>  envp[15]: HOSTNAME=nathan.alashan.nongo
>  envp[16]: OS=SunOS
>  envp[17]: HOST=nathan
>  envp[18]: LN=/usr/xpg4/bin/ln
>  envp[19]: LDFLAGS= -L../../libnbcompat
>  envp[20]: C=\\c
>  envp[21]: SHLVL=1
>  envp[22]: K=-k
>  envp[23]: CC=cc
>  envp[24]: N=
>  envp[25]: MAKELEVEL=1
>  envp[26]: SHELL=/sbin/sh
>  envp[27]: CPPFLAGS= -I../../libnbcompat
>  envp[28]: VIRTUAL_ROOT=/
>  envp[29]: TMP_DIRS=/tmp /var/tmp
>  envp[30]: TEST_MAKE=/datapool/pkgsrc/bootstrap/work/bmake/SunOS/bmake
>  envp[31]: SHARE_ARCH=SunOS/5.X/i386
>  envp[32]: HOME=/root
>  envp[33]: OPSYS=SunOS
>  envp[34]: SGS_SUPPORT=libmakestate.so.1
>  envp[35]: MAILER=mailx
>  envp[36]: MACHINE=i86pc
>  envp[37]: OSREL=5.11
>  envp[38]: LIBC=
>  envp[39]: TERM=xterm-color
>  envp[40]: TR=tr
>  envp[41]: PWD=/datapool/pkgsrc/bootstrap/work/bmake/SunOS/unit-tests
>  envp[42]: TZ=Europe/Berlin
>  envp[43]: MAKECONF=/dev/null
>  envp[44]: LOCAL_FS=ufs
>  envp[45]: LIBS=-lnbcompat
>  envp[46]: LOCALBASE=/usr/pkg

If it is of any use, here is the same from a process doing a  bmake ATM:

ci@lisa-os:~$ pfexec pargs -aex 5225
5225:   /usr/pkg/bin/bmake -f Makefile all
argv[0]: /usr/pkg/bin/bmake
argv[1]: -f
argv[2]: Makefile
argv[3]: all

envp[0]: VIEWBASE=/usr/pkg
envp[1]: WRAPPER_UPDATE_CACHE=yes
envp[2]: WRAPPER_DEBUG=no
envp[3]: PKG_CONFIG_PATH=
envp[4]: PKG_CONFIG_LOG=/usr/pkgsrc/devel/ncurses/work/.pkg-config.log
envp[5]: 
PKG_CONFIG_LIBDIR=/usr/pkgsrc/devel/ncurses/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/devel/ncurses/work/.buildlink/share/pkgconfig
envp[6]: PKG_CONFIG=
envp[7]: MAKEINFO=/usr/pkgsrc/devel/ncurses/work/.tools/bin/makeinfo
envp[8]: INSTALL_INFO=
envp[9]: BSD_INSTALL_GAME_DIR=/usr/ucb/install -d -o root -g root -m 755
envp[10]: BSD_INSTALL_GAME_DATA=/usr/ucb/install -c -o root -g root -m 444
envp[11]: BSD_INSTALL_GAME=/usr/ucb/install -c -s -o root -g root -m 555
envp[12]: BSD_INSTALL_MAN_DIR=/usr/ucb/install -d -o root -g root -m 755
envp[13]: BSD_INSTALL_DATA_DIR=/usr/ucb/install -d -o root -g root -m 755
envp[14]: BSD_INSTALL_LIB_DIR=/usr/ucb/install -d -o root -g root -m 755
envp[15]: BSD_INSTALL_SCRIPT_DIR=/usr/ucb/install -d -o root -g root -m 755
envp[16]: BSD_INSTALL_PROGRAM_DIR=/usr/ucb/install -d -o root -g root -m 755
envp[17]: BSD_INSTALL=/usr/ucb/install
envp[18]: BSD_INSTALL_MAN=/usr/ucb/install -c -o root -g root -m 444
envp[19]: BSD_INSTALL_DATA=/usr/ucb/install -c -o root -g root -m 444
envp[20]: BSD_INSTALL_LIB=/usr/ucb/install -c -o root -g root -m 555
envp[21]: BSD_INSTALL_SCRIPT=/usr/ucb/install -c -o root -g root -m 555
envp[22]: BSD_INSTALL_PROGRAM=/usr/ucb/install -c -s -o root -g root -m 555
envp[23]: LIBTOOL=libtool
envp[24]: OBJECT_FMT=ELF
envp[25]: MAKECONF=/dev/null
envp[26]: PKGMANDIR=man
envp[27]: X11PREFIX=/usr/pkg
envp[28]: X11BASE=/usr/openwin
envp[29]: WHOLE_ARCHIVE_FLAG=-z allextract
envp[30]: NO_WHOLE_ARCHIVE_FLAG=-z defaultextract
envp[31]: LOCALBASE=/usr/pkg
envp[32]: LINK_ALL_LIBGCC_HACK=
envp[33]: CPP=cc -E
envp[34]: PKG_SYSCONFDIR=/usr/pkg/etc
envp[35]: PREFIX=/usr/pkg
envp[36]: LINKER_RPATH_FLAG=-R
envp[37]: LDFLAGS=-Wl,-R/usr/pkg/lib
envp[38]: LC_TIME=C
envp[39]: LC_NUMERIC=C
envp[40]: LC_MONETARY=C
envp[41]: LC_MESSAGES=C
envp[42]: LC_CTYPE=C
envp[43]: LC_COLLATE=C
envp[44]: LANG=C
envp[45]: FFLAGS=-O
envp[46]: FC=f77
envp[47]: F77=f77
envp[48]: COMPILER_RPATH_FLAG=-Wl,-R
envp[49]: CXXFLAGS=-O
envp[50]: CPPFLAGS=
envp[51]: CFLAGS=-O
envp[52]: USETOOLS=no
envp[53]: _=/usr/bin/env
envp[54]: 
PATH=/usr/pkgsrc/devel/ncurses/work/.wrapper/bin:/usr/pkgsrc/devel/ncurses/work/.buildlink/bin:/usr/pkgsrc/devel/ncurses/work/.tools/bin:/usr/pkg/bin:/usr/pkg/bin:/opt/jdsbld/bin:/usr/ccs/bin:/usr/gnu/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/opt/SunStudioExpress/bin:/usr/pkg/bin:/usr/openwin/bin
envp[55]: CXX32=/opt/SunStudioExpress/bin/CC
envp[56]: SHELL=/bin/ksh
envp[57]: PKGTOOLS_VERSION=20080423
envp[58]: OS_VERSION=5.11
envp[59]: MAKEFLAGS= ALLOW_VULNERABLE_PACKAGES= LOWER_OPSYS=solaris
OPSYS=SunOS OS_VERSION=5.11 PKGTOOLS_VERSION=20080423 _AUTOMATIC=yes
_MAKE=/usr/pkg/bin/bmake
_PATH_ORIG=/usr/pkg/bin:/opt/jdsbld/bin:/usr/ccs/bin:/usr/gnu/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/opt/SunStudioExpress/bin
_PKGSRCDIR=/usr/pkgsrc _PKGSRC_BARRIER=yes
envp[60]: DESKTOP_STARTUP_ID=
envp[61]: LD=/opt/jdsbld/bin/ld-wrapper
envp[62]: _PKGSRC_BARRIER=yes
envp[63]: _AST_FEATURES=UNIVERSE - att
envp[64]: CC64=/opt/SunStudioExpress/bin/cc
envp[65]: GTK_RC_FILES=/etc/gtk/gtkrc:/export/home/ci/.gtkrc-1.2-gnome2
envp[66]: OLDPWD=/usr/pkgsrc/devel/ncurses/work/ncurses-5.6
envp[67]: CC=cc
envp[68]: G_FILENAME_ENCODING=@locale,UTF-8
envp[69]: PKGNAME_REQD=ncurses>=5.4nb1
envp[70]: _PKGSRC_DEPS=, zile-2.2.50
envp[71]: CXX=CC
envp[72]: SSH_AGENT_PID=599
envp[73]: XAUTHORITY=/export/home/ci/.Xauthority
envp[74]: TERM=xterm
envp[75]: COLORTERM=gnome-terminal
envp[76]: G_BROKEN_FILENAMES=yes
envp[77]: CXX64=/opt/SunStudioExpress/bin/CC
envp[78]: VTE_CJK_WIDTH=1
envp[79]: GNOME_DESKTOP_SESSION_ID=Default
envp[80]: SUNWSPROBASE=/opt/SunStudioExpress
envp[81]: _PKGSRCDIR=/usr/pkgsrc
envp[82]: SESSIONTYPE=1
envp[83]: LOGNAME=ci
envp[84]: 
SESSION_MANAGER=local/lisa-os:/tmp/.ICE-unix/590,inet6/lisa-os:50097,inet/lisa-os:34336
envp[85]: _AUTOMATIC=yes
envp[86]: ALLOW_VULNERABLE_PACKAGES=
envp[87]: LOWER_OPSYS=solaris
envp[88]: HOME=/usr/pkgsrc/devel/ncurses/work/.home
envp[89]: DISPLAY=:0.0
envp[90]: PWD=/usr/pkgsrc/devel/ncurses/work/ncurses-5.6
envp[91]: SSH_AUTH_SOCK=/tmp/ssh-XXF2aWjb/agent.590
envp[92]: GNOME_KEYRING_SOCKET=/var/tmp/keyring-KCaWmb/socket
envp[93]: 
_PATH_ORIG=/usr/pkg/bin:/opt/jdsbld/bin:/usr/ccs/bin:/usr/gnu/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/opt/SunStudioExpress/bin
envp[94]: _MAKE=/usr/pkg/bin/bmake
envp[95]: CC32=/opt/SunStudioExpress/bin/cc
envp[96]: WINDOWID=41943123
envp[97]: OPSYS=SunOS
envp[98]: SHLVL=1

AT_SUN_PLATFORM 0x08047fe1 i86pc
AT_SUN_EXECNAME 0x08047fe7 /usr/pkg/bin/bmake
AT_PHDR         0x08050034
AT_PHENT        0x00000020
AT_PHNUM        0x00000006
AT_ENTRY        0x08055c70
AT_SUN_LDDATA   0xcebfc000
AT_BASE         0xcebc0000
AT_FLAGS        0x00000000
AT_PAGESZ       0x00001000
AT_SUN_AUXFLAGS 0x00000002
AT_SUN_HWCAP    0x0002dc6f AHF | MON | SSE3 | SSE2 | SSE | FXSR | MMX
| CMOV | SEP | CX8 | TSC | FPU


>
>  Can anybody advice what to do? I'd like to get this configuration
>  running and willing to help. So if I can do some further testing or
>  provide some more detail I'm happy to do so.
>
>  Kind regards
>
> Christian
>


-- 
----------------------------------------------------------------
/dev/random says:
        I always lie. In fact, I'm lying to you right now!
----------------------------------------------------------------
Chavdar Ivanov   | Talbot Way, Small Heath Business Park
Delcam UK        | Birmingham B10 0HJ, United Kingdom
Customer Support | (+44)121-6831014
----------------------------------------------------------------


Home | Main Index | Thread Index | Old Index