Re: install: wdatwd.4.gz: No such file or directory

From: UEMURA Tetsuya <t_uemura_at_macome.co.jp>
Date: Mon, 16 Jan 2023 12:59:54 UTC
> I do have the manual page for wdatwd(4), and /usr/obj/usr/src/amd64.amd64/share/man/man4/ exists but wdatwd.4.gz (required during an update to the jail) does not exist at this path.
> 
> % man 4 wdatwd
> % file /usr/obj/usr/src/amd64.amd64/share/man/man4/wdatwd.4.gz
> /usr/obj/usr/src/amd64.amd64/share/man/man4/wdatwd.4.gz: cannot open `/usr/obj/usr/src/amd64.amd64/share/man/man4/wdatwd.4.gz' (No such file or directory)

Umm. Try re-make man4 files by doing something like:

cd /usr/src/share/man/man4
make clean depend all

and find /usr/obj -name wdatwd.4.gz to see whether there is wdatwd.4.gz
or not.

-- 
Tetsuya Uemura <t_uemura@macome.co.jp>

Posted on Mon, 16 Jan 2023 12:37:28 +0000
by author Graham Perrin <grahamperrin@freebsd.org>
> On 14/01/2023 09:20, Graham Perrin wrote:
> >
> > After each update to the OS, I routinely update the main jail that I
> > use for poudriere:
> >
> > poudriere jail -u -j main
> >
> >
> > Today's update of the jail failed, as outlined below.
> >
> > install: wdatwd.4.gz: No such file or directory
> >
> >
> > It seems that the 'copperbowl' part of the 'Jail fs:' line for the
> > jail was outdated many months ago (my boot pool was previously named
> > copperbowl, named august when I migrated data to a replacement disk).
> > I was unaware of this discrepancy before today. If we ignore the
> > discrepancy, for a moment:
> >
> > * what else might explain the error that involves wdatwd.4.gz?
> >
> > I use ccache, if that's relevant.
> >
> >
> > …
> > install -N /usr/src/etc  -o root -g wheel -m 444 wbwd.4.gz
> >  /usr/local/poudriere/jails/main/usr/share/man/man4/
> > install -N /usr/src/etc  -o root -g wheel -m 444 wdatwd.4.gz
> >  /usr/local/poudriere/jails/main/usr/share/man/man4/
> > install: wdatwd.4.gz: No such file or directory
> > *** [maninstall] Error code 71
> >
> > make[6]: stopped in /usr/src/share/man/man4
> >
> > make[2]: stopped in /usr/src
> >      153.25 real        74.45 user        28.83 sys
> > *** [installworld] Error code 2
> >
> > make[1]: stopped in /usr/src
> > 1 error
> >
> > make[1]: stopped in /usr/src
> >
> > make: stopped in /usr/src
> > [00:02:37] Error:Failed to 'make installworld'
> > root@mowa219-gjp4-8570p-freebsd:~ # uname -aKU
> > FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT
> > #29 main-n260055-8bce8d28abe6: Sat Jan 14 02:48:34 GMT 2023
> > grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENE
> > RIC-NODEBUG amd64 1400078 1400078
> > root@mowa219-gjp4-8570p-freebsd:~ # poudriere jail -i -j main
> > Jail name:         main
> > Jail version:      14.0-CURRENT 1400077
> > Jail arch:         amd64
> > Jail method:       src=/usr/src
> > Jail mount:        /usr/local/poudriere/jails/main
> > Jail fs:           copperbowl/poudriere/jails/main
> > Jail updated:      2022-12-27 17:49:04
> > Jail pkgbase:      disabled
> > root@mowa219-gjp4-8570p-freebsd:~ # zfs list | grep copperbowl
> > root@mowa219-gjp4-8570p-freebsd:~ # zfs list | grep poudriere
> > august/poudriere                          5.91G   167G    96K
> >  /usr/local/poudriere
> > august/poudriere/data                     1.54G   167G    96K
> >  /usr/local/poudriere/data
> > august/poudriere/data/.m                    88K   167G    88K
> >  /usr/local/poudriere/data/.m
> > august/poudriere/data/cache               3.22M   167G  3.22M
> >  /usr/local/poudriere/data/cache
> > august/poudriere/data/logs                 191M   167G   191M
> >  /usr/local/poudriere/data/logs
> > august/poudriere/data/packages            1.35G   167G  1.35G
> >  /usr/local/poudriere/data/packages
> > august/poudriere/data/wrkdirs               88K   167G    88K
> >  /usr/local/poudriere/data/wrkdirs
> > august/poudriere/jails                    3.28G   167G    88K
> >  /usr/local/poudriere/jails
> > august/poudriere/jails/13r                1.38G   167G  1.38G
> >  /usr/local/poudriere/jails/13r
> > august/poudriere/jails/main               1.90G   167G  1.49G
> >  /usr/local/poudriere/jails/main
> > august/poudriere/ports                    1.09G   167G    88K
> >  /usr/local/poudriere/ports
> > august/poudriere/ports/default            1.08G   167G  1.08G
> >  /usr/local/poudriere/ports/default
> > august/poudriere/ports/portoverlay        4.96M   167G  4.96M
> >  /usr/local/poudriere/ports/portoverlay
> > root@mowa219-gjp4-8570p-freebsd:~ # poudriere jail -i -j 13r
> > Jail name:         13r
> > Jail version:      13.0-RELEASE-p7
> > Jail arch:         amd64
> > Jail method:       http
> > Jail mount:        /usr/local/poudriere/jails/13r
> > Jail fs:           copperbowl/poudriere/jails/example
> > Jail updated:      2022-02-26 08:57:44
> > Jail pkgbase:      disabled
> > root@mowa219-gjp4-8570p-freebsd:~ #
> >
> I rebuilt world and kernel.
> 
> I do have the manual page for wdatwd(4), and /usr/obj/usr/src/amd64.amd64/share/man/man4/ exists but wdatwd.4.gz (required during an update to the jail) does not exist at this path.
> 
> % man 4 wdatwd
> % file /usr/obj/usr/src/amd64.amd64/share/man/man4/wdatwd.4.gz
> /usr/obj/usr/src/amd64.amd64/share/man/man4/wdatwd.4.gz: cannot open `/usr/obj/usr/src/amd64.amd64/share/man/man4/wdatwd.4.gz' (No such file or directory)
> %
> 
> 
> Any ideas?
>