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
System: NetBSD 4.99.70
Architecture: i386
Machine: i386
        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:
        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:

        The following mail seems to contains the patch which added the .hx code:

        And these are the commit messages for the crypto-intl changes:

        Ouch, I found the following changes, which was done by me after looking
        for more changes in that area:

        Which could mean that some other Makefiles have to be modified too.
        At least src/lib/libhdb/Makefile needs some modifications.

        cd src/lib/libasn1

        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