Package Details: python2-gobject2 2.28.7-7

Git Clone URL: https://aur.archlinux.org/python2-gobject2.git (read-only, click to copy)
Package Base: python2-gobject2
Description: Legacy Python 2 bindings for GObject
Upstream URL: https://wiki.gnome.org/Projects/PyGObject
Licenses: LGPL
Conflicts: pygobject2-devel
Provides: pygobject2-devel
Replaces: pygobject2-devel
Submitter: jelly
Maintainer: PhotonX
Last Packager: PhotonX
Votes: 49
Popularity: 0.20
First Submitted: 2021-01-10 11:33 (UTC)
Last Updated: 2021-10-23 19:51 (UTC)

Latest Comments

1 2 Next › Last »

PhotonX commented on 2022-12-04 14:27 (UTC) (edited on 2022-12-04 14:28 (UTC) by PhotonX)

@teras: That's part of the base-devel group which is expected to be installed, if you intend to build AUR packages, see https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started

teras commented on 2022-12-04 12:29 (UTC)

For the latest version to work, as build dependency should also be automake and autoconf otherwise it fails...

jdarnold commented on 2022-01-11 16:29 (UTC)

FWIW, it works for me okay

boredhero commented on 2021-11-18 20:14 (UTC) (edited on 2021-11-18 20:15 (UTC) by boredhero)

@PhotonX Config.h is not present

Making all in glib
make[2]: Entering directory '/home/noah/Storage/Downloads/python2-gobject2/src/pygobject/glib'
  CC       libpyglib_2_0_python2_la-pyglib.lo
  CC       _glib_la-pygiochannel.lo
  CC       _glib_la-glibmodule.lo
  CC       _glib_la-pygoptioncontext.lo
  CC       _glib_la-pygmaincontext.lo
  CC       _glib_la-pygoptiongroup.lo
  CC       _glib_la-pygmainloop.lo
  CC       _glib_la-pygsource.lo
  CC       _glib_la-pygspawn.lo
  GEN      .gitignore
pygiochannel.c:4:12: fatal error: config.h: No such file or directory
    4 | #  include <config.h>
      |            ^~~~~~~~~~
pyglib.c:23:12: fatal error: config.h: No such file or directory
   23 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
compilation terminated.
pygoptioncontext.c:24:12: fatal error: config.h: No such file or directory
   24 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
pygoptiongroup.c:24:12: fatal error: config.h: No such file or directory
   24 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
pygsource.c:27:12: fatal error: config.h: No such file or directory
   27 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:605: _glib_la-pygiochannel.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:612: _glib_la-pygoptioncontext.lo] Error 1
pygmaincontext.c:24:12: fatal error: config.h: No such file or directory
   24 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
pygmainloop.c:25:12: fatal error: config.h: No such file or directory
   25 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
glibmodule.c:25:12: fatal error: config.h: No such file or directory
   25 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:654: libpyglib_2_0_python2_la-pyglib.lo] Error 1
