pkgsrc-Users archive

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

Re: gcc/cpp segfaulting on i386-9.99.17?



Trying to build gstreamer1 and at-spi2-core on i386-9.99.17 (gcc-7), the
gobject-intropsection stage fails when 'gcc' gets SIGSEGV (gstreamer1) or
'cpp' gets SIGSEGV (at-spi2-core).

Below is the failure from at-spi2-core as an example:

[...]
[52/53] Generating Atspi-2.0.gir with a custom command.
FAILED: atspi/Atspi-2.0.gir 
/usr/pkg/bin/g-ir-scanner -I/usr/pkg/include/gobject-introspection-1.0 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread --no-libtool --namespace=Atspi --nsversion=2.0 --warn-all --output atspi/Atspi-2.0.gir --c-include=atspi/atspi.h --pkg-export=atspi-2 --quiet -I/d0/build/pkgsrc/devel/at-spi2-core/work/at-spi2-core-2.33.2/atspi -I/d0/build/pkgsrc/devel/at-spi2-core/work/at-spi2-core-2.33.2/output/atspi -I./. -I../. -I./registryd -I../registryd -I./. -I../. --filelist=/d0/build/pkgsrc/devel/at-spi2-core/work/at-spi2-core-2.33.2/output/atspi/f291f98@@atspi@sha/Atspi_2.0_gir_filelist --include=DBus-1.0 --include=GLib-2.0 --include=GObject-2.0 --symbol-prefix=atspi --identifier-prefix=Atspi --cflags-begin -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -I./. -I../. -I./registryd -I../registryd -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include '-DG_LOG_DOMAIN="dbind"' -I/usr/X11R7/include -D_REENTRANT -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/python3.7 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/python3.7 --cflags-end -I./. -I../. --add-include-path=./. --add-include-path=../. --library atspi -L/d0/build/pkgsrc/devel/at-spi2-core/work/at-spi2-core-2.33.2/output/atspi -L/usr/pkg/lib -L/usr/lib -L/usr/X11R7/lib -L/usr/pkg/lib --extra-library=dbus-1 --extra-library=gobject-2.0 --extra-library=intl --extra-library=glib-2.0 -L/usr/X11R7/lib --extra-library=X11 --extra-library=Xtst --extra-library=Xi --sources-top-dirs /d0/build/pkgsrc/devel/at-spi2-core/work/at-spi2-core-2.33.2/subprojects/ --sources-top-dirs /d0/build/pkgsrc/devel/at-spi2-core/work/at-spi2-core-2.33.2/output/subprojects/
Traceback (most recent call last):
  File "/usr/pkg/lib/python3.7/distutils/unixccompiler.py", line 107, in preprocess
    self.spawn(pp_args)
  File "/usr/pkg/lib/python3.7/distutils/ccompiler.py", line 909, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/usr/pkg/lib/python3.7/distutils/spawn.py", line 36, in spawn
    _spawn_posix(cmd, search_path, dry_run=dry_run)
  File "/usr/pkg/lib/python3.7/distutils/spawn.py", line 149, in _spawn_posix
    % (cmd, os.WTERMSIG(status)))
distutils.errors.DistutilsExecError: command 'cpp' terminated by signal 11

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/pkg/bin/g-ir-scanner", line 99, in <module>
    sys.exit(scanner_main(sys.argv))
  File "/usr/pkg/lib/gobject-introspection/giscanner/scannermain.py", line 570, in scanner_main
    ss, filenames = create_source_scanner(options, args)
  File "/usr/pkg/lib/gobject-introspection/giscanner/scannermain.py", line 443, in create_source_scanner
    ss.parse_files(filenames)
  File "/usr/pkg/lib/gobject-introspection/giscanner/sourcescanner.py", line 257, in parse_files
    self._parse(headers)
  File "/usr/pkg/lib/gobject-introspection/giscanner/sourcescanner.py", line 305, in _parse
    self._cpp_options)
  File "/usr/pkg/lib/gobject-introspection/giscanner/ccompiler.py", line 269, in preprocess
    extra_postargs=extra_postargs)
  File "/usr/pkg/lib/python3.7/distutils/unixccompiler.py", line 109, in preprocess
    raise CompileError(msg)
distutils.errors.CompileError: command 'cpp' terminated by signal 11
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /x/pkgsrc/devel/at-spi2-core
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/devel/at-spi2-core


Curiously, everything works fine in netbsd-9/i386 and they currently have
the same GCC (7.4.0).


I seem to recall a number of messages about at-spi2-core or some such
in one of the mailing lists, but now see no trace of them.

Anyone else tried building gstreamer1 or at-spi2-core on i386-9.99.17?

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  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