Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pango emerge fails
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Princess Nell

Joined: 15 Apr 2005
Posts: 738

PostPosted: Thu Oct 04, 2012 10:19 pm    Post subject: pango emerge fails Reply with quote

With the latest round of updates on my amd64 system, world update fails during pango emerge with

  GISCAN Pango-1.0.gir
Package egl was not found in the pkg-config search path.
Perhaps you should add the directory containing `egl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'egl', required by 'cairo', not found
In file included from <stdin>:4:0:
/var/tmp/portage/x11-libs/pango-1.30.1/work/pango-1.30.1/pango/pango-impl-utils.h:26:18: fatal error: glib.h: No such file or directory
compilation terminated.
Error while processing the source.

The same happens on my x86 system, except the package with the problem is librsvg.

glib-2.32.4-r1 is installed, in fact an update was part of the same emerge session and installed a few minutes earlier. There is no package called egl, although there is gegl and it has a .pc file installed.


#  emerge --info '=x11-libs/pango-1.30.1'
Portage (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.4, glibc-2.15-r2, 3.3.8-gentoo x86_64)
                         System Settings
System uname: Linux-3.3.8-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Thu, 04 Oct 2012 18:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac acl acpi alsa amd64 apm avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit corefonts cracklib crypt css curl cxx dbus dri dts dvd dvdr emboss encode exif expat fam ffmpeg firefox flac gd gdbm gif gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk iconv ieee1394 imagemagick imap imlib jack java javascript jpeg jpeg2k lcms libnotify lm_sensors lock mad mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support readline sdl session socialweb spell sse sse2 ssl startup-notification svg tcpd theora thunar tiff truetype udev udisks unicode upower usb v4l v4l2 vdpau vorbis wifi wxwidgets x264 xcb xinerama xml xulrunner xv xvid xvmc zlib" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nouveau v4l vesa vga" 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"

Back to top
View user's profile Send private message

Joined: 14 Oct 2006
Posts: 6193

PostPosted: Thu Oct 04, 2012 11:23 pm    Post subject: Reply with quote

That 'egl' that pkg-config is asking for is from mesa, but in this place most likely reason for this problem is something cairo related.

Nevertheless, check full build log (and config.log) for more clues.
Back to top
View user's profile Send private message
Princess Nell

Joined: 15 Apr 2005
Posts: 738

PostPosted: Fri Oct 05, 2012 7:01 am    Post subject: Reply with quote

You are right, and as usual, I found the problem soon after posting.

I had unmerged mesa as it was a blocker. Strange that a patchlevel-grade upgrade is blocking, btw. And why did emerge not get the dependencies right and emerge mesa before pango?

Now I have the same problem as on the x86 system, but I misremembered, and it is cairo related:

  GISCAN Rsvg-2.0.gir
  CCLD   rsvg-convert
In file included from <stdin>:5:0:
/var/tmp/portage/gnome-base/librsvg-2.36.1/work/librsvg-2.36.1/rsvg-cairo.h:29:19: fatal error: cairo.h: No such file or directory
compilation terminated.
Error while processing the source.
make[2]: *** [Rsvg-2.0.gir] Error 1
Back to top
View user's profile Send private message
Princess Nell

Joined: 15 Apr 2005
Posts: 738

PostPosted: Sat Oct 06, 2012 12:42 pm    Post subject: Reply with quote

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum