Re: Files in DESTDIR but missing from flist

Adam <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
>> I don't think it's related to file-system case-sensitivity.
>> 
>> My analysis:
>> 
>> - share/mk/bsd.own.mk defines HAVE_OPENSSL=35 (if not set otherwise).
>> - In that case, EXTERNAL_OPENSSL_SUBDIR=apache2/openssl gets defined.
>> - Whem apache2/openssl is built, man pages come from crypto/external/apache2/openssl/lib/libcrypto/man.inc, and
>>  in that file I found DES_random_key.3.
>> 
>> I guess, for OpenSSL 3.1, crypto/external/bsd/openssl should be built, and there is des_random_key.3 in crypto/external/bsd/openssl/lib/libdes/Makefile.
>> 
>> Which HAVE_OPENSSL setting do you use to build -current?
> 
> I don't use any knobs.  I think Christos me^Hissed these when he
> switched to new openssl.
> 
> The old openssl installed these manual pages as openssl_M5.3 etc and
> obsolete entries for MD5.3 reflected reality.
> 
> Now apache2/openssl installs MD5.3 (and others) and then the outdated
> obsolete entries delete those freshly installed files right away.
> Except that you jabe compression enabled and the obsolete entries
> don't have the .man keyword.  And on case-insensitive fs MD5.3 from
> openssl overwrites md5.3 from libc.
> 
> -uwe


As I said, I build on case-sensitive APFS. The build installs both files.

% grep -Fi DES_random_key.3 build.log
    install  /dist/work/destdir.aarch64/usr/share/man/man3/des_random_key.3
    install  /dist/work/destdir.aarch64/usr/share/man/man3/DES_random_key.3

You are right, I used to build with MKMANZ=yes, but now I tried with MKMANZ=no the build goes fine - the superfluous files are removed.

Adam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.