Bug#872223: tex-common: fails to configure, fmtutils reports errors about missing files

2019-07-10 Thread Hilmar Preuße
On 15.08.17 10:30, ydir...@free.fr wrote:

> I'll spare you the full logs, the end seems to make things quite clear:
> 
> fmtutil [INFO]: /var/lib/texmf/web2c/luatex/dviluatex.fmt installed.
> fmtutil [WARNING]: inifile xmltex.ini for xmltex/pdftex not found.
> fmtutil [WARNING]: inifile jadetex.ini for jadetex/pdftex not found.
> fmtutil [WARNING]: inifile pdfjadetex.ini for pdfjadetex/pdftex not found.
> fmtutil [WARNING]: inifile pdfxmltex.ini for pdfxmltex/pdftex not found.
> fmtutil [INFO]: Disabled formats: 3
> fmtutil [INFO]: Successfully rebuilt formats: 15
> fmtutil [INFO]: Failed to build: 4 (pdftex/xmltex pdftex/jadetex 
> pdftex/pdfjadetex pdftex/pdfxmltex)
> fmtutil [INFO]: Total formats: 22
> fmtutil [INFO]: exiting with status 4
> 
> 
> This box is mostly-stretch with a number of packages from buster, so it may 
> just be some
> dependency missing after the move of those packages into texlive-htmlxml.
> 
> I have texlive-htmlxml 2017.20170808-1 from stretch here. If it is 
> what tex-common dislikes, it probably needs a Conflicts declaration?
> 
Is this bug still relevant or can we close it? Last statement from
Norbert was:

I will not care for release mixtures nor downgrades. As long as this
cannot be reproduced either in unstable or testing, without a mixture
of releases, or during an proper dist-upgrade, I will close this bug
in due time.

Hilmar
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#872223: tex-common: fails to configure, fmtutils reports errors about missing files

2017-08-15 Thread Norbert Preining
severity 872223 minor
thanks

> In this case there are some Depends/Breaks/Conflicts fields missing
> somewhere at least to handle downgrades. But I've not checked if also
> to handle upgrades?

I will not care for release mixtures nor downgrades. As long as this
cannot be reproduced either in unstable or testing, without a mixture
of releases, or during an proper dist-upgrade, I will close this bug
in due time.

Thanks

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#872223: tex-common: fails to configure, fmtutils reports errors about missing files

2017-08-15 Thread Guillem Jover
Control: reassign -1 texlive-htmlxml
Control: severity -1 serious

Hi!

On Tue, 2017-08-15 at 11:09:47 +0200, ydir...@free.fr wrote:
> Well, probably not a missing Conflicts, as downgrading tex-common to
> the stretch version does not fix the problem.  Really a problem with
> missing files that should not be missing.
> 
> In fact, despite having the package installed, there is no such .ini files
> on my system.  packages.d.o shows that texlive-htmlxml from stretch should
> have them, but for some reason they do not appear on my system:

I've not tried to reproduce this, but from the details that you give
later on it seems obvious this is a problem with the package (and the
downgrade procedure).

The files within texlive-htmlxml appear to have been moved in later
version into several other package. Those other packages contain
proper Replaces fields. I'm assuming you have just downgraded the
packages in the "wrong" (or unexpected) order. So that you downgraded
texlive-htmlxml first, dpkg honored the Replaces fields and didn't
transfer ownership from the new packages to the downgraded one. Then
you downgraded the other packages now owning those files, but not on
the old versions, and those files just disappeared.

In this case there are some Depends/Breaks/Conflicts fields missing
somewhere at least to handle downgrades. But I've not checked if also
to handle upgrades?

> What's common to those packages are that they were downgraded from buster 
> back to stretch (they had been mistakingly upgraded):
> 
> texlive-htmlxml:amd64 (2017.20170629-1, 2016.20170123-5)
> texlive-generic-recommended:amd64 (2017.20170629-1, 2016.20170123-5)

Thanks,
Guillem



Bug#872223: tex-common: fails to configure, fmtutils reports errors about missing files

2017-08-15 Thread ydirson
reassign 872223 dpkg
severity 872223 grave
thanks

Well, probably not a missing Conflicts, as downgrading tex-common to the stretch
version does not fix the problem.  Really a problem with missing files that 
should
not be missing.

In fact, despite having the package installed, there is no such .ini files on 
my system.  packages.d.o shows that texlive-htmlxml from stretch should have 
them, but for some reason they do not appear on my system:


root@home:~# apt-cache policy texlive-htmlxml
texlive-htmlxml:
  Installed: 2016.20170123-5
  Candidate: 2016.20170123-5
  Version table:
 2017.20170808-1 900
500 ftp://ftp.debian.org/debian unstable/main amd64 Packages
500 ftp://ftp.debian.org/debian unstable/main i386 Packages
900 ftp://ftp.debian.org/debian testing/main amd64 Packages
900 ftp://ftp.debian.org/debian testing/main i386 Packages
 *** 2016.20170123-5 990
