On Monday, November 26 2018, Matthias Klose wrote: > gdb ftbfs with Python 3.7. upstream version 8.2 build fine. > > x86_64-linux-gnu-g++ -x c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -I. > -I/<<PKGBUILDDIR>>/gdb -I/<<PKGBUILDDIR>>/gdb/common > -I/<<PKGBUILDDIR>>/gdb/config -DLOCALEDIR="\"/usr/share/locale\"" > -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/gdb/../include/opcode > -I/<<PKGBUILDDIR>>/gdb/../opcodes/.. -I../bfd -I/<<PKGBUILDDIR>>/gdb/../bfd > -I/<<PKGBUILDDIR>>/gdb/../include -I../libdecnumber > -I/<<PKGBUILDDIR>>/gdb/../libdecnumber -I/<<PKGBUILDDIR>>/gdb/gnulib/import > -Ibuild-gnulib/import -DTUI=1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC > -I/usr/include/python3.7m -I/usr/include/python3.7m -Wall -Wpointer-arith > -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts > -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable > -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized > -Wformat-nonliteral -c -o elfread.o -MT elfread.o -MMD -MP -MF > ./.deps/elfread.Tpo /<<PKGBUILDDIR>>/gdb/elfread.c > /<<PKGBUILDDIR>>/gdb/python/python.c: In function 'bool > do_start_initialization()': > /<<PKGBUILDDIR>>/gdb/python/python.c:1710:45: error: too few arguments to > function 'int _PyImport_FixupBuiltin(PyObject*, const char*, PyObject*)' > _PyImport_FixupBuiltin (gdb_module, "_gdb"); > ^ > In file included from /usr/include/python3.7m/Python.h:126, > from /<<PKGBUILDDIR>>/gdb/python/python-internal.h:100, > from /<<PKGBUILDDIR>>/gdb/python/python.c:94: > /usr/include/python3.7m/import.h:112:17: note: declared here > PyAPI_FUNC(int) _PyImport_FixupBuiltin( > ^~~~~~~~~~~~~~~~~~~~~~ > make[3]: *** [Makefile:1621: python/python.o] Error 1 > make[3]: *** Waiting for unfinished jobs.... > make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/objdir/gdb' > make[2]: *** [Makefile:8491: all-gdb] Error 2 > make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/objdir' > make[1]: *** [Makefile:850: all] Error 2
Thanks for the report. FWIW, this has been fixed upstream by: commit aeab512851bf6ed623d1c6c4305b6ce05e51a10c Author: Paul Koning <paul_kon...@dell.com> Date: Fri Jun 8 13:26:36 2018 -0400 Fix build issue with Python 3.7 Not sure why this hasn't been picked by the rebase. -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/
signature.asc
Description: PGP signature