NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/52187: New libarchive-3-3-2pre won't build with MKCRYPTO=no

>Number:         52187
>Category:       lib
>Synopsis:       New libarchive-3-3-2pre won't build with MKCRYPTO=no
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 22 07:50:00 +0000 2017
>Originator:     Paul Goyette
>Release:        NetBSD 7.99.66
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
System: NetBSD 7.99.66 NetBSD 7.99.66 (SPEEDY 2017-03-24 21:50:36 UTC) #0: Fri Mar 24 22:50:09 UTC 2017 amd64
Architecture: x86_64
Machine: amd64
With the recent importation of libarchive-3-3-2pre (see [1] and [2]), it
is no longer possible to successfully build a release with MKCRYPTO=no.
Among other things, archive_cryptor.c references openssl/evp.h which does
not get installed for MKCRYPTO=no

Invoke in a manner similar to:

	./ -T /build/netbsd-local/tools/x86_64/amd64 \
		-D /build/netbsd-local/dest/amd64 \
		-O /build/netbsd-local/obj/amd64 \
		-R /build/netbsd-local/release \
		-V MKKDEBUG=yes \
		-V MKCRYPTO=no \
		-U -u -x -m amd64 -j1 release
   * modify libarchive to have an "export" variant that doesn't require
     use of any other code that gets removed via MKCRYPTO=no, or
   * deprecate/de-support the MKCRYPTO option

Maintaining a working build with MKCRYPTO=no is quite painful, and is
likely no longer worth the effort, since US export restrictions on the
crypto code were significantly eased (and mostly removed) many years
ago.  We probably should deprecate MKCRYPTO and always build the crypto


Home | Main Index | Thread Index | Old Index