Portage 2.1.9.49 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.38-gentoo-r5-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.0.2 Timestamp of tree: Sun, 15 May 2011 11:30:01 +0000 app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5, 4.5.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.13-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe -msse3 -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=amdfam10 -O2 -pipe -msse3 -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="sv sv_SE" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/oss-overlay /var/lib/layman/x11 /var/lib/layman/centerim /var/lib/layman/games /var/lib/layman/enlightenment /var/lib/layman/kvm /var/lib/layman/mozilla /var/lib/layman/gnome /var/lib/layman/gamerlay /var/lib/layman/keruspe /var/lib/layman/bleeding-edge /var/lib/layman/stuff /var/lib/layman/dev-zero /var/lib/layman /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aac aalib acl adns amd64 apache2 ares avahi bash-completion berkdb bittorrent bzip2 cairo cg cli cracklib crypt cscope cups curl cxx dbus device-mapper devil dga djvu dri dts dvd dvdr dvdread enca encode exif fam ffmpeg flac fontconfig foomaticdb fortran gcj gd gdbm geoip ggi gif gimp gnutls google-gadgets gphoto2 gpm gstreamer gtk gtkhtml hddtemp iconv icu id3tag idn imlib introspection ios ipod ipv6 joystick jpeg jpeg2k kde kipi kpathsea lcms libcaca libnotify lm_sensors lto lzma mad maps matroska mikmod mmap mmx mmxext mng modules mp3 mpeg mpi-threads mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg oggvorbis opengl openmp oss oss4 otr pam pcre pdf perl phonon php png policykit postgres pppd python qt3support qt4 quicktime readline rss samba schroedinger sdl shout sip smi smp soundtouch sse sse2 ssl subversion svg symlink sysfs tcpd theora threads thumbnail tiff tordns truetype udev unicode upnp usb v4l v4l2 visibility vnc vorbis wav webkit webm x264 xcb xcomposite xinerama xml xml2 xorg xpm xrandr xscreensaver xv xvid xvmc zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv sv_SE" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always
Created attachment 273273 [details] failing build log
The error from your log is: > up-main.c:45:24: fatal error: glib-unix.h: No such file or directory And glib-unix.h is only asked for if glib is higher than 2.28.7: #if GLIB_CHECK_VERSION(2,28,7) #include <glib-unix.h> #endif And latest version in Portage is still 2.28.6. So where is your dev-libs/glib from? If it's not from Portage I can't support it.
I had the same problem. He's probably using glib-9999 like me. We get that from using the gnome overlay for gnome3. When I managed to rebuild glib this problem dissappeared for me.
(In reply to comment #3) > I had the same problem. > He's probably using glib-9999 like me. > We get that from using the gnome overlay for gnome3. > > When I managed to rebuild glib this problem dissappeared for me. right, so while the version check was raised in git, the header propably still wasn't committed... well, that's what you get for using live ebuilds (please don't file bugs anymore from system with live ebuilds)
glib-2.28.7 was added to Portage so this is now a problem.
I have the same error: up-main.c:45:24: fatal error: glib-unix.h: No such file or directory
Same error doing a fresh install on my netbook. Portage 2.1.9.49 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo i686) ================================================================= System uname: Linux-2.6.39-gentoo-i686-Intel-R-_Atom-TM-_CPU_N280_@_1.66GHz-with-gentoo-2.0.2 Timestamp of tree: Sun, 22 May 2011 14:00:01 +0000 app-shells/bash: 4.2_p10 dev-lang/python: 2.7.1-r1, 3.2 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.1-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.13-r2 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.1" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://gentoo.mirrors.tds.net/gentoo rsync://gentoo.mirrors.tds.net/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.lug.udel.edu/pub/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ ftp://mirror.its.uidaho.edu/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ rsync://gentoo.cs.uni.edu/gentoo-distfiles http://mirror.usu.edu/mirrors/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en es" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa bash-completion bluetooth branding bzip2 cairo cli consolekit cracklib crypt cups curl cxx dbus device-mapper dri dts dvd dvdr emboss encode exif extras fam ffmpeg firefox flac fontconfig fortran gdbm gdu gif gpm gtk iconv imap jpeg lame lcms ldap libnotify lm_sensors lock mad mmx mng modules mp3 mp4 mpeg msn mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit postgres ppds pppd python qt3support readline sdl session smp spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd threads thunar tiff truetype udev unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XFCE_PLUGINS="menu trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Same problem here on ~amd64 with glib-2.28.7 from portage. Please reopen this bug.
Created attachment 274363 [details, diff] patch for missing "glib-unix.h" in building upower 0.9.10
The "glib-unix.h" first appears in glib 2.29.4. from release note. http://ftp.acc.umu.se/pub/gnome/sources/glib/2.29/glib-2.29.4.news ---- * Unix-specific APIs: GLib now installs a separate header, glib-unix.h, that is meant to collect Unix-specific APIs. For now, it contains g_unix_open_pipe(), g_unix_set_fd_non_blocking() for dealing with pipes and fds, as well as APIs to create mainloop sources which can trigger callbacks on certain Unix signals (SIGTERM, SIGHUP, SIGINT). ---- Indeed I found it in source tarball only 2.29.4. I guess this is an issue of Upower. I have resolved this by patch I attached and issue ebuild merge command manually. By the way does anyone know bug tracker of Upower? :P
Created attachment 274365 [details, diff] patch for missing "glib-unix.h" in building upower 0.9.10
I have reported To Bugzilla of Freedesktop.org and it Has been marked as fixed. https://bugs.freedesktop.org/show_bug.cgi?id=37489
I hit the same problem now. Could this please be reopened? Adding ssuominen back to CC.
Fixed in main tree.
(In reply to comment #14) > Fixed in main tree. I confirmed. Thank you so much for your quick action:)