Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79678 - mod_auth_mysql forces old version of mysql-3.23 into system, breaking lots of things due to old libmysqlclient ver
Summary: mod_auth_mysql forces old version of mysql-3.23 into system, breaking lots of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Highest critical (vote)
Assignee: Christian Parpart (RETIRED)
URL:
Whiteboard:
Keywords:
: 80443 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-26 23:55 UTC by Robin Johnson
Modified: 2005-02-02 05:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
DEPEND on dev-db/mysql, remove dup IUSE="", remove RDEPEND="" (mod_auth_mysql-fixdep.diff,556 bytes, patch)
2005-01-27 15:45 UTC, Elfyn McBratney
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-26 23:55:19 UTC
Danger Will Robinson!

curie-int ~ # emerge -pv mod_auth_mysql

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     UD] dev-db/mysql-3.23.58-r1 [4.0.22] +berkdb -debug +innodb +perl +readline +ssl -static -tcpd 0 kB
[ebuild     UD] net-www/mod_auth_mysql-1.11 [20030510-r2] 7 kB

Total size of downloads: 7 kB



Portage 2.0.51-r15 (!/usr/portage/profiles/default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.7-mm4 i686)
=================================================================
System uname: 2.6.7-mm4 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  9 2005, 23:52:58)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /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/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/gentoo-distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache collision-protect confcache cvs digest distlocks sandbox sfperms sign userpriv"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.seren.com/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/gentoo-packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/gentoo-cvs/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC=""
USE="x86 3dnow aalib acl acpi alsa amd apache2 apm berkdb bitmap-fonts cdr cgi clearpasswd crypt cscope cups curl divx4linux f77 fam font-server foomaticdb fortran gcj gd gdbm geoip gif imagemagick imap innodb ipalias ipv6 java jikes jpeg junit libwww mad maildir mcal md5sum mikmod mmx mpeg multitarget mysql ncurses objc offensive pam pcap pdflib perl pic plotutils png pnp ppds python qmail readline samba scanner slp snmp socks5 spell sqlite sse ssl tetex tiff truetype truetype-fonts type1 type1-fonts ungif usb userlocales v4l v4l2 xml xml2 xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Elfyn McBratney 2005-01-27 15:41:43 UTC
mod_auth_mysql doesn't do anything special, so 3.23.53 through to 4.x should all work(tm).  Just tested with mysql-4.0.22-r2, and I'm presuming it worked with latest stable mysql-3, so DEPEND'ing on dev-db/mysql should be okay. (?)

As this has serious breakage potential, any chance of patching it now? :)
Comment 2 Elfyn McBratney 2005-01-27 15:45:01 UTC
Created attachment 49697 [details, diff]
DEPEND on dev-db/mysql, remove dup IUSE="", remove RDEPEND=""
Comment 3 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-01-27 16:01:24 UTC
I think this was caused by the masking of the datestamp versions, in anticipation of using correct version strings. Whoever masked it probably should have copied the datestamp versions to new ebuilds with a version such as 2.0_pre20030510 so that things wouldn't break like this.
Comment 4 Christian Parpart (RETIRED) gentoo-dev 2005-01-28 18:53:03 UTC
I didn't touch version 1.11, although, it was me who masked the datestamped versions, in order to get 2.8.1 in. Furthermore, version 1.11 shall maybe masked (and though removed right together with the already masked versions of mod_auth_mysql, too, as they're plain old and out dated)

Please unmask =net-www/mod_auth_mysql-2.8.1 (including apache-herd refresh related dependencies) and try "emerge -pv mod_auth_mysql" once again ;)

Any objections about the removal on version 1.11?
Comment 5 a+gentoobugs 2005-02-01 18:03:30 UTC
portage still wants to downgrade mysql

what is the correct way to fix this? I know you said:

"Please unmask =net-www/mod_auth_mysql-2.8.1 (including apache-herd refresh related dependencies) and try "emerge -pv mod_auth_mysql" once again ;)"

Can you please be more specific? do you mean to unmask that in the portage.mask file? I have tried that but that by itself doesnt allow me to emerge it it still says its masked by ~x86 keyword. Also, how can I find out what the apache-herd refresh related dependencies are that you are saying to unmask, and where should they be unmasked?

It would be easier for us users if it was just fixed in portage :)
Comment 6 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-02-01 21:13:42 UTC
Fixed in CVS by copying the 20030510-r2 ebuild to 2.0.0_pre20030510.
Comment 7 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-02-02 05:23:46 UTC
*** Bug 80443 has been marked as a duplicate of this bug. ***
Comment 8 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-02-02 05:26:18 UTC
An "emerge --sync" will pick up the fix (namely, the new 2.0.0_pre20030510 ebuild).