Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 396667

Summary: dev-texlive/texlive-xetex-2011 - ?
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: graaff
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Juergen Rose 2012-01-01 11:39:49 UTC
I want to do a fresh install of texlive-xetex:

root@wildcat:/root(50)# emerge -pvuND world

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB
root@wildcat:/root(51)# emerge -pvuDNt texlive-xetex

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] dev-texlive/texlive-xetex-2011  USE="X -doc -source" 0 kB
[ebuild  N     ]  dev-texlive/texlive-latexextra-2011-r2  USE="-doc -source" 0 kB
[ebuild  N     ]   dev-texlive/texlive-pictures-2011  USE="-doc -source" 0 kB
[ebuild  N     ]  dev-texlive/texlive-mathextra-2011  USE="-doc -source" 0 kB
[ebuild  N     ]  dev-texlive/texlive-genericrecommended-2011  USE="-doc -source" 0 kB
[nomerge       ] dev-texlive/texlive-mathextra-2011  USE="-doc -source" 
[ebuild  N     ]  dev-texlive/texlive-fontsrecommended-2011  USE="-doc -source" 0 kB
[ebuild   R    ]  dev-texlive/texlive-latex-2011  USE="-doc* -source" 0 kB
[ebuild   R    ]   dev-texlive/texlive-basic-2011-r1  USE="-doc* -source" 0 kB
[nomerge       ] dev-ruby/racc-1.4.7  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[nomerge       ]  dev-ruby/rake-0.9.2.2  USE="bash-completion -doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[nomerge       ]   dev-lang/ruby-1.9.3_p0  USE="berkdb examples gdbm ipv6 ncurses rdoc readline ssl tk xemacs yaml -debug -doc -rubytests -socks5" 
[ebuild  N     ]    dev-ruby/rdoc-3.12  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]     dev-ruby/json-1.6.3  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]     dev-ruby/racc-1.4.7  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]      dev-ruby/rake-0.9.2.2  USE="bash-completion -doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]       virtual/rubygems-1  RUBY_TARGETS="(ruby18)" 0 kB
[ebuild  N     ]       virtual/rubygems-4  RUBY_TARGETS="(ruby19)" 0 kB
[ebuild  N     ]        dev-ruby/rubygems-1.8.11  USE="-server -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]         dev-lang/ruby-1.8.7_p357  USE="berkdb examples gdbm ipv6 ncurses readline ssl threads tk xemacs -debug -doc -libedit -rubytests -socks5" 0 kB
[ebuild  N     ]          app-xemacs/ruby-modes-1.04  0 kB
[ebuild  N     ]         dev-lang/ruby-1.9.3_p0  USE="berkdb examples gdbm ipv6 ncurses rdoc readline ssl tk xemacs yaml -debug -doc -rubytests -socks5" 0 kB
[ebuild  N     ]          app-admin/eselect-ruby-20100603  0 kB

Total: 19 packages (17 new, 2 reinstalls), Size of downloads: 0 kB

The following USE changes are necessary to proceed:
#required by virtual/rubygems-4, required by dev-ruby/rdoc-3.12[-test,ruby_targets_ruby19], required by dev-lang/ruby-1.9.3_p0[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/json-1.6.3[-test,-doc,ruby_targets_ruby18]
>=dev-ruby/rubygems-1.8.11 ruby_targets_ruby19
#required by dev-ruby/rdoc-3.12[ruby_targets_ruby19], required by dev-lang/ruby-1.9.3_p0[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/json-1.6.3[-test,-doc,ruby_targets_ruby18]
>=dev-ruby/racc-1.4.7 ruby_targets_ruby19
#required by dev-ruby/racc-1.4.7[-test,-doc,ruby_targets_ruby18], required by dev-ruby/rdoc-3.12[ruby_targets_ruby19], required by dev-lang/ruby-1.9.3_p0[rdoc], required by dev-ruby/json-1.6.3[ruby_targets_ruby19]
>=dev-ruby/rake-0.9.2.2 ruby_targets_ruby19
#required by dev-ruby/rdoc-3.12[ruby_targets_ruby19], required by dev-lang/ruby-1.9.3_p0[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/racc-1.4.7[-test,-doc,ruby_targets_ruby18]
>=dev-ruby/json-1.6.3 ruby_targets_ruby19
#required by dev-lang/ruby-1.9.3_p0[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/json-1.6.3[-test,-doc,ruby_targets_ruby18]
>=dev-ruby/rdoc-3.12 ruby_targets_ruby19


