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

Bug 156213

Summary: tetex.eclass pointless mysql check
Product: Gentoo Linux Reporter: Robert Buchholz (RETIRED) <rbu>
Component: EclassesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: normal CC: jakub, qa
Priority: High Keywords: QAcanfix
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert Buchholz (RETIRED) gentoo-dev 2006-11-25 06:01:01 UTC
As [1] shows, the libwww ebuild was recently updated to use the new mysql virtual. Unfortunately, no revision bump was introduced which rendered my system in a state where i have 5.4.0-r7 installed, but virtual/mysql missing.

This is a problem when tetex checks for the existence for the virtuala and then dies:
  Your libwww was compiled with MySQL but MySQL is missing from system.
  Please install MySQL or remerge libwww without mysql USE flag.
  libwww was compiled with mysql but virtual/mysql is not installed

I guess this should be fixed by rev-bumping libwww.

[1] http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libwww/libwww-5.4.0-r7.ebuild?r1=1.9&r2=1.10

emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.6
Last Sync: Sat, 25 Nov 2006 10:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -mmmx -msse -m3dnow -mfpmath=sse -fweb -frename-registers -fomit-frame-pointer -fno-ident"
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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -mmmx -msse -m3dnow -mfpmath=sse -fweb -frename-registers -fomit-frame-pointer -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS=" http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://pandemonium.tiscali.de/pub/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS=" -Wl,-O1"
LINGUAS="de en"
PKGDIR="/usr/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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/overlay /home/robert/devel/ebuilds/jokey-overlay-svn/trunk /usr/portage/local/layman/break-my-gentoo-main /usr/portage/local/layman/ecatmur /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aac acpi alsa apache2 arts asf audiofile bash-completion berkdb bitmap-fonts bl bzip2 bzlib cairo cdr cli cracklib crypt cups curl dbus dga dlloader dri dts dv dvd dvdr dvdread eds elibc_glibc emboss encode esd exif expat fam ffmpeg firefox flac foomaticdb fortran ftp gcj gd gdbm ggi gif gimpprint glut gmp gpm gstreamer gtk gtk2 hal iconv idn imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg junit kde kernel_linux lcms ldap libg++ libwww linguas_de linguas_en live lzo mad mhash mikmod mmx mmx2 mmxext mng motif mozilla mp3 mpeg musepack mysql nas ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl php pic png ppds pppd python qt3 qt4 quicktime readline real reflection ruby samba sdl session slang speex spell spl sse ssl subversion svg svga tcl tcltk tcpd tetex theora tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd vhosts video_cards_dri video_cards_nv video_cards_nvidia video_cards_vesa vidix vorbis win32codecs xanim xine xml xml2 xorg xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-25 06:17:21 UTC
I fail to see your problem, virtual/mysql just depends on mysql or mysql-community, don't see how any revbump would solve anything. Run emerge --sync; emerge -uDav world.
Comment 2 Robert Buchholz (RETIRED) gentoo-dev 2006-11-25 08:27:55 UTC
The problem is that I do not have virtual/mysql installed, because the old libwww did not depend on it. I do however have the actual mysql package installed, because the old libwww depended on that.

Now the new ebuild of tetex checks for the existence of virtual/mysql because the new version of libwww should have it installed -- and it fails because the virtual is not there.

This did happen after
  emerge --sync && emerge -uDN world
and could be fixed by manually doing
  emerge virtual/mysql

But if libwww was revbumped, it would not need manual action for being fixed.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-25 08:34:32 UTC
You don't need virtual/mysql installed, you need mysql or mysql-community. The virtual installs _nothing_. This plain doesn't make any sense, sorry.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-25 08:55:03 UTC
Oh cool, this comes from the "hundreds of bugs reporting "cannot find -lmysqlclient"" check in tetex.eclass. I have found exactly 3 - 14709, 67336 and 69308. 

How about that we stop checking for PEBKAC cases and remove the check?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-04 08:39:26 UTC
Ping!
Comment 6 Piotr JaroszyƄski (RETIRED) gentoo-dev 2007-08-29 21:12:12 UTC
(QA) Although Robert was right about the revbump as virtual/mysql is a new style virtual the check still doesn't make much sense, hence removed.