Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

New build instructions don't work

(Link to the topic in the forum)

Hi everybody,

the new instructions don't work.

What changed ?

It's not "v1-pie" anymore but "v0.9.0-pie" and it's not "https://gitlab.e.foundation/e/os/android.git" but "https://gitlab.e.foundation/e/os/releases.git".

What happens ?

Here is what I get when I try to manually build (without docker) thanks to the harvey's script (but the error comes also when I don't use the script but copy/paste the commands instead, and even the docker method fails, probably for the same reason that I don't know yet) :

anonyme@AnonymeBuildSystem:~/android/e$ ./161.sh
Ok, lets start building
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--       0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--       0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--       0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     100 39134  100 39134    0     0   7631      0  0:00:05  0:00:05 --:--:--  9411
which Android version 1=nougat; 2=oreo; 3=pie ?1
which device? peach
repo sync y/n? y
repo sync geht los
nougat
Downloading Repo source from https://gerrit.googlesource.com/git-repo
remote: Finding sources: 100% (11/11)
remote: Total 11 (delta 4), reused 11 (delta 4)
Unpacking objects: 100% (11/11), 16.38 KiB | 1.26 MiB/s, done.
repo: Updating release signing keys to keyset ver 2.3
Downloading manifest from https://gitlab.e.foundation/e/os/releases.git
Invalid clone.bundle file; ignoring.
fatal: couldn't find remote ref refs/heads/v0.9.0-nougat
manifests:
fatal: couldn't find remote ref refs/heads/v0.9.0-nougat

fatal: couldn't find remote ref refs/heads/v0.9.0-nougat                                                                              
manifests:                                                                                                                            
fatal: couldn't find remote ref refs/heads/v0.9.0-nougat                                                                              
                                                                                                                                      
fatal: cannot obtain manifest https://gitlab.e.foundation/e/os/releases.git                                                           
Traceback (most recent call last):                                                                                                    
  File "/home/anonyme/android/e/.repo/repo/main.py", line 628, in <module>
    _Main(sys.argv[1:])
  File "/home/anonyme/android/e/.repo/repo/main.py", line 602, in _Main
    result = run()
  File "/home/anonyme/android/e/.repo/repo/main.py", line 595, in <lambda>
    run = lambda: repo._Run(name, gopts, argv) or 0
  File "/home/anonyme/android/e/.repo/repo/main.py", line 264, in _Run
    result = cmd.Execute(copts, cargs)
  File "/home/anonyme/android/e/.repo/repo/subcmds/sync.py", line 874, in Execute
    self._UpdateManifestProject(opt, mp, manifest_name)
  File "/home/anonyme/android/e/.repo/repo/subcmds/sync.py", line 781, in _UpdateManifestProject
    success = mp.Sync_NetworkHalf(quiet=opt.quiet, verbose=opt.verbose,
  File "/home/anonyme/android/e/.repo/repo/project.py", line 1517, in Sync_NetworkHalf
    and self._ApplyCloneBundle(initial=is_new, quiet=quiet, verbose=verbose)):
  File "/home/anonyme/android/e/.repo/repo/project.py", line 2592, in _ApplyCloneBundle
    bundle_url = remote.url + '/clone.bundle'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
./161.sh: line 61: build/envsetup.sh: No such file or directory
./161.sh: line 63: breakfast: command not found
./161.sh: line 64: croot: command not found
./161.sh: line 65: brunch: command not found
anonyme@AnonymeBuildSystem:~/android/e$ 

I'm on a fresh install of Lubuntu 20.04 (also fails with Lubuntu 18.04) in dual-boot (so no virtual machine and no Windows Subsystem for Linux). I did't try the "old" instructions because I like to have a very clean environment and I want to be sure the "old" instructions can be used before doing anything.

FYI, I want to generate an update for LineageOS supported devices, in this case, "peach" on nougat. I removed the roomservice part in the script because I don't have a roomservice since it's a LineageOS supported devices.

Edited by Anonyme