990 ftp://ftp.debian.org/debian stretch/main amd64 Packages
990 ftp://ftp.debian.org/debian stretch/main i386 Packages
100 /var/lib/dpkg/status

root@home:~# grep jadetex /var/lib/dpkg/info/texlive-htmlxml.list 
/usr/share/doc/texlive-doc/otherformats/jadetex
/usr/share/doc/texlive-doc/otherformats/jadetex/base
/usr/share/texlive/texmf-dist/tex/jadetex
/usr/share/texlive/texmf-dist/tex/jadetex/base


root@home:~# cp /var/lib/dpkg/info/texlive-htmlxml.list /tmp
root@home:~# aptitude reinstall texlive-htmlxml

... and then the configuration fails with another missing file:

! LaTeX Error: File `ulem.sty' not found.

Type X to quit or  to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.


l.27 \RequirePackage
{fancyhdr}^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on pdfjadetex.log.
fmtutil [ERROR]: running `pdftex -ini   -jobname=jadetex -progname=jadetex 
*jadetex.ini 
2017-08-01 11:00:49 status half-configured tex-common:all 6.07
2017-08-01 11:00:50 status installed tex-common:all 6.07
...
2017-08-01 23:32:55 configure texlive-generic-recommended:all 2016.20170123-5 

2017-08-01 23:32:55 status unpacked texlive-generic-recommended:all 
2016.20170123-5
2017-08-01 23:32:55 status half-configured texlive-generic-recommended:all 
2016.20170123-5
2017-08-01 23:32:55 status installed texlive-generic-recommended:all 
2016.20170123-5
...
2017-08-01 23:32:58 configure texlive-htmlxml:all 2016.20170123-5 
2017-08-01 23:32:58 status unpacked texlive-htmlxml:all 2016.20170123-5
2017-08-01 23:32:58 status half-configured texlive-htmlxml:all 2016.20170123-5
2017-08-01 23:32:58 status installed texlive-htmlxml:all 2016.20170123-5
...
2017-08-01 23:35:15 trigproc tex-common:all 6.07 
2017-08-01 23:35:15 status half-configured tex-common:all 6.07
2017-08-01 23:35:49 startup packages configure
2017-08-01 23:35:49 configure tex-common:all 6.07 
2017-08-01 23:35:49 status half-configured tex-common:all 6.07

 -rw-r--r-- 1 root root 2020 Aug  1 10:42 
/var/lib/dpkg/info/texlive-generic-recommended.list

Older logs show:

2017-07-14 22:33:44 configure texlive-generic-recommended:all 2017.20170629-1 

2017-07-14 22:33:44 status unpacked texlive-generic-recommended:all 
2017.20170629-1
2017-07-14 22:33:44 status half-configured texlive-generic-recommended:all 
2017.20170629-1
2017-07-14 22:33:44 status installed texlive-generic-recommended:all 
2017.20170629-1
...
2017-07-14 23:26:00 configure texlive-htmlxml:all 2017.20170629-1 
2017-07-14 23:26:00 status unpacked texlive-htmlxml:all 2017.20170629-1
2017-07-14 23:26:00 status half-configured texlive-htmlxml:all 2017.20170629-1
2017-07-14 23:26:00 status installed texlive-htmlxml:all 2017.20170629-1
...
2017-07-14 23:26:41 trigproc tex-common:all 6.07 
2017-07-14 23:26:41 status half-configured tex-common:all 6.07
2017-07-14 23:27:04 status installed tex-common:all 6.07


I know that we do not really support package downgrading, but still, that stuff 
really looks like a bad dpkg bug, right ?

A shame we do not git-version all .list files to track down when something goes 
wrong like that...



Bug#872223: tex-common: fails to configure, fmtutils reports errors about missing files

2017-08-15 Thread ydirson
Package: tex-common
Version: 6.07

I'll spare you the full logs, the end seems to make things quite clear:

fmtutil [INFO]: /var/lib/texmf/web2c/luatex/dviluatex.fmt installed.
fmtutil [WARNING]: inifile xmltex.ini for xmltex/pdftex not found.
fmtutil [WARNING]: inifile jadetex.ini for jadetex/pdftex not found.
fmtutil [WARNING]: inifile pdfjadetex.ini for pdfjadetex/pdftex not found.
fmtutil [WARNING]: inifile pdfxmltex.ini for pdfxmltex/pdftex not found.
fmtutil [INFO]: Disabled formats: 3
fmtutil [INFO]: Successfully rebuilt formats: 15
fmtutil [INFO]: Failed to build: 4 (pdftex/xmltex pdftex/jadetex 
pdftex/pdfjadetex pdftex/pdfxmltex)
fmtutil [INFO]: Total formats: 22
fmtutil [INFO]: exiting with status 4


This box is mostly-stretch with a number of packages from buster, so it may 
just be some
dependency missing after the move of those packages into texlive-htmlxml.

I have texlive-htmlxml 2017.20170808-1 from stretch here. If it is what 
tex-common dislikes,
it probably needs a Conflicts declaration ?