Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372499 - gnome-base/librsvg-2.32.1 needs x11-libs/libXrender but doesn't depends on it
Summary: gnome-base/librsvg-2.32.1 needs x11-libs/libXrender but doesn't depends on it
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 17:55 UTC by Thomas Beutin
Modified: 2011-06-28 08:48 UTC (History)
0 users

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


Attachments
gnome-base/librsvg-2.32.1 build.log (librsvg-2.32.1-build.log,10.48 KB, text/plain)
2011-06-21 17:57 UTC, Thomas Beutin
Details
V=1 enabled gnome-base/librsvg-2.32.1 build log without x11-libs/libXrender-0.9.6 (librsvg-2.32.1-build.log,52.55 KB, text/plain)
2011-06-22 08:43 UTC, Thomas Beutin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Beutin 2011-06-21 17:55:30 UTC
net-analyzer/rrdtool-1.3.8 depends (not direct but indirect) on svg - provided by gnome-base/librsvg: when i tried to install it on my non GUI server (USE="x86 -X -gtk -qt4 -kde -gnome -acl -alsa -esd -gpm -cairo hardened ...") it pulls x11-libs/cairo[svg] and this pulls gnome-base/librsvg. But compiling of gnome-base/librsvg-2.32.1 fails without x11-libs/libXrender - see attached build.log

Reproducible: Always

Steps to Reproduce:
1. install net-analyzer/rrdtool-1.3.8 on a text based server



