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?



On Wed, 23 Oct 2019, John D. Baker wrote:

> 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 when trying to build "multimedia/gstreamer1":

[...]
  GEN      Gst-1.0.gir
gcc -E -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 -DIN_GOBJECT_INTROSPECTION=1 -I. -I/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.16.0 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -o g-ir-cpp-dh5f1weg.i -C /d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.16.0/gst/g-ir-cpp-dh5f1weg.c
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 'gcc' 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 'gcc' terminated by signal 11
gmake[4]: *** [Makefile:2281: Gst-1.0.gir] Error 1
gmake[4]: Leaving directory '/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.16.0/gst'
gmake[3]: *** [Makefile:1813: all-recursive] Error 1
gmake[3]: Leaving directory '/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.16.0/gst'
gmake[2]: *** [Makefile:1011: all] Error 2
gmake[2]: Leaving directory '/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.16.0/gst'
gmake[1]: *** [Makefile:742: all-recursive] Error 1
gmake[1]: Leaving directory '/d0/build/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.16.0'
gmake: *** [Makefile:648: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/multimedia/gstreamer1
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/multimedia/gstreamer1


Although it claims "gcc" got SIGSEGV, the only core file I find under
${WRKSRC} is for python37.  Will see if the same holds true when again
attempting to build "at-spi2-core".

This reminds me of the whole gobject-introspection toolchain debacle from
a couple of years ago...

-- 
|/"\ 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