Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310535 - =dev-db/mysql-5.1.44-r1 fails to compile
Summary: =dev-db/mysql-5.1.44-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High blocker (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 310533
  Show dependency tree
 
Reported: 2010-03-21 14:21 UTC by nietonfir
Modified: 2010-03-24 16:46 UTC (History)
1 user (show)

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


Attachments
Reinitialize a pthread_once_t variable. (07271_all_charset_init_fix-5.1.44.patch,816 bytes, patch)
2010-03-21 14:26 UTC, nietonfir
Details | Diff
includes the 07271*patch to 000_index.txt needed for mysql-extras. (000_index.txt.patch,438 bytes, patch)
2010-03-21 14:29 UTC, nietonfir
Details | Diff
mysql-extras package that contains the aforementioned patches. (mysql-extras-20100321-1410Z.tar.bz2,915.44 KB, application/octet-stream)
2010-03-21 14:32 UTC, nietonfir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nietonfir 2010-03-21 14:21:12 UTC
Emerge fails with "charset.c:432: Error: expected expression before »{« token". This seems only not to affect Linux, but it happens eg on FreeBSD as well as on OS X.

The culprit is the akanodi charset issue (http://bugs.mysql.com/bug.php?id=45058) and the fix (http://lists.mysql.com/commits/101737) is available in the same upstream bug report, but wasn't deployed in the gentoo x86-main tree. (Probably because Linux is not affected.)

After applying the patch mysql emerges & runs just fine on 10.6.
Comment 1 nietonfir 2010-03-21 14:26:26 UTC
Created attachment 224507 [details, diff]
Reinitialize a pthread_once_t variable.

Taken from http://lists.mysql.com/commits/101737. It's already in the mysql-extras format.
Comment 2 nietonfir 2010-03-21 14:29:21 UTC
Created attachment 224509 [details, diff]
includes the 07271*patch to 000_index.txt needed for mysql-extras.
Comment 3 nietonfir 2010-03-21 14:32:01 UTC
Created attachment 224513 [details]
mysql-extras package that contains the aforementioned patches.

This package already contains both fixes.
Comment 4 Fabian Groffen gentoo-dev 2010-03-21 14:46:14 UTC
@mysql: mind adding this patch to the patchball?
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-03-23 23:12:42 UTC
in future, please cc/assign mysql-bugs, not me directly.
they end up in different mailboxes here.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-03-24 02:18:57 UTC
released as 5.1.44-r2 with other fixes.
Comment 7 Fabian Groffen gentoo-dev 2010-03-24 06:53:26 UTC
> in future, please cc/assign mysql-bugs, not me directly.
> they end up in different mailboxes here.

Problem is, mysql@g.o doesn't exist, which is the herd.  I just didn't know about mysql-bugs, I'll try to remember.  Thanks!
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-03-24 16:46:20 UTC
the herd is "mysql", and the email address registered in herds.xml is mysql-bugs@gentoo.org.

It's never just ${HERD}@gentoo.org, you always need to do a lookup to resolve the email.