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.o main/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 in main/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
Created attachment 3007 [details] patch
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 ?
(In reply to comment #2) > 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.
Ok, bug reproduced, will send a fix shortly.
Fix not merged yet?
Hum, apparently, no fix has been merged for this issue. I am surprised that we haven't seen this issue in the autobuilders, though.
Solved by commit 5ec86b56daf9f4dc157c5b2c383b0eefb45eccd2 from Peter.