pkgsrc-Bugs archive

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

Re: pkg/51266: devel/gobject-introspection build fails on i386-7.99.32



The following reply was made to PR pkg/51266; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/51266: devel/gobject-introspection build fails on i386-7.99.32
Date: Wed, 30 Nov 2016 07:51:20 -0600 (CST)

 In the latest installment of this saga, with sources of approximately
 201611202000Z (7.99.42), I somehow managed to produce a local release
 which, on one machine, built almost all problem packages without error.
 (Another machine, updated from the exact same release sets, still fails
 building all previously-reported problem packages.)
 
 For the mostly-working machine, the only remaining problem package is
 "multimedia/gstreamer1" which fails during during build in the manner
 already reported:
 
 [...]
   CCLD     libgstreamer-1.0.la
   GEN      Gst-1.0.gir
 /usr/pkg/lib/libgnutls.so.30: text relocations
 /usr/pkg/lib/libgnutls.so.30: Cannot write-enable text segment: Permission denied
 Failed to load module: /usr/pkg/lib/gio/modules/libgiognutls.so
 g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC gcc -o /d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.8.3/gst/tmp-introspect4Hu1ba/Gst-1.0 -export-dynamic -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib tmp-introspect4Hu1ba/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.8.3/gst/tmp-introspect4Hu1ba/Gst-1.0.o -L. libgstreamer-1.0.la -L/usr/pkg/lib -lgio-2.0 -Wl,--export-dynamic -lgobject-2.0 -lgmodule-2.0 -pthread -Wl,-R/usr/pkg/lib -lglib-2.0 -lintl
 libtool: link: gcc -o /d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.8.3/gst/tmp-introspect4Hu1ba/.libs/Gst-1.0 -I/d0/build/pkgsrc/multimedia/gstreamer1/work/.buildlink/include -O2 -Wl,-R/usr/pkg/lib tmp-introspect4Hu1ba/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.8.3/gst/tmp-introspect4Hu1ba/Gst-1.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic  -L/d0/build/pkgsrc/multimedia/gstreamer1/work/.buildlink/lib -L. -L./.libs -lgstreamer-1.0 -lc -lm -lrt -lgio-2.0 -lz -lgobject-2.0 -lffi -lgmodule-2.0 -lglib-2.0 -lpcre -lintl -pthread -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/d0/build/pkgsrc/multimedia/gstreamer1/work/.buildlink/lib
 /usr/pkg/lib/libgnutls.so.30: text relocations
 /usr/pkg/lib/libgnutls.so.30: Cannot write-enable text segment: Permission denied
 Failed to load module: /usr/pkg/lib/gio/modules/libgiognutls.so
 Command '[u'/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.8.3/gst/tmp-introspect4Hu1ba/Gst-1.0', u'--introspect-dump=/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.8.3/gst/tmp-introspect4Hu1ba/functions.txt,/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.8.3/gst/tmp-introspect4Hu1ba/dump.xml']' returned non-zero exit status -11
 [1]   Segmentation fault (core dumped) GST_PLUGIN_SYSTE...
 Makefile:2065: recipe for target 'Gst-1.0.gir' failed
 gmake[4]: *** [Gst-1.0.gir] Error 139
 gmake[4]: Leaving directory '/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.8.3/gst'
 Makefile:1743: recipe for target 'all-recursive' failed
 gmake[3]: *** [all-recursive] Error 1
 gmake[3]: Leaving directory '/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.8.3/gst'
 Makefile:942: recipe for target 'all' failed
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory '/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.8.3/gst'
 Makefile:769: recipe for target 'all-recursive' failed
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory '/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.8.3'
 Makefile:675: recipe for target 'all' failed
 gmake: *** [all] Error 2
 *** Error code 2
 
 Stop.
 make[1]: stopped in /x/pkgsrc/multimedia/gstreamer1
 
 
 The linker warnings/errors about "gnutls.so" have appeared with many other
 packages at this stage and were ultimately non-fatal to them, so I doubt
 they are directly related to this failure.
 
 Two core files are left, one for 'python2.7' and the other for 'Gst-1.0'.
 The python2.7 core file produces the same backtrace as before:
 
 #0  0xb190e45b in ?? ()
 #1  0xbad27d73 in _rtld_call_function_void (obj=<optimized out>, 
     addr=2990561124) at /x/current/src/libexec/ld.elf_so/rtld.h:497
 #2  _rtld_call_initfini_function (obj=<optimized out>, mask=0xbfb19f00, 
     func=2990561124) at /x/current/src/libexec/ld.elf_so/rtld.c:142
 #3  _rtld_call_fini_function (cur_objgen=32, mask=0xbfb19f00, 
     obj=<optimized out>) at /x/current/src/libexec/ld.elf_so/rtld.c:157
 #4  _rtld_call_fini_functions (force=1, mask=0xbfb19f00)
     at /x/current/src/libexec/ld.elf_so/rtld.c:203
 #5  _rtld_exit () at /x/current/src/libexec/ld.elf_so/rtld.c:377
 #6  0xb2dcd3eb in __cxa_finalize (dso=0x0)
     at /x/current/src/lib/libc/stdlib/atexit.c:215
 #7  0xb2dcd0cd in exit (status=1) at /x/current/src/lib/libc/stdlib/exit.c:58
 #8  0xb2f9d2c6 in Py_Exit () from /usr/pkg/lib/libpython2.7.so.1.0
 #9  0xb2f9d3ee in handle_system_exit.part ()
    from /usr/pkg/lib/libpython2.7.so.1.0
 #10 0xb2f9d607 in PyErr_PrintEx () from /usr/pkg/lib/libpython2.7.so.1.0
 #11 0xb2f9d80a in PyErr_Print () from /usr/pkg/lib/libpython2.7.so.1.0
 #12 0xb2f9e199 in PyRun_SimpleFileExFlags ()
    from /usr/pkg/lib/libpython2.7.so.1.0
 #13 0xb2f9e538 in PyRun_AnyFileExFlags () from /usr/pkg/lib/libpython2.7.so.1.0
 #14 0xb2faf547 in Py_Main () from /usr/pkg/lib/libpython2.7.so.1.0
 #15 0x08048835 in main ()
 
 
 The "Gst-1.0.core" file belongs to a transient "Gst-1.0" utility that
 is built in a temporary directory which gets removed immediately.  At
 present, I don't know how to tell 'gmake' not to do that.  It might help
 solve this problem if I could get a backtrace of this program.
 
 Actually, it may not be 'gmake' doing this but the
 '/usr/pkg/bin/g-ir-scanner' python script from "gobject-introspection".
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index