I.e., portage will also install a lot ruby packages, when texlive-xetex is to installed. Because the installation of dev-lang/ruby-1.8.7_p357 fails the installation of texlive-xetex fails too. 

I don't understand, why ruby packages are installed dependent on texlive-xetex installation. I can't find neither a dependency in /usr/portage/dev-texlive/texlive-xetex/texlive-xetex-2011.ebuild nor I have set any ruby USE flags:

root@wildcat:/root(52)# grep -i ruby  /usr/portage/dev-texlive/texlive-xetex/texlive-xetex-2011.ebuild 
root@wildcat:/root(53)# grep -i ruby  /etc/portage/package.use                                         
root@wildcat:/root(54)# grep -i ruby  /etc/make.conf   


Any hint is appreciated.

Almost the same happens if I add the doc USE flag to /etc/make.conf.
Comment 1 Juergen Rose 2012-01-01 11:40:18 UTC
root@wildcat:/root(55)# emerge --info
Portage 2.1.10.44 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r1, 3.1.6-gentoo x86_64)
=================================================================
System uname: Linux-3.1.6-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Sun, 01 Jan 2012 07:30:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.7
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo science x-portage x-cpan x-g-octave
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10.1 cadsoft Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de fr"
MAKEOPTS="-j3"
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/science /usr/local/portage /var/lib/cpan /var/lib/g-octave"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit R X Xaw3d a52 aac acl acpi afs alsa amd64 ao apache2 applet archive arpack asf aspell assistant atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth boost bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit cracklib crypt css cups curl cxx daap db dbase dbi dbm dbus declarative designer devhelp device-mapper dga dia djvu dri ds2490 ds9097 ds9097u dv dvb dvd dvdr dvi dynamicplugin eds elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpx fts3 fuse gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp ginac git glade glib glpk gml gmp gmtsuppl gnome gnome-keyring gnome-print gnuplot gnutls gphoto2 gpm grammar graphics graphtft graphviz grass gs gsl gsm gstreamer gtk gudev guile hddtemp hdf hdf5 hdri http httpd hvm hwdb iconv icq icu id3 ide imagemagick imap innodb inotify ipv6 ithreads jabber jadetex jbig john jpeg jpeg2k kdrive kerberos kpathsea kqemu kvm lame lapack laptop latex latex3 lcms ldap libffi libgda libnotify libsamplerate lua lzo mad mail maildir mapnik math matroska mkl mmx mng modules mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses netcdf netpbm network networking networkmanager nfs nls nptl nptlonly nsplugin ntp numpy obex objc ocaml ocr octave odbc ogdi ogg ole openexr opengl openmp overview pam pcre pda pdf perl plotutils plugins png policykit portaudio posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio python python-bindings q16 q32 qhull qt4 quicktime readline reiserfs reports rle romio rpc rrdcgi rrdtool samba sasl science sdk sdl secure-delete semantic-desktop session sip slang slp smbclient smp sms sndfile snmp soup sox speex spell sql sqlite sse sse2 ssl ssse3 subtitles subversion suexec svg svm swig sysfs szip t1lib tcl tcpd tex texmacs tgif theora thinkpad threads thunderbird tidy tiff tk tools truetype udev unicode usb userlocales vaapi video virtualbox vorbis wav webdav webdav-serf webkit wifi wmf wxwidgets xattr xcb xemacs xext xft xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc yaml zlib zvbi" 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 stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-wt220u" 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="de fr" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810" 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
Comment 2 Hans de Graaff gentoo-dev Security 2012-01-01 13:13:41 UTC
You are using --newuse which wants to recompile dev-ruby/racc which you already have installed.
Comment 3 Juergen Rose 2012-01-01 13:52:12 UTC
I wish you a Happy New Year Hans,

