Hi, 

Thanks for your quick answer, 
The option Pnocheck do not work but "DEB_BUILD_OPTIONS=nocheck 
dpkg-buildpackage" works.

But now, dpkg-buildpackage fails:
--------------------------
dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does 
not match CC system type x86_64-linux-gnu, try setting a correct CC environment 
variable
 dpkg-source --before-build .
 debian/rules clean
 debian/rules binary
dh_install: Cannot find (any matches for) "lib/udev/rules.d/70-uaccess.rules" 
(tried in debian/install/deb, debian/tmp)

dh_install: systemd missing files: lib/udev/rules.d/70-uaccess.rules
dh_install: Cannot find (any matches for) "usr/lib/modules-load.d/" (tried in 
debian/install/deb, debian/tmp)

dh_install: systemd missing files: usr/lib/modules-load.d/
dh_install: Cannot find (any matches for) "lib/*/security/pam_systemd.so" 
(tried in debian/install/deb, debian/tmp)

dh_install: libpam-systemd missing files: lib/*/security/pam_systemd.so
dh_install: Cannot find (any matches for) "usr/share/man/man8/pam_systemd.8" 
(tried in debian/install/deb, debian/tmp)

dh_install: libpam-systemd missing files: usr/share/man/man8/pam_systemd.8
dh_install: missing files, aborting
make[1]: *** [debian/rules:230: override_dh_install] Error 25
make: *** [debian/rules:305: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

---------------------------------
Have you an idea about the cause?

Regards,

Eric-Olivier

-----Message d'origine-----
De : Michael Biebl <bi...@debian.org> 
Envoyé : vendredi 7 avril 2023 21:10
À : eric-olivier.per...@sysnav.fr; 
pkg-systemd-maintain...@lists.alioth.debian.org
Objet : Re: Generate systemd deb package after patching systemd source code

Am 07.04.23 um 12:42 schrieb eric-olivier.per...@sysnav.fr:
> Hi,
> I'm trying to generate systemd deb package with the command 
> "dpkg-buildpackage -us -uc -b --host-arch armhf -d"
> How to disable tests ?

systemd respects the "nocheck" build profile [1] Use dpkg-buildpackage ... 
-Pnocheck

Regards,
Michael

[1] https://wiki.debian.org/BuildProfileSpec



Reply via email to