Bug#870827: docbook-utils: PDF backend requires texlive-formats-extra

2017-08-07 Thread Norbert Preining
Hi Adrian,

> jadetex is a transitional package depending on texlive-htmlxml.

That is fine.

> texlive-htmlxml is a transitional package that does not depend
> on texlive-formats-extra.

Huu?
$ apt-cache show texlive-htmlxml
...
Depends: texlive-formats-extra (>= 2017.20170628), ...


> texlive-plain-generic has Provides: jadetex

That is the bug, both xmltex and jadetex happened to be
treated in the same way as tex4ht, but are in different
packages.

> - texlive-htmlxml should depend on texlive-formats-extra, and

It does.

> - the "Provides: jadetex" should move from texlive-htmlxml
>   to texlive-formats-extra

Done in git, uploading soon

> And src:jadetex should be removed, no (build) dependency is versioned
> so the existing Provides already covers that (after the bug above has 
> been fixed).

Ok.

Norbert

--
PREINING Norbert   http://www.preining.info
Accelia Inc. +JAIST +TeX Live +Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



Bug#870827: docbook-utils: PDF backend requires texlive-formats-extra

2017-08-07 Thread Adrian Bunk
Control: reassign -1 src:texlive-extra 2017.20170801-1
Control: retitle -1 jadetex Provides/dependencies on the wrong packages
Control: affects -1 docbook-utils

On Sat, Aug 05, 2017 at 08:46:16AM -0700, Daniel Schepler wrote:
> Package: docbook-utils
> Version: 0.6.14-3.3
> Severity: serious
> 
> In my bootstrapping pbuilder chroot, I'm getting numerous build
> failures like this:
> 
> docbook2pdf shared-mime-info-spec.xml && \
> docbook2html -o shared-mime-info-spec.html shared-mime-info-spec.xml
> Using catalogs: /etc/sgml/catalog
> Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print
> Working on: /build/shared-mime-info-1.8/shared-mime-info-spec.xml
> /usr/share/docbook-utils/backends/pdf: 15:
> /usr/share/docbook-utils/backends/pdf: pdfjadetex: not found
> debian/rules:14: recipe for target 'build/shared-mime-info' failed
> make: *** [build/shared-mime-info] Error 9
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> 
> It seems that in a chroot with all dependencies available, apt by
> default happens to satisfy the dependencies of docbook-utils in a way
> which includes texlive-formats-extra.  However, it's also possible to
> satisfy the dependencies without installing texlive-formats-extra, in
> which case the PDF backend will fail to run.
> 
> (I haven't tracked down exactly what the dependencies are that bring
> in texlive-formats-extra by default but optionally.  But you should be
> able to reproduce it for yourself: pbuilder login and then in the
> chroot run "apt install docbook-utils texlive-formats-extra-" .)

This is actually a bug in the TeX Live packages:

jadetex is a transitional package depending on texlive-htmlxml.

texlive-htmlxml is a transitional package that does not depend
on texlive-formats-extra.

texlive-plain-generic has Provides: jadetex

jadetex is actually in texlive-formats-extra.

Fix for the bug:
- texlive-htmlxml should depend on texlive-formats-extra, and
- the "Provides: jadetex" should move from texlive-htmlxml
  to texlive-formats-extra

And src:jadetex should be removed, no (build) dependency is versioned
so the existing Provides already covers that (after the bug above has 
been fixed).

> Daniel Schepler

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#870827: docbook-utils: PDF backend requires texlive-formats-extra

2017-08-05 Thread Daniel Schepler
Package: docbook-utils
Version: 0.6.14-3.3
Severity: serious

In my bootstrapping pbuilder chroot, I'm getting numerous build
failures like this:

docbook2pdf shared-mime-info-spec.xml && \
docbook2html -o shared-mime-info-spec.html shared-mime-info-spec.xml
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print
Working on: /build/shared-mime-info-1.8/shared-mime-info-spec.xml
/usr/share/docbook-utils/backends/pdf: 15:
/usr/share/docbook-utils/backends/pdf: pdfjadetex: not found
debian/rules:14: recipe for target 'build/shared-mime-info' failed
make: *** [build/shared-mime-info] Error 9
dpkg-buildpackage: error: debian/rules build gave error exit status 2

It seems that in a chroot with all dependencies available, apt by
default happens to satisfy the dependencies of docbook-utils in a way
which includes texlive-formats-extra.  However, it's also possible to
satisfy the dependencies without installing texlive-formats-extra, in
which case the PDF backend will fail to run.

(I haven't tracked down exactly what the dependencies are that bring
in texlive-formats-extra by default but optionally.  But you should be
able to reproduce it for yourself: pbuilder login and then in the
chroot run "apt install docbook-utils texlive-formats-extra-" .)
-- 
Daniel Schepler