After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 618778 - Build failure due "Type reference 'uid_t' not found"
Build failure due "Type reference 'uid_t' not found"
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
2.25.x
Other Linux
: Normal blocker
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-05-16 11:06 UTC by Luca Ferretti
Modified: 2015-02-07 16:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[scanner] Add uid_t, gid_t, dev_t to integral type conversions (1.90 KB, patch)
2010-05-18 19:29 UTC, Colin Walters
accepted-commit_now Details | Review
Add uid_t, gid_t, dev_t to integral type conversions (1.89 KB, patch)
2010-05-19 12:48 UTC, Johan (not receiving bugmail) Dahlin
committed Details | Review

Description Luca Ferretti 2010-05-16 11:06:39 UTC
Building GNOME Desktop from scratch using jhbuild (moduleset gnome-3.0).

includedir=. GModule-2.0.gir -o GModule-2.0.typelib
../tools/g-ir-compiler --includedir=. --includedir=../gir --includedir=../gir --includedir=. Gio-2.0.gir -o Gio-2.0.typelib
Gio-2.0.gir: error: Type reference 'uid_t' not found
make[2]: *** [Gio-2.0.typelib] Error 1

Previously, the Gio-2.0.gir was created using:

env LPATH=.libs  env PYTHONPATH=..:..:YTHONPATH UNINSTALLED_INTROSPECTION_SRCDIR=.. UNINSTALLED_INTROSPECTION_BUILDDIR=.. ../tools/g-ir-scanner -v --add-include-path=../gir --add-include-path=. -v --add-include-path=../gir --add-include-path=. --namespace=Gio --nsversion=2.0 --libtool="/bin/bash ../libtool"  --library=gio-2.0 --pkg=gio-2.0 --pkg=gio-unix-2.0 --include=GObject-2.0 --noclosure --strip-prefix=g --c-include="gio/gio.h" --add-include-path=. -DGIO_COMPILATION -I/opt/gnome3/lib64/glib-2.0/include /opt/gnome3/include/gio-unix-2.0/gio/*.h /opt/gnome3/include/glib-2.0/gio/*.h ./gio-2.0.c --output Gio-2.0.gir


BYW "YTHONPATH" ?!?!?!
Comment 1 Łukasz Jernaś 2010-05-17 09:36:16 UTC
Same error here
Comment 2 Colin Walters 2010-05-18 19:29:35 UTC
Created attachment 161375 [details] [review]
[scanner] Add uid_t, gid_t, dev_t to integral type conversions

Continuing where we were going with pid_t, define a few more POSIX
types by converting them to their fundamental integers.  See
commentary in patch for more explanation on rationale.
Comment 3 Johan (not receiving bugmail) Dahlin 2010-05-19 12:48:02 UTC
Review of attachment 161375 [details] [review]:

Looks good
Comment 4 Johan (not receiving bugmail) Dahlin 2010-05-19 12:48:24 UTC
The following fix has been pushed:
26ac70c Add uid_t, gid_t, dev_t to integral type conversions
Comment 5 Johan (not receiving bugmail) Dahlin 2010-05-19 12:48:29 UTC
Created attachment 161432 [details] [review]
Add uid_t, gid_t, dev_t to integral type conversions

Continuing where we were going with pid_t, define a few more POSIX
types by converting them to their fundamental integers.  See
commentary in patch for more explanation on rationale.
Comment 6 André Klapper 2015-02-07 16:53:09 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]