The fagiani/apt 0.2.5 builder fails the build when used with the --use-latest-versions stack. This failure prevents the newer heroku/deb-packages 0.1.3 from processing the project's Debian package configuration as long as an Aptfile is present in the repo.
tools.bd808-test@tools-bastion-12:~$ toolforge build start --use-latest-versions --image-name bnc https://gitlab.wikimedia.org/toolforge-repos/containers-bnc Waiting for the logs... if the build just started this might take a minute [prepare] 2025-05-13T00:19:45.157490308Z 2025/05/13 00:19:45 Entrypoint initialization ... [step-detect] 2025-05-13T00:20:03.675228280Z target distro name/version labels not found, reading /etc/os-release file [step-detect] 2025-05-13T00:20:03.846777101Z 4 of 5 buildpacks participating [step-detect] 2025-05-13T00:20:03.846849355Z fagiani/apt 0.2.5 [step-detect] 2025-05-13T00:20:03.846961265Z heroku/deb-packages 0.1.3 [step-detect] 2025-05-13T00:20:03.847132129Z heroku/python 0.26.1 [step-detect] 2025-05-13T00:20:03.847155742Z heroku/procfile 4.2.1 ... [step-build] 2025-05-13T00:20:04.508189328Z -----> Detected Aptfile changes, flushing cache [step-build] 2025-05-13T00:20:04.528869392Z -----> Updating apt caches [step-build] 2025-05-13T00:20:04.568831321Z Reading package lists... [step-build] 2025-05-13T00:20:04.580120949Z -----> Fetching .debs for znc [step-build] 2025-05-13T00:20:04.696581994Z ERROR: failed to build: exit status 1 [step-fix-nested-procfile-launcher] 2025-05-13T00:20:05.681342457Z 2025/05/13 00:20:05 Skipping step because a previous step failed [step-fix-imagemagick-config] 2025-05-13T00:20:05.890304373Z 2025/05/13 00:20:05 Skipping step because a previous step failed [step-fix-permissions] 2025-05-13T00:20:06.400446359Z 2025/05/13 00:20:06 Skipping step because a previous step failed [step-export] 2025-05-13T00:19:51.479838567Z 2025/05/13 00:19:51 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied [step-export] 2025-05-13T00:20:06.524138441Z 2025/05/13 00:20:06 Skipping step because a previous step failed [step-results] 2025-05-13T00:20:06.668298182Z 2025/05/13 00:20:06 Skipping step because a previous step failed
Tools will need to change their configuration by migrating from Aptfile to project.toml for configuring the builder, but according to the upstream documentation there will be instructions on doing that output by the builder when an Aptfile is found in the detection phase.
Discovered at T380108#10814575