# emerge --info
Portage 2.1.9.42 (default/linux/x86/10.0/server, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-i686-Pentium_II_-Deschutes-with-gentoo-2.0.2
Timestamp of tree: Mon, 20 Jun 2011 05:30:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.4.6, 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.4
sys-devel/autoconf:  2.13::<unknown repository>, 2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cli-php5.2/ext-active/ /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="-O2 -march=i686 -mtune=i686 -fomit-frame-pointer"
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 userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.ynet.sk/pub http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.romnet.org/gentoo/ http://gentoo.ITDNet.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.intergenia.de http://ftp.du.se/pub/os/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en_IE en_GB en"
MAKEOPTS="-j1"
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/sunrise /usr/local/portage"
SYNC="rsync://portage/gentoo-portage"
USE="aac apache2 avahi bash-completion bcmath berkdb bzip2 calendar caps cdr cgi clamd cli cracklib crypt ctype cups curl curlwrappers cxx dbus dri encode ethereal exif expat fastcgi ffmpeg flac flatfile fontconfig foomaticdb fortran fpx ftp gd gdbm geoip gif gmp graphviz gs hardened hardenedphp iconv idled imagemagick imap imlib inifile innodb ipv6 jbig jpeg jpeg2k kpathsea lame latex lcms ldap libwww logrotate logwatch lzo mad mhash milter mmap mmx mng modules mp3 mpeg mudflap mysql mysqli ncurses netpbm nls nptl nptlonly oav ogg openmp pam parse-clocks pcntl pcntpl pcre pdf pdflib perl php pic pie png pnp posix postgres ppds pppd python quicktime radius raw readline ruby samba sasl session sharedext sharedmem simplexml slp snmp snortsam soap sockets sox speex spell sqlite sqlite3 ssl subversion svg sysfs syslog sysvipc tcpd theora tidy tiff transparent-proxy truetype truetype-fonts trusted type1-fonts unicode usb userlocales v4l vhosts vim-syntax virus-scan vorbis wddx wmf x264 x86 xine xinetd xml xml2 xmlrpc xorg xpm xsl xvid yaz zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="access auth auth_basic authn_dbm dbd ident imagemap authn_dbd authn_file authn_default authz_groupfile authn_alias authn_anon authz_dbm authz_owner authz_default authz_user auth_digest authz_host alias file_cache echo charset_lite cache disk_cache mem_cache ext_filter case_filter case-filter-in deflate filter mime_magic cern_meta proxy_ajp proxy_balancer expires headers usertrack proxy proxy_connect proxy_ftp proxy_http info include cgi cgid dav dav_lock dav_fs vhost_alias speling rewrite log_config logio env setenvif mime status substitute autoindex asis negotiation dir imap actions userdir so unique_id" APACHE2_MPMS="prefork" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_IE en_GB en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Beutin 2011-06-21 17:57:12 UTC
Created attachment 277697 [details]
gnome-base/librsvg-2.32.1 build.log
Comment 2 Rafał Mużyło 2011-06-21 19:42:18 UTC
Could you attach the log while V=1, so that the linking command gets printed ?
Comment 3 Thomas Beutin 2011-06-21 23:10:03 UTC
(In reply to comment #2)
> Could you attach the log while V=1, so that the linking command gets printed ?

in the meantime i installed x11-libs/libXrender so base/librsvg-2.32.1 emerged fine, but if You tell me exact what to do then i remove x11-libs/libXrender and try to install gnome-base/librsvg-2.32.1 again

is V=1 just a shell env var? any help/links/hints greatly appreciated,  so i can get it on the first try - on my quite slow iP-II 400MHz double proc production system ;)
Comment 4 Rafał Mużyło 2011-06-21 23:41:32 UTC
Yes, V=1 is a shell var to turn off silent make.

IIRC, 'V=1 emerge...' should work.

Anyway, librsvg doesn't have a *direct* dependency on libXrender.

...and an ouch on the hardware.
Comment 5 Thomas Beutin 2011-06-22 08:43:35 UTC
Created attachment 277735 [details]
V=1 enabled gnome-base/librsvg-2.32.1 build log without x11-libs/libXrender-0.9.6

as requested by Rafał here the build.log of reemerging gnome-base/librsvg-2.32.1 with V=1 after removing x11-libs/libXrender-0.9.6 from the system.

at the moment i install x11-libs/libXrender-0.9.6 again and if reemerging of gnome-base/librsvg-2.32.1 will still fail (which i don't believe because it suceeded yesterday) you'll read it here - after an hour or so...
Comment 6 Rafał Mużyło 2011-06-22 12:44:12 UTC
Try revdep-rebuild first - given that the linking command confirms there's no direct dep (-lgdk_pixbuf-2.0 -lgio-2.0 -lxml2 -lpangoft2-1.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lcairo -lpng14 -lfontconfig -lfreetype   -lcroco-0.6 -lglib-2.0 -lm) , I'd say it's a la file problem (likely from cairo).
Comment 7 Thomas Beutin 2011-06-22 13:32:43 UTC
(In reply to comment #6)
> Try revdep-rebuild first - given that the linking command confirms there's no
> direct dep (-lgdk_pixbuf-2.0 -lgio-2.0 -lxml2 -lpangoft2-1.0 -lpangocairo-1.0
> -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lcairo
> -lpng14 -lfontconfig -lfreetype   -lcroco-0.6 -lglib-2.0 -lm) , I'd say it's a
> la file problem (likely from cairo).

after the second try i did a "revdep-rebuild -i -- -pv" and the result was just this:
 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
 *   broken /usr/lib/libGL.la (requires -lXmu)
 *   broken /usr/lib/libGL.la (requires -lXi)
 * Generated new 3_broken.rr
 * Assigning files to packages
 *  !!! /usr/lib/libGL.la not owned by any package is broken !!!
 *   /usr/lib/libGL.la -> (none)
 * Generated new 4_raw.rr and 4_owners.rr
 * Found some broken files, but none of them were associated with known packages
 * Unable to proceed with automatic repairs.
 * The broken files are listed in 4_owners.rr

x11-libs/libXi and x11-libs/libXmu are (not longer?) installed on the system, so i just removed the orphaned /usr/lib/libGL.la

for the moment i do an update (nice -n 19 emerge -1DNu sys-devel/gcc dev-db/sqlite app-admin/eselect-postgresql app-editors/vim dev-db/postgresql-server), but i'll try the same procedure as today when it's finished - maybe not before tomorrow...

btw: "lafilefixer --justfixit | grep -v ' already clean, skipping update.$'" doesn't found anything by now
Comment 8 Thomas Beutin 2011-06-28 08:48:21 UTC
ok, now it compiles fine without x11-libs/libXrender installed.

Yesterday revdep-rebuild claimed some broken packages to be reinstalled:

 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
 *   broken /usr/lib/ImageMagick-6.6.5/modules-Q16/coders/svg.la (requires -lXrender)
 *   broken /usr/lib/ImageMagick-6.6.5/modules-Q16/coders/svg.so (requires libXrender.so.1)
 *   broken /usr/lib/libntop.la (requires -lXrender)
 *   broken /usr/lib/libntopreport.la (requires -lXrender)
 *   broken /usr/lib/librrd.la (requires -lXrender)
 *   broken /usr/lib/librrd.so.4.0.7 (requires libXrender.so.1)
 *   broken /usr/lib/librrd_th.la (requires -lXrender)
 *   broken /usr/lib/librrd_th.so.4.0.7 (requires libXrender.so.1)
 *   broken /usr/lib/librsvg-2.la (requires -lXrender)
 *   broken /usr/lib/vlc/plugins/misc/libsvg_plugin.la (requires -lXrender)
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib/ImageMagick-6.6.5/modules-Q16/coders/svg.la -> media-gfx/imagemagick
 *   /usr/lib/ImageMagick-6.6.5/modules-Q16/coders/svg.so -> media-gfx/imagemagick
 *   /usr/lib/libntop.la -> net-analyzer/ntop
 *   /usr/lib/libntopreport.la -> net-analyzer/ntop
 *   /usr/lib/librrd.la -> net-analyzer/rrdtool
 *   /usr/lib/librrd.so.4.0.7 -> net-analyzer/rrdtool
 *   /usr/lib/librrd_th.la -> net-analyzer/rrdtool
 *   /usr/lib/librrd_th.so.4.0.7 -> net-analyzer/rrdtool
 *   /usr/lib/librsvg-2.la -> gnome-base/librsvg
 *   /usr/lib/vlc/plugins/misc/libsvg_plugin.la -> media-video/vlc
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --complete-graph=y --oneshot  -pv gnome-base/librsvg:2 media-gfx/imagemagick:0 media-video/vlc:0 net-analyzer/ntop:0 net-analyzer/rrdtool:0

i've no clue why this packages seemed to ok last week. Anyway, now it works.