pkgsrc-Bugs archive

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

pkg/38426: building lang/python21 pauses at PTHREAD_SCOPE_SYSTEM check



>Number:         38426
>Category:       pkg
>Synopsis:       building lang/python21 pauses at PTHREAD_SCOPE_SYSTEM check
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 14 09:10:00 +0000 2008
>Originator:     Justin Sherrill
>Release:        DragonFly 1.13
>Organization:
>Environment:
DragonFly pkgbox.dragonflybsd.org 1.13.0-DEVELOPMENT DragonFly 
1.13.0-DEVELOPMENT #3: Sat Apr  5 14:51:16 PDT 2008     
root%pkgbox.dragonflybsd.org@localhost:/build/usr.obj/usr/src/sys/PKGBOX  i386

>Description:
Building Python 2.1 out of pkgsrc freezes during the configuration process.  It 
doesn't crash - just sits there, forever.  I first encountered this during a 
pbulk build; this is annoying because it will quietly halt the whole process.

The line it halts on:
checking if PTHREAD_SCOPE_SYSTEM is supported... 

Full output pasted below:
pkgbox# bmake
=> Bootstrap dependency digest>=20010302: found digest-20070803
=> Bootstrap dependency checkperms>=1.1: found checkperms-1.10
=> Checksum SHA1 OK for Python-2.1.3.tgz
=> Checksum RMD160 OK for Python-2.1.3.tgz
===> Installing dependencies for python21-2.1.3nb15
==========================================================================
The following variables will affect the build process of this package,
python21-2.1.3nb15.  Their current value is shown below:

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4

Based on these variables, the following variables have been set:

        * BDBBASE = /usr
        * BDB_LIBS (defined, but empty)
        * BDB_TYPE = db1

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
===> Overriding tools for python21-2.1.3nb15
===> Extracting for python21-2.1.3nb15
/bin/mv /scratch/lang/python21/work/Python-2.1.3/Tools/scripts/pydoc 
/scratch/lang/python21/work/Python-2.1.3/Tools/scripts/pydoc2.1
===> Patching for python21-2.1.3nb15
=> Applying pkgsrc patches for python21-2.1.3nb15
===> Creating toolchain wrappers for python21-2.1.3nb15
===> Configuring for python21-2.1.3nb15
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Replacing python interpreter in Lib/cgi.py Lib/test/test_largefile.py.
=> Checking for portability problems in extracted files
creating cache ./config.cache
checking MACHDEP... dragonfly1
checking for --without-gcc... no
checking for --with-cxx=<compiler>... no
checking for c++... c++
checking whether the C++ compiler (c++ -O2 -I/usr/include -L/usr/lib 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C++ compiler (c++ -O2 -I/usr/include -L/usr/lib 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking for gcc... cc
checking whether the C compiler (cc -O2 -I/usr/include -L/usr/lib 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O2 -I/usr/include -L/usr/lib 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for --with-suffix...
checking LIBRARY... libpython$(VERSION).a
checking LINKCC... $(PURIFY) $(CC)
checking LDLIBRARY... libpython$(VERSION).a
checking for ranlib... ranlib
checking for ar... ar
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for minix/config.h... no
checking whether cc accepts -OPT:Olimit=0... no
checking whether cc accepts -Olimit 1500... no
checking for ANSI C header files... yes
checking for dlfcn.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for ncurses.h... yes
checking for poll.h... yes
checking for pthread.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for thread.h... no
checking for unistd.h... yes
checking for utime.h... yes
checking for termios.h... yes
checking for sys/audioio.h... no
checking for sys/file.h... yes
checking for sys/lock.h... yes
checking for sys/modem.h... no
checking for db_185.h... yes
checking for db.h... yes
checking for sys/param.h... yes
checking for sys/poll.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for sys/un.h... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... yes
checking for pty.h... no
checking for libutil.h... yes
checking for ndbm.h... yes
checking for db1/ndbm.h... no
checking for gdbm/ndbm.h... no
checking for sys/resource.h... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for clock_t in time.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking size of int... 4
checking size of long... 4
checking size of void *... 4
checking size of char... 1
checking size of short... 2
checking size of float... 4
checking size of double... 8
checking size of fpos_t... 8
checking for long long support... yes
checking size of long long... 8
checking for uintptr_t support... no
checking size of off_t... 8
checking whether to enable large file support... yes
checking size of time_t... 4
checking for pthread_t... yes
checking size of pthread_t... 4
checking for --with-next-framework... no
checking for --with-dyld... no
checking SO... .so
checking LDSHARED... cc -shared -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib
checking CCSHARED... -fPIC
checking LINKFORSHARED... -Wl,--export-dynamic
checking CFLAGSFORSHARED...
checking for dlopen in -ldl... no
checking for shl_load in -ldld... no
checking for --with-pydebug... no
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for --with-libs... no
checking for --with-signal-module... yes
checking for --with-dec-threads... no
checking for --with-threads... yes
checking for mach/cthreads.h... no
checking for --with-pth... no
checking for pthread_create in  -pthread -lpthread... yes
checking if PTHREAD_SCOPE_SYSTEM is supported... 
>How-To-Repeat:
cd /usr/pkg/lang/python21
bmake

>Fix:
http://cvsweb.netbsd.se/cgi-bin/bsdweb.cgi/pkgsrc/sysutils/dvd+rw-tools/patches/patch-ad?rev=1.3

I see other fixes for PTHREAD_SCOPE_SYSTEM on DragonFly, but I don't know if 
they will help in this case; lang/python21 built fine on the previous DragonFly 
release.



Home | Main Index | Thread Index | Old Index