Bug 18193 - Recent MySQL v4 package release exposes bad depencies in older ebuilds previously incompatible with MySQL 4
Bug#: 18193 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: CLOSED Severity: critical Priority: P2
Resolution: FIXED Assigned To: mysql-bugs@gentoo.org Reported By: robbat2@gentoo.org
Component: Applications
URL: 
Summary: Recent MySQL v4 package release exposes bad depencies in older ebuilds previously incompatible with MySQL 4
Keywords:  
Status Whiteboard: 
Opened: 2003-03-25 21:30 0000
Description:   Opened: 2003-03-25 21:30 0000
A number of older ebuilds were previously found to be incompatible with MySQL 
v4 due to api changes.

Amongst them:
net-mail/vpopmail
net-libs/libwww
net-fs/samba-3.0*
(that was a quick check only)

Since mysql-4.0.11a, a proper solution was found for this, namely building 
MySQL v4 with "-DUSE_OLD_FUNCTIONS", so that the old functions that 
applications required were present.

However the above mentioned packages had bits of depend code left that forces 
downgrading to MySQL v3 if you (re)merge them.

Patches for these are included, but the ebuilds should probably be released as 
new releases because of the MySQL v4 issue. (Some people may have taken the 
forced downgrades to mysql and it would cause problems for them).


Reproducible: Always
Steps to Reproduce:
1. emerge mysql v4
2. you need to unmask samba for it to show up
3. for i in net-mail/vpopmail net-libs/libwww net-fs/samba; do emerge -pv --
deep $i; done;


Actual Results:  
Shows downgrades to MySQL v3.

Expected Results:  
No downgrade to MySQL v4 required

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 M II 3.5x Core/Bus Clock
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 -3dfx -3dnow -alsa -arts -atlas -bonobo -canna -cjk -doc -esd -flash -
freewnn -gb -gnome -gphoto2 -gps -kde -kerberos -leim -libg++ -libgda -matrox -
mbox -mmx -mozilla -mule -nas -oci8 -opengl -oss -pcmcia -postgres -sse -tcpd -
voodoo3 -xface -zero X aalib acl acpi apache2 apm avi berkdb cdr crypt cups dga 
directfb dvd encode ethereal evo fbcon gd gdbm ggi gif gpm gtk guile imap imlib 
innodb ipv6 java jikes jpeg junit lcms ldap libwww lirc maildir mikmod motif 
mpeg mysql ncurses nls oav odbc oggvorbis pam pda pdflib perl pic plotutils png 
pnp python qt quicktime readline ruby samba sasl scanner sdl slang slp snmp 
socks5 spell ssl svga tcltk tetex tiff truetype usb wavelan wmf xml xml2 xmms 
xv zlib -afs activefilter curl dnd expat mozaccess mozcalendar mozinterfaceinfo 
mozp3p mozsvg mozxmlterm pcap vscan ungif xfs nptl"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -pipe"
CXXFLAGS="-march=i586 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox buildpkg ccache userpriv usersandbox"

------- Comment #1 From Robin Johnson 2003-03-25 21:32:04 0000 -------
Created an attachment (id=9811) [details]
Patch for net-libs/libwww

Patch for net-libs/libwww, should be merged and ebuild released as
net-libs/libwww-5.4.0-r2.

------- Comment #2 From Robin Johnson 2003-03-25 21:32:54 0000 -------
Created an attachment (id=9812) [details]
Patch for net-fs/samba

Patch for net-fs/samba, should be merged and ebuild released as
net-fs/samba-3.0_alpha22-r1

------- Comment #3 From Robin Johnson 2003-03-25 21:34:21 0000 -------
Created an attachment (id=9813) [details]
Patch for net-mail/vpopmail

Patch for net-mail/vpopmail, should be merged and ebuild released as
net-mail/vpopmail-5.2.1-r5

------- Comment #4 From Robin Johnson 2003-04-02 22:48:04 0000 -------
rac picked up the libwww fix 27 Mar 2003.
woodchip picked up the samba stuff.
merging vpopmail stuff now

------- Comment #5 From Robin Johnson 2003-04-04 04:17:25 0000 -------
merged and tested.

------- Comment #6 From Robin Johnson 2003-08-12 01:33:57 0000 -------
Closing old bugs.