Package: util-linux
Version: 2.39.2-2
Severity: important

Hello,

As mentioned in the 2.37.2-1 changelog:

    We should figure out how to skip asciidoctor for stage1 builds, as it is
    not strictly necessary except for some edge cases.

The asciidoctor build-dep indeed brings an ample dependency loop through
ruby (!) so we want to break that loop :)

The attached patch does get the package built in stage1 without the
manpages.

Samuel

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 
'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 
'oldoldstable-proposed-updates'), (500, 'oldoldstable'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.5.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages util-linux depends on:
ii  libblkid1      2.39.2-2
ii  libc6          2.37-10
ii  libcap-ng0     0.8.3-1+b3
ii  libcrypt1      1:4.4.36-2
ii  libmount1      2.39.2-2
ii  libpam0g       1.5.2-7
ii  libselinux1    3.5-1
ii  libsmartcols1  2.39.2-2
ii  libsystemd0    254.4-1
ii  libtinfo6      6.4+20230625-2
ii  libudev1       254.4-1
ii  libuuid1       2.39.2-2
ii  zlib1g         1:1.2.13.dfsg-3

Versions of packages util-linux recommends:
ii  sensible-utils  0.0.20

Versions of packages util-linux suggests:
ii  dosfstools          4.2-1
ii  kbd                 2.5.1-1+b1
ii  util-linux-extra    2.39.2-2
ii  util-linux-locales  2.39.2-2

-- no debconf information

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
--- debian/control.original     2023-10-01 18:17:59.000000000 +0000
+++ debian/control      2023-10-01 18:18:07.000000000 +0000
@@ -1,6 +1,6 @@
 Source: util-linux
 Build-Depends:
- asciidoctor,
+ asciidoctor <!stage1>,
  bc <!stage1 !nocheck>,
  bison,
  debhelper-compat (= 13),
--- debian/rules.original       2023-10-01 21:04:31.151276173 +0200
+++ debian/rules        2023-10-01 21:04:40.451338687 +0200
@@ -123,7 +123,11 @@
        rm -rf debian/*-udeb/usr/share/doc
 
 override_dh_installman:
+ifneq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
+       :
+else
        dh_installman --language=C
+endif
 
 override_dh_missing:
        dh_missing --list-missing

Reply via email to