Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
Hi, On Mon, 27 Aug 2018, Sean Whitton wrote: > On Mon 27 Aug 2018 at 12:58PM +0200, Raphael Hertzog wrote: > > Or you could have read dh_linktree's manual page and see that you can > > use "replace" instead of "deduplicate" to get a weak dependency. > > I did read this -- unfortunately, though, it would not help make > debian-policy installable on stretch, which was the original bug > reporter's problem. Ok, sorry for having commented too hastily. (But this is the kind of thing which makes me believe that we go too far in the avoid duplicating code, so much energy spent for almost no gain) Cheers, -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS: https://www.freexian.com/services/debian-lts.html Learn to master Debian: https://debian-handbook.info/get/ signature.asc Description: PGP signature
Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
Hello Raphael, On Mon 27 Aug 2018 at 12:58PM +0200, Raphael Hertzog wrote: > Or you could have read dh_linktree's manual page and see that you can > use "replace" instead of "deduplicate" to get a weak dependency. I did read this -- unfortunately, though, it would not help make debian-policy installable on stretch, which was the original bug reporter's problem. -- Sean Whitton signature.asc Description: PGP signature
Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
Hi, On Sat, 25 Aug 2018, Sean Whitton wrote: > Urgh. > > I am reluctantly (yet gratefully!) working on implementing Ian's > substvar hack. Or you could have read dh_linktree's manual page and see that you can use "replace" instead of "deduplicate" to get a weak dependency. $ git diff diff --git a/debian/debian-policy-ja.linktrees b/debian/debian-policy-ja.linktrees index bb8ef9b..74aef4c 100644 --- a/debian/debian-policy-ja.linktrees +++ b/debian/debian-policy-ja.linktrees @@ -1 +1 @@ -deduplicate /usr/share/javascript/sphinxdoc/1.0/ usr/share/doc/debian-policy/ja/policy.html/_static/ +replace /usr/share/javascript/sphinxdoc/1.0/ usr/share/doc/debian-policy/ja/policy.html/_static/ diff --git a/debian/debian-policy.linktrees b/debian/debian-policy.linktrees index 88fadfd..ea76805 100644 --- a/debian/debian-policy.linktrees +++ b/debian/debian-policy.linktrees @@ -1 +1 @@ -deduplicate /usr/share/javascript/sphinxdoc/1.0/ usr/share/doc/debian-policy/policy.html/_static/ +replace /usr/share/javascript/sphinxdoc/1.0/ usr/share/doc/debian-policy/policy.html/_static/ Cheers, -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS: https://www.freexian.com/services/debian-lts.html Learn to master Debian: https://debian-handbook.info/get/ signature.asc Description: PGP signature
Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
control: severity -1 serious control: retitle -1 Demote libjs-sphinxdoc hard dependency to a recommendation control: unblock -1 by 658238 control: tag -1 -help Hello, On Sat 25 Aug 2018 at 06:46PM +0200, Sven Joachim wrote: > FWIW, this dependency is ATM also not satisfied in unstable because > sphinx 1.7.7 was uploaded there today. Since there are no binNMUs for > Arch:all packages, debian-policy apparently needs a sourceful upload for > every new sphinx upstream version. And those appear rather frequently. Urgh. I am reluctantly (yet gratefully!) working on implementing Ian's substvar hack. -- Sean Whitton signature.asc Description: PGP signature
Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
On 2018-08-14 11:59 -0700, Vagrant Cascadian wrote: > Package: debian-policy > Version: 4.2.0.1 > Severity: wishlist > > Thanks for maintaining debian-policy; it is one of the things that > really distinguishes Debian in an excellent way! > > > For many years, I've installed debian-policy from sid on a stable system > to have it readily available, but recent versions of debian-policy have > a versioned dependency that is unsatisfyable in stable: > > Depends: libjs-sphinxdoc (<< 1.7.6.0~), libjs-sphinxdoc (>= 1.7.6) FWIW, this dependency is ATM also not satisfied in unstable because sphinx 1.7.7 was uploaded there today. Since there are no binNMUs for Arch:all packages, debian-policy apparently needs a sourceful upload for every new sphinx upstream version. And those appear rather frequently. Cheers, Sven
Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
Sean Whitton writes ("Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch"): > On Fri 17 Aug 2018 at 03:44PM +0100, Ian Jackson wrote: > > This is a bug, surely. It should be in ${sphix:Depends} or something. > > Then you could put it in Recommends:. > > It would be ${linktree:Depends}, to be clear. I'm not sure the > debhelper maintainers want to add dh_ tool-specific substvars, though. Oh, I see. dh_linktree should take an argument saying what dependency strictness should be used, or maybe there should be a general dh option for substvar names. However, in the absence of that, you could do this: mv debian/substvars debian/substvars.save dh_linktree cat debian/substvars.save >debian/substvars.new sed -p 's/^misc:/linktree:/' debian/substvars >>debian/substvars.new mv debian/substvars.new debian/substvars or something. Giving you ${linktree:Depends} to put in Recommends. Ian. -- Ian JacksonThese opinions are my own. If I emailed you from an address @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.
Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
Hello, On Fri 17 Aug 2018 at 03:44PM +0100, Ian Jackson wrote: > This is a bug, surely. It should be in ${sphix:Depends} or something. > Then you could put it in Recommends:. It would be ${linktree:Depends}, to be clear. I'm not sure the debhelper maintainers want to add dh_ tool-specific substvars, though. > Failing that, some appropriate seddery on debian/substvars or some > extra options to dh_something may be able to work around that bug. I would apply a patch if it were not too exciting... -- Sean Whitton signature.asc Description: PGP signature
Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
Sean Whitton writes ("Re: Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch"): > On Fri 17 Aug 2018 at 11:37AM +0100, Ian Jackson wrote: > > What happens, on the system where debian-policy.deb is installed, if > > this Depends is violated ? Surely much of the content in is still > > accessible ? If so, Vagrant's request to downgrade the dependency is > > correct. > > The dependency is automatically generated and inserted into > ${misc:Depends}. This cannot be overridden. This is a bug, surely. It should be in ${sphix:Depends} or something. Then you could put it in Recommends:. Failing that, some appropriate seddery on debian/substvars or some extra options to dh_something may be able to work around that bug. Ian. -- Ian JacksonThese opinions are my own. If I emailed you from an address @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.
Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
Hello, On Fri 17 Aug 2018 at 11:37AM +0100, Ian Jackson wrote: > What happens, on the system where debian-policy.deb is installed, if > this Depends is violated ? Surely much of the content in is still > accessible ? If so, Vagrant's request to downgrade the dependency is > correct. The dependency is automatically generated and inserted into ${misc:Depends}. This cannot be overridden. And when a package uses debhelper, you should always have ${misc:Depends}. -- Sean Whitton signature.asc Description: PGP signature
Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
Sean Whitton writes ("Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch"): > control: retitle -1 Switch back to dh_sphinxdoc from dh_linktree > control: block -1 by 658238 ... > On Tue 14 Aug 2018 at 11:59AM -0700, Vagrant Cascadian wrote: ... > > If it is plausible to downgrade to a Recommends, or split out the > > libjs-sphinxdoc documentation into a separate package, or the text-only > > documentation into a separate package, or some other resolution, that > > would be much appreciated! > > The problem is caused by the switch to dh_linktree from dh_sphinxdoc. > > Unfortunately, that is necessary now that we have translations, which > dh_sphinxdoc is not yet able to handle. What happens, on the system where debian-policy.deb is installed, if this Depends is violated ? Surely much of the content in is still accessible ? If so, Vagrant's request to downgrade the dependency is correct. Ian. -- Ian JacksonThese opinions are my own. If I emailed you from an address @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.
Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
control: retitle -1 Switch back to dh_sphinxdoc from dh_linktree control: block -1 by 658238 Hello Vagrant, On Tue 14 Aug 2018 at 11:59AM -0700, Vagrant Cascadian wrote: > For many years, I've installed debian-policy from sid on a stable system > to have it readily available, but recent versions of debian-policy have > a versioned dependency that is unsatisfyable in stable: > > Depends: libjs-sphinxdoc (<< 1.7.6.0~), libjs-sphinxdoc (>= 1.7.6) Yes, this is annoying. It affects me too. > I'm not sure exactly what necessitates a dependency on these (html > documentation?). The main files of interest to me are policy.txt.gz and > upgrading-checklist.txt.gz, and find it hard to believe those require > libjs-sphinxdoc to read. I imagine several of the other formats (.epub, > .pdf) also shouldn't require libjs-sphinxdoc. > > If it is plausible to downgrade to a Recommends, or split out the > libjs-sphinxdoc documentation into a separate package, or the text-only > documentation into a separate package, or some other resolution, that > would be much appreciated! The problem is caused by the switch to dh_linktree from dh_sphinxdoc. Unfortunately, that is necessary now that we have translations, which dh_sphinxdoc is not yet able to handle. -- Sean Whitton signature.asc Description: PGP signature
Bug#906139: debian-policy: versioned depends on libjs-sphinxdoc unsatisfiable on stretch
Package: debian-policy Version: 4.2.0.1 Severity: wishlist Thanks for maintaining debian-policy; it is one of the things that really distinguishes Debian in an excellent way! For many years, I've installed debian-policy from sid on a stable system to have it readily available, but recent versions of debian-policy have a versioned dependency that is unsatisfyable in stable: Depends: libjs-sphinxdoc (<< 1.7.6.0~), libjs-sphinxdoc (>= 1.7.6) I'm not sure exactly what necessitates a dependency on these (html documentation?). The main files of interest to me are policy.txt.gz and upgrading-checklist.txt.gz, and find it hard to believe those require libjs-sphinxdoc to read. I imagine several of the other formats (.epub, .pdf) also shouldn't require libjs-sphinxdoc. If it is plausible to downgrade to a Recommends, or split out the libjs-sphinxdoc documentation into a separate package, or the text-only documentation into a separate package, or some other resolution, that would be much appreciated! live well, vagrant -- System Information: Debian Release: 9.5 APT prefers stable APT policy: (500, 'stable'), (120, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: armhf, arm64 Kernel: Linux 4.9.0-7-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages debian-policy depends on: ii libjs-sphinxdoc 1.4.9-2 debian-policy recommends no packages. Versions of packages debian-policy suggests: pn doc-base -- no debconf information signature.asc Description: PGP signature