Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375103 - After upgrade to mysql-5.1.58 applications in @preserved-rebuild fail due to missing mysql.h
Summary: After upgrade to mysql-5.1.58 applications in @preserved-rebuild fail due to ...
Status: RESOLVED DUPLICATE of bug 375063
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-13 15:44 UTC by Adrian Bassett
Modified: 2011-07-14 13:49 UTC (History)
2 users (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 Adrian Bassett 2011-07-13 15:44:10 UTC
After upgrading to mysql-5.1.58 a number of applications are added to the preserved-rebuild set.  However, they fail to emerge because they can't find mysql.h.

Additionally, mysql itself gets added to the same set after the upgrade, where is remains even after re-emerging.

The missing header file is actually installed, but at /usr/include/mysql/mysql/mysql.h which is not where other applications are looking for it.

Problem presumably related to the definition in /usr/portage/eclass/mysql.eclass where the includedir is defined as MY_INCLUDEDIR=${MY_INCLUDEDIR="/usr/include/mysql"} (line 367) beneath which another layer of nesting is added by the upgrade installation.


Reproducible: Always
Comment 1 Adrian Bassett 2011-07-13 15:50:33 UTC
(In reply to comment #0)

Bugs 375063 and 375083 appear to describe the same problem.
Comment 2 Adrian Bassett 2011-07-14 08:37:45 UTC
(In reply to comment #0)

This is now fixed.  When mysql-5.1.58 was re-emerged the include files were installed correcty under /usr/include/mysql (previously /usr/include/mysql/mysql) and there are no applications added to the preserved-rebuild set.  mysql.h is findable at /usr/include/mysql/mysql.h
Comment 3 Pacho Ramos gentoo-dev 2011-07-14 09:52:39 UTC

*** This bug has been marked as a duplicate of bug 341853 ***
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2011-07-14 13:49:00 UTC
This one is defintely related to mysql-5.1.58 and not mariadb.

*** This bug has been marked as a duplicate of bug 375063 ***