bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnuzilla] minor problems when building Icecat 52.2.1 for Android


From: Reid Fleming
Subject: [Bug-gnuzilla] minor problems when building Icecat 52.2.1 for Android
Date: Fri, 28 Jul 2017 13:11:52 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

I have just finished building Icecat 52.2.1 for Android, and have found a
few minor problems.  Building was done on Ubuntu 17.04 x86_64.


1) You must manually create obj-android/ or "./mach build" will build for
   x86_64 instead of arm.


2) "./mach build" dies after emitting "Reticulating splines..."

  The problem is that array elements beginning with "IceCat" in the file

    mobile/android/base/android-services.mozbuild

  are not in alphabetical order.  Order them and rerun "./mach build".


3) "./mach build" fails because ANDROID_VERSION_CODE doesn't seem to be
   set or properly computed anywhere.  A solution is to modify the file

        mobile/android/base/AndroidManifest.xml.in

   and replace

        ANDROID_VERSION_CODE

   with something like "123456789" before rerunning "./mach build".


4) "./mach package" fails with the message:

    ERROR: The following duplicated files are not allowed:
        chrome/chrome/content/about.png

    A solution to this problem is removing the file

        obj-android/dist/bin/chrome/chrome/content/branding/about.png

    before rerunning "./mach package".


5) "./mach package" fails quietly with the message:

    ValueError: Don't know how to compute android:versionCode for CPU...

  A solution is to edit the file

    python/mozbuild/mozbuild/android_version_code.py

  and change line 118 from

        elif min_sdk == 15:

  to

        elif min_sdk == 15 or min_sdk == 11:

  before rerunning "./mach package".


Reid




reply via email to

[Prev in Thread] Current Thread [Next in Thread]