Re: usr/share/man/man8/apmd.8.gz missing during install arm.armv7 install of main-n247723-6329ca325e02 because of 0a0f7486413c

From: Mark Millard via freebsd-current <freebsd-current_at_freebsd.org>
Date: Mon, 05 Jul 2021 21:56:42 UTC
On 2021-Jul-5, at 13:29, Fernando Apesteguía <fernape at freebsd.org> wrote:

> On Mon, Jul 5, 2021 at 8:48 AM Fernando Apesteguía <fernape at freebsd.org> wrote:
>> 
>> 
>> 
>> El lun., 5 jul. 2021 4:59, Mark Millard <marklmi@yahoo.com> escribió:
>>> 
>>> The following commit seems to have proken installation
>>> by being incomplete:
>>> 
>>> . . .
>>> committer       Fernando Apesteguía <fernape at FreeBSD.org>    2021-06-30 07:57:51 +0000
>>> commit  0a0f7486413c147d56808b38055c40c64cff61f5 (patch)
>>> . . .
>>> man: Build manpages for all architectures
>>> Building and installing architecture-specific man pages only raises a number of
>>> problems . . .
>>> 
>>> 
>>> This commit did not deal with: src/blame/ObsoleteFiles.inc and
>>> its:
>>> 
>>> OLD_FILES+=usr/share/man/man8/apmd.8.gz
>>> 
>>> 
>>> I'll note that the removal goes back to:
>>> 
>>> . . .
>>> committer       Alexander Leidinger <netchild at FreeBSD.org>   2005-12-31 14:04:35 +0000
>>> commit  a54b4580550a23ea9ed75860c94ce664aadde247 (patch)
>>> . . .
>>> Add some more obsolete files.
>>> Submitted by:   kris (6 of the files)
>>> 
>>> Notes
>>> 
>>> Notes:
>>>    svn path=/head/; revision=153939
>>> . . .
>> 
>> 
>> Hi Mark,
>> 
>> Sorry for that I'll have a look ASAP.
> 
> I run make delete-old on /usr/src and a bunch of files were deleted.
> Then I did a git pull --ff-only and some files were updated.
> Unfortunately my current does not build:
> 
> --- Basic/SourceManager.o ---
> /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp:1256:10:
> fatal error: 'emmintrin.h' file not found
> #include <emmintrin.h>
>         ^~~~~~~~~~~~~
> 1 error generated.
> *** [Basic/SourceManager.o] Error code 1
> 
> make[4]: stopped in /usr/src/lib/clang/libclang
> 1 error
> 
> make[4]: stopped in /usr/src/lib/clang/libclang
> 
> make[3]: stopped in /usr/src/lib/clang
> 
> make[2]: stopped in /usr/src
> 
> make[1]: stopped in /usr/src
> 
> make: stopped in /usr/src
> 
> I'm not sure how I can reproduce the breakage.

I had sent a 2nd message indicating that the details of
what caused me to look at usr/share/man/man8/apmd.8.gz
were my problem (not yours) and my problem was not a
consequence of the:

OLD_FILES+=usr/share/man/man8/apmd.8.gz

So do not worry about repeating the make install
time frame failure, not your problem.

Still, the OLD_FILES assignment is incorrect for the
goal of your submittal 0a0f7486413c from what I can
tell: you added apmd.8.gz and the OLD_FILES causes
it to be deleted.

I did no checking of usr/share/man/man8/sconfig.8.gz
so I've no clue if it has a similar status to
usr/share/man/man8/apmd.8.gz or not.

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)