pkgsrc-Bugs archive

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

pkg/46266: devel/glib2 and pthread related problem on NetBSD 4?



>Number:         46266
>Category:       pkg
>Synopsis:       devbel/glib2 and pthread related problem on NetBSD 4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 27 10:20:01 +0000 2012
>Originator:     Takahiro Kambe
>Release:        NetBSD 4.0_STABLE
>Organization:
        
>Environment:
System: NetBSD 4.0_STABLE (CALM) #143: Mon Mar 12 14:02:42 JST 2012  
sisbic-info%kisu.co.jp@localhost:/work/NetBSD-4/i386.obj/sys/arch/i386/compile/CALM
Architecture: i386
Machine: i386
>Description:
        devel/glib2 and thread problem on NetBSD 4?
>How-To-Repeat:
        Build pkgsrc/devel/gobject-introspection on NetBSD 4.0_STABLE.
        I think it would be the same result on 4.0_RELEASE.

=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Checksum SHA1 OK for gobject-introspection-1.30.0.tar.bz2
=> Checksum RMD160 OK for gobject-introspection-1.30.0.tar.bz2
===> Installing dependencies for gobject-introspection-1.30.0nb3
==========================================================================
The following variables will affect the build process of this package,
gobject-introspection-1.30.0nb3.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 27

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

        * PYPACKAGE = python27

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb6
=> Build dependency bison>=1.0: found bison-2.5nb3
=> Build dependency gmake>=3.81: found gmake-3.82nb3
=> Build dependency pkg-config>=0.19: found pkg-config-0.25nb1
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency py27-cElementTree-[0-9]*: found py27-cElementTree-0nb1
=> Full dependency glib2>=2.30.2nb3: found glib2-2.30.3
=> Full dependency libffi>=2.0betanb1: found libffi-3.0.9nb1
=> Full dependency python27>=2.7.1nb2: found python27-2.7.2nb3
===> Overriding tools for gobject-introspection-1.30.0nb3
===> Extracting for gobject-introspection-1.30.0nb3
===> Patching for gobject-introspection-1.30.0nb3
=> Applying pkgsrc patches for gobject-introspection-1.30.0nb3
===> Creating toolchain wrappers for gobject-introspection-1.30.0nb3
===> Configuring for gobject-introspection-1.30.0nb3
=> Substituting "timet" in giscanner/ast.py tests/scanner/Foo-1.0-expected.gir  
tests/scanner/Regress-1.0-expected.gir
=> 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
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
...(snip)...
  CC     glib_print-glib-print.o
  CCLD   libcmph.la
  CCLD   libgiscanner.la
  CCLD   gi-dump-types
  CCLD   libgirepository-gthash.la
  CCLD   cmph-bdz-test
  CCLD   libgirepository-1.0.la
  CCLD   libgirepository-internals.la
  CCLD   _giscanner.la
  CCLD   g-ir-compiler
  CCLD   g-ir-generate
  CCLD   gthash-test
  CCLD   glib-print
  GEN    g-ir-scanner
  GEN    g-ir-annotation-tool
  GEN    g-ir-doc-tool
  GISCAN GLib-2.0.gir
  GICOMP gir/DBus-1.0.gir
g-ir-compiler: Error detected by libpthread: Invalid mutex.
Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 341, function 
"pthread_mutex_unlock".
See pthread(3) for information.
[1]   Abort trap (core dumped) env PATH=.libs:/...
gmake[2]: *** [gir/DBus-1.0.typelib] Error 134
gmake[2]: *** Waiting for unfinished jobs....
GLib-2.0: Error detected by libpthread: Invalid mutex.
Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 341, function 
"pthread_mutex_unlock".
See pthread(3) for information.
Command 
'['/pkg_comp/obj/pkgsrc/devel/gobject-introspection/default/gobject-introspection-1.30.0/tmp-introspectTjpaup/GLib-2.0',
 
'--introspect-dump=/pkg_comp/obj/pkgsrc/devel/gobject-introspection/default/gobject-introspection-1.30.0/tmp-introspectTjpaup/functions.txt,/pkg_comp/obj/pkgsrc/devel/gobject-introspection/default/gobject-introspection-1.30.0/tmp-introspectTjpaup/dump.xml']'
 returned non-zero exit status -6
gmake[2]: *** [GLib-2.0.gir] Error 1
gmake[2]: Leaving directory 
`/pkg_comp/obj/pkgsrc/devel/gobject-introspection/default/gobject-introspection-1.30.0'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/pkg_comp/obj/pkgsrc/devel/gobject-introspection/default/gobject-introspection-1.30.0'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/gobject-introspection
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/gobject-introspection


        Since similar problem occurs with sysutils/dbus-glib, it might not
        be problem of gobject-introspection but glib2?

  CC     dbus-bash-completion-helper.o
  CCLD   dbus-bash-completion-helper
gmake[4]: Leaving directory `/pkg_comp/obj/pkgsrc/sysutils/dbus-glib/default/dbu
s-glib-0.92/dbus'
Making all in examples
gmake[4]: Entering directory `/pkg_comp/obj/pkgsrc/sysutils/dbus-glib/default/db
us-glib-0.92/dbus/examples'
/bin/sh ../../libtool --mode=execute ../../dbus/dbus-binding-tool --prefix=some_
object --mode=glib-server --output=example-service-glue.h ./example-service.xml
dbus-binding-tool: Error detected by libpthread: Invalid mutex.
Detected by file "/usr/src/lib/libpthread/pthread_mutex.c", line 341, function "
pthread_mutex_unlock".
See pthread(3) for information.
[1]   Abort trap (core dumped) /usr/pkg/bin/lib...
gmake[4]: *** [example-service-glue.h] Error 134
gmake[4]: Leaving directory `/pkg_comp/obj/pkgsrc/sysutils/dbus-glib/default/dbu
s-glib-0.92/dbus/examples'
gmake[3]: *** [all-recursive] Error 1

>Fix:
        Unknown.
        pkgsrc-2011Q4 hasn't this problem.



Home | Main Index | Thread Index | Old Index