libXt requires libX11 to compile properly, but this isn't in libXt's ebuild's dependancy.
RDEPEND="x11-libs/libX11 x11-libs/libSM x11-proto/xproto" DEPEND="${RDEPEND}"
*** Bug 127527 has been marked as a duplicate of this bug. ***
OK, there seems to be an issue with virtual/x11-7 that's causing portage not to pick up the correct dependencies. Please, do the following: emerge -Ca virtual/x11 echo "virtual/x11" >> /etc/portage/package.mask echo "=x11-base/xorg-x11-6*" >> /etc/portage/package.mask emerge -uDpv world Now you should see what's pulling in virtual/x11-7.0 and breaks the mozilla deps.
See above. Reopen with the requested information. Thanks.
(In reply to comment #3) > Now you should see what's pulling in virtual/x11-7.0 and breaks the mozilla > deps. Err, I meant libXt, not mozilla.
(In reply to comment #3) > OK, there seems to be an issue with virtual/x11-7 that's causing portage not to > pick up the correct dependencies. Please, do the following: > > emerge -Ca virtual/x11 When I do the unmerge as proposed I get the following: // snip # emerge -Cp virtual/x11 >>> These are the packages that would be unmerged: --- Couldn't find virtual/x11 to unmerge. >>> No packages selected for removal by unmerge. // snap I tried this as well: // snip # emerge -Cp xorg-x11 virtual/x11 >>> These are the packages that would be unmerged: --- Couldn't find virtual/x11 to unmerge. x11-base/xorg-x11 selected: 7.0-r1 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. // snap This wouldn't uninstall libxt but only xorg-x11 which ist about 86K in size. Shall I still do it? Or what should I try instead?
(In reply to comment #6) > # emerge -Cp virtual/x11 > > >>> These are the packages that would be unmerged: > > --- Couldn't find virtual/x11 to unmerge. Well, then you are messing with virtuals in one of the ways described here: http://gentoo-wiki.com/HOWTO_Modular_Xorg#.27emerge_-u_world.27_wants_to_install_xorg-x11_6.x_or_virtual.2Fx11 That's a big NO and breaks every modular dependency, don't *ever* do that.
(In reply to comment #7) > Well, then you are messing with virtuals in one of the ways described here: > > http://gentoo-wiki.com/HOWTO_Modular_Xorg#.27emerge_-u_world.27_wants_to_install_xorg-x11_6.x_or_virtual.2Fx11 > > That's a big NO and breaks every modular dependency, don't *ever* do that. Well, I have not touched the virtuals at all. My /etc/portage/profile/package.provided is empty. I am really keen to track the bug down. So you think the fault lies within my configuration? How can I confirm or fix this?
(In reply to comment #8) > So you think the fault lies within my configuration? How can I > confirm or fix this? If that virtual isn't installed. then there's no other way you could be missing those dependencies other than that you are providing/redefining/otherwise messing with that virtual. Remove every mention of that virtual from /etc/portage/*
(In reply to comment #9) > If that virtual isn't installed. then there's no other way you could be missing > those dependencies other than that you are providing/redefining/otherwise > messing with that virtual. Remove every mention of that virtual from > /etc/portage/* The problem was that the migration guide at http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml#doc_chap2 said that I should "emerge xorg-x11" which I did. I still had to do "emerge -uDv virtual/x11". Now I get: # emerge -Cp virtual/x11 >>> These are the packages that would be unmerged: virtual/x11 selected: 7.0 protected: none omitted: none I will now continue with the proposals from comment #3.
(In reply to comment #10) > The problem was that the migration guide at > > http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml#doc_chap2 > > said that I should "emerge xorg-x11" which I did. I still had to do "emerge > -uDv virtual/x11". Uh eh, no... you should NOT have that virtual installed (or fake-installed/provided), please *unmerge* the thing again, it will break many other ebuilds for you. Sorry people, this even doesn't have anything in common with that virtual/x11, the dependencies are *clearly* not missing in the ebuild - so there's no reasonable explanation why you could possibly *ever* miss that libX11 dependency. Once again: RDEPEND="x11-libs/ x11-proto/xproto x11-proto/kbproto" DEPEND="${RDEPEND}" How can you have libX11 missing? Anyone who wishes to continue here, post your emerge info, this is simply impossible unless portage is broken.
(In reply to comment #11) Sigh, to make this more messy, I've also mis-pasted it. Again: RDEPEND="x11-libs/libX11 <---- HERE! x11-libs/libSM x11-proto/xproto x11-proto/kbproto" DEPEND="${RDEPEND}" Sorry, I don't see any missing dependency here.
(In reply to comment #11) > Uh eh, no... you should NOT have that virtual installed (or > fake-installed/provided), please *unmerge* the thing again, it will break many > other ebuilds for you. Okay, my mistake. Thanks. > the dependencies are *clearly* not missing in the ebuild > [...] > How can you have libX11 missing? That was the same question I had as my libXt ebuild says the same as yours. Sorry for bothering.
I've run into this problem just now, migrating to modular xorg (stable x86 with keyworded stuff). The problem was I've executed "emerge -uvaDN xorg-x11" and libXt came too early in the process... When executing "emerge xorg-x11" as the howto says, it goes ok... So it was my mistake to not follow the guide precisely, but still it can be some portage bug and it shouldn't happen? # emerge --info Portage 2.1_pre10-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r4-perfctr i686) ================================================================= System uname: 2.6.16-gentoo-r4-perfctr i686 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre19 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 dev-util/ccache: 2.3 dev-util/confcache: 0.4.2 sys-apps/sandbox: 1.2.12 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -msse3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -msse3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo " LINGUAS="en cs" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/gentoo-java-experimental /usr/local/overlays/migration-overlay /usr/local/overlays/caster" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext 7zip X aac alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cdr cli crypt cups curl directfb dlloader dri dts dvd dvdr eds emboss encode esd fam fbcon ffmpeg fftw firefox flac foomaticdb fortran gdbm ggi gif gpm gstreamer gtk gtk2 hal icq idn imlib ipv6 isdnlog java javascript jpeg kde kdeenablefinal lcms libcaca libg++ libwww lm_sensors lua lzo mad matroska mikmod mmx mmxext motif mozcalendar mozdevelop mozilla moznoirc mozsvg mp3 mpeg ncurses nls nptl nsplugin nvidia ogg openal opengl oscar oss pam pcre pdf pdflib perl png pppd python qt quicktime readline reflection rtc sdl session sockets speex spell spl sse sse2 ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis xml xml2 xmms xorg xosd xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en linguas_cs userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev video_cards_v4l" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS