Closed Bug 804746 Opened 12 years ago Closed 12 years ago

Build fails on defining shared library dependencies

Categories

(Firefox for Android Graveyard :: General, defect)

19 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: sknopov, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1 Build ID: 20120615112143 Steps to reproduce: Building Fennec 19.0 for Android-x86 with following mozconfig content - ac_add_options --with-android-ndk="$HOME/Fennec/android-ndk-r7b-linux-x86" ac_add_options --with-android-sdk="$HOME/Fennec/android-sdk-linux/platforms/android-16" ac_add_options --with-android-version=14 ac_add_options --enable-application=mobile/android ac_add_options --target=i686-android-linux ac_add_options --with-ccache ac_add_options --disable-elf-hack Actual results: Build failed with message "OSError: [Errno 2] No such file or directory" and traceback pointing to line 128 in file 'src/xpcom/stub/dependentlibs.py'. The line contains - proc = subprocess.Popen([TOOLCHAIN_PREFIX + 'readelf', '-d', lib], stdout = subprocess.PIPE) Expected results: Dash is missing before 'readlf', the code should be - proc = subprocess.Popen([TOOLCHAIN_PREFIX + '-readelf', '-d', lib], stdout = subprocess.PIPE)
Build fails '--disable-elf-hack'
See Also: → 763893
Sorry, slipped. Build fails without '--disable-elf-hack', but that's another bug.
TOOLCHAIN_PREFIX is supposed to include the dash: http://mxr.mozilla.org/mozilla-central/source/build/autoconf/android.m4#109 What is the TOOLCHAIN_PREFIX value in $objdir/config/autoconf.mk ?
Sure enough it doesn't have a dash at the end. The build was configured with 'gclient runhooks && android_gyp'.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.