Error building s5neolte, v1.16-r branch | SyntaxError: invalid syntax | Don’t have a product spec for: ‘lineage_s5neolte’

Did my last build for this device in Nov and now I’m getting those Errors in the log.
Anyone seen a problem like this, any hints

repo-20240106.log

[Sat Jan 6 15:02:01 UTC 2024] Syncing branch repository

… A new version of repo (2.40) is available.
… You should upgrade soon:
cp /srv/src/R/.repo/repo/repo /usr/local/bin/repo

error: hooks is different in /srv/src/R/.repo/projects/external/libcups.git vs /srv/src/R/.repo/project-objects/LineageOS/android_external_libcu
ps.git
Retrying clone after deleting /srv/src/R/.repo/projects/external/libcups.git
error: hooks is different in /srv/src/R/.repo/projects/packages/apps/EmergencyInfo.git vs /srv/src/R/.repo/project-objects/e/os/android_packages
_apps_EmergencyInfo.git
Retrying clone after deleting /srv/src/R/.repo/projects/packages/apps/EmergencyInfo.git
Invalid clone.bundle file; ignoring.
error: hooks is different in /srv/src/R/.repo/projects/external/libvpx.git vs /srv/src/R/.repo/project-objects/LineageOS/android_external_libvpx
.git
Retrying clone after deleting /srv/src/R/.repo/projects/external/libvpx.git
error: hooks is different in /srv/src/R/.repo/projects/external/libxml2.git vs /srv/src/R/.repo/project-objects/LineageOS/android_external_libxm
l2.git
Retrying clone after deleting /srv/src/R/.repo/projects/external/libxml2.git
error: hooks is different in /srv/src/R/.repo/projects/external/webp.git vs /srv/src/R/.repo/project-objects/LineageOS/android_external_webp.git
Retrying clone after deleting /srv/src/R/.repo/projects/external/webp.git
repo sync has finished successfully.

s5neolte.log

[Sat Jan 6 14:53:10 UTC 2024] Starting build for s5neolte, v1.16-r branch
[W][2024-01-06T14:53:14+0000][21499] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and wil
l have user root-level access to files
[W][2024-01-06T14:53:14+0000][21499] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and wil
l have group root-level access to files
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
.[1mbuild/make/core/product_config.mk:155: .[31merror: .[0m.[1mCan not locate config makefile for product “lineage_s5neolte”…[0m
14:53:14 dumpvars failed with: exit status 1
File “/usr/local/bin/repo”, line 51
def print(self, *args, **kwargs):
^
> SyntaxError: invalid syntax
> Device s5neolte not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_samsung_s5neolte
Default revision: lineage-18.1
Checking branch info
Checking if device/samsung/s5neolte is fetched from android_device_samsung_s5neolte
Adding dependency: LineageOS/android_device_samsung_s5neolte → device/samsung/s5neolte
Using default branch for android_device_samsung_s5neolte
Syncing repository to retrieve project.
Repository synced!
Looking for dependencies in device/samsung/s5neolte
device/samsung/s5neolte has no additional dependencies.
Done
[W][2024-01-06T14:53:15+0000][21566] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and wil
l have user root-level access to files
[W][2024-01-06T14:53:15+0000][21566] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and wil
l have group root-level access to files
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
.[1mbuild/make/core/product_config.mk:155: .[31merror: .[0m.[1mCan not locate config makefile for product “lineage_s5neolte”…[0m
14:53:15 dumpvars failed with: exit status 1
[W][2024-01-06T14:53:16+0000][21632] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and wil
l have user root-level access to files
[W][2024-01-06T14:53:16+0000][21632] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and wil
l have group root-level access to files
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
.[1mbuild/make/core/product_config.mk:155: .[31merror: .[0m.[1mCan not locate config makefile for product “lineage_s5neolte”…[0m
14:53:16 dumpvars failed with: exit status 1

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

No such item in brunch menu. Try ‘breakfast’

[Sat Jan 6 14:53:16 UTC 2024] Failed build for s5neolte
[Sat Jan 6 14:53:16 UTC 2024] Finishing build for s5neolte
[Sat Jan 6 14:53:16 UTC 2024] Cleaning source dir for device s5neolte
14:53:16 Entire build directory removed.

build completed successfully (1 seconds)

I have seen similar problems< where the end result is this message

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

The usual fix is to completely clean the source tree and the .repo directory, and do a full, clean repo init and repo sync. (It may be possible to fix using a more selective removal, but working out which directories to remove can take more time than doing a full sync)

Tanks @petefoth

I just posted some findings over here:

Would you have a look there, please?

I did all this 3× which takes 12-15h… during this last time I took my 2nd workstation to a diffrent flat and ran it there, have the seam problem – out of the blue…

works well on my S5 neo.