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
System: NetBSD 4.0_STABLE (CALM) #143: Mon Mar 12 14:02:42 JST 2012
Architecture: i386
Machine: i386
        devel/glib2 and thread problem on NetBSD 4?
        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:


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/ tests/scanner/Foo-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
  CC     glib_print-glib-print.o
  CCLD   gi-dump-types
  CCLD   cmph-bdz-test
  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 
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 
See pthread(3) for information.
 returned non-zero exit status -6
gmake[2]: *** [GLib-2.0.gir] Error 1
gmake[2]: Leaving directory 
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
gmake: *** [all] Error 2
*** Error code 2

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

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
Making all in examples
gmake[4]: Entering directory `/pkg_comp/obj/pkgsrc/sysutils/dbus-glib/default/db
/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 "
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
gmake[3]: *** [all-recursive] Error 1

        pkgsrc-2011Q4 hasn't this problem.

Home | Main Index | Thread Index | Old Index