*** This bug is a duplicate of bug 579909 ***
https://bugs.launchpad.net/bugs/579909
This is exactly the same bug I got when building mysql with a packaged
codesourcery compiler -which I believe is very close to the linaro one.
Check the solution I got in #579909, perhaps it works for you
Public bug reported:
# lsb_release -rd
Description:Ubuntu 9.10
Release:9.10
Package version: mysql-dfsg-5.1_5.1.37-1ubuntu5.1
Rebuilding this on a pbuilder environment on armel (armv7l), platform
Efika MX (i.MX515), the build fails, the build log is attached.
** Affects:
** Attachment added: mysql-dfsg-5.1_5.1.37-1ubuntu5.1_build.log
http://launchpadlibrarian.net/48383748/mysql-dfsg-5.1_5.1.37-1ubuntu5.1_build.log
--
mysql fails to build form source on armel
https://bugs.launchpad.net/bugs/579909
You received this bug notification because you are a member
It appears that my compiler is to blame -I used gcc from codesourcery
2009q3-67. I'll look into it more and I'll post back. I'd appreciate any
ideas though.
--
mysql fails to build form source on armel
https://bugs.launchpad.net/bugs/579909
You received this bug notification because you are a
I'm not sure it's the compiler, here's the point where it fails, first
is my try, second is the try I found on a clean installed karmic on the
efikamx:
set -ex; \
for file in ../include/mysql/plugin.h
I did, same result.
--
mysql fails to build form source on armel
https://bugs.launchpad.net/bugs/579909
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.
--
Ubuntu-server-bugs mailing list
Ok, found a fix, in file Makefile.am, do_abi_check (near the end):
This code doesn't work:
for file in $(abi_headers); do \
@CC@ -E -nostdinc -dI \
-I$(top_srcdir)/include \
-I$(top_srcdir)/include/mysql \
No, wasn't that after all.
Reverted it and it worked, it was the first line:
set -ex; \
removed the \ and it worked. Again no idea why that would break the
script. But I retried that about a dozen times, and I'm positive that
this was the line that made it break in the first place.
--
mysql