when trying to emerge x11-libs/fox-1.0.49, I get the following error: g++ -shared FX4Splitter.lo FXAccelTable.lo FXApp.lo FXArrowButton.lo FXBMPIcon.lo FXBMPImage.lo FXBitmap.lo FXButton.lo FXCURCursor.lo FXCanvas.lo FXCharset.lo FXCheckButton.lo FXColorBar.lo FXColorDialog.lo FXColorNames.lo FXColorSelector.lo FXColorWell.lo FXColorWheel.lo FXComboBox.lo FXComposite.lo FXCursor.lo FXDC.lo FXDCPrint.lo FXDCWindow.lo FXDHMat.lo FXDHVec.lo FXDQuat.lo FXDVec.lo FXDataTarget.lo FXDebugTarget.lo FXDelegator.lo FXDial.lo FXDialogBox.lo FXDict.lo FXDirBox.lo FXDirDialog.lo FXDirList.lo FXDirSelector.lo FXDocument.lo FXDragCorner.lo FXDrawable.lo FXDriveBox.lo FXException.lo FXFile.lo FXFileDialog.lo FXFileDict.lo FXFileList.lo FXFileSelector.lo FXFont.lo FXFontDialog.lo FXFontSelector.lo FXFrame.lo FXGIFCursor.lo FXGIFIcon.lo FXGIFImage.lo FXGLCanvas.lo FXGLCone.lo FXGLContext.lo FXGLCube.lo FXGLCylinder.lo FXGLObject.lo FXGLShape.lo FXGLSphere.lo FXGLTriangleMesh.lo FXGLViewer.lo FXGLVisual.lo FXGroupBox.lo FXHMat.lo FXHVec.lo FXHeader.lo FXHorizontalFrame.lo FXICOIcon.lo FXICOImage.lo FXIcon.lo FXIconList.lo FXId.lo FXImage.lo FXImageView.lo FXInputDialog.lo FXJPGIcon.lo FXJPGImage.lo FXLabel.lo FXList.lo FXListBox.lo FXMDIButton.lo FXMDIChild.lo FXMDIClient.lo FXMainWindow.lo FXMatrix.lo FXMenubar.lo FXMenuButton.lo FXMenuCaption.lo FXMenuCascade.lo FXMenuCommand.lo FXMenuPane.lo FXMenuSeparator.lo FXMenuTitle.lo FXMessageBox.lo FXObject.lo FXObjectList.lo FXOptionMenu.lo FXPCXIcon.lo FXPCXImage.lo FXPNGIcon.lo FXPNGImage.lo FXPacker.lo FXPicker.lo FXPopup.lo FXPoint.lo FXPrintDialog.lo FXProgressBar.lo FXProgressDialog.lo FXQuat.lo FXRGBIcon.lo FXRGBImage.lo FXRadioButton.lo FXRange.lo FXRecentFiles.lo FXRectangle.lo FXRegion.lo FXRegistry.lo FXReplaceDialog.lo FXRex.lo FXRootWindow.lo FXScrollArea.lo FXScrollWindow.lo FXScrollbar.lo FXSearchDialog.lo FXSeparator.lo FXSettings.lo FXShell.lo FXShutter.lo FXSize.lo FXSlider.lo FXSpinner.lo FXSplitter.lo FXStatusbar.lo FXStatusline.lo FXStream.lo FXString.lo FXStringDict.lo FXSwitcher.lo FXTGAIcon.lo FXTGAImage.lo FXTIFIcon.lo FXTIFImage.lo FXTabBar.lo FXTabBook.lo FXTabItem.lo FXTable.lo FXText.lo FXTextField.lo FXToggleButton.lo FXToolbar.lo FXToolbarGrip.lo FXToolbarShell.lo FXToolbarTab.lo FXTooltip.lo FXTopWindow.lo FXTreeList.lo FXTreeListBox.lo FXUndoList.lo FXURL.lo FXVec.lo FXVerticalFrame.lo FXVisual.lo FXWindow.lo FXXPMIcon.lo FXXPMImage.lo fxbmpio.lo fxcurio.lo fxfilematch.lo fxgifio.lo fxicoio.lo fxjpegio.lo fxpcxio.lo fxpngio.lo fxpriv.lo fxquantize.lo fxrgbio.lo fxtargaio.lo fxtifio.lo fxutils.lo fxwinkbd.lo fxxpmio.lo vsscanf.lo -L/usr/X11R6/lib -lXext -lX11 -lMesaGL -lMesaGLU /usr/lib/libjpeg.so -lpng -ltiff -lz -lm -lcups -lnsl -Wl,-soname -Wl,libFOX-1.0.so.0 -o .libs/libFOX-1.0.so.0.0.49 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMesaGL collect2: ld returned 1 exit status make[1]: *** [libFOX.la] Error 1 make[1]: Leaving directory `/var/tmp/portage/fox-1.0.49/work/fox-1.0.49/src' make: *** [all-recursive] Error 1 !!! ERROR: x11-libs/fox-1.0.49 failed. !!! Function src_compile, Line 31, Exitcode 2 !!! Parallel Make Failed Reproducible: Always Steps to Reproduce: 1. try to emerge x11-libs/fox-1.0.49 2. see it fail to compile 3. Actual Results: fails to compile Expected Results: should compile fine # emerge info Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -pipe -O3 -fomit-frame-pointer -frename-registers -fprefetch-loop-arrays -falign-functions -mmmx -msse2 -msse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -pipe -O3 -fomit-frame-pointer -frename-registers -fprefetch-loop-arrays -falign-functions -mmmx -msse2 -msse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi acpi4linux alsa apache2 avi berkdb bidi bluetooth canna caps cdr cjk crypt cscope cups curl dga directfb divx4linux dri dvd dvdr encode esd fbcon flac flash foomaticdb freewnn gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imlib input_devices_synaptics irda java javascript jpeg junit libg++ libwww mad mbox mikmod mmx motif mozcalendar mozilla mpeg ncurses nls nptl oggvorbis opengl opie oss pam pcmcia pda pdflib perl pic png pnp python quicktime radeon readline sdl slang spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype trusted unicode usb v4l v4l2 vawelan video_cards_radeon wifi wmf x86 xinerama xml xml2 xmms xosd xv xvid zlib"
That's very odd, as MesaGL should as a minimum be provided by your X11 implementation. Does /usr/X11R6/lib/libMesaGL.so exist? It should be a symbolic link to a libGL somewhere. You should be able to restore the link with opengl-update, if it's missing.
you're right, libMesaGL.so was symlink to a non-existent file. sorry for filing a bogus bug report...
Well, I'm not sure I would call it a bogus report unless you personally linked libMesaGL.so to the non-existant file. Perhaps some ebuild didn't remember to update the link?
well, I had the ati-drivers installed, the unmerged it, and it seems it has left a stale link there...
You see, now that's just rude of the ebuild :-) OK, so you should probably know to run opengl-update after doing these things, but couldn't some sort of automation be built into the scripts? Or at least a warning in pkg_postrm() ...