<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>18193</bug_id>
          
          <creation_ts>2003-03-25 21:30 0000</creation_ts>
          <short_desc>Recent MySQL v4 package release exposes bad depencies in older ebuilds previously incompatible with MySQL 4</short_desc>
          <delta_ts>2003-08-12 01:33:57 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>robbat2@gentoo.org</reporter>
          <assigned_to>mysql-bugs@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2003-03-25 21:30:50 0000</bug_when>
            <thetext>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 &quot;-DUSE_OLD_FUNCTIONS&quot;, 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=&quot;http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
USE=&quot;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&quot;
COMPILER=&quot;gcc3&quot;
CHOST=&quot;i586-pc-linux-gnu&quot;
CFLAGS=&quot;-march=i586 -O3 -pipe&quot;
CXXFLAGS=&quot;-march=i586 -O3 -pipe&quot;
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
MAKEOPTS=&quot;-j2&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
FEATURES=&quot;sandbox buildpkg ccache userpriv usersandbox&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2003-03-25 21:32:04 0000</bug_when>
            <thetext>Created an attachment (id=9811)
Patch for net-libs/libwww

Patch for net-libs/libwww, should be merged and ebuild released as
net-libs/libwww-5.4.0-r2.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2003-03-25 21:32:54 0000</bug_when>
            <thetext>Created an attachment (id=9812)
Patch for net-fs/samba

Patch for net-fs/samba, should be merged and ebuild released as
net-fs/samba-3.0_alpha22-r1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2003-03-25 21:34:21 0000</bug_when>
            <thetext>Created an attachment (id=9813)
Patch for net-mail/vpopmail

Patch for net-mail/vpopmail, should be merged and ebuild released as
net-mail/vpopmail-5.2.1-r5</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2003-04-02 22:48:04 0000</bug_when>
            <thetext>rac picked up the libwww fix 27 Mar 2003.
woodchip picked up the samba stuff.
merging vpopmail stuff now</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2003-04-04 04:17:25 0000</bug_when>
            <thetext>merged and tested.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2003-08-12 01:33:57 0000</bug_when>
            <thetext>Closing old bugs.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>9811</attachid>
            <date>2003-03-25 21:32 0000</date>
            <desc>Patch for net-libs/libwww</desc>
            <filename>libwww-5.4.0-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGxpYnd3dy01LjQuMC1yMS5lYnVpbGQub2xkICAyMDAzLTAzLTI1IDE4OjIyOjMyLjAwMDAw
MDAwMCAtMDgwMAorKysgbGlid3d3LTUuNC4wLXIxLmVidWlsZCAgICAgIDIwMDMtMDMtMjUgMTg6
MjI6NDguMDAwMDAwMDAwIC0wODAwCkBAIC0xOCw3ICsxOCw3IEBACgogREVQRU5EPSJkZXYtbGFu
Zy9wZXJsCiAgICAgICAgPj1zeXMtbGlicy96bGliLTEuMS40Ci0gICAgICAgbXlzcWw/ICggPj1k
ZXYtZGIvbXlzcWwtMy4yMy4yNiA8ZGV2LWRiL215c3FsLTQgKQorICAgICAgIG15c3FsPyAoID49
ZGV2LWRiL215c3FsLTMuMjMuMjYgKQogICAgICAgIHNzbD8gKCA+PWRldi1saWJzL29wZW5zc2wt
MC45LjYgKSIKCiBzcmNfY29tcGlsZSgpIHsKCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>9812</attachid>
            <date>2003-03-25 21:32 0000</date>
            <desc>Patch for net-fs/samba</desc>
            <filename>samba-3.0_alpha22.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNhbWJhLTMuMF9hbHBoYTIyLmVidWlsZC5vbGQgICAgICAgIDIwMDMtMDMtMjUgMTg6MjA6
NTEuMDAwMDAwMDAwIC0wODAwCisrKyBzYW1iYS0zLjBfYWxwaGEyMi5lYnVpbGQgICAgMjAwMy0w
My0yNSAxODoyMTowNy4wMDAwMDAwMDAgLTA4MDAKQEAgLTIzLDcgKzIzLDcgQEAKIERFUEVORD0i
c3lzLWRldmVsL2F1dG9jb25mIGRldi1saWJzL3BvcHQKICAgICAgICByZWFkbGluZT8gc3lzLWxp
YnMvcmVhZGxpbmUKICAgICAgICBrZXJiZXJvcz8gYXBwLWNyeXB0L21pdC1rcmI1Ci0gICAgICAg
bXlzcWw/ICggPWRldi1kYi9teXNxbC0zKiBzeXMtbGlicy96bGliICkKKyAgICAgICBteXNxbD8g
KCA+PWRldi1kYi9teXNxbC0zKiBzeXMtbGlicy96bGliICkKICAgICAgICB4bWw/ICggZGV2LWxp
YnMvbGlieG1sMiBzeXMtbGlicy96bGliICkKICAgICAgICBhY2w/IHN5cy1hcHBzL2FjbAogICAg
ICAgIGN1cHM/IG5ldC1wcmludC9jdXBzCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>9813</attachid>
            <date>2003-03-25 21:34 0000</date>
            <desc>Patch for net-mail/vpopmail</desc>
            <filename>vpopmail-5.2.1-r4.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHZwb3BtYWlsLTUuMi4xLXI0LmVidWlsZC5vbGQgICAgICAgIDIwMDMtMDMtMjUgMTg6MTc6
MzIuMDAwMDAwMDAwIC0wODAwCisrKyB2cG9wbWFpbC01LjIuMS1yNC5lYnVpbGQgICAgMjAwMy0w
My0yNSAxODoxNzo1NS4wMDAwMDAwMDAgLTA4MDAKQEAgLTE1LDEwICsxNSwxMCBAQAogSVVTRT0i
bXlzcWwiCiBERVBFTkQ9InN5cy1hcHBzL3NlZAogICAgICAgIHN5cy1hcHBzL3Vjc3BpLXRjcAot
ICAgICAgIG15c3FsPyAoID1kZXYtZGIvbXlzcWwtMy4yMyogKSIKKyAgICAgICBteXNxbD8gKCA+
PWRldi1kYi9teXNxbC0zLjIzKiApIgogUkRFUEVORD0ibmV0LW1haWwvcW1haWwKICAgICAgICB2
aXJ0dWFsL2Nyb24KLSAgICAgICBteXNxbD8gKCA9ZGV2LWRiL215c3FsLTMuMjMqICkiCisgICAg
ICAgbXlzcWw/ICggPj1kZXYtZGIvbXlzcWwtMy4yMyogKSIKCiAjIERlZmluZSB2cG9wbWFpbCBo
b21lIGRpciBpbiAvZXRjL3Bhc3N3b3JkIGlmIGRpZmZlcmVudAogVlBPUF9ERUZBVUxUX0hPTUU9
Ii92YXIvdnBvcG1haWwiCgo=
</data>        

          </attachment>
    </bug>

</bugzilla>