Le 2025-06-23 15:22, Jochen Sprickerhof a écrit :
* picca <[email protected]> [2025-06-23 14:53]:
do you have dedicated script in order to rebuild a bunch of packages ?
No, I juts did it on the command line for now. I think it would be nice
to hook it into ben or something, though.
for now I just want to modify dht in order to use the unshare backend
and gives the possibility to point dht p/ directory to somewhere else.
I just need to backports a bunch of packages for different
distributions. so the plan is p-unstable p-bookworm-backports etc...
the problem is then to prepare a directory with all the subpackages to
rebuild
cd p-<distribution>
apt source <package> ...
then
dht make-all --unshare --input p-<distribution>
Yes, though this is copy to /tmp which is a tmpfs in trixie, so should
be fast?
I do not want to have mutliple copy in tmpfs for each job....
Then I would rather use http:
python3 -m http.server 5678 --bind 127.0.0.1
sbuild --extra-repository="deb [trusted=yes] http://127.0.0.1:5678 ./"
the current script prepare a local repository for each call to sbuild.
so I need to deal with multiple port...
the ignoreArchiveDepends is a bit more criptic also for me :). I am
investigating for now...
I think it removes the local build packages from the Packages file.
Maybe you could bump the version number of the rebuild package instead
so apt will prefer it.
I need to look at this later...,
for now my issue is the --no-apt-update command line which make the
build fail with something like this
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sbuild-build-depends-main-dummy : Depends: debhelper-compat (= 13) but
it is not installable
Depends: dh-python but it is not
installable
Depends: dh-sequence-gir but it is
not installable
Depends: dh-sequence-python3 but it
is not installable
Depends: dh-sequence-sphinxdoc but it
is not installable
Depends: asciidoc but it is not
installable
Depends: bash-completion but it is
not installable
Depends: cmake but it is not
installable
Depends: gobject-introspection but it
is not installable
Depends: gtk-doc-tools but it is not
installable
Depends: libgirepository1.0-dev but
it is not installable
Depends: libglib2.0-dev but it is not
installable
Depends: libjson-glib-dev but it is
not installable
Depends: libzmq3-dev but it is not
installable
Depends: ocl-icd-opencl-dev but it is
not installable
Depends: python3-dev but it is not
installable
Depends: python3-sphinx but it is not
installable
Depends: python3-sphinx-rtd-theme but
it is not installable
Depends: python3-sphinxcontrib.bibtex
but it is not installable
E: Unable to correct problems, you have held broken packages.
E: The following information from --solver 3.0 may provide additional
context:
Unable to satisfy dependencies. Reached two conflicting decisions:
1. sbuild-build-depends-main-dummy:amd64=0.invalid.0 is selected for
install
2. sbuild-build-depends-main-dummy:amd64 Depends debhelper-compat (=
13)
but none of the choices are installable:
[no choices]
apt-get failed.
E: Package installation failed
Not removing build depends: cloned chroot in use
It is like no apt repository is configured when using --no-apt-update
Fred