[Debian-pan-maintainers] Fwd: deb2container: docker et apptainer
PICCA Frederic-Emmanuel
frederic-emmanuel.picca at synchrotron-soleil.fr
Wed Jan 24 17:07:10 GMT 2024
You forgot the bin/xxx in the install file or try to remove it.
since there is only one binary package, the install target does the right thinks.
If not just add
/usr/bin/deb2docker
/usr/bin/deb2apptainer
Tell me if it works
Fred
----- Le 24 Jan 24, à 17:52, Emmanuel Farhi emmanuel.farhi at synchrotron-soleil.fr a écrit :
> Here follows the full log for deb2container debuild:
>
> deb2container$ make deb
> debuild -b
> dpkg-buildpackage -us -uc -ui -b
> dpkg-buildpackage: info: paquet source deb2container
> dpkg-buildpackage: info: version source 1.0
> dpkg-buildpackage: info: distribution source unstable
> dpkg-buildpackage: info: source changé par Emmanuel Farhi [
> mailto:emmanuel.farhi at synchrotron-soleil.fr |
> <emmanuel.farhi at synchrotron-soleil.fr> ]
> dpkg-source --before-build .
> dpkg-buildpackage: info: architecture hôte amd64
> fakeroot debian/rules clean
> dh clean
> dh_auto_clean
> dh_clean
> debian/rules build
> dh build
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure
> dh_auto_build
> make -j8 "INSTALL=install --strip-program=true"
> make[1] : on entre dans le répertoire «
> /home/experiences/grades/farhie/dev/deb2container »
> # nothing to do. Please use: sudo make install
> make[1] : on quitte le répertoire «
> /home/experiences/grades/farhie/dev/deb2container »
> dh_auto_test
> create-stamp debian/debhelper-build-stamp
> fakeroot debian/rules binary
> dh binary
> dh_testroot
> dh_prep
> dh_auto_install --destdir=debian/deb2container/
> make -j8 install
> DESTDIR=/home/experiences/grades/farhie/dev/deb2container/debian/deb2container
> AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
> make[1] : on entre dans le répertoire «
> /home/experiences/grades/farhie/dev/deb2container »
> install -D bin/deb2docker
> /home/experiences/grades/farhie/dev/deb2container/debian/deb2container/usr/bin/deb2docker
> install -D bin/deb2apptainer
> /home/experiences/grades/farhie/dev/deb2container/debian/deb2container/usr/bin/deb2apptainer
> make[1] : on quitte le répertoire «
> /home/experiences/grades/farhie/dev/deb2container »
> dh_install
> dh_install: warning: Cannot find (any matches for) "deb2docker" (tried in .,
> debian/tmp)
>
> dh_install: warning: deb2container missing files: deb2docker
> dh_install: warning: Cannot find (any matches for) "deb2apptainer" (tried in .,
> debian/tmp)
>
> dh_install: warning: deb2container missing files: deb2apptainer
> dh_install: error: missing files, aborting
> make: *** [debian/rules:7 : binary] Erreur 25
> dpkg-buildpackage: erreur: le sous-processus fakeroot debian/rules binary a
> retourné l’état de sortie 2
> debuild: fatal error at line 1182:
> dpkg-buildpackage -us -uc -ui -b failed
> make: *** [Makefile:18 : deb] Erreur 29
>
>
>
>
>
>
>
> On 24/01/2024 17:51, PICCA Frederic-Emmanuel wrote:
>
>
>
> I push the email to Debian pan
>
> Can you copy past the full build log ?
> ---
>
> BTW, I've pushed a temptative 'debian' directory into the new
> deb2container at:
>
> * [ https://salsa.debian.org/science-team/deb2container |
> https://salsa.debian.org/science-team/deb2container ] but when I manually built
> it, it brings an error:
>
> make deb
> debuild -b
> dpkg-buildpackage -us -uc -ui -b
> dpkg-buildpackage: info: paquet source deb2container
> ...
> install -D bin/deb2docker
> /home/experiences/grades/farhie/dev/deb2container/debian/deb2container/usr/bin/deb2docker
> install -D bin/deb2apptainer
> /home/experiences/grades/farhie/dev/deb2container/debian/deb2container/usr/bin/deb2apptainer
> make[1] : on quitte le répertoire
> « /home/experiences/grades/farhie/dev/deb2container »
> dh_install
> dh_install: warning: Cannot find (any matches for) "deb2docker"
> (tried in ., debian/tmp)
>
> dh_install: warning: deb2container missing files: deb2docker
> dh_install: warning: Cannot find (any matches for) "deb2apptainer"
> (tried in ., debian/tmp)
>
> dh_install: warning: deb2container missing files: deb2apptainer
> dh_install: error: missing files, aborting
>
> I need a Debian expert.
>
> In fact there is no compilation, we just need to install the packages,
> perhaps the debian/rules recipe is wrong ?
>
> Emmanuel.
> --
> signature
> / ___| __/\_ | | | ____|_ _| | FARHI Emmanuel
> \___ \ \ | | | _| | || | Div Exp/Data Reduction and Analysis Team
> ___) /_ _ | |___| |___ | || |___ Tel : [
> callto:+33%20%281%29%2069%2035%2096%2004 | +33 (1) 69
> 35 96 04 ]
>|____/ \/ |_____|_____|___|_____| Saint-Aubin BP 48 - 91192 GIF/YVETTE CEDEX
> SYNCHROTRON [ http://www.synchrotron-soleil.fr/ |
> http://www.synchrotron-soleil.fr ]
>
> --
> Debian-pan-maintainers mailing list
> Debian-pan-maintainers at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-pan-maintainers
More information about the Debian-pan-maintainers
mailing list