I have no ruby package installed, not racc either:

root@wildcat:/root(45)# qlist -IC  ruby
root@wildcat:/root(46)# qlist -I racc
root@wildcat:/root(47)# 

And if I omit the --newuse option 'emerge texlive-xetex' wants to emerge racc, ruby etc:



root@wildcat:/root(44)# emerge -pvDt texlive-xetex

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] dev-texlive/texlive-xetex-2011  USE="X -doc -source" 0 kB
[ebuild  N     ]  dev-texlive/texlive-latexextra-2011-r2  USE="-doc -source" 0 kB
[ebuild  N     ]   dev-texlive/texlive-pictures-2011  USE="-doc -source" 0 kB
[ebuild  N     ]  dev-texlive/texlive-mathextra-2011  USE="-doc -source" 0 kB
[ebuild  N     ]  dev-texlive/texlive-genericrecommended-2011  USE="-doc -source" 0 kB
[nomerge       ] dev-texlive/texlive-mathextra-2011  USE="-doc -source" 
[ebuild  N     ]  dev-texlive/texlive-fontsrecommended-2011  USE="-doc -source" 0 kB
[nomerge       ] dev-ruby/racc-1.4.7  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[nomerge       ]  dev-ruby/rake-0.9.2.2  USE="bash-completion -doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[nomerge       ]   dev-lang/ruby-1.9.3_p0  USE="berkdb examples gdbm ipv6 ncurses rdoc readline ssl tk xemacs yaml -debug -doc -rubytests -socks5" 
[ebuild  N     ]    dev-ruby/rdoc-3.12  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]     dev-ruby/json-1.6.3  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]     dev-ruby/racc-1.4.7  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]      dev-ruby/rake-0.9.2.2  USE="bash-completion -doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]       virtual/rubygems-1  RUBY_TARGETS="(ruby18)" 0 kB
[ebuild  N     ]       virtual/rubygems-4  RUBY_TARGETS="(ruby19)" 0 kB
[ebuild  N     ]        dev-ruby/rubygems-1.8.11  USE="-server -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]         dev-lang/ruby-1.8.7_p357  USE="berkdb examples gdbm ipv6 ncurses readline ssl threads tk xemacs -debug -doc -libedit -rubytests -socks5" 0 kB
[ebuild  N     ]          app-xemacs/ruby-modes-1.04  0 kB
[ebuild  N     ]         dev-lang/ruby-1.9.3_p0  USE="berkdb examples gdbm ipv6 ncurses rdoc readline ssl tk xemacs yaml -debug -doc -rubytests -socks5" 0 kB
[ebuild  N     ]          app-admin/eselect-ruby-20100603  0 kB


Any further hint deeply appreciated.
Comment 4 Hans de Graaff gentoo-dev Security 2012-01-01 15:21:06 UTC
I should look properly before shooting from the hip :-)

texlive-pictures has a dependency on dev-lang/ruby, and that pulls in all the other stuff.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-03 09:46:03 UTC
Er, is this a dependency calculation problem? It certainly looks like more needs to be unmasked - not like there is anything actually wrong.
Comment 6 Juergen Rose 2012-01-03 11:39:37 UTC
With the new version of glibc (glibc-2.14.1-r2) the problem emerging texlive-xetex disapeared, because 'emerge =ruby-1.8.7_p357' works now.

But on the other hand I find it suboptimal, that such basic stuff like texlive-xetex needs ruby including all of its dependencies.