GNU bug report logs -
#78112
GNU make now needed for VPATH builds on OpenBSD
Previous Next
To reply to this bug, email your comments to 78112 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-diffutils <at> gnu.org
:
bug#78112
; Package
diffutils
.
(Mon, 28 Apr 2025 11:42:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Bruno Haible <bruno <at> clisp.org>
:
New bug report received and forwarded. Copy sent to
bug-diffutils <at> gnu.org
.
(Mon, 28 Apr 2025 11:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The commit 33ee12e5878c950dfd5ee230039abc514d936d03
build: use system help2man
surely was intended to have an effect only on the users
who build from git or who have made modifications after
unpacking the diffutils tarball.
But it also has an effect on OpenBSD users who take the diffutils tarball,
unpack it, and build it through a VPATH build. Previously, this worked
with plain 'make'. Now, it fails with 'make' and needs GNU make ('gmake').
Here is the error message:
$ make
...
Making all in tests
Making all in doc
Making all in man
GEN cmp.1
/home/bruno/diffutils-2025-04-28/build-aux/missing[81]: help2man: not found
WARNING: 'help2man' is missing on your system.
You should only need it if you modified a dependency of a man page.
You may want to install the GNU Help2man package:
<https://www.gnu.org/software/help2man/>
*** Error 127 in man (Makefile:2580 'cmp.1': @echo " GEN " cmp.1;base=`expr cmp.1 : '\(.*\).1'` && test -x ../src/$base && (ec...)
*** Error 1 in /home/bruno/diffutils-2025-04-28/bb (Makefile:2457 'all-recursive': @fail=; if (target_option=k; case ${target_option-} in ...)
Two workarounds exist:
- Use 'gmake' instead of 'make'.
- Build in the source directory.
Maybe this is worth documenting in the INSTALL file? (Oh it's a hassle
that this file is autogenerated. Maybe create a file 'INSTALL.openbsd'?)
Bruno
This bug report was last modified 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.