pkgsrc-Users archive

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

Re: python3.9 SEGV during gobject-introspection build on pkgsrc-2021Q4



On Wed, Jan 05, 2022 at 10:18:34AM +1100, Paul Ripke wrote:
> This is on netbsd-9, amd64. I thought I'd get in early with pkgsrc-2021Q4...
> 
> FAILED: gir/GLib-2.0.gir             
> /home/tmp/pkgwrk/devel/gobject-introspection/work/gobject-introspection-1.68.0/output/tools/g-ir-scanner --output=gir/GLib-2.0.gir --no-libtool --quiet --reparse-validate --add-include-path /home/tmp/pkgwrk/devel/gobject-introspection/work/gobject-introspection-1.68.0/output
> /gir --add-include-path /home/tmp/pkgwrk/devel/gobject-introspection/work/gobject-introspection-1.68.0/gir --identifier-prefix=G --symbol-prefix=g --symbol-prefix=glib --c-include=glib.h --namespace=GLib --nsversion=2.0 --library=glib-2.0 --library=gobject-2.0 --external-lib
> rary --pkg=glib-2.0 --cflags-begin -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -DGLIB_COMPILATION -D__G_I18N_LIB_H__ -DGETTEXT_PACKAGE=Dummy --cflags-end /usr/pkg/include/glib-2.0/gobject/glib-types.h /usr/pkg/lib/glib-2.0/include/glibconfig.h /usr/pkg/includ
> e/glib-2.0/glib-unix.h /usr/pkg/include/glib-2.0/glib/galloca.h /usr/pkg/include/glib-2.0/glib/garray.h /usr/pkg/include/glib-2.0/glib/gasyncqueue.h /usr/pkg/include/glib-2.0/glib/gatomic.h /usr/pkg/include/glib-2.0/glib/gbacktrace.h /usr/pkg/include/glib-2.0/glib/gbase64.h 
> /usr/pkg/include/glib-2.0/glib/gbitlock.h /usr/pkg/include/glib-2.0/glib/gbookmarkfile.h /usr/pkg/include/glib-2.0/glib/gbytes.h /usr/pkg/include/glib-2.0/glib/gcharset.h /usr/pkg/include/glib-2.0/glib/gchecksum.h /usr/pkg/include/glib-2.0/glib/gconvert.h /usr/pkg/include/gl
> ib-2.0/glib/gdataset.h /usr/pkg/include/glib-2.0/glib/gdate.h /usr/pkg/include/glib-2.0/glib/gdatetime.h /usr/pkg/include/glib-2.0/glib/gdir.h /usr/pkg/include/glib-2.0/glib/genviron.h /usr/pkg/include/glib-2.0/glib/gerror.h /usr/pkg/include/glib-2.0/glib/gfileutils.h /usr/p
> kg/include/glib-2.0/glib/ggettext.h /usr/pkg/include/glib-2.0/glib/ghash.h /usr/pkg/include/glib-2.0/glib/ghmac.h /usr/pkg/include/glib-2.0/glib/ghook.h /usr/pkg/include/glib-2.0/glib/ghostutils.h /usr/pkg/include/glib-2.0/glib/gi18n-lib.h /usr/pkg/include/glib-2.0/glib/gi18
> n.h /usr/pkg/include/glib-2.0/glib/giochannel.h /usr/pkg/include/glib-2.0/glib/gkeyfile.h /usr/pkg/include/glib-2.0/glib/glib-typeof.h /usr/pkg/include/glib-2.0/glib/glist.h /usr/pkg/include/glib-2.0/glib/gmacros.h /usr/pkg/include/glib-2.0/glib/gmain.h /usr/pkg/include/glib
> -2.0/glib/gmappedfile.h /usr/pkg/include/glib-2.0/glib/gmarkup.h /usr/pkg/include/glib-2.0/glib/gmem.h /usr/pkg/include/glib-2.0/glib/gmessages.h /usr/pkg/include/glib-2.0/glib/gnode.h /usr/pkg/include/glib-2.0/glib/goption.h /usr/pkg/include/glib-2.0/glib/gpattern.h /usr/pk
> g/include/glib-2.0/glib/gpoll.h /usr/pkg/include/glib-2.0/glib/gprimes.h /usr/pkg/include/glib-2.0/glib/gprintf.h /usr/pkg/include/glib-2.0/glib/gqsort.h /usr/pkg/include/glib-2.0/glib/gquark.h /usr/pkg/include/glib-2.0/glib/gqueue.h /usr/pkg/include/glib-2.0/glib/grand.h /u
> sr/pkg/include/glib-2.0/glib/grcbox.h /usr/pkg/include/glib-2.0/glib/grefcount.h /usr/pkg/include/glib-2.0/glib/grefstring.h /usr/pkg/include/glib-2.0/glib/gregex.h /usr/pkg/include/glib-2.0/glib/gscanner.h /usr/pkg/include/glib-2.0/glib/gsequence.h /usr/pkg/include/glib-2.0
> /glib/gshell.h /usr/pkg/include/glib-2.0/glib/gslice.h /usr/pkg/include/glib-2.0/glib/gslist.h /usr/pkg/include/glib-2.0/glib/gspawn.h /usr/pkg/include/glib-2.0/glib/gstdio.h /usr/pkg/include/glib-2.0/glib/gstrfuncs.h /usr/pkg/include/glib-2.0/glib/gstring.h /usr/pkg/include
> /glib-2.0/glib/gstringchunk.h /usr/pkg/include/glib-2.0/glib/gstrvbuilder.h /usr/pkg/include/glib-2.0/glib/gtestutils.h /usr/pkg/include/glib-2.0/glib/gthread.h /usr/pkg/include/glib-2.0/glib/gthreadpool.h /usr/pkg/include/glib-2.0/glib/gtimer.h /usr/pkg/include/glib-2.0/gli
> b/gtimezone.h /usr/pkg/include/glib-2.0/glib/gtrashstack.h /usr/pkg/include/glib-2.0/glib/gtree.h /usr/pkg/include/glib-2.0/glib/gtypes.h /usr/pkg/include/glib-2.0/glib/gunicode.h /usr/pkg/include/glib-2.0/glib/guri.h /usr/pkg/include/glib-2.0/glib/gutils.h /usr/pkg/include/
> glib-2.0/glib/guuid.h /usr/pkg/include/glib-2.0/glib/gvariant.h /usr/pkg/include/glib-2.0/glib/gvarianttype.h /usr/pkg/include/glib-2.0/glib/gversion.h /usr/pkg/include/glib-2.0/glib/gversionmacros.h /usr/pkg/include/glib-2.0/glib/gwin32.h ../gir/glib-2.0.c
> ninja: build stopped: subcommand failed.                                                                                                 
> *** Error code 1                                   
> 
> python core without debug symbols is unenlightening.
> 
> Core was generated by `python3.9'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x00000000000aecf4 in ?? ()
> (gdb) bt
> #0  0x00000000000aecf4 in ?? ()
> #1  0x00007eadc122b674 in ?? () from /usr/pkg/lib/libp11-kit.so.0
> #2  0x00007eadcab87c00 in ?? ()
> #3  0x00007eadc122ad19 in _init () from /usr/pkg/lib/libp11-kit.so.0
> #4  0x0000000000000000 in ?? ()
> 
> I see it built successfully on the bulk builder on netbsd-9.0, so it's likely
> something on my end. All the deps have been rebuilt as best as I can tell.
> Ideas?
> 
> https://bulktracker.appspot.com/pkg/ag1zfmJ1bGt0cmFja2VyciILEgVidWlsZBiAgIDxr5WbCwwLEgNwa2cYgICAsfG_pgkM

Hrm. Also noticed:

===> replace-destdir [glib2-2.70.2nb1] ===> Updating using binary package of glib2-2.70.2nb1
/usr/bin/env  /usr/sbin/pkg_add -K /usr/pkg/pkgdb -U -D /home/tmp/pkgwrk/devel/glib2/work/.packages/glib2-2.70.2nb1.tgz
[1]   Segmentation fault (core dumped) "${GIO_QUERYMODULES}" "${GIO_MODULES_DIR}"
=> Dropping ``root'' privileges.
slave:ksh$ gdb /usr/pkg/bin/gio-querymodules /usr/pkg/pkgdb/glib2-2.70.2nb1/gio-querymodules.core
...
Core was generated by `gio-querymodules'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000000aecf4 in ?? ()
(gdb) bt
#0  0x00000000000aecf4 in ?? ()
#1  0x0000742d5da2b674 in ?? () from /usr/pkg/lib/libp11-kit.so.0
#2  0x0000742d61520400 in ?? ()
#3  0x0000742d5da2ad19 in _init () from /usr/pkg/lib/libp11-kit.so.0
#4  0x0000000000000000 in ?? ()
(gdb)

