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

Re: [Nbd] 2.9.21 released



On Tue, May 10, 2011 at 11:57:17AM -0400, Mike Frysinger wrote:
> On Tuesday, May 10, 2011 03:43:38 Peter Simons wrote:
> > Hi Wouter,
> > 
> >  > I just release 2.9.21. This release fixes a number of crashing bugs, and
> >  > upgrading is generally recommended.
> > 
> > the new version fails to compile for me:
> > 
> >   $ make all
> >   building all
> >   make  all-recursive
> >   make[1]: Entering directory
> > `/tmp/nix-build-wkz4sjqjbrssz4wn3p03m179x3j2f6mp-nbd-2.9.21.drv-0/nbd-2.9.
> > 21' building all-recursive
> >   Making all in man
> >   make[2]: Entering directory
> > `/tmp/nix-build-wkz4sjqjbrssz4wn3p03m179x3j2f6mp-nbd-2.9.21.drv-0/nbd-2.9.
> > 21/man' make[2]: *** No rule to make target `sh.tmpl', needed by
> > `nbd-server.1.sh.in'.  Stop. make[2]: Leaving directory
> > `/tmp/nix-build-wkz4sjqjbrssz4wn3p03m179x3j2f6mp-nbd-2.9.21.drv-0/nbd-2.9.
> > 21/man' make[1]: *** [all-recursive] Error 1
> >   make[1]: Leaving directory
> > `/tmp/nix-build-wkz4sjqjbrssz4wn3p03m179x3j2f6mp-nbd-2.9.21.drv-0/nbd-2.9.
> > 21' make: *** [all] Error 2
> > 
> > Is there maybe a file missing in the release archive?
> 
> yes.  ideally though, the man pages should be shipped with the distribution 
> rather than needing to generate them all the time ...

That's been fixed, for the most part.

The tarball now ships with the .sh.in versions of the manpages. If you
check it, you'll see that it contains the whole roff source of the
manpage, modulo some shell variables so that the manpage can point to
"sysconfdir" as it was defined at configure time. The manpages shouldn't
need to be regenerated at build time anymore, except that they do
declare a dependency on sh.tmpl; and if that file is missing, then the
Makefile can't continue.

Sorry for this mixup.

-- 
The volume of a pizza of thickness a and radius z can be described by
the following formula:

pi zz a



Reply to: