Merge branch 'tmp-buildfixes' into 'master'

Maintainer fixes

See merge request gnutls/libtasn1!84
diff --git a/.gitignore b/.gitignore
index de9efd9..d96a4d0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,7 +6,9 @@
 *~
 /.deps
 /.gitignore
+/.version
 /ChangeLog
+/GNUmakefile
 /INSTALL
 /Makefile
 /Makefile.in
@@ -74,6 +76,7 @@
 /doc/reference/libtasn1-undeclared.txt
 /doc/reference/libtasn1-undocumented.txt
 /doc/reference/libtasn1-unused.txt
+/doc/reference/libtasn1.actions
 /doc/reference/libtasn1.args
 /doc/reference/libtasn1.hierarchy
 /doc/reference/libtasn1.interfaces
@@ -175,26 +178,17 @@
 /tests/Makefile
 /tests/Makefile.in
 /tests/Test_choice
-/tests/Test_choice.o
 /tests/Test_choice_ocsp
 /tests/Test_encdec
 /tests/Test_encoding
-/tests/Test_encoding.o
 /tests/Test_errors
-/tests/Test_errors.o
 /tests/Test_indefinite
-/tests/Test_indefinite.o
 /tests/Test_overflow
-/tests/Test_overflow.o
 /tests/Test_parser
-/tests/Test_parser.o
 /tests/Test_parser_ERROR.asn
 /tests/Test_simple
-/tests/Test_simple.o
 /tests/Test_strings
-/tests/Test_strings.o
 /tests/Test_tree
-/tests/Test_tree.o
 /tests/coding-decoding2
 /tests/coding-long-oid
 /tests/copynode
@@ -202,6 +196,7 @@
 /tests/object-id-encoding
 /tests/ocsp-basic-response
 /tests/octet-string
+/tests/reproducers
 /tests/setof
 /tests/spc_pe_image_data
 /tests/strict-der
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 06865eb..81611de 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,7 @@
 variables:
+  GIT_SUBMODULE_STRATEGY: normal
   BUILD_IMAGES_PROJECT: gnutls/build-images
   FEDORA_BUILD: buildenv-fedora33
-  DEBIAN_X86_CROSS_BUILD: buildenv-debian-x86-cross
   GET_SOURCES_ATTEMPTS: "3"
 
 # See http://doc.gitlab.com/ce/ci/yaml/ for documentation.
@@ -14,8 +14,7 @@
   - ./configure --disable-doc && make -j$(nproc)
   - make syntax-check
   - make -j$(nproc) check
-  - make abi-check
-  - make distcheck
+  - make dist
   except:
   - tags
   tags:
@@ -33,8 +32,8 @@
     paths:
       - libtasn1-*.tar.gz
 
-Debian-oldstable-bootstrap:
-  image: debian:oldstable-slim
+Debian10-bootstrap:
+  image: debian:10-slim
   stage: build
   before_script:
   - apt-get update -qq
@@ -44,6 +43,7 @@
   - ./configure --enable-gcc-warnings
   - make -j$(nproc)
   - make -j$(nproc) check
+  - make abi-check
   - make distcheck
   artifacts:
     expire_in: 2 weeks
@@ -51,12 +51,12 @@
     paths:
       - libtasn1-*.tar.gz
 
-Debian-stable-bootstrap:
-  image: debian:stable-slim
+Debian11-bootstrap:
+  image: debian:11-slim
   stage: build
   before_script:
   - apt-get update -qq
-  - env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq make git autoconf automake libtool bison texinfo texlive texlive-generic-recommended texlive-extra-utils help2man gtk-doc-tools valgrind abigail-tools
+  - env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq make git autoconf automake libtool bison texinfo texlive texlive-plain-generic texlive-extra-utils help2man gtk-doc-tools valgrind abigail-tools
   script:
   - ./bootstrap
   - ./configure --enable-gcc-warnings
@@ -81,8 +81,7 @@
   - ./configure --enable-gcc-warnings
   - make -j$(nproc)
   - make -j$(nproc) check
-  - make abi-check
-  - make distcheck
+  - make dist
   artifacts:
     expire_in: 2 weeks
     when: on_success
@@ -107,32 +106,6 @@
       - ./*.log
       - ./tests/*.log
 
-x86:
-  image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_X86_CROSS_BUILD
-  script:
-  - build=$(dpkg-architecture -qDEB_HOST_GNU_TYPE)
-  - host=i686-linux-gnu
-  - export CC_FOR_BUILD="gcc"
-  - export CC="$host-gcc"
-  - ./bootstrap
-  - mkdir -p build
-  - cd build
-  - dash ../configure --build=$build --host=$host --disable-doc
-  - make -j$(nproc)
-  - make check -j$(nproc)
-  - cd ..
-  tags:
-  - shared
-  - docker
-  except:
-  - tags
-  artifacts:
-    expire_in: 1 week
-    when: on_failure
-    paths:
-      - build/*.log
-      - build/tests/*.log
-
 clang:
   image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
   script:
@@ -252,8 +225,29 @@
     paths:
       - scan-build-lib/
 
-Debian-oldstable-distcheck:
-  image: debian:oldstable-slim
+armcross:
+  image: debian:11-slim
+  stage: test
+  needs: [Debian11-bootstrap]
+  before_script:
+  - apt-get update -qq
+  - env DEBIAN_FRONTEND=noninteractive apt-get install -y -q make gcc-arm-linux-gnueabi qemu-user qemu-user-binfmt file
+  - update-binfmts --enable qemu-arm
+  script:
+  - tar xfa libtasn1-*.tar.gz
+  - cd `ls -d libtasn1-* | grep -v tar.gz`
+  - mkdir b
+  - cd b
+  - ../configure --host=arm-linux-gnueabi --enable-gcc-warnings CFLAGS="-static --static" || (cat config.log; exit 1)
+  - make V=1
+  - arm-linux-gnueabi-readelf -h lib/.libs/libtasn1.a
+  - arm-linux-gnueabi-readelf -h src/asn1Parser
+  - file src/asn1Parser
+  - LANG=C.UTF-8 qemu-arm src/asn1Parser -c ../tests/pkix.asn
+  - make check
+
+Debian9-distcheck:
+  image: debian:9-slim
   stage: test
   needs: [x86-64]
   before_script:
@@ -269,8 +263,8 @@
     paths:
       - libtasn1-*.tar.gz
 
-Debian-stable-distcheck:
-  image: debian:stable-slim
+Debian11-distcheck:
+  image: debian:11-slim
   stage: test
   needs: [x86-64]
   before_script:
diff --git a/README.md b/README.md
index 45eb1e8..20abcf2 100644
--- a/README.md
+++ b/README.md
@@ -58,7 +58,7 @@
 Then build the project normally:
 
 ```
-$ make
+$ ./configure
 $ make check
 ```