Re: BUG #19404: manpages are missing in 18.x source.tar.gz

From: Marcel Hofstetter <hofstetter(at)jomasoft(dot)ch>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19404: manpages are missing in 18.x source.tar.gz
Date: 2026-02-12 17:33:16
Message-ID: 7e8fb3c4-0c60-40f3-ad25-50795de3b06d@jomasoft.ch
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Am 12.02.2026 um 18:25 schrieb Tom Lane:
> PG Bug reporting form <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2026-02-12 18:03:14 Re: BUG #19404: manpages are missing in 18.x source.tar.gz
Previous Message Tom Lane 2026-02-12 17:25:25 Re: BUG #19404: manpages are missing in 18.x source.tar.gz