New: mesa3d fails to build
https://bugs.busybox.net/show_bug.cgi?id=3313
Summary: mesa3d fails to build
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: rotwang at crux.org.pl
CC: buildroot at uclibc.org
Estimated Hours: 0.0
In snapshot from 16th of february, mesa3d fails to build:
/home/bartek/crax/buildroot/output/host/usr/bin/i686-unknown-linux-uclibc-gcc --sysroot=/home/bartek/crax/buildroot/output/host/usr/i686-unknown-linux-uclibc/sysroot -c -I../../include -I../../src/mesa -I../../src/gallium/include -I../../src/gallium/auxiliary -pipe -fomit-frame-pointer -Os -mtune=i686 -march=i686 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/bartek/crax/buildroot/output/host/usr/i686-unknown-linux-uclibc/sysroot/usr/include -I/home/bartek/crax/buildroot/output/host/usr/i686-unknown-linux-uclibc/sysroot/include -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS main/imports.c -o main/imports.omain/imports.c: In function '_mesa_strtod':main/imports.c:919:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'loc'main/imports.c:919:20: error: 'loc' undeclared (first use in this function) main/imports.c:919:20: note: each undeclared identifier is reported only once for each function it appears inmain/imports.c:921:7: warning: implicit declaration of function 'newlocale' main/imports.c:921:23: error: 'LC_CTYPE_MASK' undeclared (first use in this function)main/imports.c:923:4: warning: implicit declaration of function 'strtod_l' main/imports.c:927:1: warning: control reaches end of non-void function make[3]: *** [main/imports.o] Error 1
make[3]: Leaving directory `/home/bartek/crax/buildroot/output/build/mesa3d-7.6.1/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/bartek/crax/buildroot/output/build/mesa3d-7.6.1/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/bartek/crax/buildroot/output/build/mesa3d-7.6.1'
make: *** [/home/bartek/crax/buildroot/output/build/mesa3d-7.6.1/.stamp_built] Error 2
I've found it sufficent to apply attached patch to fix the issue
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.
[Buildroot] [Bug 3313] mesa3d fails to build
https://bugs.busybox.net/show_bug.cgi?id=3313
--- Comment #1 from Bart?omiej Palmowski <[email protected]> --- Created attachment 3007
--> https://bugs.busybox.net/attachment.cgi?id=3007
patch
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.
[Buildroot] [Bug 3313] mesa3d fails to build
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=3313
--- Comment #2 from Thomas Petazzoni <[email protected]> --- Buildroot currently packages version 7.6.1 of mesa3d, but the latest upstream version seems to be 7.9.1, in ftp://ftp.freedesktop.org/pub/mesa/7.9.1/MesaLib-7.9.1.tar.bz2. Maybe we should bump the version in BR first ?
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.
[Buildroot] [Bug 3313] mesa3d fails to build
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=3313
--- Comment #3 from Peter Korsgaard <[email protected]> --- (In reply to comment #2)
Quoted 4 lines
Buildroot currently packages version 7.6.1 of mesa3d, but the latest upstream version seems to be 7.9.1, in ftp://ftp.freedesktop.org/pub/mesa/7.9.1/MesaLib-7.9.1.tar.bz2. Maybe we should bump the version in BR first ?
Possibly, but we have to be careful about the dependencies. I'm not interested in moving the entire X stack forward this close to the 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.
[Buildroot] [Bug 3313] mesa3d fails to build
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=3313
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at buildroot.uclibc |thomas.petazzoni at free-elect
|.org |rons.com
--- Comment #4 from Thomas Petazzoni <[email protected]> --- Ok, bug reproduced, will send a fix shortly.
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.
[Buildroot] [Bug 3313] mesa3d fails to build
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=3313
--- Comment #5 from Jonathan Liu <[email protected]> 2012-07-24 12:18:42 UTC --- Fix not merged yet?
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.
[Buildroot] [Bug 3313] mesa3d fails to build
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=3313
--- Comment #6 from Thomas Petazzoni <[email protected]> 2012-07-24 12:32:24 UTC --- Hum, apparently, no fix has been merged for this issue. I am surprised that we haven't seen this issue in the autobuilders, though.
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.
[Buildroot] [Bug 3313] mesa3d fails to build
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=3313
Gustavo Zacarias <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #7 from Gustavo Zacarias <[email protected]> 2013-04-04 13:57:16 UTC --- Solved by commit 5ec86b56daf9f4dc157c5b2c383b0eefb45eccd2 from Peter.
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.