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

Bug 719898

Summary: dev-tex/lgrind-3.67-r3 : ! LaTeX Error: Missing \begin{document}.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: TeX project <tex>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-tex:lgrind-3.67-r3:20200428-035810.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
patch fixing the reported issue

Description Toralf Förster gentoo-dev 2020-04-28 07:22:00 UTC
(./lgrind.dtx (/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200419-214828

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue 28 Apr 2020 02:43:30 AM UTC
/var/db/repos/libressl	Sat 11 Apr 2020 05:02:25 AM UTC

emerge -qpvO dev-tex/lgrind
[ebuild  N    ] dev-tex/lgrind-3.67-r3  USE="-examples"
Comment 1 Toralf Förster gentoo-dev 2020-04-28 07:22:04 UTC
Created attachment 634994 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-28 07:22:08 UTC
Created attachment 634996 [details]
dev-tex:lgrind-3.67-r3:20200428-035810.log
Comment 3 Toralf Förster gentoo-dev 2020-04-28 07:22:14 UTC
Created attachment 634998 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-28 07:22:18 UTC
Created attachment 635000 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-28 07:22:22 UTC
Created attachment 635002 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-28 07:22:25 UTC
Created attachment 635004 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-28 07:22:28 UTC
Created attachment 635006 [details]
temp.tbz2
Comment 8 Konrad Karczewski 2021-10-28 00:38:45 UTC
Created attachment 747015 [details, diff]
patch fixing the reported issue

Fix for the reported issue based on the following post.

https://tex.stackexchange.com/questions/550540/lgrind-dtx-no-longer-compiles-as-of-tex-live-2020-potential-problem-with-new-la

lgrind builds cleanly after the patch is placed in
/etc/portage/patches/dev-tex/lgrind/