kpcyrd / rebuilderd

Independent verification of binary packages - reproducible builds
GNU General Public License v3.0
352 stars 23 forks source link

rebuilder-debian.sh does not work when manually run (Ubuntu) #144

Open arunkumarbhattar opened 3 months ago

arunkumarbhattar commented 3 months ago

When I try to build a package manually using debrebuild.py, the script "rebuilder-debian.sh" fails. Reason: rebuilder-debian.sh internally invokes script as (for workers) --> /debrebuild/debrebuild.py --output="${REBUILDERD_OUTDIR}" --builder=mmdebstrap --use-metasnap -- "${1}"

However, for manual invocation, it must be --> debrebuild/debrebuild.py --output="${REBUILDERD_OUTDIR}" --builder=mmdebstrap --use-metasnap -- "${1}"

I follow the instructions here --> https://github.com/kpcyrd/rebuilderd/tree/0fda367320ef18b65dcf6890c168b67a9cff65df?tab=readme-ov-file#development

kpcyrd commented 3 months ago

The Debian integration stopped working, only Arch Linux is currently supported because they have official and supported instructions on how to reproduce binary packages.

For Debian the rebuilderd worker Dockerfile is using https://github.com/fepitre/package-rebuilder which was deprecated and depends on a webservice that has since been retired.

I think debrebuild is now a tool officially available as part of the devscripts package, if anybody can get it to work patches would be very welcome.

There's also https://rebuilder-snapshot.debian.net, which might be of help.