Bug 25781 - jadetex missing fmt files
Summary: jadetex missing fmt files
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
Depends on:
Reported: 2019-11-29 02:52 CET by Bruno Cornec
Modified: 2019-12-01 18:46 CET (History)
1 user (show)

See Also:
Source RPM: jadetex-3.13-14.mga7.src.rpm
Status comment:


Description Bruno Cornec 2019-11-29 02:52:35 CET
Description of problem:

Trying to build a pdf from an sgml file fails (again)

Version-Release number of selected component (if applicable):

jadetex 1.13-14

How reproducible:

Every time

Steps to Reproduce:
1. urpme texlive
2. rm -rf /usr/share/texmf/web2c
3. urpmi docbook-utils-pdf
4. docbook2pdf -d mondorescue-howto.dsl'#pdf' mondorescue-howto.sgml (or whatever sgml file) fails
mktexfmt [INFO]: --- remaking pdfjadetex with pdftex
mktexfmt: running `pdftex -ini   -jobname=pdfjadetex -progname=pdfjadetex *pdfjadetex.ini' ...
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/Mageia) (INITEX)
 restricted \write18 enabled.
entering extended mode
! Undefined control sequence.
l.9 \NeedsTeXFormat
! Emergency stop.
l.9 \NeedsTeXFormat
No pages of output.
Transcript written on pdfjadetex.log.
mktexfmt [ERROR]: running `pdftex -ini   -jobname=pdfjadetex -progname=pdfjadetex *pdfjadetex.ini >&2 </dev/null' return status 1
mktexfmt [ERROR]: return error due to options --strict
mktexfmt [INFO]: Disabled formats: 6
mktexfmt [INFO]: Not selected formats: 43
mktexfmt [INFO]: Failed to build: 1 (pdftex/pdfjadetex)
mktexfmt [INFO]: Total formats: 50
mktexfmt [INFO]: exiting with status 1
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/Mageia) (preloaded format=pdfjadetex)
 restricted \write18 enabled.
I can't find the format file `pdfjadetex.fmt'!
Comment 1 Bruno Cornec 2019-11-29 02:53:25 CET
This is very similar to an issue I had back in mga1 time: https://bugs.mageia.org/show_bug.cgi?id=1538 and that someone else also had with mga4: https://bugs.mageia.org/show_bug.cgi?id=12069
Comment 2 Bruno Cornec 2019-11-29 02:55:08 CET
Note that the fix I found back in mga1 is still working:

ln -sf /usr/share/texmf-dist/web2c/etex/jadetex.fmt /usr/share/texmf-dist/web2c
ln -sf /usr/share/texmf-dist/web2c/pdfetex/pdfjadetex.fmt /usr/share/texmf-dist/web2c
docbook2pdf -d mondorescue-howto.dsl'#pdf' mondorescue-howto.sgml 
Using catalogs: /etc/sgml/sgml-docbook-4.1.cat
Using stylesheet: /users/bruno/mondo/svn/branches/3.3/mondo-doc/mondorescue-howto.dsl#pdf
Working on: /users/bruno/mondo/svn/branches/3.3/mondo-doc/mondorescue-howto.sgml

So I'd recommend adding a test in the spec file so that if the target file do not exists, we use the ln commands upper.
David Walser 2019-11-29 15:43:50 CET

Summary: missing fmt files => jadetex missing fmt files

Comment 3 Lewis Smith 2019-11-29 21:21:05 CET
Thank you Bruno for the report and a solution.

Assigning to neoclust as the registered maintainer, in the absence of any recent involvement by others.

Source RPM: jadetex => jadetex-3.13-14.mga7.src.rpm
Assignee: bugsquad => mageia

Comment 4 Jani Välimaa 2019-12-01 18:46:32 CET
Pushed updated jadetex-3.13-14.1.mga7 to core/updates_testing. Please test.

Creating .fmt files in %post was broken. It's now fixed, but I'm wondering why we even create .fmt files in %post as they're created during the build already..

Assignee: mageia => qa-bugs
CC: (none) => jani.valimaa

Note You need to log in before you can comment on or make changes to this bug.