Closed Bug 834867 Opened 11 years ago Closed 11 years ago

Can't build tip of b2g18 on Mac: "ImportError: No module named buildconfig"

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: justin.lebar+bug, Unassigned)

Details

A clobber build of b2g18 for Otoro on my Mac gives me the following build error:

> Traceback (most recent call last):
>   File "/Users/jlebar/code/moz/ff-git2/src/js/src/config/pythonpath.py", line 56, in <module>
>     main(sys.argv[1:])
>   File "/Users/jlebar/code/moz/ff-git2/src/js/src/config/pythonpath.py", line 48, in main
>     execfile(script, frozenglobals)
>   File "/Users/jlebar/code/moz/ff-git2/src/js/src/config/expandlibs_exec.py", line 26, in <module>
>     from expandlibs import ExpandArgs, relativize, isObject, ensureParentDir, ExpandLibsDeps
>   File "/Users/jlebar/code/moz/ff-git2/src/js/src/config/expandlibs.py", line 31, in <module>
>     import expandlibs_config as conf
>   File "/Users/jlebar/code/moz/ff-git2/src/js/src/config/expandlibs_config.py", line 5, in <module>
>     def normalize_suffix(suffix):
> ImportError: No module named buildconfig
> make[6]: *** [libjs_static.a] Error 1
> make[5]: *** [libs_tier_js] Error 2
> make[4]: *** [tier_js] Error 2
> make[3]: *** [default] Error 2
> make[2]: *** [realbuild] Error 2
> make[1]: *** [build] Error 2

Combined with bug 834859, this means I can build neither trunk nor b2g18 on my mac.
This stopped happening to me after I updated my tree yesterday.  Whatever it was, it's fixed now.  :shrug:
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
This is happening again...  :(
Ted astutely suggested that a stray pyc file may have been causing this.  Let's see if he's right.
I just got stuck on this after doing some multi-month hg update warping, and rm'ing pyc did the trick. Thanks for logging it.
You need to log in before you can comment on or make changes to this bug.