Can not locate config makefile for product

Hello,

i wanted to create an image for the Samsung Galaxy S7 edge (hero2lte) myself.

So I installed Ubuntu 18.04 in Oracle VM VirtualBox, then

curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh

executed.

sudo docker run -v "/srv/e/src:/srv/src:delegated" 
-v "/srv/e/zip:/srv/zip:delegated" 
-v "/srv/e/logs:/srv/logs:delegated" 
-v "/srv/e/ccache:/srv/ccache:delegated" 
-e "BRANCH_NAME=v1-nougat" 
-e "DEVICE_LIST=hero2lte" 
-e "CUSTOM_PACKAGES='MuPDF GmsCore GsfProxy FakeStore com.google.android.maps.jar Mail BlissLauncher BlissIconPack MozillaNlpBackend OpenWeatherMapWeatherProvider AccountManager MagicEarth Camera eDrive Weather Notes Tasks NominatimNlpBackend DroidGuard OpenKeychain Message Browser BrowserWebView Apps LibreOfficeViewer'"" 
-e "SIGNATURE_SPOOFING=restricted" 
-e "OTA_URL=https://ota.ecloud.global/api" 
-e "REPO=https://gitlab.e.foundation/e/os/android.git" registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest

Then it had run for some time, so about 2 hours.

A file could not be created.
Here the log: https://abc.l1nux.org/index.php/s/FEXx4xj7akTscgF

Thanks for the help :slight_smile:

Hello, at oreo came the same error, also with the Pocophone F1 (beryllium). I reinstalled Ubuntu again and I think I found the (first?) error.

This one I had probably not made:

Install packages to allow apt to use a repository over HTTPS:
$ sudo apt-get install
apt-transport-https
ca-certificates
curl
gnupg-agent
software-properties-common

After the reinstallation I had done all this, and started another try, when I look into the log now at least the above mentioned error with makefile doesn’t come at the beginning of the long log anymore.

Let’s see how it develops now :slight_smile:

Return command, the error is still there, unfortunately.
However, there are already files in the folders /srv/e/… are available, they were always empty before…

sudo docker run -v "/srv/e/src:/srv/src:delegated" -v "/srv/e/zips:/srv/zips:delegated" -v "/srv/e/logs:/srv/logs:delegated" -v "/srv/e/ccache:/srv/ccache:delegated" -e "BRANCH_NAME=v1-nougat" -e "DEVICE_LIST=hero2lte" -e "CUSTOM_PACKAGES='MuPDF GmsCore GsfProxy FakeStore com.google.android.maps.jar Mail BlissLauncher BlissIconPack MozillaNlpBackend OpenWeatherMapWeatherProvider AccountManager MagicEarth Camera eDrive Weather Notes Tasks NominatimNlpBackend DroidGuard OpenKeychain Message Browser BrowserWebView Apps LibreOfficeViewer'" -e "SIGNATURE_SPOOFING=restricted" -e "OTA_URL=https://ota.ecloud.global/api" -e "REPO=https://gitlab.e.foundation/e/os/android.git" registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest
Set cache size limit to 50.0 GB
>> [Tue Jan 21 21:18:06 UTC 2020] Branch:  v1-nougat
>> [Tue Jan 21 21:18:06 UTC 2020] Devices: hero2lte,
>> [Tue Jan 21 21:18:08 UTC 2020] (Re)initializing branch repository
>> [Tue Jan 21 21:18:08 UTC 2020] Copying '/srv/local_manifests/*.xml' to '.repo/local_manifests/'
>> [Tue Jan 21 21:18:08 UTC 2020] Use branch cm-14.1 on github.com/TheMuppets
>> [Tue Jan 21 21:18:09 UTC 2020] Syncing branch repository
>> [Tue Jan 21 21:20:38 UTC 2020] Applying the restricted signature spoofing patch (based on android_frameworks_base-N.patch) to frameworks/base
>> [Tue Jan 21 21:20:38 UTC 2020] Setting "UNOFFICIAL" as release type
>> [Tue Jan 21 21:20:38 UTC 2020] Adding OTA URL overlay (for custom URL https://ota.ecloud.global/api)
>> [Tue Jan 21 21:20:38 UTC 2020] Adding custom packages ('MuPDF GmsCore GsfProxy FakeStore com.google.android.maps.jar Mail BlissLauncher BlissIconPack MozillaNlpBackend OpenWeatherMapWeatherProvider AccountManager MagicEarth Camera eDrive Weather Notes Tasks NominatimNlpBackend DroidGuard OpenKeychain Message Browser BrowserWebView Apps LibreOfficeViewer')
>> [Tue Jan 21 21:20:38 UTC 2020] Using OpenJDK 8
>> [Tue Jan 21 21:20:39 UTC 2020] Preparing build environment
>> [Tue Jan 21 21:20:39 UTC 2020] Starting build for hero2lte, v1-nougat branch
ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G
>> [Tue Jan 21 21:32:11 UTC 2020] Failed build for hero2lte
>> [Tue Jan 21 21:32:11 UTC 2020] Finishing build for hero2lte
>> [Tue Jan 21 21:32:11 UTC 2020] Cleaning source dir for device hero2lte

You need to install java (javac command is not found)

Hello,

Thanks for the advice. The error with the Java is now fixed, unfortunately nothing works yet.

I get error messages like this one

[Mon Jan 27 19:38:26 UTC 2020] Starting build for beryllium, v1-oreo branch
including vendor/lineage/vendorsetup.sh
build/core/product_config.mk:238: *** Can not locate config makefile for product “lineage_beryllium”. Stop.

… A new repo command ( 1.26) is available.
… You should upgrade soon:

cp /srv/src/OREO/.repo/repo/repo /usr/local/bin/repo

I changed that, so I adjusted the line, but I had done that before, so I don’t understand why the error message still comes…

Then I get errors like this one:

curl: (22) The requested URL returned error: 404
Server does not provide clone.bundle; ignoring.
From https://android.googlesource.com/platform/tools/external/fat32lib

  • [new tag] adt_23.0.3 → adt_23.0.3

or this one:

curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
From https://github.com/LineageOS/android_device_xiaomi_sdm845-common

  • [new branch] lineage-15.1 → github/lineage-15.1

This happens with the S7 edge as well as with the Pocophone F1.