Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362855 - sys-apps/syslog-notify-0.1 fails to build - glib.h not found
Summary: sys-apps/syslog-notify-0.1 fails to build - glib.h not found
Status: RESOLVED DUPLICATE of bug 342393
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-10 12:39 UTC by Róbert Čerňanský
Modified: 2011-04-10 15:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (sys-apps:syslog-notify-0.1:20110410-122550.log,11.32 KB, text/plain)
2011-04-10 12:39 UTC, Róbert Čerňanský
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Róbert Čerňanský 2011-04-10 12:39:41 UTC
Created attachment 269283 [details]
Build log

sys-apps/syslog-notify-0.1 does not emerge.  It fails with errors like:

...
In file included from syslog-notify.c:30:
/usr/include/libnotify/notify.h:25:18: error: glib.h: No such file or directory
In file included from /usr/include/libnotify/notify.h:28,
                 from syslog-notify.c:30:
/usr/include/libnotify/notification.h:27:25: error: glib-object.h: No such file or directory
/usr/include/libnotify/notification.h:28:21: error: gtk/gtk.h: No such file or directory
...


# emerge -pqv =sys-apps/syslog-notify-0.1
[ebuild  N    ] sys-apps/syslog-notify-0.1 


$ emerge --info =sys-apps/syslog-notify-0.1
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.14
Timestamp of tree: Sat, 09 Apr 2011 06:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2::<unknown repository>, 4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA RTCW RTCW-ETEULA DOOM3 ut2003 Q3AEULA LOKI-EULA ETQW QUAKE4 Introversion dlj-1.1 googleearth AdobeFlash-10 AdobeFlash-10.1 PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 -fweb -pipe"
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/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 -fweb -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="ftp://mirror.gentoo.sk http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en sk cs ru"
MAKEOPTS="-j2"
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/autoarchive /var/lib/layman/berkano /var/lib/layman/latest-released /var/lib/layman/sunrise /var/lib/layman/roslin /opt/reserve/install/portage/hs"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X Xaw3d a52 aac aalib acl acpi adplug ads afterimage aim alsa amd64 amr amrnb amrwb ares aspell audacious bash-completion bdf berkdb binfilter blender-game bluetooth branding bzip2 cairo caps cdda cddb cdinstall cdparanoia cdr cli cracklib crypt css cue cups cxx daemon dbus dga divx djvu dri dssi dts dv dvd dvdnav dvdr editor emacs emboss enblend encode exif expat fbcon fbcondecor ffmpeg firefox flac flash font-server fontconfig foomaticdb fortran freesound ftp gd gdbm gif gimp gimpprint glade gmedia gnutella gnutls gpg gphoto2 gpm gs gtk gtkhtml guile gzip-el hddtemp hdri hou iconv icq id3tag idn ilbc imagemagick imap imlib ipv6 jabber jack javascript jbig jpeg jpeg2k kdrive kerberos kqemu ladcca ladspa lcms ldap leim libcaca libnotify lirc live lm_sensors logrotate lua-cairo lzma mad maildir matroska memlimit mercurial midi mikmod mime mjpeg mms mmx mmxext mng modplug modules mono mp2 mp3 mp4 mpeg mplayer msn mtp mudflap mule multilib musepack musicbrainz ncurses nemesi network networking new-login nls nocd nowin nptl nptlonly nsplugin nut nvidia objc ofx ogg openal opencore-amr openexr opengl openmp oscar pam pam_krb5 pam_ssh pango pcre pda pdf perl png portaudio ppds pppd projectm python qmax qt3support qt4 quicktime quotes rar raw rdesktop readline realmedia recode restrict-javascript roe rtc rtmp samba sasl schroedinger scrobbler sdl server session shout sid sift smime sndfile snmp sockets sou sound sox speex spell srt sse sse2 ssh ssl startup-notification subtitles svg sysfs syslog tcl tcpd test-programs themes theora threads tiff tk toolkit-scroll-bars truetype tta udev unicode usb userlocales utempter vcd videos vnc vorbis wavpack wireshark wma wmf wmp wxwidgets x264 xcb xcomposite xface xft xiph xml xmp xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yahoo zlib zrtp" 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 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" CAMERAS="*" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sk cs ru" LIRC_DEVICES="serial" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev vesa" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2011-04-10 15:03:20 UTC
What does 'pkg-config libnotify --cflags' print ?
Comment 2 Róbert Čerňanský 2011-04-10 15:33:56 UTC
$ pkg-config libnotify --cflags
Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'egl', not found

After emerging 'dri2proto' still no go.  Then,

$ pkg-config libnotify --cflags
Package glproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `glproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glproto', required by 'egl', not found

And after emerging also 'glproto' syslog-notify builds fine.

So I guess dependencies of syslog-notify needs a little tuning ;-) .

Thanks!
Comment 3 Rafał Mużyło 2011-04-10 15:52:38 UTC
Not really, most likely it's a dupe of bug 342393.
Too much of depclean is not good for you.

*** This bug has been marked as a duplicate of bug 342393 ***