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

Skip to content

"no makefile for product" using new Docker "community" image

  • /e/ version: Pie
  • Device model: chiron & santoni
  • When it started to occur: first try with the new Docker image
  • Reproducible with the last /e/ version: n/a
  • Reproducible with LineageOS: n/a

Summary

After reading https://community.e.foundation/t/for-those-who-build-e-using-docker/14226 I gave the new image a try.

(of course cleaned up everything)

Tried with both chiron & santoni building (both Xiaomi) , always ended in error.

The problem

Builds always fail using new "community" Docker image

Steps to reproduce

Launched a build using the script below :

#!/bin/bash docker pull registry.gitlab.e.foundation/e/os/docker-lineage-cicd:community docker run
-v "/srv/src:/srv/src"
-v "/srv/zips:/srv/zips"
-v "/srv/logs:/srv/logs"
-v "/srv/ccache:/srv/ccache"
-e "BRANCH_NAME=v1-pie"
-e "DEVICE_LIST=chiron"
-e "OTA_URL="
-e "REPO=https://gitlab.e.foundation/e/os/android.git"
registry.gitlab.e.foundation/e/os/docker-lineage-cicd:community

NB : pull is working, I have to use an HTTP proxy so I can't use :5000 ;)

NB : I run this script as root, my building root is /srv, I know I could delete "-v" lines ;)

What is the current behavior?

Build fails, see logs below.

What is the expected correct behavior?

Successful build !

Technical informations

Relevant logs (adb logcat)

(same for santoni)

root@ubuntu:/srv# less logs/chiron/eelo-0.8-20200421-UNOFFICIAL-chiron.log
>> [Tue Apr 21 15:36:14 UTC 2020] Starting build for chiron, v1-pie branch
including vendor/lineage/vendorsetup.sh
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_chiron".
15:36:29 dumpvars failed with: exit status 1
Device chiron not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Failed to search GitHub
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_chiron".
15:36:46 dumpvars failed with: exit status 1
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_chiron".
15:36:47 dumpvars failed with: exit status 1

** Don't have a product spec for: 'lineage_chiron'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'
>> [Tue Apr 21 15:36:47 UTC 2020] Failed build for chiron
>> [Tue Apr 21 15:36:47 UTC 2020] Finishing build for chiron
>> [Tue Apr 21 15:36:47 UTC 2020] Cleaning source dir for device chiron
15:36:47 Entire build directory removed.

#### build completed successfully  ####

Relevant screenshots

n/a

Solutions

Workaround

none

Possible fixes

Missing makefile ?

Edited by Sylvain Manceau