Hi,

As mentioned in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-07/msg00083.html>,
there is an "epsf.tex not found" error during "make distcheck".

The best available fix (now) is to pull epsf.tex from gnulib, and include
it in the tarball. The attached patch does this, and it fixes "make distcheck".

>From 0221e48669942d64c8948392936cb0960a7a6031 Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Mon, 14 Jul 2025 07:39:48 +0200
Subject: [PATCH] build: Fix "make dvi" and "make distcheck" error.

* gnulib: Update to newest.
* bootstrap.conf (gnulib_extra_files): Add build-aux/epsf.tex.
* build-aux/local.mk (EXTRA_DIST): Add build-aux/epsf.tex.
---
 bootstrap.conf       | 2 ++
 build-aux/.gitignore | 1 +
 build-aux/local.mk   | 1 +
 gnulib               | 2 +-
 4 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index be0d8e44..e228561c 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -82,6 +82,8 @@ XGETTEXT_OPTIONS_RUNTIME=$XGETTEXT_OPTIONS'\\\
 
 gnulib_tool_option_extras='--symlink --conditional-dependencies --makefile-name=gnulib.mk --automake-subdir --automake-subdir-tests --po-base=gnulib-po --po-domain=bison'
 
+gnulib_extra_files="$gnulib_extra_files build-aux/epsf.tex"
+
 bootstrap_post_import_hook()
 {
   # Ensure that ChangeLog exists, for automake.
diff --git a/build-aux/.gitignore b/build-aux/.gitignore
index 2e9d5037..d3a1fa96 100644
--- a/build-aux/.gitignore
+++ b/build-aux/.gitignore
@@ -7,6 +7,7 @@
 /config.sub
 /depcomp
 /do-release-commit-and-tag
+/epsf.tex
 /gendocs.sh
 /git-version-gen
 /gitlog-to-changelog
diff --git a/build-aux/local.mk b/build-aux/local.mk
index 4297e977..54e4f64e 100644
--- a/build-aux/local.mk
+++ b/build-aux/local.mk
@@ -18,6 +18,7 @@ EXTRA_DIST +=					\
   build-aux/Darwin.valgrind			\
   build-aux/Linux.valgrind			\
   build-aux/cross-options.pl			\
+  build-aux/epsf.tex				\
   build-aux/move-if-change			\
   build-aux/prev-version.txt			\
   build-aux/update-b4-copyright
diff --git a/gnulib b/gnulib
index d62a0e4c..2317e623 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit d62a0e4ccfae71ac9fb1bbff80252e4259836d3a
+Subproject commit 2317e623e7d68c6ff931d4ab8f921bd8e55aebb2
-- 
2.43.0

  • "make dvi" and &... Bug reports for Bison, the GNU parser generator

Reply via email to