[gnutls-devel] GnuTLS | MinGW build fails with "asn1Parser: command not found" (#1361)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Sat May 7 20:56:09 CEST 2022
Tim Rühsen created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1361
Cross-building with MinGW64 today with latest master revealed this issue:
```
make[2]: Entering directory '/usr/local/gnutls/lib'
GEN pkix_asn1_tab.c
GEN gnutls_asn1_tab.c
GPERF priority_options.h
/usr/local/gnutls/build-aux/missing: line 81: asn1Parser: command not found
/usr/local/gnutls/build-aux/missing: line 81: asn1Parser: command not found
WARNING: 'asn1Parser' is missing on your system.
You might have modified some files without having the proper
tools for further handling them. Check the 'README' file, it
often tells you about the needed prerequisites for installing
this package. You may also peek at any GNU archive site, in
case some other package contains this missing 'asn1Parser' program.
WARNING: 'asn1Parser' is missing on your system.
You might have modified some files without having the proper
tools for further handling them. Check the 'README' file, it
often tells you about the needed prerequisites for installing
this package. You may also peek at any GNU archive site, in
case some other package contains this missing 'asn1Parser' program.
make[2]: *** [Makefile:3439: gnutls_asn1_tab.c] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:3436: pkix_asn1_tab.c] Error 127
make[2]: Leaving directory '/usr/local/gnutls/lib'
make[1]: *** [Makefile:2257: all-recursive] Error 1
make[1]: Leaving directory '/usr/local/gnutls'
make: *** [Makefile:2182: all] Error 2
The command '/bin/sh -c cd gnutls && SKIP_PO=1 ./bootstrap && ./configure --build=x86_64-pc-linux-gnu --host=$PREFIX --prefix=$INSTALLDIR --with-nettle-mini --disable-shared --enable-static --with-included-libtasn1 --with-included-unistring --without-p11-kit --disable-doc --disable-tests --disable-full-test-suite --disable-tools --disable-cxx --disable-maintainer-mode --disable-libdane --disable-hardware-acceleration --disable-guile && make -j$(nproc) && make install' returned a non-zero code: 2
```
I made a bunch of MinGW builds in the last years and never experienced this error before.
I'd expect `--with-included-libtasn1` doesn't need an explicit installation of `asn1Parser`.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1361
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220507/3adaee73/attachment-0001.html>
More information about the Gnutls-devel
mailing list