Groups | Search | Server Info | Login | Register


Groups > linux.debian.ports.s390 > #1870

Re: Please test sysconfig

From Andreas Tille <tille@debian.org>
Newsgroups linux.debian.ports.s390
Subject Re: Please test sysconfig
Date 2026-03-26 20:50 +0100
Message-ID <MCYSl-avf6-3@gated-at.bofh.it> (permalink)
References (3 earlier) <MCwW6-acjy-27@gated-at.bofh.it> <MCwW6-acjy-29@gated-at.bofh.it> <MCwW6-acjy-31@gated-at.bofh.it> <MCwW6-acjy-19@gated-at.bofh.it> <MCYSl-avf6-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Pranav,

I've `git am`-ed your patch.  If you confirm that the debdiff between
the current package and your build is fine I would suggest to Bastian to
upload the package.

Thank you for your work
   Andreas.

Am Thu, Mar 26, 2026 at 05:51:24PM +0000 schrieb Pranav P:
> Hi Andreas,
> 
> In that case we will face the following error because of an unhandled target:
> 
> dh install-sysconfig-hardware-common
> dh: error: Unknown sequence install-sysconfig-hardware-common (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
> make[2]: *** [debian/rules:9: install-sysconfig-hardware-common] Error 25
> make[2]: Leaving directory '/home/pranav/salsa/PR/sysconfig'
> make[1]: *** [debian/rules:12: override_dh_auto_install] Error 2
> make[1]: Leaving directory '/home/pranav/salsa/PR/sysconfig'
> make: *** [debian/rules:9: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
> debuild: fatal error at line 1185:
> dpkg-buildpackage -us -uc -ui -i -I failed
> gbp:error: 'debuild -i -I -us -us -ui' failed: it exited with 29
> 
> 
> I have made some changes to facilitate for this and also have tested building from this.
> Can you please verify and push the same if everything is correct.
> 
> Please feel free to make suggestions.
> 
> Thanks,
> Pranav

> From 553c9bdb88ad26a6ad996d69669d0a3dc39e5da1 Mon Sep 17 00:00:00 2001
> From: Pranav P <pranav.p7@ibm.com>
> Date: Wed, 25 Mar 2026 16:47:19 +0530
> Subject: [PATCH 1/1] convert d/rules to short dh
> 
> ---
>  debian/changelog |  3 +--
>  debian/rules     | 37 ++++---------------------------------
>  2 files changed, 5 insertions(+), 35 deletions(-)
> 
> diff --git a/debian/changelog b/debian/changelog
> index 981a2bd..7c8f4ca 100644
> --- a/debian/changelog
> +++ b/debian/changelog
> @@ -8,8 +8,7 @@ sysconfig (0.0.16) UNRELEASED; urgency=medium
>    * Standards-Version: 4.7.3 (Removed Priority field)
>  
>    [ Pranav P ]
> -  * d/rules: Replace deprecated dh_clean -k with dh_prep
> -  * d/rules: Use -a instead of deprecated -s flag for debhelper commands
> +  * Convert d/rules to short dh
>  
>   -- Andreas Tille <tille@debian.org>  Tue, 24 Mar 2026 11:19:58 +0100
>  
> diff --git a/debian/rules b/debian/rules
> index c31f2cd..13ba306 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -5,20 +5,10 @@
>  
>  DEB_HOST_ARCH  ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
>  
> -build:
> -build-arch:
> -build-indep:
> -
> -clean:
> -	dh_testdir
> -	dh_clean 
> -
> -install:
> -	dh_testdir
> -	dh_testroot
> -	dh_prep
> -	dh_installdirs
> +%:
> +	dh $@
>  
> +override_dh_auto_install:
>  	$(MAKE) -f debian/rules install-sysconfig-hardware-arch-$(DEB_HOST_ARCH)
>  
>  install-sysconfig-hardware-%: export DH_OPTIONS = -psysconfig-hardware
> @@ -39,23 +29,4 @@ install-sysconfig-hardware-common:
>  	dh_installman man/hw*.8
>  	dh_install sbin/hw* usr/sbin
>  
> -binary-indep: install
> -
> -binary-arch: install
> -	dh_testdir
> -	dh_testroot
> -	dh_installchangelogs -a
> -	dh_installdocs -a
> -	dh_installexamples -a
> -	dh_installman -a
> -	dh_link -a
> -	dh_strip -a
> -	dh_compress -a
> -	dh_fixperms -a
> -	dh_installdeb -a
> -	dh_gencontrol -a
> -	dh_md5sums -a
> -	dh_builddeb -a
> -
> -binary: binary-arch binary-indep
> -.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install
> +override_dh_auto_configure override_dh_auto_build override_dh_auto_test:
> -- 
> 2.51.0
> 


-- 
https://fam-tille.de

Back to linux.debian.ports.s390 | Previous | NextPrevious in thread | Find similar


Thread

Re: Please test sysconfig Andreas Tille <tille@debian.org> - 2026-03-25 15:00 +0100
  Re: Please test sysconfig Andreas Tille <tille@debian.org> - 2026-03-26 20:50 +0100

csiph-web