Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947303 - dev-tex/latexdiff-1.3.4 - /bin/sh: line 1: latexdiff: command not found
Summary: dev-tex/latexdiff-1.3.4 - /bin/sh: line 1: latexdiff: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-01 12:22 UTC by Toralf Förster
Modified: 2025-01-02 10:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.96 KB, text/plain)
2025-01-01 12:22 UTC, Toralf Förster
Details
dev-tex:latexdiff-1.3.4:20250101-110240.log (dev-tex:latexdiff-1.3.4:20250101-110240.log,2.78 KB, text/plain)
2025-01-01 12:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,34.55 KB, text/plain)
2025-01-01 12:22 UTC, Toralf Förster
Details
environment (environment,25.20 KB, text/plain)
2025-01-01 12:22 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-01-01 12:22 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.49 KB, application/x-xz)
2025-01-01 12:22 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,106.00 KB, text/plain)
2025-01-01 12:22 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,7.76 KB, application/x-xz)
2025-01-01 12:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-01-01 12:22:28 UTC
pod2latex latexdiff; sed 's/--/-{}-/g' latexdiff.tex > tmp$.tex ; mv tmp$.tex latexdiff.tex
pod2latex latexdiff-vc; sed 's/--/-{}-/g' latexdiff-vc.tex > tmp$.tex ; mv tmp$.tex latexdiff-vc.tex
latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex
/bin/sh: line 1: latexdiff: command not found
make: *** [Makefile:97: example-diff.tex] Error 127 shuffle=2829828088
 * ERROR: dev-tex/latexdiff-1.3.4::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-tex/latexdiff-1.3.4::gentoo'`,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20241231-160503

  Block bug #351559 if this looks like a parallel build issue.
  Possible reproducer: MAKEOPTS='...  shuffle=2829828088'

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.4 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.83.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 5df9a3016a83ee3aded46b46495198f44210bd3e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jan 1 10:03:47 2025 +0000

    2025-01-01 10:03:46 UTC

emerge -qpvO =dev-tex/latexdiff-1.3.4
[ebuild  N    ] dev-tex/latexdiff-1.3.4  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2025-01-01 12:22:29 UTC
Created attachment 915640 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-01 12:22:30 UTC
Created attachment 915641 [details]
dev-tex:latexdiff-1.3.4:20250101-110240.log
Comment 3 Toralf Förster gentoo-dev 2025-01-01 12:22:31 UTC
Created attachment 915642 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-01-01 12:22:32 UTC
Created attachment 915643 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-01-01 12:22:33 UTC
Created attachment 915644 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-01 12:22:34 UTC
Created attachment 915645 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-01 12:22:35 UTC
Created attachment 915646 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2025-01-01 12:22:36 UTC
Created attachment 915647 [details]
temp.tar.xz
Comment 9 Florian Schmaus gentoo-dev 2025-01-02 10:16:04 UTC
Probably bug in upstream's Makefile surfaced by using `make --shuffle=2829828088`.
Comment 10 Florian Schmaus gentoo-dev 2025-01-02 10:23:03 UTC
(In reply to Florian Schmaus from comment #9)
> Probably bug in upstream's Makefile surfaced by using `make
> --shuffle=2829828088`.

Maybe, tinderboxes should use --shuffle=none if make is invoked with '-j1' (which is typically used to sidestep these exact issues of unsound Makefile dependencies that --shuffle is designed to find).

Another idea, maybe `make` could add --suffle=if-parallel.
Comment 11 Larry the Git Cow gentoo-dev 2025-01-02 10:44:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5734feb017a1e71f0784903d179d257e0c67979e

commit 5734feb017a1e71f0784903d179d257e0c67979e
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2025-01-02 10:41:56 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2025-01-02 10:43:59 +0000

    dev-tex/latexdiff: fix Makefile target, drop explicit src_test, and only local export
    
    Closes: https://bugs.gentoo.org/947303
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-tex/latexdiff/Manifest               |  1 +
 dev-tex/latexdiff/latexdiff-1.3.4.ebuild | 19 ++++++++++++-------
 2 files changed, 13 insertions(+), 7 deletions(-)