Closed
Bug 812397
Opened 12 years ago
Closed 12 years ago
Frequent Panda build failure with "ERROR - Return code: 2" following "cannot create debug link section `out/target/product/panda/symbols/system/lib/libdl.so': Invalid operation"
Categories
(Firefox OS Graveyard :: GonkIntegration, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: philor, Assigned: ted)
References
Details
(Keywords: intermittent-failure)
https://tbpl.mozilla.org/php/getParsedLog.php?id=17081223&tree=Mozilla-Inbound
b2g_mozilla-inbound_panda_dep on 2012-11-15 14:58:39 PST for push dc61a415f3e9
slave: bld-linux64-ec2-044
15:01:22 INFO - HOST_BUILD_TYPE=release
15:01:22 INFO - BUILD_ID=OPENMASTER
15:01:22 INFO - OUT_DIR=out
15:01:22 INFO - ============================================
15:02:28 WARNING - external/busybox/Android.mk:33: warning: overriding commands for target `out/target/product/panda/obj/EXECUTABLES/busybox_intermediates/busybox'
15:02:28 WARNING - build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/panda/obj/EXECUTABLES/busybox_intermediates/busybox'
15:02:37 WARNING - external/screencap-gonk/Android.mk:35: warning: overriding commands for target `out/target/product/panda/system/bin/screencap-gonk'
15:02:37 WARNING - build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/panda/system/bin/screencap-gonk'
15:02:41 INFO - find: `../../external/nist-sip/java': No such file or directory
15:02:51 WARNING - gaia/Android.mk:32: warning: overriding commands for target `out/target/product/panda/data/local/gaia'
15:02:51 WARNING - build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/panda/data/local/gaia'
15:02:51 WARNING - gonk-misc/Android.mk:26: warning: overriding commands for target `out/target/product/panda/obj/ETC/init.rc_intermediates/init.rc'
15:02:51 WARNING - build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/panda/obj/ETC/init.rc_intermediates/init.rc'
15:02:51 WARNING - gonk-misc/Android.mk:155: warning: overriding commands for target `out/target/product/panda/system/gecko'
15:02:51 WARNING - build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/panda/system/gecko'
15:02:51 WARNING - gonk-misc/Android.mk:214: warning: overriding commands for target `out/target/product/panda/obj/DATA/gecko_intermediates/gecko'
15:02:51 WARNING - build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/panda/obj/DATA/gecko_intermediates/gecko'
15:02:58 INFO - No private recovery resources for TARGET_DEVICE panda
15:03:01 INFO - target Strip: libdl (out/target/product/panda/obj/lib/libdl.so)
15:03:01 INFO - target Strip: libz (out/target/product/panda/obj/lib/libz.so)
15:03:01 INFO - prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-objcopy:out/target/product/panda/obj/lib/stjsaA4o: cannot create debug link section `out/target/product/panda/symbols/system/lib/libdl.so': Invalid operation
15:03:01 INFO - make: *** [out/target/product/panda/obj/lib/libdl.so] Error 1
15:03:01 INFO - make: *** Deleting file `out/target/product/panda/obj/lib/libdl.so'
15:03:01 INFO - make: *** Waiting for unfinished jobs....
15:03:01 INFO - target Strip: libstlport (out/target/product/panda/obj/lib/libstlport.so)
15:03:01 INFO - prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-objcopy:out/target/product/panda/obj/lib/stDNKEFx: cannot create debug link section `out/target/product/panda/symbols/system/lib/libz.so': Invalid operation
15:03:01 INFO - make: *** [out/target/product/panda/obj/lib/libz.so] Error 1
15:03:01 INFO - make: *** Deleting file `out/target/product/panda/obj/lib/libz.so'
15:03:01 INFO - prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-objcopy:out/target/product/panda/obj/lib/stugRsDy: cannot create debug link section `out/target/product/panda/symbols/system/lib/libstlport.so': Invalid operation
15:03:01 INFO - make: *** [out/target/product/panda/obj/lib/libstlport.so] Error 1
15:03:01 INFO - make: *** Deleting file `out/target/product/panda/obj/lib/libstlport.so'
15:03:01 INFO - real 1m40.497s
15:03:01 INFO - user 0m10.095s
15:03:01 INFO - sys 0m4.577s
15:03:01 INFO -
15:03:01 INFO - > Build failed! <
15:03:01 INFO - Build with |./build.sh -j1| for better messages
15:03:01 INFO - If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.
15:03:01 ERROR - Return code: 2
15:03:01 INFO - Running command: ['mock_mozilla', '-r', u'mozilla-centos6-i386', '-q', '--cwd', '/builds/slave/b2g-m-in-panda-dep/build', '--unpriv', '--shell', '/usr/bin/env "LESSOPEN=|/usr/bin/lesspipe.sh %s" LOGNAME=cltbld USER=cltbld PATH=/usr/local/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cltbld/bin SYMBOL_SERVER_USER=b2gbld CCACHE_UMASK=002 CCACHE_HASHDIR= TERM=linux SHELL=/bin/bash SHLVL=1 G_BROKEN_FILENAMES=1 HISTSIZE=1000 SYMBOL_SERVER_PATH=/mnt/netapp/breakpad/symbols_b2g/ SYMBOL_SERVER_HOST=symbols1.dmz.phx1.mozilla.com MAIL=/var/spool/mail/cltbld CCACHE_COMPRESS=1 _=/tools/buildbot/bin/python CCACHE_BASEDIR=/builds/slave/b2g-m-in-panda-dep/build HOSTNAME=bld-linux64-ec2-044.build.aws-us-west-1.mozilla.com SYMBOL_SERVER_SSH_KEY=/home/mock_mozilla/.ssh/b2gbld_dsa HISTCONTROL=ignoredups POST_SYMBOL_UPLOAD_CMD=/usr/local/bin/post-symbol-upload.py PWD=/builds/slave/b2g-m-in-panda-dep PROPERTIES_FILE=/builds/slave/b2g-m-in-panda-dep/buildprops.json CCACHE_DIR=/builds/ccache ccache -s'] in /builds/slave/b2g-m-in-panda-dep/build
15:03:01 INFO - Copy/paste: mock_mozilla -r mozilla-centos6-i386 -q --cwd /builds/slave/b2g-m-in-panda-dep/build --unpriv --shell "/usr/bin/env \"LESSOPEN=|/usr/bin/lesspipe.sh %s\" LOGNAME=cltbld USER=cltbld PATH=/usr/local/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cltbld/bin SYMBOL_SERVER_USER=b2gbld CCACHE_UMASK=002 CCACHE_HASHDIR= TERM=linux SHELL=/bin/bash SHLVL=1 G_BROKEN_FILENAMES=1 HISTSIZE=1000 SYMBOL_SERVER_PATH=/mnt/netapp/breakpad/symbols_b2g/ SYMBOL_SERVER_HOST=symbols1.dmz.phx1.mozilla.com MAIL=/var/spool/mail/cltbld CCACHE_COMPRESS=1 _=/tools/buildbot/bin/python CCACHE_BASEDIR=/builds/slave/b2g-m-in-panda-dep/build HOSTNAME=bld-linux64-ec2-044.build.aws-us-west-1.mozilla.com SYMBOL_SERVER_SSH_KEY=/home/mock_mozilla/.ssh/b2gbld_dsa HISTCONTROL=ignoredups POST_SYMBOL_UPLOAD_CMD=/usr/local/bin/post-symbol-upload.py PWD=/builds/slave/b2g-m-in-panda-dep PROPERTIES_FILE=/builds/slave/b2g-m-in-panda-dep/buildprops.json CCACHE_DIR=/builds/ccache ccache -s"
15:03:02 INFO - cache directory /builds/ccache
15:03:02 INFO - cache hit (direct) 0
15:03:02 INFO - cache hit (preprocessed) 0
15:03:02 INFO - cache miss 0
15:03:02 INFO - files in cache 228951
15:03:02 INFO - cache size 9.3 Gbytes
15:03:02 INFO - max cache size 10.0 Gbytes
15:03:02 INFO - Return code: 0
15:03:02 FATAL - failed to build
15:03:02 FATAL - Exiting 2
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Comment 2•12 years ago
|
||
Reporter | ||
Comment 3•12 years ago
|
||
Reporter | ||
Comment 4•12 years ago
|
||
Reporter | ||
Comment 5•12 years ago
|
||
Reporter | ||
Comment 6•12 years ago
|
||
Reporter | ||
Comment 7•12 years ago
|
||
Reporter | ||
Comment 8•12 years ago
|
||
Reporter | ||
Comment 9•12 years ago
|
||
Reporter | ||
Comment 10•12 years ago
|
||
Reporter | ||
Comment 11•12 years ago
|
||
Reporter | ||
Comment 12•12 years ago
|
||
Reporter | ||
Comment 13•12 years ago
|
||
Reporter | ||
Comment 14•12 years ago
|
||
Reporter | ||
Comment 15•12 years ago
|
||
Comment 16•12 years ago
|
||
Comment 17•12 years ago
|
||
Not sure who is on the hook for B2G build stuff; Ted/Mike, can you help or else suggest who might be able to? :-)
Comment 18•12 years ago
|
||
Comment 19•12 years ago
|
||
(In reply to Ed Morley [:edmorley UTC+0] from comment #17)
> Not sure who is on the hook for B2G build stuff; Ted/Mike, can you help or
> else suggest who might be able to? :-)
That would be mwu.
Reporter | ||
Comment 20•12 years ago
|
||
Comment 21•12 years ago
|
||
I've never seen this in a build. Maybe some sort of build env issue?
tzimmermann, have you ever seen this error?
Assignee | ||
Comment 22•12 years ago
|
||
It's possible this is related to my symbol dumping changes. We're probably running strip on these binaries now. Would that break things?
Assignee | ||
Comment 23•12 years ago
|
||
You can test this theory by running "build.sh buildsymbols" locally.
Reporter | ||
Comment 24•12 years ago
|
||
Reporter | ||
Comment 25•12 years ago
|
||
Reporter | ||
Comment 26•12 years ago
|
||
Reporter | ||
Comment 27•12 years ago
|
||
Assignee | ||
Comment 28•12 years ago
|
||
mwu thinks the symbol stripping might be breaking things, so I filed a gonk PR to stop doing that:
https://github.com/mozilla-b2g/gonk-misc/pull/56
Comment 29•12 years ago
|
||
Sorry, I've never seen this problem during builds. It looks like you first strip the libraries and later try to access the (now removed) debugging symbols.
Comment 30•12 years ago
|
||
We're using GNU gold 2.20 and related tools. Without deeper research, I'd say you trigger this bug:
http://sourceware.org/bugzilla/show_bug.cgi?id=11072
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → ted
Comment 31•12 years ago
|
||
Reporter | ||
Comment 32•12 years ago
|
||
Reporter | ||
Comment 33•12 years ago
|
||
Reporter | ||
Comment 34•12 years ago
|
||
Reporter | ||
Comment 35•12 years ago
|
||
Reporter | ||
Comment 36•12 years ago
|
||
Reporter | ||
Comment 37•12 years ago
|
||
Reporter | ||
Comment 38•12 years ago
|
||
Reporter | ||
Comment 39•12 years ago
|
||
Reporter | ||
Comment 40•12 years ago
|
||
Updated•12 years ago
|
Keywords: intermittent-failure
Reporter | ||
Comment 41•12 years ago
|
||
Reporter | ||
Comment 42•12 years ago
|
||
Reporter | ||
Comment 43•12 years ago
|
||
Reporter | ||
Comment 44•12 years ago
|
||
Reporter | ||
Comment 45•12 years ago
|
||
Reporter | ||
Comment 46•12 years ago
|
||
Reporter | ||
Comment 47•12 years ago
|
||
Reporter | ||
Comment 48•12 years ago
|
||
Reporter | ||
Comment 49•12 years ago
|
||
Reporter | ||
Comment 50•12 years ago
|
||
Reporter | ||
Comment 51•12 years ago
|
||
Comment 52•12 years ago
|
||
Comment 53•12 years ago
|
||
Comment 54•12 years ago
|
||
Reporter | ||
Comment 55•12 years ago
|
||
Reporter | ||
Comment 56•12 years ago
|
||
Reporter | ||
Comment 57•12 years ago
|
||
Reporter | ||
Comment 58•12 years ago
|
||
Reporter | ||
Comment 59•12 years ago
|
||
Reporter | ||
Comment 60•12 years ago
|
||
Reporter | ||
Comment 61•12 years ago
|
||
Reporter | ||
Comment 62•12 years ago
|
||
Reporter | ||
Comment 63•12 years ago
|
||
Reporter | ||
Comment 64•12 years ago
|
||
Reporter | ||
Comment 65•12 years ago
|
||
Reporter | ||
Comment 66•12 years ago
|
||
Reporter | ||
Comment 67•12 years ago
|
||
Reporter | ||
Comment 68•12 years ago
|
||
Reporter | ||
Comment 69•12 years ago
|
||
Reporter | ||
Comment 70•12 years ago
|
||
Reporter | ||
Comment 71•12 years ago
|
||
Reporter | ||
Comment 72•12 years ago
|
||
Reporter | ||
Comment 73•12 years ago
|
||
Reporter | ||
Comment 74•12 years ago
|
||
Reporter | ||
Comment 75•12 years ago
|
||
Reporter | ||
Comment 76•12 years ago
|
||
Reporter | ||
Comment 77•12 years ago
|
||
Reporter | ||
Comment 78•12 years ago
|
||
Reporter | ||
Comment 79•12 years ago
|
||
Reporter | ||
Comment 80•12 years ago
|
||
Reporter | ||
Comment 81•12 years ago
|
||
Reporter | ||
Comment 82•12 years ago
|
||
Comment 83•12 years ago
|
||
Comment 84•12 years ago
|
||
The pull request mentioned in comment 28 was closed 4 days ago. I lose track of how the emulator builds work - someone has to manually update it, right?
https://tbpl.mozilla.org/php/getParsedLog.php?id=17280075&tree=Mozilla-Inbound
Comment 85•12 years ago
|
||
Comment 86•12 years ago
|
||
Comment 87•12 years ago
|
||
Comment 88•12 years ago
|
||
(In reply to Ed Morley [:edmorley, UTC+0, email: emorley at moco] from comment #84)
> The pull request mentioned in comment 28 was closed 4 days ago. I lose track
> of how the emulator builds work - someone has to manually update it, right?
Oh bug 810994 comment 13.
Comment 89•12 years ago
|
||
Comment 90•12 years ago
|
||
Ted, this is another fail even after updating gonk-misc to aafa9ca4d2e9e755fe9964018a9797eac4ecc7de:
https://tbpl.mozilla.org/php/getParsedLog.php?id=17292460&tree=Mozilla-Inbound
In the few builds after I landed the snapshot update we had green on both clobber and dep builds, but only had 6 builds in total until this fail.
Reporter | ||
Comment 91•12 years ago
|
||
Comment 92•12 years ago
|
||
Reporter | ||
Comment 93•12 years ago
|
||
Reporter | ||
Comment 94•12 years ago
|
||
Reporter | ||
Comment 95•12 years ago
|
||
Updated•12 years ago
|
Whiteboard: [orange]
Assignee | ||
Comment 96•12 years ago
|
||
Is this fixed by bug 810994 or not? The most recent comment there seems to indicate it is, but we still have failure logs here on inbound. Does inbound just need a clobber?
Comment 97•12 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #96)
> Is this fixed by bug 810994 or not? The most recent comment there seems to
> indicate it is, but we still have failure logs here on inbound. Does inbound
> just need a clobber?
I don't believe this is fixed.
However, I can't re-clobber just to be sure; due to bug 815556.
Comment 98•12 years ago
|
||
I clobbered inbound for this at 2012-11-24 16:44:55, so would love to know if there were any fails after that which are not recorded here. I'll have a look in the buildbot db too.
Comment 99•12 years ago
|
||
There has been one failure on inbound since the clobber, which was an unrelated code bustage. There has been one failure on mozilla-beta since I landed+clobbered there, also unrelated code error. No failures on central since the 20th, and can't see any other branches with issues. I've just landed on Aurora to complete the set.
---> This bug is fixed.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•