Skip to contentSkip to conversation

New: php fails to build for armel.

Buildroot bugzilla at busybox.net 1 participant 7 messages Sep 25, 2013 – Nov 28, 2013

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=6500

Summary: php fails to build for armel.
Product: buildroot
Version: 2013.08
Platform: Other
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: seetwobob at live.co.uk
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Unsure what other details may be helpful...

/home/me/GIT/buildroot-13-08/output/build/php-5.3.27/ext/fileinfo/libmagic/apprentice.c:
In function 'apprentice_load':
/home/me/GIT/buildroot-13-08/output/build/php-5.3.27/ext/fileinfo/libmagic/apprentice.c:781:4:
warning: passing argument 1 of '_php_stream_opendir' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/me/GIT/buildroot-13-08/output/build/php-5.3.27/main/php.h:400:0,
from
/home/me/GIT/buildroot-13-08/output/build/php-5.3.27/ext/fileinfo/libmagic/apprentice.c:32:
/home/me/GIT/buildroot-13-08/output/build/php-5.3.27/main/php_streams.h:339:53:
note: expected 'char *' but argument is of type 'const char *'
make[1]: Leaving directory `/home/me/GIT/buildroot-13-08/output/build/php-5.3.27'
make: *** [/home/me/GIT/buildroot-13-08/output/build/php-5.3.27/.stamp_built] Error 2

Seems like a minor messup somewhere.
Upstream? Unsure. seems likely

Happy to provide more details upon request.
Hope this helps.

Will dig around for similar errors. I did find a bunch of pastebin logs of fails that looked PRETTY similar but now obvious patches...

and a few similar reports of this error output laterally. Just thought you should know.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 6500] php fails to build for armel.

https://bugs.busybox.net/show_bug.cgi?id=6500

twobob <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |seetwobob at live.co.uk

--- Comment #1 from twobob <[email protected]> 2013-09-25 00:12:59 UTC --- Not sure if this is the actual error that kills it but
http://gcov.php.net/viewer.php?version=PHP_5_3&func=compile_results
Has no reference to this I can find.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 6500] php fails to build for armel.

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=6500

--- Comment #2 from twobob <[email protected]> 2013-09-25 00:19:11 UTC --- okay...

perhaps it is this?

cc1: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories]
In file included from /usr/include/features.h:389:0,

                 from /usr/include/stdlib.h:25,
                 from

/home/me/GIT/buildroot-13-08/output/build/php-5.3.27/include/../main/php_config.h:2458,
from
/home/me/GIT/buildroot-13-08/output/build/php-5.3.27/Zend/zend_config.h:1,
from
/home/me/GIT/buildroot-13-08/output/build/php-5.3.27/Zend/zend.h:51,
from
/home/me/GIT/buildroot-13-08/output/build/php-5.3.27/main/php.h:34,
from
/home/me/GIT/buildroot-13-08/output/build/php-5.3.27/ext/iconv/iconv.c:27:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
make[1]: *** [ext/iconv/iconv.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/me/GIT/buildroot-13-08/output/build/php-5.3.27'
make: *** [/home/me/GIT/buildroot-13-08/output/build/php-5.3.27/.stamp_built] Error 2

Hope this helps.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 6500] php fails to build for armel.

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=6500

--- Comment #3 from Thomas Petazzoni <[email protected]> 2013-10-01 21:28:33 UTC --- Can you specify which Buildroot version you are using, and attach a Buildroot
.config file that allows us to reproduce the problem?

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 6500] php fails to build for armel.

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=6500

--- Comment #4 from Thomas Petazzoni <[email protected]> 2013-10-30 21:56:28 UTC --- Ping? Can you provide more details, especially the Buildroot version and configuration? Without these details, I'm afraid it will be hard for us to look
at this bug. Thanks!

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 6500] php fails to build for armel.

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=6500

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at buildroot.uclibc |gustavo at zacarias.com.ar
|.org |

--- Comment #5 from Thomas Petazzoni <[email protected]> 2013-11-14 00:04:37 UTC --- Now that I look at this, it seems similar to an autobuilder failure that we
have seen, where the iconv module gets built with -I"/usr/include" in the
compiler flags.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 6500] php fails to build for armel.

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=6500

Gustavo Zacarias <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Gustavo Zacarias <[email protected]> 2013-11-28 11:52:59 UTC --- Should be solved in commit f2a2c4cce60b6fda5541ac5cb945abe9958c93eb for the upcoming 2013.11 release.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.