bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Texinfo master branch [OpenBSD]


From: Bruno Haible
Subject: Re: Texinfo master branch [OpenBSD]
Date: Mon, 10 Jun 2024 19:11:24 +0200

Patrice Dumas wrote:
> > 3) The OpenBSD build fails like this:
> > -------------------------------------------------------------------------------
> > Making all in man
> > Updating man page install-info.1
> > cd ..//install-info && make ginstall-info
> > `ginstall-info' is up to date.
> > /bin/sh 
> > /home/runner/work/ci-check/ci-check/texinfo-7.1.90-20240610/build-aux/missing
> >  help2man --name="update info/dir entries" -I ../../man/ginstall-info.h2m 
> > ..//install-info/ginstall-info -o install-info.1
> > /home/runner/work/ci-check/ci-check/texinfo-7.1.90-20240610/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:2112 'install-info.1': @name="update 
> > info/dir entries" && echo "Updating man page install-info.1"  && exe_ext...)
> > *** Error 1 in . (Makefile:1947 'all-recursive': @fail=;  if 
> > (target_option=k; case ${target_option-} in  ?) ;;  *) echo 
> > "am__make_running_w...)
> > *** Error 2 in 
> > /home/runner/work/ci-check/ci-check/texinfo-7.1.90-20240610/build 
> > (Makefile:1861 'all')
> > -------------------------------------------------------------------------------
> > 
> > help2man is meant to be needed when building from git, according to
> > README-hacking. But here, I'm building from a tarball. Why is help2man
> > needed in this situation?
> 
> It should not be needed.  I have no clear idea on what could be going on
> here.  Could you please check the timestamps of
> install-info/install-info.c and man/install-info.1
> 
> When I check on my debian testing after unpacking, it is
> $ ls -l install-info/install-info.c man/install-info.1 
> -rw-rw-r-- 1 dumas dumas 93044 juin   8 10:56 install-info/install-info.c
> -rw-rw-r-- 1 dumas dumas  4359 juin   8 11:21 man/install-info.1

The time stamps are in the same order in my generated tarball.
With GNU make, there is no problem. The bug only occurs when OpenBSD 'make'
is used, in a VPATH build. The attached patch fixes the problem (I verified).
It is based on
  
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=bf9412ab2e5878f2b64c8ba5d496d7a26ac4d374

Bruno

Attachment: 0001-man-Add-support-for-VPATH-builds-with-OpenBSD-make.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]