Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17347 - samba-3.0_alpha22.ebuild forces MySQL v3
Summary: samba-3.0_alpha22.ebuild forces MySQL v3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-12 00:54 UTC by Robin Johnson
Modified: 2003-03-29 00:12 UTC (History)
1 user (show)

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


Attachments

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 2003-03-12 00:54:21 UTC
The newest Samba 3 alpha 22 ebuild wants to use mysql v3 explictly, which
is a downgrade for those running MySQL v4. I can't find anything in 
Bugzilla or the changelog about this change from previous ebuilds.

Looking thru the configure output I see this:
checking for mysql_config... /usr/bin/mysql_config
checking for MYSQL - version >= 0.11.0... no
*** Could not run MYSQL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding MYSQL or finding the wrong
*** version of MYSQL. If it is not finding MYSQL, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH

it then continues to build without mysql support.
this would seem to be a Samba bug then.

For the moment I think it would be better to allow samba builds of like anyway 
instead of forcing a downgrade to mysql v3.

As a side note, the ebuild doesn't have a digest for samba-vscan-0.3.2.tar.bz2.
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2003-03-12 03:56:37 UTC
Well, just change this in the ebuild:

mysql? ( =dev-db/mysql-3* sys-libs/zlib )

to:

( =dev-db/mysql-3* sys-libs/zlib )
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-03-12 04:07:16 UTC
Bjarke: That's a hack IMHO

What if somebody wanted to use MySQL v4 together with Samba ?
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2003-03-12 12:18:50 UTC
AFAIK

>=dev-db/mysql-3*

instead of

=dev-db/mysql-3*

would allow 3 and up to be used, but I'm not sure.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-03-14 02:17:02 UTC
If the limit to MySQL v3 was put in place because of the API change in MySQL, please be aware that MySQL 4.0.11a-r1 has -DUSE_OLD_FUNCTIONS defined, so that they are available (see bug 15099)
Comment 5 Donny Davies (RETIRED) gentoo-dev 2003-03-21 01:31:25 UTC
i'll fixit when i get to my next update round ;-)
Comment 6 Donny Davies (RETIRED) gentoo-dev 2003-03-29 00:12:18 UTC
ok.