Closed Bug 906831 Opened 8 years ago Closed 8 years ago

Intermittent OSError: [Errno 2] No such file or directory: '../../../mozilla/dist/xpi-stage/lightning/components/interfaces.manifest.lck' build failure on c-c

Categories

(MailNews Core :: Build Config, defect)

x86
Linux
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 26.0

People

(Reporter: RyanVM, Assigned: standard8)

Details

(Keywords: intermittent-failure)

Attachments

(2 files)

https://tbpl.mozilla.org/php/getParsedLog.php?id=26706465&tree=Thunderbird-Trunk

TB Linux comm-central build on 2013-08-18 18:37:12 PDT for push 53a1a96f146c
slave: bld-centos6-hp-016

/builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/mozilla/_virtualenv/bin/python /builds/slave/tb-c-cen-lx-000000000000000000/build/mozilla/config/expandlibs_gen.py --depend .deps/libmozical.a.pp -o libmozical.a.desc caldate.o icalarray.o icalattach.o icalcomponent.o icalderivedparameter.o icalderivedproperty.o icalderivedvalue.o icalduration.o icalenums.o icalerror.o icallangbind.o icalmemory.o icalmime.o icalparameter.o icalparser.o icalperiod.o icalproperty.o icalrecur.o icalrestriction.o icaltime.o icaltimezone.o icaltypes.o icalvalue.o pvl.o sspm.o vsnprintf.o  
make[9]: Leaving directory `/builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/calendar/libical/src/libical'
make[8]: Leaving directory `/builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/calendar/libical/src'
make[7]: Leaving directory `/builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/calendar/libical'
make[7]: Entering directory `/builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/calendar/base'
make[8]: Entering directory `/builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/calendar/base/public'
Traceback (most recent call last):
  File "/builds/slave/tb-c-cen-lx-000000000000000000/build/mozilla/config/buildlist.py", line 42, in <module>
    addEntriesToListFile(sys.argv[1], sys.argv[2:])
  File "/builds/slave/tb-c-cen-lx-000000000000000000/build/mozilla/config/buildlist.py", line 20, in addEntriesToListFile
    lock = lockFile(listFile + ".lck")
  File "/builds/slave/tb-c-cen-lx-000000000000000000/build/mozilla/config/utils.py", line 44, in lockFile
/builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/mozilla/config/nsinstall -R -m 644 "../../../mozilla/config/makefiles/xpidl/xpt/calbase.xpt" "../../../mozilla/dist/xpi-stage/lightning/components"
    fd = os.open(lockfile, os.O_EXCL | os.O_RDWR | os.O_CREAT)
OSError: [Errno 2] No such file or directory: '../../../mozilla/dist/xpi-stage/lightning/components/interfaces.manifest.lck'
Similar message appeared in Bug 776503, maybe this helps to find fix.
This is due to rules.mk on c-c being really outdated and lacking fixes, like bug 770426.
(the relevant part from bug 770426 being the addition of $(call mkdir_deps,something) dependencies on buildlist.py calls.
Severity: normal → blocker
Assignee: nobody → mbanner
Product: Calendar → MailNews Core
Attached patch Port bug 770426Splinter Review
We probably do need to get our rules.mk up to date, but this ports bug 770426, I think its fine, but can you take a quick glance?
Attachment #796642 - Flags: review?(Pidgeot18)
Comment on attachment 796642 [details] [diff] [review]
Port bug 770426

Review of attachment 796642 [details] [diff] [review]:
-----------------------------------------------------------------

I suspect that porting the other stuff to INSTALL_TARGETS may be necessary to fully port bug 770426, but this should be sufficient to fix the bug.
Attachment #796642 - Flags: review?(Pidgeot18) → review+
https://hg.mozilla.org/comm-central/rev/4cd118a58040
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Looks like we didn't quite fix this...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch Add mkdir_depsSplinter Review
The reason why the last patch didn't work? Because nowhere in our makefiles did we define mkdir_deps. make --print-data-base for the win.
Attachment #804948 - Flags: review?(mbanner)
Attachment #804948 - Flags: review?(mbanner) → review+
https://hg.mozilla.org/comm-central/rev/55c9e25ba55a
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 26.0
You need to log in before you can comment on or make changes to this bug.