Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237309 - dev-db/mysql-community-5.1.21_beta ebuild
Summary: dev-db/mysql-community-5.1.21_beta ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: x86 OS X
: High enhancement (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-10 11:53 UTC by Ramon
Modified: 2008-09-12 06:57 UTC (History)
0 users

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


Attachments
ecopy'd ebuild mysql-community-5.1.21_beta (mysql-community-5.1.21_beta.ebuild,2.26 KB, text/plain)
2008-09-12 06:56 UTC, Ramon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ramon 2008-09-10 11:53:44 UTC
I would like a mysql-5.1.21_beta install on my Mac OSX prefix install.

Currently working on ecopy-ing the ebuild into the tree and getting innodb enabled

This bug is a placeholder for progress until I have all the issues fixed and a fully tested and working ebuild

Reproducible: Always
Comment 1 Ramon 2008-09-10 11:55:01 UTC
Enabling innodb pulls in cmake which failed to build unless you have latest gcc-apple and odcctools. See #237185
Comment 2 Ramon 2008-09-10 11:58:58 UTC
After ecopy and cmake fix ebuild ends with following errors:

chown: changing ownership of `$EPREFIX/var/log/mysql/mysql.err': Operation not permitted
chown: changing ownership of `$EPREFIX/var/log/mysql/mysql.log': Operation not permitted
dodoc: support-files/my-*.cnf does not exist
dodoc: support-files/magic does not exist
dodoc: support-files/ndb-config-2-node.ini does not exist
dodoc: scripts/mysql* does not exist
 * 
 * You might want to run:
 * "emerge --config =dev-db/mysql-community-5.1.21_beta"
 * if this is a new install.
 * MySQL MY_DATADIR is $EPREFIX/var/lib/mysql
 * MySQL datadir found in /var/lib/mysql
 * A new one will not be created.

However with innodb useflag enabled the --config phase of the ebuild finishes succesfully
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-10 12:16:29 UTC
(In reply to comment #2)
> After ecopy and cmake fix ebuild ends with following errors:
> 
> chown: changing ownership of `$EPREFIX/var/log/mysql/mysql.err': Operation not
> permitted
> chown: changing ownership of `$EPREFIX/var/log/mysql/mysql.log': Operation not
> permitted
> dodoc: support-files/my-*.cnf does not exist
> dodoc: support-files/magic does not exist
> dodoc: support-files/ndb-config-2-node.ini does not exist
> dodoc: scripts/mysql* does not exist

You can't do anything about the chown errors, it is a limitation of prefix (by design).

The dodoc errors should be fixed in "normal gentoo" and as such, are exceptable to *not* fix in prefix. A bug report should be filed for gentoo-x86 tree.

Does it run?
Comment 4 Ramon 2008-09-10 13:13:02 UTC
> You can't do anything about the chown errors, it is a limitation of prefix (by
> design).

OK.

> The dodoc errors should be fixed in "normal gentoo" and as such, are 
> exceptable to *not* fix in prefix. A bug report should be filed for 
> gentoo-x86 tree.

OK, will do 

> Does it run?

I've succesfully started the server, imported a small innodb database and did a couple select/insert/delete queries which all succeeded.

I guess the answer is yes :-)
Comment 5 Fabian Groffen gentoo-dev 2008-09-11 20:12:41 UTC
Am I correct when this ebuild appears not to be in gentoo-x86?
Comment 6 Fabian Groffen gentoo-dev 2008-09-11 20:13:42 UTC
ahh, it's a different package.
Comment 7 Fabian Groffen gentoo-dev 2008-09-12 05:41:37 UTC
powerpc-apple-darwin8-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include    -O3 -pipe -mcpu=G5 -mtune=G5 -DHAVE_ERRNO_AS_DEFINE=1   -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT  -DDONT_DECLARE_CXA_PURE_VIRTUAL -MT str2int.o -MD -MP -MF .deps/str2int.Tpo -c -o str2int.o str2int.c
In file included from str2int.c:43:
../include/my_sys.h:913: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘resolve_charset’
../include/my_sys.h:916: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘resolve_collation’
mv -f .deps/int2str.Tpo .deps/int2str.Po
Comment 8 Ramon 2008-09-12 06:56:06 UTC
Created attachment 165237 [details]
ecopy'd ebuild mysql-community-5.1.21_beta

This is the ebuild I use right now
Comment 9 Fabian Groffen gentoo-dev 2008-09-12 06:57:57 UTC
It was my bool patch which was missing.  Added in the tree.