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

From: Fernando Apesteguía <fernape_at_freebsd.org>
Date: Mon, 5 Jul 2021 22:29:22 +0200
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_at_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.


>
>>
>>
>>
>>
>> Details of how I discovered the issue:
>>
>> I updated the aarch64 system that I use for building, including
>> for building for arm.armv7 . As part of that update the following
>> happened because I did delete-old :
>>
>>  >>> Removing old files (only deletes safe to delete libs)
>>  /mnt/usr/share/man/man8/apmd.8.gz
>>  /mnt/usr/share/man/man8/sconfig.8.gz
>>  >>> Old files removed
>>  >>> Removing old directories
>>  >>> Old directories removed
>>  To remove old libraries run 'make delete-old-libs'.
>>
>> After building for arm.armv7 I attempted an install to
>> mounted media and got:
>>
>> ===> gnu/usr.bin/tests (install)
>> --- realinstall_subdir_usr.sbin ---
>> --- maninstall ---
>> install  -o root -g wheel -m 444 apmd.8.gz  /mnt/usr/share/man/man8/
>> . . .
>> --- realinstall_subdir_usr.sbin ---
>> install: apmd.8.gz: No such file or directory
>> . . .
>> --- realinstall_subdir_usr.sbin ---
>> *** [maninstall] Error code 71
>> . . .
>>
>>
>> ===
>> Mark Millard
>> marklmi at yahoo.com
>> ( dsl-only.net went
>> away in early 2018-Mar)
>>
Received on Mon Jul 05 2021 - 20:29:22 UTC

Original text of this message