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 (/usr/share/texmf-dist/tex/jadetex/pdfjadetex.ini (/usr/share/texmf-dist/tex/jadetex/jadetex.ltx ! Undefined control sequence. l.9 \NeedsTeXFormat {LaTeX2e}[1995/06/01] ? ! Emergency stop. l.9 \NeedsTeXFormat {LaTeX2e}[1995/06/01] 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'!
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
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.
Summary: missing fmt files => jadetex missing fmt files
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.rpmAssignee: bugsquad => mageia
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..
CC: (none) => jani.valimaaAssignee: mageia => qa-bugs
I had hoped that the reporter would give this a test to see if his issue was resolved, but as it hasn't happened I thought I'd see what I could do. It seemed simple enough - until I went looking for an sgml file. Our mondo package contains Rescue howto files in html and pdf, but not sgml. Looking at the Mondo Rescue web page, I see that they don't have the sgml format for download, either. I also see that the reporter is one of the Mondo developers, so that explains where he found his example, but not, of course, where I am to find mine. So I looked at Bug 1538, where I found that Claire Robinson (Mrs.B) ran into the same problem. She tried "Configuration.sgml" frpm the proftpd package, with little to no success. If Claire couldn't get anywhere I don't know how I would, but I continued anyway. I installed that, and tried the same thing she did, getting nowhere either before or after updating jadetex. The errors I saw were nothing like those in Comment 0, and indicated quite profoundly that I didn't know what I was doing. I looked elsewhere, but didn't find anything that could help. So I'm stuck. I could pass this on a clean install, but that's it. So this is going to have to wait for someone who knows something to come along before anything more happens.
CC: (none) => andrewsfarm
It's been two weeks, and no one has stepped up. So, OKing this on the basis of a clean install, and validating.
Whiteboard: (none) => MGA7-64-OKCC: (none) => sysadmin-bugsKeywords: (none) => validated_update
Keywords: (none) => advisoryCC: (none) => tmb
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0004.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED
Sorry, I missed the updates for this BR :-( FTR, the source is available at http://trac.mondorescue.org/browser/MondoRescue/branches/3.3/mondo-doc/mondorescue-howto.sgml and will be delivered as part of an upcoming mondo-doc package update. (dsl at the same place) And I can confirm that the fix is indeed working !