[Bug 52480] New: Fix a race in _gen/reentrant-methods.list

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 25 21:08:07 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52480

             Bug #: 52480
           Summary: Fix a race in _gen/reentrant-methods.list
    Classification: Unclassified
           Product: Telepathy
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: ross at burtonini.com
         QAContact: telepathy-bugs at lists.freedesktop.org


Very occasionally, a parallel build will fail like this:

| Making all in telepathy-glib
| make[2]: Entering directory
`/buildarea1/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/telepathy-glib-0.19.2-r0/telepathy-glib-0.19.2/telepathy-glib'
| /bin/mkdir -p _gen
| ( cd . && cat versions/0.7.0.abi [...] versions/0.19.2.abi  ) | \
|         /bin/grep '^tp_cli_.*_run_.*' > _gen/reentrant-methods.list.tmp
| /bin/sh: line 1: _gen/reentrant-methods.list.tmp: No such file or directory
| make[2]: *** [_gen/reentrant-methods.list] Error 1

It's doing the mkdir and the subshell in parallel, when the mkdir should be
done
first.  Add an explicit dependency on spec-stamp to reentrant-methods.list to
ensure the ordering.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list