Builds fail with file not recognized: File truncated

RESOLVED FIXED

Status

task
RESOLVED FIXED
5 years ago
Last year

People

(Reporter: cbook, Assigned: glandium)

Tracking

Details

Attachments

(3 attachments)

we get it seems build failures due to failures like in https://tbpl.mozilla.org/php/getParsedLog.php?id=46750499&tree=B2g-Inbound

    INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")

../../content/svg/content/src/SVGStyleElement.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[5]: *** [libxul.so] Error 1
make[4]: *** [toolkit/library/target] Error 2
make[4]: *** Waiting for unfinished jobs....
testDefineGetterSetterNonEnumerable.o

slave is slave: bld-linux64-spot-1024
also note, retrigger on different slaves for the same push finish then as expected
Reporting here a question asked in #releng by mshal:

glandium: any idea if imgStatusTracker.o might be stored as an empty file in sccache? Or maybe it pulled something from the cache but failed to write it out? https://tbpl.mozilla.org/php/getParsedLog.php?id=46753651&full=1&branch=mozilla-inbound#error0

The question above refers to these logged lines:

INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")

../../image/src/imgStatusTracker.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[5]: *** [libxul.so] Error 1
make[4]: *** [toolkit/library/target] Error 2
Flags: needinfo?(mh+mozilla)
Note that in this particular example, imgStatusTracker.o appears to have compiled successfully during the build:

python2.7 /builds/slave/m-in-linux32_g-000000000000000/build/sccache/sccache.py /tools/gcc-4.7.3-0moz1/bin/g++ -o imgStatusTracker.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /builds/slave/m-in-linux32_g-000000000000000/build/config/gcc_hidden.h -DOS_POSIX=1 -DOS_LINUX=1 -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL  -DSTATIC_EXPORTABLE_JS_API -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/builds/slave/m-in-linux32_g-000000000000000/build/image/src -I. -I/builds/slave/m-in-linux32_g-000000000000000/build/obj-firefox/ipc/ipdl/_ipdlheaders -I/builds/slave/m-in-linux32_g-000000000000000/build/ipc/chromium/src -I/builds/slave/m-in-linux32_g-000000000000000/build/ipc/glue -I/builds/slave/m-in-linux32_g-000000000000000/build/content/base/src -I/builds/slave/m-in-linux32_g-000000000000000/build/content/svg/content/src -I/builds/slave/m-in-linux32_g-000000000000000/build/image/decoders -I/builds/slave/m-in-linux32_g-000000000000000/build/layout/svg -I/builds/slave/m-in-linux32_g-000000000000000/build/netwerk/base/src -I../../dist/include  -I/builds/slave/m-in-linux32_g-000000000000000/build/obj-firefox/dist/include/nspr -I/builds/slave/m-in-linux32_g-000000000000000/build/obj-firefox/dist/include/nss       -fPIC   -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/imgStatusTracker.o.pp  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Werror=type-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align -DMOZ_ENABLE_JS_DUMP -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -g -freorder-blocks -Os  -fomit-frame-pointer  -I/builds/slave/m-in-linux32_g-000000000000000/build/obj-firefox/dist/include/cairo    /builds/slave/m-in-linux32_g-000000000000000/build/image/src/imgStatusTracker.cpp
This might actually be the same as bug 1016473, but in a different form because of the fix for that bug, but reading the code, I can see how the fix is not complete.
Flags: needinfo?(mh+mozilla)
Assignee: nobody → mh+mozilla
Attachment #8479536 - Flags: review?(mshal)
Attachment #8479542 - Flags: checked-in+
Attachment #8479543 - Flags: review?(mshal)
Attachment #8479536 - Flags: review?(mshal) → review+
Attachment #8479543 - Flags: review?(mshal) → review+
https://hg.mozilla.org/mozilla-central/rev/9fa8bfc00fe3
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Product: Release Engineering → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.