pkgsrc-Users archive

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

compilation of devel/gobject-instrospection fails, glib/gmacros.h missing


Yesterday I've decided to try pkgsrc/stable on Linux 64 bit (Ubuntu
16.04, gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)).

After bootstrap I went on to install cad/kicad. Pkgsrc started
installing all possible dependencies and after 10 hours of compiling
it stopped at devel/gobject-introspection missing glib/gmacros.h. I
see that someone has already encountered this problem on MacOS:

What workaround can be in my case, bearing in mind that I wasn't
installing gobject-introspection on its own, but it came to me as a
dependency to kicad (or to a kicad's dependency).

Here's the output:

In file included from
/opt/pkg/lib/glib-2.0/include/glibconfig.h:9:26: fatal error:
glib/gmacros.h: No such file or directory
compilation terminated.
Traceback (most recent call last):
  File "./g-ir-scanner", line 66, in <module>
  File "./giscanner/", line 538, in scanner_main
    ss = create_source_scanner(options, args)
  File "./giscanner/", line 446, in create_source_scanner
  File "./giscanner/", line 262, in parse_files
  File "./giscanner/", line 307, in _parse
  File "./giscanner/", line 210, in preprocess
  File "/opt/pkg/lib/python2.7/distutils/", line 114,
in preprocess
    raise CompileError, msg
distutils.errors.CompileError: command 'cc' failed with exit status 1
Makefile:3533: recipe for target 'GLib-2.0.gir' failed
make[2]: *** [GLib-2.0.gir] Error 1
make[2]: Leaving directory
Makefile:2820: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
Makefile:1580: recipe for target 'all' failed
make: *** [all] Error 2
*** Error code 2

bmake[4]: stopped in /opt/pkgsrc/devel/gobject-introspection
*** Error code 1

bmake[3]: stopped in /opt/pkgsrc/devel/gobject-introspection
*** Error code 1

bmake[2]: stopped in /opt/pkgsrc/multimedia/gstreamer1
*** Error code 1

bmake[1]: stopped in /opt/pkgsrc/x11/wxGTK30
*** Error code 1

Home | Main Index | Thread Index | Old Index