Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1110254 > unrolled thread

Bug#1015263: libidn2-0: Depends sgml-base

Started byThorsten Glaser <tg@mirbsd.de>
First post2022-07-18 17:20 +0200
Last post2022-08-11 02:40 +0200
Articles 6 — 4 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1015263: libidn2-0: Depends sgml-base Thorsten Glaser <tg@mirbsd.de> - 2022-07-18 17:20 +0200
    Bug#1015263: libidn2-0: Depends sgml-base Simon Josefsson <simon@josefsson.org> - 2022-07-30 23:50 +0200
      Bug#1015263: libidn2-0: Depends sgml-base Thorsten Glaser <tg@mirbsd.de> - 2022-07-31 01:10 +0200
      Bug#1015263: libidn2-0: Depends sgml-base Chris Hofstaedtler <zeha@debian.org> - 2022-07-31 02:30 +0200
        Bug#1015263: libidn2-0: Depends sgml-base Cyril Brulebois <kibi@debian.org> - 2022-08-11 01:00 +0200
          Bug#1015263: libidn2-0: Depends sgml-base Cyril Brulebois <kibi@debian.org> - 2022-08-11 02:40 +0200

#1110254 — Bug#1015263: libidn2-0: Depends sgml-base

FromThorsten Glaser <tg@mirbsd.de>
Date2022-07-18 17:20 +0200
SubjectBug#1015263: libidn2-0: Depends sgml-base
Message-ID<EKAHn-ccTq-1@gated-at.bofh.it>
Package: libidn2-0
Version: 2.3.3-1
Severity: normal
X-Debbugs-Cc: tg@mirbsd.de

A new dependency on sgml-base was introduced to the shared library
package, and it’s not documented in the changelog. This raises red
flags.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-10-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages libidn2-0 depends on:
ii  libc6          2.33-8
ii  libunistring2  1.0-1
ii  sgml-base      1.30

libidn2-0 recommends no packages.

libidn2-0 suggests no packages.

-- no debconf information

[toc] | [next] | [standalone]


#1111497

FromSimon Josefsson <simon@josefsson.org>
Date2022-07-30 23:50 +0200
Message-ID<EP2vn-eUeR-9@gated-at.bofh.it>
In reply to#1110254

[Multipart message — attachments visible in raw view] — view raw

Thorsten Glaser <tg@mirbsd.de> writes:

> A new dependency on sgml-base was introduced to the shared library
> package, and it’s not documented in the changelog. This raises red
> flags.

Hi.  Thanks for the report.  Indeed, this looks strange, and there is no
modification of the libidn2/debian/ files that would explain this.  It
seems sgml-base is added via the 'Depends: ${misc:Depends},
${shlibs:Depends}' and/or 'Pre-Depends: ${misc:Pre-Depends}' clauses, so
I guess something changed in 'dh' to cause this new behaviour.  Any
ideas?

/Simon

[toc] | [prev] | [next] | [standalone]


#1111501

FromThorsten Glaser <tg@mirbsd.de>
Date2022-07-31 01:10 +0200
Message-ID<EP3KN-eV9m-7@gated-at.bofh.it>
In reply to#1111497
Hi Simon,

>I guess something changed in 'dh' to cause this new behaviour.  Any
>ideas?

good guess but no idea, I don’t follow dh development closely. Best
to ask that team then?

bye,
//mirabilos
-- 
15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)

[toc] | [prev] | [next] | [standalone]


#1111505

FromChris Hofstaedtler <zeha@debian.org>
Date2022-07-31 02:30 +0200
Message-ID<EP50d-eVNt-1@gated-at.bofh.it>
In reply to#1111497
Control: reassign -1 debhelper
Control: found -1 13.7
Control: affects -1 libidn2-0

Hi Niels,

* Simon Josefsson <simon@josefsson.org>:
> Thorsten Glaser <tg@mirbsd.de> writes:
> 
> > A new dependency on sgml-base was introduced to the shared library
> > package, and it’s not documented in the changelog. This raises red
> > flags.
> 
> Hi.  Thanks for the report.  Indeed, this looks strange, and there is no
> modification of the libidn2/debian/ files that would explain this.  It
> seems sgml-base is added via the 'Depends: ${misc:Depends},
> ${shlibs:Depends}' and/or 'Pre-Depends: ${misc:Pre-Depends}' clauses, so
> I guess something changed in 'dh' to cause this new behaviour.  Any
> ideas?

https://salsa.debian.org/debian/debhelper/-/commit/99892be481c1dd06d9866854a2c14e6a70ae12b7
looks suspicious, as it rewrites the addsubstvar function, which is
used by dh_installcatalogs. Indeed if I remove the addsubstvar call
with remove=1 from dh_installcatalogs, sgml-base no longer shows up
in misc:Depends of libidn2-0.

Judging by the current list of `apt-cache rdepends sgml-base`, this
problem has already spread quite a bit.

I think this is a bug in debhelper, and maybe it could be "fixed"
twice:

dh_installcatalogs is not supposed to be idempotent, so the
addsubstvar to "remove the dependency" could just go away?

Then, addsubstvar could maybe also lose its "remove" argument? A
quick codesearch search didn't find me any callers using that, apart
from dh_installcatalogs.

But this is all me typing into a bug report without knowing anything
about debhelper API :-)

Best,
Chris

[toc] | [prev] | [next] | [standalone]


#1112691

FromCyril Brulebois <kibi@debian.org>
Date2022-08-11 01:00 +0200
Message-ID<ET2Qa-hleU-7@gated-at.bofh.it>
In reply to#1111505

[Multipart message — attachments visible in raw view] — view raw

Control: severity -1 serious

(Thanks again for pointing me to this bug report instantly.)

Chris Hofstaedtler <zeha@debian.org> (2022-07-31):
> https://salsa.debian.org/debian/debhelper/-/commit/99892be481c1dd06d9866854a2c14e6a70ae12b7
> looks suspicious, as it rewrites the addsubstvar function, which is
> used by dh_installcatalogs. Indeed if I remove the addsubstvar call
> with remove=1 from dh_installcatalogs, sgml-base no longer shows up
> in misc:Depends of libidn2-0.
> 
> Judging by the current list of `apt-cache rdepends sgml-base`, this
> problem has already spread quite a bit.

This breaks d-i builds, (at least) via libnl udebs picking up a
dependency on sgml-base, which doesn't exist in a udeb context.


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

[toc] | [prev] | [next] | [standalone]


#1112698

FromCyril Brulebois <kibi@debian.org>
Date2022-08-11 02:40 +0200
Message-ID<ET4oV-hmgr-1@gated-at.bofh.it>
In reply to#1112691

[Multipart message — attachments visible in raw view] — view raw

Cyril Brulebois <kibi@debian.org> (2022-08-11):
> This breaks d-i builds, (at least) via libnl udebs picking up a
> dependency on sgml-base, which doesn't exist in a udeb context.

For completeness, I've just uploaded a workaround for src:libnl3 (see
https://bugs.debian.org/1016996 for details), so that particular
instance is covered; but it'd still be nice to contain the problem
before more packages get that buggy dependency.

Thanks already!


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web