Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 728344

Summary: dev-texlive/texlive-latexextra-2020 import package version 6.0 - ! Wrong LaTeX Error: File not found.
Product: Gentoo Linux Reporter: Pierre-Yves Bonnetain-Nesterenko <expert-judiciaire>
Component: Current packagesAssignee: Alexis Ballier <aballier>
Status: RESOLVED OBSOLETE    
Severity: normal CC: tex
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://tex.stackexchange.com/questions/536234/import-package-shows-wrong-error-message-for-missing-file
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Example tex file

Description Pierre-Yves Bonnetain-Nesterenko 2020-06-15 09:12:10 UTC
The current latexextra-2020 ebuild installs version 6.0 of the import package. This version and the next has some bugs that make them almost unusable with texlive-2020.

Reproducible: Always

Steps to Reproduce:
1. See MWE attached. 
2. Compile it with pdflatex (from texlive-2020)

Actual Results:  
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020 Gentoo Linux) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./wrong.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-02-25>
(/usr/share/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2020/01/24 v3.29 KOMA-Script document class (report)
(/usr/share/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/share/texmf-dist/tex/latex/koma-script/scrbase.sty
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-dist/tex/latex/koma-script/scrlfile.sty)))
(/usr/share/texmf-dist/tex/latex/koma-script/tocbasic.sty)
(/usr/share/texmf-dist/tex/latex/koma-script/scrsize11pt.clo)
(/usr/share/texmf-dist/tex/latex/koma-script/typearea.sty))
(/usr/share/texmf-dist/tex/latex/import/import.sty) (././variables.tex)

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

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

Enter file name: 


Expected Results:  
Message should indicate file "missing" is not found.

Import package should be upgraded to version 6.2.
Comment 1 Pierre-Yves Bonnetain-Nesterenko 2020-06-15 09:14:40 UTC
Created attachment 644818 [details]
Example tex file
Comment 2 Pierre-Yves Bonnetain-Nesterenko 2020-06-17 08:33:21 UTC
I corrected the (previously changed) title of the bug. The error is *not* « 'import.sty' not found », even if it is the error in the given example. 

The error is « when some imported file is not found, the name of the *last* properly found and imported file is displayed instead in the error message ».
Comment 3 Pierre-Yves Bonnetain-Nesterenko 2021-12-19 08:24:39 UTC
Everythink ok with latexextra-2021