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

Bug 146821

Summary: acroread-7.0.8 depends on virtual/libstdc++ with gcc-4.1.1
Product: Gentoo Linux Reporter: Peter Hyman <pete4abw>
Component: New packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: jakub
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Hyman 2006-09-08 03:36:41 UTC
After emerging gcc 4.1.1, and unmerging libstdc++ and virtual/libstdc++. 

mars peter # emerge -pvtuDn world

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

Calculating world dependencies... done!
[nomerge      ] app-text/acroread-7.0.8  USE="cups ldap nls nsplugin" LINGUAS="-de -fr -ja -ko -zh_CN -zh_TW" 
[ebuild  N    ]  virtual/libstdc++-3.3  0 kB 
[ebuild  N    ]   sys-libs/libstdc++-v3-3.3.4  USE="nls nptl -build" 14,274 kB 

Total size of downloads: 14,274 kB
----

Adobe seems to find the gcc-4.1 stdc++ libs just fine. I think this virtual depend in the ebuild needs to be made conditional on the version of compiler used.

RDEPEND="~virtual/libstdc++-3.3...

makes emerge wants to pull the old library back.

mars peter # emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-beyond4pre1-r1 i686)
=================================================================
System uname: 2.6.17-beyond4pre1-r1 i686 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/mnt/src/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo ftp://206.75.217.180/"
MAKEOPTS="-j2"
PKGDIR="/mnt/src/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/mnt/src/var/tmp"
PORTDIR="/mnt/src/portage"
PORTDIR_OVERLAY="/mnt/src/local/portage /mnt/src/local/overlays/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts artswrappersuid avi berkdb bitmap-fonts bzip2 cli crypt cups dlloader dri dvd dvdr eds emboss encode esd fam flac foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg lcms ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin offensive ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection samba sdl session slang spell spl ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev vorbis win32codecs xine xml xmms xorg xscreensaver xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-08 03:46:05 UTC
(In reply to comment #0)
> I think this virtual depend in the ebuild needs to be made conditional on the 
> version of compiler used.

Completely impossible. Also pretty much pointless if it's not needed. (Also, the dependency just shouldn't be there for amd64 since the beginning).

Comment 2 Peter Hyman 2006-09-08 04:29:02 UTC
(In reply to comment #1)
> Completely impossible. Also pretty much pointless if it's not needed. (Also,
> the dependency just shouldn't be there for amd64 since the beginning).
> 
Yes, there is nothing in bin or lib in acroread's tree which depends on libstdc++. virtual/libstc++ is not a valid RDEPEND.

Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-09-08 14:56:06 UTC
thanks, I removed the libstdc++ depend.