Closed Bug 1275382 Opened 9 years ago Closed 9 years ago

TC Android 4.0 build fails: endian.h:52:11: error: expected identifier or '(' before '__extension__'

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect)

49 Branch
defect
Not set
normal

Tracking

(firefox49 affected)

RESOLVED DUPLICATE of bug 1275016
Tracking Status
firefox49 --- affected

People

(Reporter: gbrown, Unassigned)

References

Details

Beginning with https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&revision=829d3be6ba648b838ee1953fdfa1a477dace752f, taskcluster-initiated Android 4.0 API15+ opt builds are failing. https://public-artifacts.taskcluster.net/ZQWK_rDiSYC_Iz6PFDSFsg/0/public/logs/live_backing.log 13:23:57 INFO - /home/worker/workspace/build/src/android-ndk/platforms/android-9/arch-arm/usr/include/sys/endian.h:52:11: error: expected identifier or '(' before '__extension__' 13:23:57 INFO - uint32_t htonl(uint32_t) __pure2; 13:23:57 INFO - ^ 13:23:57 INFO - In file included from /home/worker/workspace/build/src/obj-firefox/dist/include/nspr/prinet.h:79:0, 13:23:57 INFO - from /home/worker/workspace/build/src/obj-firefox/dist/include/nspr/prio.h:19, 13:23:57 INFO - from /home/worker/workspace/build/src/obj-firefox/dist/include/nspr/prprf.h:26, 13:23:57 INFO - from errstrs.c:8: 13:23:57 INFO - /home/worker/workspace/build/src/android-ndk/platforms/android-9/arch-arm/usr/include/sys/endian.h:53:11: error: expected identifier or '(' before '__extension__' 13:23:57 INFO - uint16_t htons(uint16_t) __pure2; 13:23:57 INFO - ^ 13:23:57 INFO - /home/worker/workspace/build/src/android-ndk/platforms/android-9/arch-arm/usr/include/sys/endian.h:54:11: error: expected identifier or '(' before '__extension__' 13:23:57 INFO - uint32_t ntohl(uint32_t) __pure2; 13:23:57 INFO - ^ 13:23:57 INFO - /home/worker/workspace/build/src/android-ndk/platforms/android-9/arch-arm/usr/include/sys/endian.h:55:11: error: expected identifier or '(' before '__extension__' 13:23:57 INFO - uint16_t ntohs(uint16_t) __pure2; 13:23:57 INFO - ^ 13:23:57 INFO - gmake[6]: *** [/home/worker/workspace/build/src/obj-firefox/security/nss/lib/util/errstrs.o] Error 1 Note that the TC Android build is tier 2 (failure won't result in backout), but I've been using it for bug 1270544, so it is important to me. :)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox Build System
You need to log in before you can comment on or make changes to this bug.