Make test in security/p11-kit looks ok, not so great for glib2, though:

Summary of Failures:

 14/273 glib:glib / convert                             FAIL             0.20s   killed by signal 6 SIGABRT
 18/273 glib:glib / hash                                FAIL             0.03s   killed by signal 6 SIGABRT
 28/273 glib:glib / mappedfile                          FAIL             0.01s   killed by signal 6 SIGABRT
 37/273 glib:glib / once                                FAIL             0.16s   killed by signal 5 SIGTRAP
 78/273 glib:glib / utils                               FAIL             0.02s   killed by signal 6 SIGABRT
143/273 glib:gio / converter-stream                     FAIL             1.46s   killed by signal 6 SIGABRT
145/273 glib:gio / pollable                             FAIL             0.08s   killed by signal 6 SIGABRT
171/273 glib:gio / gdbus-peer-object-manager            FAIL             0.02s   killed by signal 6 SIGABRT
178/273 glib:gio / socket                               FAIL             5.53s   killed by signal 6 SIGABRT
185/273 glib:gio+slow+flaky / testfilemonitor           FAIL             4.64s   killed by signal 6 SIGABRT
194/273 glib:gio+slow / gdbus-export                    FAIL             0.09s   killed by signal 6 SIGABRT
267/273 glib:glib / mainloop                            TIMEOUT         60.02s   killed by signal 15 SIGTERM
272/273 glib:gobject / threadtests                      TIMEOUT         60.03s   killed by signal 15 SIGTERM


Ok:                 260 
Expected Fail:      0   
Fail:               11  
Unexpected Pass:    0   
Skipped:            0   
Timeout:            2   

-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index