Hi,
I finally managed to build Replicant 6.0 images with Trisquel 9 (etiona). Before that we weren't able to build Replicant 6.0 on an FSDG distribution, so it was really problematic, especially because Replicant was known everywhere as being FSDG compliant and that but wasn't fixed for so long. I've also sent an additional patch along the way to fix the script that I use to generate the patches URL and git commands of this email. +--------------+ | How to test: | +--------------+ To test this patch set you need: - A GNU/Linux distribution. For people that already run Debian stretch, it would be very useful to know if it can still build Replicant 6.0 or not as we need to update the wiki if it's not. As for other distributions than Debian stretch and Trisquel 9 (etiona) it might be interesting to know if they are working but it's less important. - If you use Trisquel 9, you will need a fix for proguard. I've made packages and also provided a /usr/bin/proguard replacement for the people that may not want to install packages not comming from Trisquel repositories. It however needs to be in /usr/bin/proguard as its path is hardcoded in the Android build system. The packages and /usr/bin/proguard are available here: https://ftp.osuosl.org/pub/replicant/build-tools/proguard/26-08-2021/ The README in that directory has extra information on how to install the packages, how they were built, etc. - You also need the patches from the previous serie that fixes the toolchain build for Trisquel 9 (etiona). For convenience I've also pushed two manifest branches in https://git.replicant.us/contrib/GNUtoo/manifest/ to help testing and reviewing the patches: - replicant-6.0-trisquel-9/replicant-repos: it contains the manifest changes that will be sent as part of this patchset. As-is it doens't work for building Replicant as I didn't push the patch yet to Replicant. - replicant-6.0-trisquel-9/gnutoo-repos: This branch can be used to test the changes. Note that this manifest branch contains different changes from the patches being sent as it was adjusted to use the code pushed on contrib/GNUtoo/replicant instead of replicant/, as the later hasn't been pushed yet. The resulting Replicant tree should also contain the patches from the previous patch set which fixes the toolchain for Trisquel 9 (etiona). +---------+ | Status: | +---------+ While I got a successful build: - I've only tested the build for the Galaxy SIII (GT-I9300). I didn't test yet building images for the Galaxy Nexus (GT-I9250) or the Galaxy Tab 2 (GT-P3100, GT-P3110, GT-P5100, GT-P5110), so the patches for the Galaxy nexus and Galaxy Tab 2 kernels are untested. - I didn't try to install the images that have been produced by the build I did. - I didn't test building with Debian Stretch at all. +---------+ | Patches | +---------+ In addition to the patches that will follow in a response to this mail, I've added below the URLs of the patches in a web interfaces: https://git.replicant.us/contrib/GNUtoo/external_proguard/commit/?id=e847c858f6d38548ad7576b217e5b2c2fe088763 https://git.replicant.us/contrib/GNUtoo/system_core/commit/?id=9919e82b97c0a9b61c1b2e74586a9e1bfe9a3356 https://git.replicant.us/contrib/GNUtoo/art/commit/?id=429ed45db1f05d88490d652d936b19fa49df7e03 https://git.replicant.us/contrib/GNUtoo/kernel_samsung_smdk4412/commit/?id=070ecea43a4ac34eaa638973e789b4c672188b04 https://git.replicant.us/contrib/GNUtoo/kernel_samsung_tuna/commit/?id=f2615ab5380d449ed5c4fa677a4929043d41b97b https://git.replicant.us/contrib/GNUtoo/kernel_samsung_espresso10/commit/?id=b692cd81a6eb6b2b16c02b55bfceacc39fb693ba https://git.replicant.us/contrib/GNUtoo/external_libcxx/commit/?id=a4595ac97b6edab4224bb570fca0c27b6575ee3c https://git.replicant.us/contrib/GNUtoo/vendor_replicant-scripts/commit/?id=8ab98b6b2acf01645d1e995c3ac536a730acaebb https://git.replicant.us/contrib/GNUtoo/manifest/commit/?id=80b648c15156a2056f113a42ad527d90c37d0593 https://git.replicant.us/contrib/GNUtoo/manifest/commit/?id=2c8bcf35d00d6a0f5f0d23316e4ba57a8af9a8fa https://git.replicant.us/contrib/GNUtoo/manifest/commit/?id=031209ca639748b26b29ac390ef25a7a25b5e8b8 The patches can also be reviewed with the following commands: For the manifest repository: git clone https://git.replicant.us/GNUtoo/manifest cd manifest git show 80b648c15156a2056f113a42ad527d90c37d0593 git show 2c8bcf35d00d6a0f5f0d23316e4ba57a8af9a8fa git show 031209ca639748b26b29ac390ef25a7a25b5e8b8 For the external/proguard repository: git clone https://git.replicant.us/GNUtoo/external_proguard cd external_proguard git show e847c858f6d38548ad7576b217e5b2c2fe088763 For the system/core repository: git clone https://git.replicant.us/GNUtoo/system_core cd system_core git show 9919e82b97c0a9b61c1b2e74586a9e1bfe9a3356 For the art repository: git clone https://git.replicant.us/GNUtoo/art cd art git show 429ed45db1f05d88490d652d936b19fa49df7e03 For the kernel/samsung/smdk4412 repository: git clone https://git.replicant.us/GNUtoo/kernel_samsung_smdk4412 cd kernel_samsung_smdk4412 git show 070ecea43a4ac34eaa638973e789b4c672188b04 For the kernel/samsung/tuna repository: git clone https://git.replicant.us/GNUtoo/kernel_samsung_tuna cd kernel_samsung_tuna git show f2615ab5380d449ed5c4fa677a4929043d41b97b For the kernel/samsung/espresso10 repository: git clone https://git.replicant.us/GNUtoo/kernel_samsung_espresso10 cd kernel_samsung_espresso10 git show b692cd81a6eb6b2b16c02b55bfceacc39fb693ba For the external/libcxx repository: git clone https://git.replicant.us/GNUtoo/external_libcxx cd external_libcxx git show a4595ac97b6edab4224bb570fca0c27b6575ee3c And for the vendor/replicant-scripts repository: git clone https://git.replicant.us/GNUtoo/vendor_replicant-scripts cd vendor_replicant-scripts git show 8ab98b6b2acf01645d1e995c3ac536a730acaebb Denis. _______________________________________________ Replicant mailing list Replicant@osuosl.org https://lists.osuosl.org/mailman/listinfo/replicant