Re: BUG #19404: manpages are missing in 18.x source.tar.gz - Mailing list pgsql-bugs

From Marcel Hofstetter
Subject Re: BUG #19404: manpages are missing in 18.x source.tar.gz
Date
Msg-id 7e8fb3c4-0c60-40f3-ad25-50795de3b06d@jomasoft.ch
Whole thread Raw
In response to Re: BUG #19404: manpages are missing in 18.x source.tar.gz  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #19404: manpages are missing in 18.x source.tar.gz
List pgsql-bugs
Am 12.02.2026 um 18:25 schrieb Tom Lane:
> PG Bug reporting form <noreply@postgresql.org> writes:
>> -bash-5.1$ ls -l postgresql-18.2/doc/src/sgml/man1/.
>> postgresql-18.2/doc/src/sgml/man1/.: No such file or directory
> 
> This is an intentional change in our distribution process in v17
> and later: the tarballs are now just images of our git repo,
> without any derived files.
> 
>> the files are there in 17.x
> 
> Not unless you built them locally.  They are certainly not in
> my copy of that tarball:
> 
> $ tar tvfj postgresql-17.8.tar.bz2 | grep /man
> -rw-rw-r-- root/root     23923 2026-02-09 16:51 postgresql-17.8/doc/src/sgml/manage-ag.sgml
> 

gmake man fails with v18

-bash-5.1$ gmake man
gmake -C doc man
gmake[1]: Entering directory 
'/export/home/marcel/source/postgresql-18.2/doc'
gmake -C src man
gmake[2]: Entering directory 
'/export/home/marcel/source/postgresql-18.2/doc/src'
gmake -C sgml man
gmake[3]: Entering directory 
'/export/home/marcel/source/postgresql-18.2/doc/src/sgml'
for file in man1/*.1; do sed -e '/^\.TH/s/"7"/"5sql"/' -e 
's/\\fR(7)/\\fR(5)/g' -e '1s/^\.so man7/.so 
man5/g;1s/^\(\.so.*\)\.7$/\1.5sql/g' $file >fixedman/man1/`basename 
$file` || exit; done
Can't open man1/*.1
gmake[3]: *** [Makefile:250: fixed-man-stamp] Error 1
gmake[3]: Leaving directory 
'/export/home/marcel/source/postgresql-18.2/doc/src/sgml'
gmake[2]: *** [Makefile:8: man] Error 2
gmake[2]: Leaving directory 
'/export/home/marcel/source/postgresql-18.2/doc/src'
gmake[1]: *** [Makefile:16: man] Error 2
gmake[1]: Leaving directory '/export/home/marcel/source/postgresql-18.2/doc'
gmake: *** [GNUmakefile:27: man] Error 2


but works well with v17





pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #19404: manpages are missing in 18.x source.tar.gz
Next
From: Tom Lane
Date:
Subject: Re: BUG #19404: manpages are missing in 18.x source.tar.gz