Project

General

Profile

Actions

Issue #2329

open

Outdated build documentation

Added by John R almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/18/2023
Due date:
% Done:

0%

Estimated time:
Type of work:
Unknown

Description

I have been struggling to build Replicant 6 as described in the current documentation because I could not find any other way to make changes to sepolicy.

I followed the instructions given here:

https://redmine.replicant.us/projects/replicant/wiki/GenericReplicant60Build

In dependencies installation:

https://redmine.replicant.us/projects/replicant/wiki/Replicant60BuildDependenciesInstallation

I see Debian 9 (stretch) - an old, discontinued OS. I used Debian 11 in a VM. The `repo sync` took many many hours - a whole 34 GiB were downloaded. Unfortunately, some of the dependency packages don't seem to exist on Debian 11: eclipse-jdt, libandroidsdk-ddmlib-java, libandroidsdk-sdklib-java and one more. Also, there is no 'llvm-defaults', there is llvm. I think there were some other differences too. The given commands also don't work literally - I had to install the packages one by one. Pasting the whole lines from the doc didn't work. Anyway, I tried my best to set up this environment.

Then, in step 'Building the toolchain':

https://redmine.replicant.us/projects/replicant/wiki/GenericReplicant60Build#Building-the-toolchain

I ran:

./vendor/replicant/build-toolchain

The process starts but fails with a linker error somewhere at 4% (something related to LLVM, IIRC). I looked all over the web for this error but couldn't find a way to fix it. The "self-contained version or repo" didn't work either. Even `make clobber`, `make clean` and `make tcclean` don't work (errors).

I hope someone can update the docs, so one can build Replicant using an up-to-date OS.

No data to display

Actions

Also available in: Atom PDF