svn commit: r264402 - in head/share: examples/etc man/man5 mk

Warner Losh imp at bsdimp.com
Sun Apr 13 23:23:27 UTC 2014


Thanks Mark.

I’ve recreated both the problem, and the solution. I’ve reverted the offending change until I have time to make sure my fix actually works in a variety of situations.

The tree should be good to go now.

Warner

On Apr 13, 2014, at 5:10 PM, Mark Johnston <markj at freebsd.org> wrote:

> On Sun, Apr 13, 2014 at 4:57 PM, Warner Losh <imp at bsdimp.com> wrote:
>> 
>> Are you sure it is this exact commit?
> 
> It seems to be. I tried a
> 
> # make SRCCONF=/dev/null MAKECONF=/dev/null buildworld installworld
> 
> with and without this commit reverted, and installworld completed
> successfully when the change was reverted.
> 
>> 
>> Do you have anything in your /etc/make.conf or /etc/src.conf file?
> 
> Yes, but clearing them doesn't fix the problem.
> 
>> 
>> Can you send me your full install world output?
> 
> Attached.
> 
>> 
>> I’ll see if I can reproduce it myself.
>> 
>> Warner
>> 
>> On Apr 13, 2014, at 1:32 PM, Mark Johnston <markj at freebsd.org> wrote:
>> 
>>> On Sun, Apr 13, 2014 at 1:22 AM, Warner Losh <imp at freebsd.org> wrote:
>>>> Author: imp
>>>> Date: Sun Apr 13 05:22:26 2014
>>>> New Revision: 264402
>>>> URL: http://svnweb.freebsd.org/changeset/base/264402
>>>> 
>>>> Log:
>>>> Convert NO_MANCOMPRESS to normal convention.
>>> 
>>> This breaks installworld for me with
>>> 
>>> ...
>>> install -o root  -g wheel -m 444  zh_CN.GB2312.cat
>>> /usr/share/nls/zh_CN.GB2312/libc.cat
>>> install -o root  -g wheel -m 444  zh_CN.UTF-8.cat
>>> /usr/share/nls/zh_CN.UTF-8/libc.cat
>>> install -o root -g wheel -m 444 btree.3.gz  /usr/share/man/man3
>>> install: btree.3.gz: No such file or directory
>>> *** Error code 71
>>> ...
>>> 
>>>> 
>>>> Modified:
>>>> head/share/examples/etc/make.conf
>>>> head/share/man/man5/make.conf.5
>>>> head/share/mk/bsd.man.mk
>>>> head/share/mk/bsd.own.mk
>>>> 
>>>> [snip]
>>>> 
>>>> Modified: head/share/mk/bsd.man.mk
>>>> ==============================================================================
>>>> --- head/share/mk/bsd.man.mk    Sun Apr 13 05:22:22 2014        (r264401)
>>>> +++ head/share/mk/bsd.man.mk    Sun Apr 13 05:22:26 2014        (r264402)
>>>> @@ -30,9 +30,6 @@
>>>> #              second, and there may be multiple pairs. The files
>>>> #              are hard-linked.
>>>> #
>>>> -# NO_MANCOMPRESS       If you do not want unformatted manual pages to be
>>>> -#              compressed when they are installed. [not set]
>>>> -#
>>>> # NO_MLINKS    If you do not want install manual page links. [not set]
>>>> #
>>>> # MANFILTER    command to pipe the raw man page through before compressing
>>>> @@ -77,10 +74,10 @@ MAN+=       ${MAN${__sect}}
>>>> _manpages:
>>>> all-man: _manpages
>>>> 
>>>> -.if defined(NO_MANCOMPRESS)
>>>> +.if ${MK_MANCOMPRESS} != "no"
>>>> 
>>>> # Make special arrangements to filter to a temporary file at build time
>>>> -# for NO_MANCOMPRESS.
>>>> +# for MK_MANCOMPRESS == no.
>>>> .if defined(MANFILTER)
>>>> FILTEXTENSION=         .filt
>>>> .else
>>>> @@ -162,7 +159,7 @@ maninstall: _maninstall
>>>> _maninstall:
>>>> .if defined(MAN) && !empty(MAN)
>>>> _maninstall: ${MAN}
>>>> -.if defined(NO_MANCOMPRESS)
>>>> +.if ${MK_MANCOMPRESS} == "no"
>>> 
>>> Changing this line to ".if ${MK_MANCOMPRESS} != "no" seems to fix the problem.
>>> 
>>>> .if defined(MANFILTER)
>>>> [snip]
>> 
> <btree_failure.log>



More information about the svn-src-head mailing list