Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 361175

Summary: sci-libs/gdal with dev-db/mariadb-5.1.50 - /usr/include/mysql/my_global.h:650:25: error: my_compiler.h: No such file or directory
Product: Gentoo Linux Reporter: Marco Clocchiatti <ziapannocchia>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild log
emerge --info

Description Marco Clocchiatti 2011-03-29 20:05:27 UTC
Created attachment 267721 [details]
ebuild log

sci-libs/gdal fails to build against dev-db/mariadb-5.1.50 with error:

/usr/include/mysql/my_global.h:650:25: error: my_compiler.h: No such file or directory
make[3]: *** [../o/ogrmysqldriver.o] Error 1

simple workaround: comment manually line n. 650 in /usr/include/mysql/my_global.h and restart emerge sci-libs/gdal
Comment 1 Marco Clocchiatti 2011-03-29 20:07:16 UTC
Created attachment 267723 [details]
emerge --info
Comment 2 Steve Arnold archtester gentoo-dev 2011-04-02 22:26:13 UTC
This file belongs to mysql, so one would think mariadb failed to install it.  Also, hacking the header file isn't the best thing to do unless mariadb and packages linking against mariadb really don't need it (which seems doubtful).  Assigning to the proper package maintainer would also help.
Comment 3 Marco Clocchiatti 2011-04-03 08:54:27 UTC
(In reply to comment #2)
> This file belongs to mysql, so one would think mariadb failed to install it. 
>
no. the issue affects sci-libs/gdal. I've only described what happen. I don't know why it happens.

I hope adding robbat2@gentoo.org to CC list may it helps.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-04 11:07:35 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > This file belongs to mysql, so one would think mariadb failed to install it. 
> >
> no. the issue affects sci-libs/gdal. I've only described what happen. I don't
> know why it happens.
> 
> I hope adding robbat2@gentoo.org to CC list may it helps.

Why don't you please simply wait until the bug is properly assigned next time?
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2011-04-04 16:41:52 UTC

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