Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gobject-introspection
gobject-introspection
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 227
    • Issues 227
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 18
    • Merge Requests 18
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gobject-introspectiongobject-introspection
  • Issues
  • #256

Closed
Open
Opened Dec 31, 2018 by Vanessa McHale@vemchale

Build for latest release fails with latest glib

When building gobject-introspection with the latest glib (that is, 2.59.0), the build fails with the following:

gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -g -O2 -Wno-duplicated-branches -Wno-switch-enum -I/home/vanessa/.cpkg/glib-2.59.0-296998698306714a/include -I/home/vanessa/.cpkg/util-linux-2.33-340119760c330aa0/include -I/home/vanessa/.cpkg/ncurses-6.1-4e0950ff2a8ca76e/include -I/home/vanessa/.cpkg/pcre-8.42-13795ce7f0becc9c/include -I/home/vanessa/.cpkg/zlib-1.2.11-57aef21a2d185adf/include -I/home/vanessa/.cpkg/dbus-1.12.10-5b79777fc909d2b4/include -I/home/vanessa/.cpkg/expat-2.2.6-32c794f78201bd5e/include -I/home/vanessa/.cpkg/libselinux-2.8-3503794a331cd7ac/include -I/home/vanessa/.cpkg/pcre-8.42-13795ce7f0becc9c/include -I/home/vanessa/.cpkg/libsepol-2.8-41cd266dae1435c2/include -I/home/vanessa/.cpkg/flex-2.6.3-3b4b06f705d512e7/include -I/home/vanessa/.cpkg/python3-3.7.2-5595063eef56dadb/include -I/home/vanessa/.cpkg/python2-2.7.15-639977e6bbadcc69/include -I/home/vanessa/.cpkg/flex-2.6.3-3b4b06f705d512e7/include -fPIC -DGIO_COMPILATION -DG_SETTINGS_ENABLE_BACKEND -I/tmp/cpkg-1fd39099f0546691/gobject-introspection-1.58.3 -I/home/vanessa/.cpkg/glib-2.59.0-296998698306714a/include/gio-unix-2.0 -I/home/vanessa/.cpkg/glib-2.59.0-296998698306714a/include -I/home/vanessa/.cpkg/glib-2.59.0-296998698306714a/include/glib-2.0 -I/home/vanessa/.cpkg/glib-2.59.0-296998698306714a/lib/x86_64-linux-gnu/glib-2.0/include -I/home/vanessa/.cpkg/util-linux-2.33-340119760c330aa0/include/libmount -I/home/vanessa/.cpkg/util-linux-2.33-340119760c330aa0/include/blkid -I/home/vanessa/.cpkg/util-linux-2.33-340119760c330aa0/include/uuid -I/home/vanessa/.cpkg/pcre-8.42-13795ce7f0becc9c/include -I/home/vanessa/.cpkg/libffi-3.2.1-3bbdd9958c974bf3/lib/libffi-3.2.1/include -I/home/vanessa/.cpkg/zlib-1.2.11-57aef21a2d185adf/include -I/home/vanessa/.cpkg/glib-2.59.0-296998698306714a/include -I/home/vanessa/.cpkg/glib-2.59.0-296998698306714a/include/gio-unix-2.0 -I/home/vanessa/.cpkg/glib-2.59.0-296998698306714a/include -I/home/vanessa/.cpkg/glib-2.59.0-296998698306714a/include/glib-2.0 -I/home/vanessa/.cpkg/glib-2.59.0-296998698306714a/lib/x86_64-linux-gnu/glib-2.0/include -I/home/vanessa/.cpkg/util-linux-2.33-340119760c330aa0/include/libmount -I/home/vanessa/.cpkg/util-linux-2.33-340119760c330aa0/include/blkid -I/home/vanessa/.cpkg/util-linux-2.33-340119760c330aa0/include/uuid -I/home/vanessa/.cpkg/pcre-8.42-13795ce7f0becc9c/include -I/home/vanessa/.cpkg/libffi-3.2.1-3bbdd9958c974bf3/lib/libffi-3.2.1/include -I/home/vanessa/.cpkg/zlib-1.2.11-57aef21a2d185adf/include -I/home/vanessa/.cpkg/glib-2.59.0-296998698306714a/lib/x86_64-linux-gnu/glib-2.0/include -c /tmp/cpkg-1fd39099f0546691/gobject-introspection-1.58.3/tmp-introspect76ZGX8/Gio-2.0.c -o /tmp/cpkg-1fd39099f0546691/gobject-introspection-1.58.3/tmp-introspect76ZGX8/Gio-2.0.o -Wno-deprecated-declarations -pthread
/tmp/cpkg-1fd39099f0546691/gobject-introspection-1.58.3/tmp-introspect76ZGX8/Gio-2.0: symbol lookup error: /tmp/cpkg-1fd39099f0546691/gobject-introspection-1.58.3/tmp-introspect76ZGX8/Gio-2.0: undefined symbol: g_resolver_name_lookup_flags_get_type
Command '[u'/tmp/cpkg-1fd39099f0546691/gobject-introspection-1.58.3/tmp-introspect76ZGX8/Gio-2.0', u'--introspect-dump=/tmp/cpkg-1fd39099f0546691/gobject-introspection-1.58.3/tmp-introspect76ZGX8/functions.txt,/tmp/cpkg-1fd39099f0546691/gobject-introspection-1.58.3/tmp-introspect76ZGX8/dump.xml']' returned non-zero exit status 127
Makefile:3873: recipe for target 'Gio-2.0.gir' failed
make[2]: *** [Gio-2.0.gir] Error 1
make[2]: Leaving directory '/tmp/cpkg-1fd39099f0546691/gobject-introspection-1.58.3'
Makefile:3026: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/cpkg-1fd39099f0546691/gobject-introspection-1.58.3'
Makefile:1618: recipe for target 'all' failed
make: *** [all] Error 2

(which I assume is due to g_resolver_name_lookup_flags_get_type being removed).

(The slightly odd paths are due to testing cpkg).

Edited Dec 31, 2018 by Vanessa McHale
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gobject-introspection#256