[Slackbuilds-users] Finding why build fails

Rich Shepard rshepard at appl-ecosys.com
Mon Feb 15 21:47:47 UTC 2021


On Mon, 15 Feb 2021, Erich Ritz wrote:

>> /usr/include/python3.9/cpython/abstract.h:131:1: error: C++ style comments are not allowed in ISO C90

> This is the important part. But we don't see the line that caused the
> error.

Erich,

Yes, I caught that, too. The build log is attached.

I suppose I could edit abstract.h and replace all '//' with '/*...*/'. Then
do the same for the next file.

Rich




-------------- next part --------------
pygobject-3.18.2/
pygobject-3.18.2/install-sh
pygobject-3.18.2/config.guess
pygobject-3.18.2/autogen.sh
pygobject-3.18.2/tests/
pygobject-3.18.2/tests/test_properties.py
pygobject-3.18.2/tests/test_error.py
pygobject-3.18.2/tests/test_gdbus.py
pygobject-3.18.2/tests/runtests.py
pygobject-3.18.2/tests/test_signal.py
pygobject-3.18.2/tests/test_gio.py
pygobject-3.18.2/tests/test_atoms.py
pygobject-3.18.2/tests/test_interface.py
pygobject-3.18.2/tests/test_overrides_glib.py
pygobject-3.18.2/tests/Makefile.am
pygobject-3.18.2/tests/test_option.py
pygobject-3.18.2/tests/Makefile.in
pygobject-3.18.2/tests/test_repository.py
pygobject-3.18.2/tests/test_overrides_gtk.py
pygobject-3.18.2/tests/test_mainloop.py
pygobject-3.18.2/tests/test_docstring.py
pygobject-3.18.2/tests/test_gi.py
pygobject-3.18.2/tests/test_fields.py
pygobject-3.18.2/tests/test_glib.py
pygobject-3.18.2/tests/testmodule.py
pygobject-3.18.2/tests/test-thread.c
pygobject-3.18.2/tests/gi/
pygobject-3.18.2/tests/gi/__init__.py
pygobject-3.18.2/tests/gi/overrides/
pygobject-3.18.2/tests/gi/overrides/__init__.py
pygobject-3.18.2/tests/gi/overrides/Regress.py
pygobject-3.18.2/tests/test_thread.py
pygobject-3.18.2/tests/test_subprocess.py
pygobject-3.18.2/tests/test_iochannel.py
pygobject-3.18.2/tests/te_ST at nouppera
pygobject-3.18.2/tests/test_object_marshaling.py
pygobject-3.18.2/tests/test_overrides_gdk.py
pygobject-3.18.2/tests/test-unknown.h
pygobject-3.18.2/tests/test_overrides_pango.py
pygobject-3.18.2/tests/helper.py
pygobject-3.18.2/tests/test-floating.c
pygobject-3.18.2/tests/testhelpermodule.c
pygobject-3.18.2/tests/test_import_machinery.py
pygobject-3.18.2/tests/test_gobject.py
pygobject-3.18.2/tests/org.gnome.test.gschema.xml
pygobject-3.18.2/tests/test-floating.h
pygobject-3.18.2/tests/test_source.py
pygobject-3.18.2/tests/test_generictreemodel.py
pygobject-3.18.2/tests/runtests-windows.py
pygobject-3.18.2/tests/compat_test_pygtk.py
pygobject-3.18.2/tests/test-thread.h
pygobject-3.18.2/tests/test_typeclass.py
pygobject-3.18.2/tests/test-unknown.c
pygobject-3.18.2/tests/test_everything.py
pygobject-3.18.2/tests/test_cairo.py
pygobject-3.18.2/tests/compathelper.py
pygobject-3.18.2/tests/test_gtype.py
pygobject-3.18.2/tests/test_internal_api.py
pygobject-3.18.2/py-compile
pygobject-3.18.2/Makefile.am
pygobject-3.18.2/Makefile.in
pygobject-3.18.2/depcomp
pygobject-3.18.2/config.h.in
pygobject-3.18.2/pygobject-3.0-uninstalled.pc.in
pygobject-3.18.2/pygtkcompat/
pygobject-3.18.2/pygtkcompat/Makefile.am
pygobject-3.18.2/pygtkcompat/Makefile.in
pygobject-3.18.2/pygtkcompat/__init__.py
pygobject-3.18.2/pygtkcompat/generictreemodel.py
pygobject-3.18.2/pygtkcompat/pygtkcompat.py
pygobject-3.18.2/README
pygobject-3.18.2/PKG-INFO
pygobject-3.18.2/compile
pygobject-3.18.2/gi/
pygobject-3.18.2/gi/pygi-error.c
pygobject-3.18.2/gi/pygi-cache.h
pygobject-3.18.2/gi/pygi-closure.h
pygobject-3.18.2/gi/pygi-repository.h
pygobject-3.18.2/gi/pygspawn.c
pygobject-3.18.2/gi/pygi-property.h
pygobject-3.18.2/gi/pygi-struct.h
pygobject-3.18.2/gi/repository/
pygobject-3.18.2/gi/repository/Makefile.am
pygobject-3.18.2/gi/repository/Makefile.in
pygobject-3.18.2/gi/repository/__init__.py
pygobject-3.18.2/gi/pygi-marshal-cleanup.c
pygobject-3.18.2/gi/pygpointer.h
pygobject-3.18.2/gi/pygenum.c
pygobject-3.18.2/gi/pygi-repository.c
pygobject-3.18.2/gi/pygi-foreign-cairo.c
pygobject-3.18.2/gi/pygi-ccallback.h
pygobject-3.18.2/gi/Makefile.am
pygobject-3.18.2/gi/pygi-value.h
pygobject-3.18.2/gi/Makefile.in
pygobject-3.18.2/gi/pygi-signal-closure.c
pygobject-3.18.2/gi/pygi-object.c
pygobject-3.18.2/gi/pygobject.c
pygobject-3.18.2/gi/pyginterface.c
pygobject-3.18.2/gi/types.py
pygobject-3.18.2/gi/pygi-invoke.h
pygobject-3.18.2/gi/pygi-list.c
pygobject-3.18.2/gi/pygi-closure.c
pygobject-3.18.2/gi/pygi-source.c
pygobject-3.18.2/gi/pyglib-python-compat.h
pygobject-3.18.2/gi/pygparamspec.h
pygobject-3.18.2/gi/pygi-basictype.c
pygobject-3.18.2/gi/pygpointer.c
pygobject-3.18.2/gi/pygi-list.h
pygobject-3.18.2/gi/pygparamspec.c
pygobject-3.18.2/gi/pygi-array.c
pygobject-3.18.2/gi/pygi.h
pygobject-3.18.2/gi/importer.py
pygobject-3.18.2/gi/pygi-type.h
pygobject-3.18.2/gi/pygi-invoke.c
pygobject-3.18.2/gi/pygi-property.c
pygobject-3.18.2/gi/pygi-marshal-cleanup.h
pygobject-3.18.2/gi/pygobject-external.h
pygobject-3.18.2/gi/pygi-info.h
pygobject-3.18.2/gi/pygi-argument.h
pygobject-3.18.2/gi/pyginterface.h
pygobject-3.18.2/gi/pygi-cache.c
pygobject-3.18.2/gi/pygi-foreign.c
pygobject-3.18.2/gi/pyglib.c
pygobject-3.18.2/gi/pygi-basictype.h
pygobject-3.18.2/gi/pygi-info.c
pygobject-3.18.2/gi/gobjectmodule.c
pygobject-3.18.2/gi/pygi-hashtable.h
pygobject-3.18.2/gi/__init__.py
pygobject-3.18.2/gi/overrides/
pygobject-3.18.2/gi/overrides/Gdk.py
pygobject-3.18.2/gi/overrides/Makefile.am
pygobject-3.18.2/gi/overrides/Makefile.in
pygobject-3.18.2/gi/overrides/Gio.py
pygobject-3.18.2/gi/overrides/GIMarshallingTests.py
pygobject-3.18.2/gi/overrides/__init__.py
pygobject-3.18.2/gi/overrides/GLib.py
pygobject-3.18.2/gi/overrides/GObject.py
pygobject-3.18.2/gi/overrides/Pango.py
pygobject-3.18.2/gi/overrides/keysyms.py
pygobject-3.18.2/gi/overrides/Gtk.py
pygobject-3.18.2/gi/pygi-argument.c
pygobject-3.18.2/gi/pyglib-private.h
pygobject-3.18.2/gi/pygi-struct.c
pygobject-3.18.2/gi/pygi-foreign-api.h
pygobject-3.18.2/gi/pygi-boxed.c
pygobject-3.18.2/gi/pygtkcompat.py
pygobject-3.18.2/gi/pygi-struct-marshal.h
pygobject-3.18.2/gi/pygobject.h
pygobject-3.18.2/gi/pygi-ccallback.c
pygobject-3.18.2/gi/pygi-private.h
pygobject-3.18.2/gi/pygoptiongroup.c
pygobject-3.18.2/gi/gimodule.c
pygobject-3.18.2/gi/_constants.py
pygobject-3.18.2/gi/pygi-array.h
pygobject-3.18.2/gi/pygoptiongroup.h
pygobject-3.18.2/gi/pygtype.c
pygobject-3.18.2/gi/pygtype.h
pygobject-3.18.2/gi/pygflags.c
pygobject-3.18.2/gi/pygobject-private.h
pygobject-3.18.2/gi/pygoptioncontext.h
pygobject-3.18.2/gi/pygi-enum-marshal.c
pygobject-3.18.2/gi/pygspawn.h
pygobject-3.18.2/gi/pygi-hashtable.c
pygobject-3.18.2/gi/pygoptioncontext.c
pygobject-3.18.2/gi/glibmodule.c
pygobject-3.18.2/gi/_signalhelper.py
pygobject-3.18.2/gi/pygi-value.c
pygobject-3.18.2/gi/pygi-enum-marshal.h
pygobject-3.18.2/gi/module.py
pygobject-3.18.2/gi/pygi-object.h
pygobject-3.18.2/gi/pygflags.h
pygobject-3.18.2/gi/pygi-source.h
pygobject-3.18.2/gi/docstring.py
pygobject-3.18.2/gi/pygi-boxed.h
pygobject-3.18.2/gi/pyglib.h
pygobject-3.18.2/gi/_propertyhelper.py
pygobject-3.18.2/gi/pygi-type.c
pygobject-3.18.2/gi/pygenum.h
pygobject-3.18.2/gi/pygi-invoke-state-struct.h
pygobject-3.18.2/gi/pygi-error.h
pygobject-3.18.2/gi/pygi-signal-closure.h
pygobject-3.18.2/gi/pygboxed.c
pygobject-3.18.2/gi/_gobject/
pygobject-3.18.2/gi/_gobject/Makefile.am
pygobject-3.18.2/gi/_gobject/Makefile.in
pygobject-3.18.2/gi/_gobject/__init__.py
pygobject-3.18.2/gi/pygboxed.h
pygobject-3.18.2/gi/pygi-struct-marshal.c
pygobject-3.18.2/gi/pygi-foreign.h
pygobject-3.18.2/gi/_option.py
pygobject-3.18.2/gi/_error.py
pygobject-3.18.2/examples/
pygobject-3.18.2/examples/Makefile.am
pygobject-3.18.2/examples/Makefile.in
pygobject-3.18.2/examples/signal.py
pygobject-3.18.2/examples/option.py
pygobject-3.18.2/examples/cairo-demo.py
pygobject-3.18.2/examples/properties.py
pygobject-3.18.2/aclocal.m4
pygobject-3.18.2/configure
pygobject-3.18.2/m4/
pygobject-3.18.2/m4/lt~obsolete.m4
pygobject-3.18.2/m4/ltsugar.m4
pygobject-3.18.2/m4/python.m4
pygobject-3.18.2/m4/ltversion.m4
pygobject-3.18.2/m4/ltoptions.m4
pygobject-3.18.2/m4/as-ac-expand.m4
pygobject-3.18.2/m4/libtool.m4
pygobject-3.18.2/m4/jhflags.m4
pygobject-3.18.2/pygobject-3.0.pc.in
pygobject-3.18.2/configure.ac
pygobject-3.18.2/pygi-convert.sh
pygobject-3.18.2/AUTHORS
pygobject-3.18.2/ChangeLog
pygobject-3.18.2/NEWS
pygobject-3.18.2/ltmain.sh
pygobject-3.18.2/pygobject.doap
pygobject-3.18.2/config.sub
pygobject-3.18.2/COPYING
pygobject-3.18.2/INSTALL
pygobject-3.18.2/missing
pygobject-3.18.2/PKG-INFO.in
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-slackware-linux-gnu
checking host system type... x86_64-slackware-linux-gnu
checking for build time linking with Python (Darwin and Win32)... no
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-slackware-linux/bin/ld
checking if the linker (/usr/x86_64-slackware-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-slackware-linux-gnu file names to x86_64-slackware-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-slackware-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-slackware-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
/usr/bin/python3
checking whether python3 version >= 2.7... yes
checking for python3 version... 3.9
checking for python3 platform... linux
checking for python3 script directory... ${prefix}/lib64/python3.9/site-packages
checking for python3 extension module directory... ${exec_prefix}/lib64/python3.9/site-packages
checking for python3 >= 3.1... yes
checking for python version... (cached) 3.9
checking for python platform... (cached) linux
checking for python script directory... (cached) ${prefix}/lib64/python3.9/site-packages
checking for python extension module directory... (cached) ${exec_prefix}/lib64/python3.9/site-packages
checking for headers required to compile python extensions... found
checking for PySignal_SetWakeupFd in Python.h... yes
checking for python module thread... no
checking for python module _thread... yes
checking whether to enable threading in pygobject... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.38.0... yes (version 2.67.1)
checking for FFI... yes
checking for GIO... yes
checking for GI... yes
checking for CAIRO... yes
checking for PYCAIRO... yes
checking whether gcc understands -w... yes
checking what warning flags to pass to the C compiler...  -w
checking what language compliance flags to pass to the C compiler... 
checking for Gnome code coverage support... yes
checking whether to build with code coverage support... no
checking whether gcc understands -Wall... yes
checking whether gcc understands -Werror=unused-variable... yes
checking whether gcc understands -fno-strict-aliasing... yes
checking whether gcc understands -Werror=declaration-after-statement... yes
checking whether gcc understands -std=c90... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pygobject-3.0.pc
config.status: creating pygobject-3.0-uninstalled.pc
config.status: creating gi/Makefile
config.status: creating gi/repository/Makefile
config.status: creating gi/overrides/Makefile
config.status: creating gi/_gobject/Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating pygtkcompat/Makefile
config.status: creating PKG-INFO
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

	pygobject 3.18.2

	Using python interpreter:	python3
	cairo support:			yes
	thread support:			yes
	code coverage support:          no

make  all-recursive
make[1]: Entering directory '/tmp/SBo/pygobject-3.18.2'
Making all in .
make[2]: Entering directory '/tmp/SBo/pygobject-3.18.2'
for f in gi/__init__.py gi/types.py gi/module.py gi/importer.py gi/pygtkcompat.py gi/docstring.py gi/_constants.py gi/_propertyhelper.py gi/_signalhelper.py gi/_option.py gi/_error.py; do \
	[ -e ./$f ] || \
		ln -s /tmp/SBo/pygobject-3.18.2/$f ./$f; \
done
make[2]: Leaving directory '/tmp/SBo/pygobject-3.18.2'
Making all in examples
make[2]: Entering directory '/tmp/SBo/pygobject-3.18.2/examples'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/SBo/pygobject-3.18.2/examples'
Making all in gi
make[2]: Entering directory '/tmp/SBo/pygobject-3.18.2/gi'
Making all in repository
make[3]: Entering directory '/tmp/SBo/pygobject-3.18.2/gi/repository'
for f in __init__.py; do \
    [ -e ./$f ] || ln -s ./$f ./$f; \
done
make[3]: Leaving directory '/tmp/SBo/pygobject-3.18.2/gi/repository'
Making all in overrides
make[3]: Entering directory '/tmp/SBo/pygobject-3.18.2/gi/overrides'
for f in GLib.py Gtk.py Gdk.py GObject.py Gio.py GIMarshallingTests.py Pango.py keysyms.py __init__.py; do \
    [ -e ./$f ] || ln -s ./$f ./$f; \
done
make[3]: Leaving directory '/tmp/SBo/pygobject-3.18.2/gi/overrides'
Making all in _gobject
make[3]: Entering directory '/tmp/SBo/pygobject-3.18.2/gi/_gobject'
for f in __init__.py; do \
    [ -e ./$f ] || ln -s ./$f ./$f; \
done
make[3]: Leaving directory '/tmp/SBo/pygobject-3.18.2/gi/_gobject'
make[3]: Entering directory '/tmp/SBo/pygobject-3.18.2/gi'
  CC       _gi_la-gobjectmodule.lo
Makefile:743: recipe for target '_gi_la-gobjectmodule.lo' failed
make[3]: Leaving directory '/tmp/SBo/pygobject-3.18.2/gi'
Makefile:1056: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/tmp/SBo/pygobject-3.18.2/gi'
Makefile:674: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/tmp/SBo/pygobject-3.18.2'
Makefile:497: recipe for target 'all' failed


More information about the SlackBuilds-users mailing list