NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/39185: libasn1 build infrastructure suboptimal
>Number: 39185
>Category: lib
>Synopsis: libasn1 build infrastructure suboptimal
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 21 20:20:01 +0000 2008
>Originator: Bernd Ernesti
>Release: NetBSD 4.99.70
>Organization:
>Environment:
System: NetBSD 4.99.70
Architecture: i386
Machine: i386
>Description:
A make in src/lib/libasn1 always creates new header files, even
when there are no source changes.
This is casing a rebuild of the following libraries:
libasn1
libhx509
libkrb5
libgssapi
libhdb
libkadm5srv
libkadm5clnt
libkafs
and some pam libs too.
This change of behaviour appeared after the Heimdal-1.1 update.
src/lib/libasn1/Makefile before revision 1.29 had rules to
compare the generated .hx file with the previously generated
.h file, but the update in src/crypto/dist/heimdal/lib/asn1/gen.c 1.9
removed the .hx handling and so this feature got lost.
I can't find the source code where this 'feature' was removed in
the Heimdal source tree, so I asume that this was a local NetBSD
change, which was done in cryptosrc-intl.
See lib/9702 and the following discussion in this thread on how gen.c
got the .hx feature:
http://mail-index.netbsd.org/tech-crypto/2000/03/thread1.html#000100
The following mail seems to contains the patch which added the .hx code:
http://mail-index.netbsd.org/tech-crypto/2000/04/14/msg000113.html
And these are the commit messages for the crypto-intl changes:
http://mail-index.netbsd.org/source-changes/2000/04/19/msg073997.html
http://mail-index.netbsd.org/source-changes/2000/04/19/msg073999.html
Ouch, I found the following changes, which was done by me after looking
for more changes in that area:
http://mail-index.netbsd.org/source-changes/2000/04/23/msg074249.html
http://mail-index.netbsd.org/source-changes/2000/04/23/msg074251.html
Which could mean that some other Makefiles have to be modified too.
At least src/lib/libhdb/Makefile needs some modifications.
>How-To-Repeat:
cd src/lib/libasn1
make
make
>Fix:
Add back the code in src/crypto/dist/heimdal/lib/asn1/gen.c and
src/lib/libasn1/Makefile, src/lib/libhdb/Makefile .... ?
Home |
Main Index |
Thread Index |
Old Index