make[2]: *** [Makefile:619: _glib_la-pygoptiongroup.lo] Error 1
make[2]: *** [Makefile:640: _glib_la-pygsource.lo] Error 1
make[2]: *** [Makefile:633: _glib_la-pygmainloop.lo] Error 1
make[2]: *** [Makefile:626: _glib_la-pygmaincontext.lo] Error 1
make[2]: *** [Makefile:598: _glib_la-glibmodule.lo] Error 1
make[2]: Leaving directory '/home/noah/Storage/Downloads/python2-gobject2/src/pygobject/glib'
make[1]: *** [Makefile:743: all-recursive] Error 1
make[1]: Leaving directory '/home/noah/Storage/Downloads/python2-gobject2/src/pygobject'
make: *** [Makefile:488: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 4  03:13:14 PM  0  noah  ~/Downloads/python2-gobject2  
❱ cd src/pygobject/glib 
 03:13:34 PM  0  noah  ~/Downloads/python2-gobject2/src/pygobject/glib  G  makepkg  ⭑ ?  
❱ ls
_glib_la-pygspawn.lo  __init__.py  Makefile.am  option.py   pygiochannel.h  pyglib.h      pyglib-python-compat.h  pygmaincontext.h  pygmainloop.h   pygoptioncontext.h  pygoptiongroup.h  pygsource.h  pygspawn.h
glibmodule.c          Makefile     Makefile.in  pygiochannel.c  pyglib.c    pyglib-private.h  pygmaincontext.c    pygmainloop.c     pygoptioncontext.c  pygoptiongroup.c    pygsource.c       pygspawn.c
 03:13:35 PM  0  noah  ~/Downloads/python2-gobject2/src/pygobject/glib  G  makepkg  ⭑ ?  
❱ ls | grep "config.h"
 1  03:13:51 PM  0  noah  ~/Downloads/python2-gobject2/src/pygobject/glib  G  makepkg  ⭑ ?  

PhotonX commented on 2021-11-15 21:53 (UTC)

I don't understand what is happening here. It is reporting

config.status: creating config.h
config.status: config.h is unchanged

but then it doesn't find config.h:

fatal error: config.h: No such file or directory

Could you please check if the config.h file is there after the failed build?

boredhero commented on 2021-11-15 20:03 (UTC)

@PhotonX yes I am.

PhotonX commented on 2021-11-02 15:08 (UTC)

@boredhero: Sorry for late reply. I cannot reproduce it here. Are you using an up to date Arch install?

boredhero commented on 2021-10-31 19:41 (UTC)

Build error

==> Making package: python2-gobject2 2.28.7-7 (Sun 31 Oct 2021 03:39:08 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating pygobject git repo...
Fetching origin
==> Validating source files with sha256sums...
    pygobject ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of pygobject git repo...
Cloning into 'pygobject'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
configure.ac:38: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:38: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:1341: AM_CONFIG_HEADER is expanded from...
configure.ac:38: the top level
configure.ac:79: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:79: You should run autoupdate.
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:79: the top level
configure.ac:79: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:79: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:79: the top level
configure.ac:80: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:80: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:80: the top level
configure.ac:83: warning: The macro `AC_ISC_POSIX' is obsolete.
configure.ac:83: You should run autoupdate.
./lib/autoconf/specific.m4:550: AC_ISC_POSIX is expanded from...
configure.ac:83: the top level
configure.ac:85: warning: 'AM_PROG_CC_STDC': this macro is obsolete.
configure.ac:85: You should simply use the 'AC_PROG_CC' macro instead.
configure.ac:85: Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
configure.ac:85: but upon 'ac_cv_prog_cc_stdc'.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:1347: AM_PROG_CC_STDC is expanded from...
configure.ac:85: the top level
configure.ac:104: warning: The macro `AC_TRY_CPP' is obsolete.
configure.ac:104: You should run autoupdate.
./lib/autoconf/general.m4:2762: AC_TRY_CPP is expanded from...
m4/python.m4:42: AM_CHECK_PYTHON_HEADERS is expanded from...
configure.ac:104: the top level
configure.ac:109: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:109: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.ac:109: the top level
configure.ac:124: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:124: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:124: the top level
configure.ac:129: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:129: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:129: the top level
configure.ac:149: warning: The macro `AC_FD_CC' is obsolete.
configure.ac:149: You should run autoupdate.
./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
m4/python.m4:4: AM_CHECK_PYMOD is expanded from...
configure.ac:149: the top level
configure.ac:152: warning: The macro `AC_FD_CC' is obsolete.
configure.ac:152: You should run autoupdate.
./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
m4/python.m4:4: AM_CHECK_PYMOD is expanded from...
configure.ac:152: the top level
configure.ac:187: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:187: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:187: the top level
configure.ac:232: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:232: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:232: the top level
configure.ac:237: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:237: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:237: the top level
configure.ac:270: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:270: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
m4/jhflags.m4:6: JH_ADD_CFLAG is expanded from...
configure.ac:270: the top level
configure.ac:271: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:271: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
m4/jhflags.m4:6: JH_ADD_CFLAG is expanded from...
configure.ac:271: the top level
configure.ac:277: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:277: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
m4/jhflags.m4:6: JH_ADD_CFLAG is expanded from...
configure.ac:277: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:80: installing './compile'
configure.ac:46: installing './config.guess'
configure.ac:46: installing './config.sub'
configure.ac:40: installing './install-sh'
configure.ac:40: installing './missing'
Makefile.am:64: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Makefile.am:72: installing './py-compile'
gi/Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
gi/Makefile.am: installing './depcomp'
gio/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
glib/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
tests/Makefile.am:9: warning: source file '$(GI_DATADIR)/tests/gimarshallingtests.c' is in a subdirectory,
tests/Makefile.am:9: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least one source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However, this
automake: behavior may change in a future Automake major version, with object
automake: files being placed in the same subdirectory as the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
tests/Makefile.am:6: warning: source file '$(GI_DATADIR)/tests/regress.c' is in a subdirectory,
tests/Makefile.am:6: but option 'subdir-objects' is disabled
autoreconf: Leaving directory '.'
==> Starting pkgver()...
==> Sources are ready.
==> Making package: python2-gobject2 2.28.7-7 (Sun 31 Oct 2021 03:39:17 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... 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/bin/ld
checking if the linker (/usr/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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/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 a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
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/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 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
configure: creating ./config.lt
config.lt: creating libtool
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether /usr/bin/python2 version >= 2.5.2... yes
checking for /usr/bin/python2 version... 2.7
checking for /usr/bin/python2 platform... linux2
checking for /usr/bin/python2 script directory... ${prefix}/lib/python2.7/site-packages
checking for /usr/bin/python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for python version... (cached) 2.7
checking for python platform... (cached) linux2
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)... (cached) ${prefix}/lib/python2.7/site-packages
checking for python extension module directory (pyexecdir)... (cached) ${exec_prefix}/lib/python2.7/site-packages
checking how to run the C preprocessor... gcc -E
checking for headers required to compile python extensions... found
checking for PySignal_SetWakeupFd in Python.h... yes
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... yes
checking for GLIB - version >= 2.24.0... yes (version 2.70.0)
checking for ffi... checking for FFI... yes
checking for GIO... yes
checking for GIOUNIX... yes
checking whether gcc understands -Wall... yes
checking whether gcc understands -fno-strict-aliasing... yes
checking whether gcc understands -std=c9x... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pygobject-2.0.pc
config.status: creating pygobject-2.0-uninstalled.pc
config.status: creating docs/Makefile
config.status: creating docs/reference/entities.docbook
config.status: creating docs/xsl/fixxref.py
config.status: creating gi/Makefile
config.status: creating gi/repository/Makefile
config.status: creating gi/overrides/Makefile
config.status: creating glib/Makefile
config.status: creating gobject/Makefile
config.status: creating gio/Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating PKG-INFO
config.status: creating codegen/Makefile
config.status: creating codegen/pygobject-codegen-2.0
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

libffi support: yes
introspection support: no

  GEN      .gitignore
make[1]: Entering directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject'
make[1]: Entering directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject'
cd . && /bin/sh ./config.status config.h
make[2]: Entering directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject/gi'
  GEN      .gitignore
make[2]: Leaving directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject/gi'
make[1]: Leaving directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject'
config.status: creating config.h
config.status: config.h is unchanged
make[1]: Leaving directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject'
make  all-recursive
make[1]: Entering directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject'
Making all in docs
make[2]: Entering directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject/docs'
  GEN      .gitignore
make  all-am
make[3]: Entering directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject/docs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject/docs'
make[2]: Leaving directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject/docs'
Making all in glib
make[2]: Entering directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject/glib'
  CC       _glib_la-pygiochannel.lo
  CC       libpyglib_2_0_python2_la-pyglib.lo
  CC       _glib_la-glibmodule.lo
  CC       _glib_la-pygoptioncontext.lo
  CC       _glib_la-pygoptiongroup.lo
  CC       _glib_la-pygmaincontext.lo
  CC       _glib_la-pygmainloop.lo
  GEN      .gitignore
  CC       _glib_la-pygspawn.lo
  CC       _glib_la-pygsource.lo
pygmaincontext.c:24:12: fatal error: config.h: No such file or directory
   24 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
pygoptiongroup.c:24:12: fatal error: config.h: No such file or directory
   24 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
pyglib.c:23:12: fatal error: config.h: No such file or directory
   23 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
pygmainloop.c:25:12: fatal error: config.h: No such file or directory
   25 | #  include <config.h>
      |            ^~~~~~~~~~
pygsource.c:27:12: fatal error: config.h: No such file or directory
   27 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
compilation terminated.
make[2]: *** [Makefile:619: _glib_la-pygoptiongroup.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:626: _glib_la-pygmaincontext.lo] Error 1
glibmodule.c:25:12: fatal error: config.h: No such file or directory
   25 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:640: _glib_la-pygsource.lo] Error 1
make[2]: *** [Makefile:654: libpyglib_2_0_python2_la-pyglib.lo] Error 1
make[2]: *** [Makefile:633: _glib_la-pygmainloop.lo] Error 1
make[2]: *** [Makefile:598: _glib_la-glibmodule.lo] Error 1
pygoptioncontext.c:24:12: fatal error: config.h: No such file or directory
   24 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
pygiochannel.c:4:12: fatal error: config.h: No such file or directory
    4 | #  include <config.h>
      |            ^~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:612: _glib_la-pygoptioncontext.lo] Error 1
make[2]: *** [Makefile:605: _glib_la-pygiochannel.lo] Error 1
make[2]: Leaving directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject/glib'
make[1]: *** [Makefile:743: all-recursive] Error 1
make[1]: Leaving directory '/home/noah/.cache/yay/python2-gobject2/src/pygobject'
make: *** [Makefile:488: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python2-gobject2

Pippip19 commented on 2021-10-27 16:05 (UTC)

@PhotonX thanks, not sure why this was missing from my base-devel installation.

PhotonX commented on 2021-10-27 13:55 (UTC)

@Pippip19: It's in base-devel, so it is expected to be installed if you are building AUR packages: https://wiki.archlinux.org/title/Arch_User_Repository#Prerequisites