Closed Bug 781808 Opened 12 years ago Closed 12 years ago

[PATCH] make install fails on platforms with PYTHONDONTWRITEBYTECODE

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla17

People

(Reporter: shlomif, Assigned: shlomif)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1 Build ID: 20120806062253 Steps to reproduce: I built firefox from source using this .mozconfig: . $topsrcdir/browser/config/mozconfig export LDFLAGS="-Wl,--no-keep-memory" mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-dbg ac_add_options --disable-optimize ac_add_options --enable-debug ac_add_options --enable-tests ac_add_options --enable-debug-symbols ac_add_options --prefix="/opt/firefox/hg" On my system I have export PYTHONDONTWRITEBYTECODE=1 Actual results: I'm getting: /home/shlomif/Download/unpack/firefox/mozilla-central/ff-dbg/config/nsinstall -D /opt/firefox/hg/lib/firefox-devel-17.0a1/sdk/bin if test -f ../../dist/include/xpcom-config.h; then \ /home/shlomif/Download/unpack/firefox/mozilla-central/ff-dbg/config/nsinstall -t -m 644 ../../dist/include/xpcom-config.h /opt/firefox/hg/lib/firefox-devel-17.0a1; \ fi find ../../dist/sdk -name "*.pyc" | xargs rm rm: missing operand Try 'rm --help' for more information. make[2]: *** [install] Error 123 make[2]: Leaving directory `/home/shlomif/Download/unpack/firefox/mozilla-central/ff-dbg/browser/installer' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/shlomif/Download/unpack/firefox/mozilla-central/ff-dbg' make: *** [install] Error 2 Expected results: The installation should have proceeded.
Hi all, any news regarding this patch? Is there anything else you need from me? Regards, -- Shlomi Fish
Component: Untriaged → Build Config
Assignee: nobody → shlomif
Attachment #650881 - Flags: review+
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
(In reply to Ryan VanderMeulen from comment #4) > https://hg.mozilla.org/mozilla-central/rev/f390e36c7fe2 Thanks for applying my patch. Regards, -- Shlomi Fish
Same bug reported for Fx 15: bug 786349.
Component: Build Config → General
Product: Firefox → Firefox Build System
Target Milestone: Firefox 17 → mozilla17
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: