Latest TeX Live update breaks PDF build with pdfx package

Stephan Lukasczyk stephan at dante.de
Tue Jun 4 11:30:13 CEST 2024


Hi all,

I am pretty sure this is the wrong mailing list, but since many core
developers are here and I do not really know where to put this, let me
report a bug I encountered after pulling the latest updates for TeX Live
2024 (state 3 June 2024):

Compiling the following MWE with lualatex:
> \documentclass{article}
> \usepackage{colorprofiles}
> \usepackage[a-2b,mathxmp]{pdfx}
> %\usepackage{hyperref}
> \begin{document}
> Hello world.
> \end{document}

yields:

>$ lualatex test                                                                                                                                                                                  
>This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)
> restricted system commands enabled.
>(./test.tex
>LaTeX2e <2024-06-01>
>L3 programming layer <2024-05-08>
> (/usr/local/texlive/2024/texmf-dist/tex/latex/base/article.cls
>Document Class: article 2024/02/08 v1.4n Standard LaTeX document class
>(/usr/local/texlive/2024/texmf-dist/tex/latex/base/size10.clo))
>(/usr/local/texlive/2024/texmf-dist/tex/generic/colorprofiles/colorprofiles.sty
>
>(/usr/local/texlive/2024/texmf-dist/tex/generic/colorprofiles/colorprofiles.tex
>)) (/usr/local/texlive/2024/texmf-dist/tex/latex/pdfx/pdfx.sty
>(/usr/local/texlive/2024/texmf-dist/tex/generic/iftex/iftex.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/iftex/ifpdf.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/iftex/ifxetex.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/everyshi/everyshi.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/iftex/ifluatex.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/luatex85/luatex85.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
>(/usr/local/texlive/2024/texmf-dist/tex/generic/infwarerr/infwarerr.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)){/usr/loca
>l/texlive/2024/texmf-var/fonts/map/pdftex/updmap/pdftex.map}
>warning  (map file): entry for 'dummy-space' already exists, duplicates ignored
>
>(/usr/local/texlive/2024/texmf-dist/tex/latex/pdfx/l8u-penc.def
>(/usr/local/texlive/2024/texmf-dist/tex/latex/pdfx/l8ugrk-penc.def)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/pdfx/l8umath-penc.def))
>(/usr/local/texlive/2024/texmf-dist/tex/latex/xcolor/xcolor.sty
>(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-cfg/color.cfg)
>
>Package xcolor Warning: Package option `hyperref' is obsolete and ignored on in
>put line 266.
>
>(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics-def/luatex.def)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/mathcolor.ltx))
>(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/hyperref.sty
>(/usr/local/texlive/2024/texmf-dist/tex/latex/graphics/keyval.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/hycolor/hycolor.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/nameref.sty
>(/usr/local/texlive/2024/texmf-dist/tex/latex/refcount/refcount.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/gettitlestring/gettitlestring.s
>ty (/usr/local/texlive/2024/texmf-dist/tex/latex/kvoptions/kvoptions.sty)))
>(/usr/local/texlive/2024/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/stringenc/stringenc.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/pd1enc.def)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/intcalc/intcalc.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/puenc.def
>(/usr/local/texlive/2024/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def
>(/usr/local/texlive/2024/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def))
>) (/usr/local/texlive/2024/texmf-dist/tex/latex/url/url.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/bitset/bitset.sty
>(/usr/local/texlive/2024/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
>(/usr/local/texlive/2024/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
>(/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/hluatex.def
>(/usr/local/texlive/2024/texmf-dist/tex/latex/base/atveryend-ltx.sty)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
>
>(/usr/local/texlive/2024/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty
>))) (/usr/local/texlive/2024/texmf-dist/tex/latex/hyperref/psdextra.def)
>(/usr/local/texlive/2024/texmf-dist/tex/generic/stringenc/se-ascii-print.def)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/pdfx/AdobeColorProfiles.tex)
>** pdfx: No file test.xmpdata . Metadata will be incomplete!
><<sRGB.icc>>
>(/usr/local/texlive/2024/texmf-dist/tex/generic/pdftex/glyphtounicode.tex)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/pdfx/glyphtounicode-cmr.tex)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/pdfx/glyphtounicode-ntx.tex)
>(/usr/local/texlive/2024/texmf-dist/tex/latex/base/ifthen.sty)
>
>! LaTeX Error: Loading a class or package in a group.
>
>See the LaTeX manual or LaTeX Companion for explanation.
>Type  H <return>  for immediate help.
> ...
>
>l.2746  \RequirePackage
>                     {xmpincl}
>?

If I comment out the loading of `pdfx` and instead load `hyperref` everything 
works as expected.  It also used to work until yesterday, thus I believe
this might be related to probably a kernel update of LaTeX?

Any help is appreciated.

Best,
   Stephan

-- 
Stephan Lukasczyk
GPG-Key: 0x06E03C26B90F403D


More information about the tex-live mailing list.