Skip to content

Instantly share code, notes, and snippets.

@rgl
Created January 14, 2019 23:21
Show Gist options
  • Select an option

  • Save rgl/6e8dee7634dc4e2dfdba7559495d6ac7 to your computer and use it in GitHub Desktop.

Select an option

Save rgl/6e8dee7634dc4e2dfdba7559495d6ac7 to your computer and use it in GitHub Desktop.
swtpm build failure
rgl@rgl-desktop:~/Projects/swtpm$ docker build -t build-swtpm-ubuntu-18.04 -f Dockerfile.ubuntu-18.04 .
Sending build context to Docker daemon 3.927MB
Step 1/9 : FROM ubuntu:18.04
---> 1d9c17228a9e
Step 2/9 : RUN apt-get -y update && apt-get -y install build-essential fakeroot devscripts equivs
---> Using cache
---> 3702a1c0519d
Step 3/9 : ENV DEBIAN_FRONTEND noninteractive
---> Running in 97d7d40c7e1a
Removing intermediate container 97d7d40c7e1a
---> 06f80c87e0a0
Step 4/9 : ADD . /build/src
---> 910928271175
Step 5/9 : WORKDIR /build/src
---> Running in 664a4df4fce4
Removing intermediate container 664a4df4fce4
---> 69cfb95fbc89
Step 6/9 : RUN dpkg -i /build/src/build/libtpms*.deb
---> Running in c54dd134f9c6
Selecting previously unselected package libtpms-dev.
(Reading database ... 21354 files and directories currently installed.)
Preparing to unpack .../libtpms-dev_0.6.0-1_amd64.deb ...
Unpacking libtpms-dev (0.6.0-1) ...
Selecting previously unselected package libtpms0:amd64.
Preparing to unpack .../libtpms0_0.6.0-1_amd64.deb ...
Unpacking libtpms0:amd64 (0.6.0-1) ...
Setting up libtpms0:amd64 (0.6.0-1) ...
Setting up libtpms-dev (0.6.0-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Removing intermediate container c54dd134f9c6
---> 6d29a7b20d4f
Step 7/9 : RUN mk-build-deps --install --build-dep '--tool=apt-get --no-install-recommends -y' debian/control
---> Running in 9a628f0b28cb
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'swtpm-build-deps-depends' in '../swtpm-build-deps-depends_0.1.0-1-dev2_all.deb'.
The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package swtpm-build-deps-depends.
(Reading database ... 21381 files and directories currently installed.)
Preparing to unpack swtpm-build-deps-depends_0.1.0-1-dev2_all.deb ...
Unpacking swtpm-build-deps-depends (0.1.0-1-dev2) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
expect libelf1 libevent-2.1-6 libfuse-dev libfuse2 libglib2.0-bin
libglib2.0-dev libglib2.0-dev-bin libgmp-dev libgmpxx4ldbl libgnutls-dane0
libgnutls-openssl27 libgnutls28-dev libgnutlsxx28 libidn2-0-dev libidn2-dev
libp11-kit-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5
libselinux1-dev libsepol1-dev libtasn1-6-dev libtcl8.6 libtpm-unseal1
libtspi1 libunbound2 libwrap0 nettle-dev pkg-config python3-asn1crypto
python3-attr python3-automat python3-cffi-backend python3-constantly
python3-cryptography python3-distutils python3-hyperlink python3-incremental
python3-lib2to3 python3-openssl python3-pyasn1 python3-pyasn1-modules
python3-service-identity python3-twisted python3-twisted-bin
python3-zope.interface socat tcl-expect tpm-tools trousers tzdata zlib1g-dev
Suggested packages:
tk8.6 fuse libglib2.0-doc gmp-doc libgmp10-doc libmpfr-dev dns-root-data
gnutls-doc gnutls-bin tcl8.6 python-attr-doc python-cryptography-doc
python3-cryptography-vectors python-openssl-doc python3-openssl-dbg
python3-tk python3-gtk2 python3-glade2 python3-qt4 python3-wxgtk2.8
python3-twisted-bin-dbg
Recommended packages:
tcl8.6 libtasn1-doc python3-click python3-pam python3-serial
The following NEW packages will be installed:
expect libelf1 libevent-2.1-6 libfuse-dev libfuse2 libglib2.0-bin
libglib2.0-dev libglib2.0-dev-bin libgmp-dev libgmpxx4ldbl libgnutls-dane0
libgnutls-openssl27 libgnutls28-dev libgnutlsxx28 libidn2-0-dev libidn2-dev
libp11-kit-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5
libselinux1-dev libsepol1-dev libtasn1-6-dev libtcl8.6 libtpm-unseal1
libtspi1 libunbound2 libwrap0 nettle-dev pkg-config python3-asn1crypto
python3-attr python3-automat python3-cffi-backend python3-constantly
python3-cryptography python3-distutils python3-hyperlink python3-incremental
python3-lib2to3 python3-openssl python3-pyasn1 python3-pyasn1-modules
python3-service-identity python3-twisted python3-twisted-bin
python3-zope.interface socat tcl-expect tpm-tools trousers tzdata zlib1g-dev
0 upgraded, 54 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
Need to get 10.8 MB of archives.
After this operation, 57.9 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfuse2 amd64 2.9.7-1ubuntu1 [80.9 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsepol1-dev amd64 2.7-1 [324 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpcre16-3 amd64 2:8.39-9 [147 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpcre32-3 amd64 2:8.39-9 [138 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpcrecpp0v5 amd64 2:8.39-9 [15.3 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpcre3-dev amd64 2:8.39-9 [537 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libselinux1-dev amd64 2.7-2build2 [149 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfuse-dev amd64 2.9.7-1ubuntu1 [105 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libelf1 amd64 0.170-0.4 [44.1 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglib2.0-bin amd64 2.56.3-0ubuntu0.18.04.1 [68.9 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-lib2to3 all 3.6.7-1~18.04 [76.5 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-distutils all 3.6.7-1~18.04 [141 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglib2.0-dev-bin amd64 2.56.3-0ubuntu0.18.04.1 [102 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 pkg-config amd64 0.29.1-0ubuntu2 [45.0 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-0ubuntu2 [176 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglib2.0-dev amd64 2.56.3-0ubuntu0.18.04.1 [1384 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgmpxx4ldbl amd64 2:6.1.2+dfsg-2 [8964 B]
Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgmp-dev amd64 2:6.1.2+dfsg-2 [316 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 tzdata all 2018i-0ubuntu0.18.04 [189 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtcl8.6 amd64 8.6.8+dfsg-3 [881 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic/universe amd64 tcl-expect amd64 5.45.4-1 [105 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic/universe amd64 expect amd64 5.45.4-1 [137 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtasn1-6-dev amd64 4.13-2 [86.8 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 libwrap0 amd64 7.6.q-27 [46.3 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 socat amd64 1.7.3.2-2ubuntu2 [342 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libtspi1 amd64 0.3.14+fixed1-1build1 [145 kB]
Get:27 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libtpm-unseal1 amd64 1.3.9.1-0.2ubuntu3 [19.3 kB]
Get:28 http://archive.ubuntu.com/ubuntu bionic/universe amd64 trousers amd64 0.3.14+fixed1-1build1 [119 kB]
Get:29 http://archive.ubuntu.com/ubuntu bionic/universe amd64 tpm-tools amd64 1.3.9.1-0.2ubuntu3 [108 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-attr all 17.4.0-2 [23.8 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-automat all 0.6.0-1 [25.2 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-constantly all 15.1.0-1 [8030 B]
Get:33 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-hyperlink all 17.3.1-2 [27.6 kB]
Get:34 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-incremental all 16.10.1-3 [14.5 kB]
Get:35 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-zope.interface amd64 4.3.2-1build2 [82.4 kB]
Get:36 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-twisted-bin amd64 17.9.0-2 [10.9 kB]
Get:37 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-asn1crypto all 0.24.0-1 [72.8 kB]
Get:38 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-cffi-backend amd64 1.11.5-1 [64.6 kB]
Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-cryptography amd64 2.1.4-1ubuntu1.2 [221 kB]
Get:40 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-openssl all 17.5.0-1ubuntu1 [41.5 kB]
Get:41 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-pyasn1 all 0.4.2-3 [46.8 kB]
Get:42 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-pyasn1-modules all 0.2.1-0.2 [32.9 kB]
Get:43 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-service-identity all 16.0.0-2 [9388 B]
Get:44 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-twisted all 17.9.0-2 [1913 kB]
Get:45 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgnutls-openssl27 amd64 3.5.18-1ubuntu1 [21.1 kB]
Get:46 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgnutlsxx28 amd64 3.5.18-1ubuntu1 [13.7 kB]
Get:47 http://archive.ubuntu.com/ubuntu bionic/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4build1 [133 kB]
Get:48 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libunbound2 amd64 1.6.7-1ubuntu2.2 [266 kB]
Get:49 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgnutls-dane0 amd64 3.5.18-1ubuntu1 [21.0 kB]
Get:50 http://archive.ubuntu.com/ubuntu bionic/main amd64 nettle-dev amd64 3.4-1 [951 kB]
Get:51 http://archive.ubuntu.com/ubuntu bionic/main amd64 libp11-kit-dev amd64 0.23.9-2 [60.9 kB]
Get:52 http://archive.ubuntu.com/ubuntu bionic/main amd64 libidn2-dev amd64 2.0.4-1.1build2 [61.3 kB]
Get:53 http://archive.ubuntu.com/ubuntu bionic/main amd64 libidn2-0-dev amd64 2.0.4-1.1build2 [2844 B]
Get:54 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgnutls28-dev amd64 3.5.18-1ubuntu1 [659 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 10.8 MB in 1s (9307 kB/s)
Selecting previously unselected package libfuse2:amd64.
(Reading database ... 21385 files and directories currently installed.)
Preparing to unpack .../00-libfuse2_2.9.7-1ubuntu1_amd64.deb ...
Unpacking libfuse2:amd64 (2.9.7-1ubuntu1) ...
Selecting previously unselected package libsepol1-dev:amd64.
Preparing to unpack .../01-libsepol1-dev_2.7-1_amd64.deb ...
Unpacking libsepol1-dev:amd64 (2.7-1) ...
Selecting previously unselected package libpcre16-3:amd64.
Preparing to unpack .../02-libpcre16-3_2%3a8.39-9_amd64.deb ...
Unpacking libpcre16-3:amd64 (2:8.39-9) ...
Selecting previously unselected package libpcre32-3:amd64.
Preparing to unpack .../03-libpcre32-3_2%3a8.39-9_amd64.deb ...
Unpacking libpcre32-3:amd64 (2:8.39-9) ...
Selecting previously unselected package libpcrecpp0v5:amd64.
Preparing to unpack .../04-libpcrecpp0v5_2%3a8.39-9_amd64.deb ...
Unpacking libpcrecpp0v5:amd64 (2:8.39-9) ...
Selecting previously unselected package libpcre3-dev:amd64.
Preparing to unpack .../05-libpcre3-dev_2%3a8.39-9_amd64.deb ...
Unpacking libpcre3-dev:amd64 (2:8.39-9) ...
Selecting previously unselected package libselinux1-dev:amd64.
Preparing to unpack .../06-libselinux1-dev_2.7-2build2_amd64.deb ...
Unpacking libselinux1-dev:amd64 (2.7-2build2) ...
Selecting previously unselected package libfuse-dev.
Preparing to unpack .../07-libfuse-dev_2.9.7-1ubuntu1_amd64.deb ...
Unpacking libfuse-dev (2.9.7-1ubuntu1) ...
Selecting previously unselected package libelf1:amd64.
Preparing to unpack .../08-libelf1_0.170-0.4_amd64.deb ...
Unpacking libelf1:amd64 (0.170-0.4) ...
Selecting previously unselected package libglib2.0-bin.
Preparing to unpack .../09-libglib2.0-bin_2.56.3-0ubuntu0.18.04.1_amd64.deb ...
Unpacking libglib2.0-bin (2.56.3-0ubuntu0.18.04.1) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../10-python3-lib2to3_3.6.7-1~18.04_all.deb ...
Unpacking python3-lib2to3 (3.6.7-1~18.04) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../11-python3-distutils_3.6.7-1~18.04_all.deb ...
Unpacking python3-distutils (3.6.7-1~18.04) ...
Selecting previously unselected package libglib2.0-dev-bin.
Preparing to unpack .../12-libglib2.0-dev-bin_2.56.3-0ubuntu0.18.04.1_amd64.deb ...
Unpacking libglib2.0-dev-bin (2.56.3-0ubuntu0.18.04.1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../13-pkg-config_0.29.1-0ubuntu2_amd64.deb ...
Unpacking pkg-config (0.29.1-0ubuntu2) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../14-zlib1g-dev_1%3a1.2.11.dfsg-0ubuntu2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-0ubuntu2) ...
Selecting previously unselected package libglib2.0-dev:amd64.
Preparing to unpack .../15-libglib2.0-dev_2.56.3-0ubuntu0.18.04.1_amd64.deb ...
Unpacking libglib2.0-dev:amd64 (2.56.3-0ubuntu0.18.04.1) ...
Selecting previously unselected package libgmpxx4ldbl:amd64.
Preparing to unpack .../16-libgmpxx4ldbl_2%3a6.1.2+dfsg-2_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-2) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../17-libgmp-dev_2%3a6.1.2+dfsg-2_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.1.2+dfsg-2) ...
Selecting previously unselected package tzdata.
Preparing to unpack .../18-tzdata_2018i-0ubuntu0.18.04_all.deb ...
Unpacking tzdata (2018i-0ubuntu0.18.04) ...
Selecting previously unselected package libtcl8.6:amd64.
Preparing to unpack .../19-libtcl8.6_8.6.8+dfsg-3_amd64.deb ...
Unpacking libtcl8.6:amd64 (8.6.8+dfsg-3) ...
Selecting previously unselected package tcl-expect:amd64.
Preparing to unpack .../20-tcl-expect_5.45.4-1_amd64.deb ...
Unpacking tcl-expect:amd64 (5.45.4-1) ...
Selecting previously unselected package expect.
Preparing to unpack .../21-expect_5.45.4-1_amd64.deb ...
Unpacking expect (5.45.4-1) ...
Selecting previously unselected package libtasn1-6-dev:amd64.
Preparing to unpack .../22-libtasn1-6-dev_4.13-2_amd64.deb ...
Unpacking libtasn1-6-dev:amd64 (4.13-2) ...
Selecting previously unselected package libwrap0:amd64.
Preparing to unpack .../23-libwrap0_7.6.q-27_amd64.deb ...
Unpacking libwrap0:amd64 (7.6.q-27) ...
Selecting previously unselected package socat.
Preparing to unpack .../24-socat_1.7.3.2-2ubuntu2_amd64.deb ...
Unpacking socat (1.7.3.2-2ubuntu2) ...
Selecting previously unselected package libtspi1.
Preparing to unpack .../25-libtspi1_0.3.14+fixed1-1build1_amd64.deb ...
Unpacking libtspi1 (0.3.14+fixed1-1build1) ...
Selecting previously unselected package libtpm-unseal1.
Preparing to unpack .../26-libtpm-unseal1_1.3.9.1-0.2ubuntu3_amd64.deb ...
Unpacking libtpm-unseal1 (1.3.9.1-0.2ubuntu3) ...
Selecting previously unselected package trousers.
Preparing to unpack .../27-trousers_0.3.14+fixed1-1build1_amd64.deb ...
Unpacking trousers (0.3.14+fixed1-1build1) ...
Selecting previously unselected package tpm-tools.
Preparing to unpack .../28-tpm-tools_1.3.9.1-0.2ubuntu3_amd64.deb ...
Unpacking tpm-tools (1.3.9.1-0.2ubuntu3) ...
Selecting previously unselected package python3-attr.
Preparing to unpack .../29-python3-attr_17.4.0-2_all.deb ...
Unpacking python3-attr (17.4.0-2) ...
Selecting previously unselected package python3-automat.
Preparing to unpack .../30-python3-automat_0.6.0-1_all.deb ...
Unpacking python3-automat (0.6.0-1) ...
Selecting previously unselected package python3-constantly.
Preparing to unpack .../31-python3-constantly_15.1.0-1_all.deb ...
Unpacking python3-constantly (15.1.0-1) ...
Selecting previously unselected package python3-hyperlink.
Preparing to unpack .../32-python3-hyperlink_17.3.1-2_all.deb ...
Unpacking python3-hyperlink (17.3.1-2) ...
Selecting previously unselected package python3-incremental.
Preparing to unpack .../33-python3-incremental_16.10.1-3_all.deb ...
Unpacking python3-incremental (16.10.1-3) ...
Selecting previously unselected package python3-zope.interface.
Preparing to unpack .../34-python3-zope.interface_4.3.2-1build2_amd64.deb ...
Unpacking python3-zope.interface (4.3.2-1build2) ...
Selecting previously unselected package python3-twisted-bin:amd64.
Preparing to unpack .../35-python3-twisted-bin_17.9.0-2_amd64.deb ...
Unpacking python3-twisted-bin:amd64 (17.9.0-2) ...
Selecting previously unselected package python3-asn1crypto.
Preparing to unpack .../36-python3-asn1crypto_0.24.0-1_all.deb ...
Unpacking python3-asn1crypto (0.24.0-1) ...
Selecting previously unselected package python3-cffi-backend.
Preparing to unpack .../37-python3-cffi-backend_1.11.5-1_amd64.deb ...
Unpacking python3-cffi-backend (1.11.5-1) ...
Selecting previously unselected package python3-cryptography.
Preparing to unpack .../38-python3-cryptography_2.1.4-1ubuntu1.2_amd64.deb ...
Unpacking python3-cryptography (2.1.4-1ubuntu1.2) ...
Selecting previously unselected package python3-openssl.
Preparing to unpack .../39-python3-openssl_17.5.0-1ubuntu1_all.deb ...
Unpacking python3-openssl (17.5.0-1ubuntu1) ...
Selecting previously unselected package python3-pyasn1.
Preparing to unpack .../40-python3-pyasn1_0.4.2-3_all.deb ...
Unpacking python3-pyasn1 (0.4.2-3) ...
Selecting previously unselected package python3-pyasn1-modules.
Preparing to unpack .../41-python3-pyasn1-modules_0.2.1-0.2_all.deb ...
Unpacking python3-pyasn1-modules (0.2.1-0.2) ...
Selecting previously unselected package python3-service-identity.
Preparing to unpack .../42-python3-service-identity_16.0.0-2_all.deb ...
Unpacking python3-service-identity (16.0.0-2) ...
Selecting previously unselected package python3-twisted.
Preparing to unpack .../43-python3-twisted_17.9.0-2_all.deb ...
Unpacking python3-twisted (17.9.0-2) ...
Selecting previously unselected package libgnutls-openssl27:amd64.
Preparing to unpack .../44-libgnutls-openssl27_3.5.18-1ubuntu1_amd64.deb ...
Unpacking libgnutls-openssl27:amd64 (3.5.18-1ubuntu1) ...
Selecting previously unselected package libgnutlsxx28:amd64.
Preparing to unpack .../45-libgnutlsxx28_3.5.18-1ubuntu1_amd64.deb ...
Unpacking libgnutlsxx28:amd64 (3.5.18-1ubuntu1) ...
Selecting previously unselected package libevent-2.1-6:amd64.
Preparing to unpack .../46-libevent-2.1-6_2.1.8-stable-4build1_amd64.deb ...
Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4build1) ...
Selecting previously unselected package libunbound2:amd64.
Preparing to unpack .../47-libunbound2_1.6.7-1ubuntu2.2_amd64.deb ...
Unpacking libunbound2:amd64 (1.6.7-1ubuntu2.2) ...
Selecting previously unselected package libgnutls-dane0:amd64.
Preparing to unpack .../48-libgnutls-dane0_3.5.18-1ubuntu1_amd64.deb ...
Unpacking libgnutls-dane0:amd64 (3.5.18-1ubuntu1) ...
Selecting previously unselected package nettle-dev:amd64.
Preparing to unpack .../49-nettle-dev_3.4-1_amd64.deb ...
Unpacking nettle-dev:amd64 (3.4-1) ...
Selecting previously unselected package libp11-kit-dev:amd64.
Preparing to unpack .../50-libp11-kit-dev_0.23.9-2_amd64.deb ...
Unpacking libp11-kit-dev:amd64 (0.23.9-2) ...
Selecting previously unselected package libidn2-dev:amd64.
Preparing to unpack .../51-libidn2-dev_2.0.4-1.1build2_amd64.deb ...
Unpacking libidn2-dev:amd64 (2.0.4-1.1build2) ...
Selecting previously unselected package libidn2-0-dev.
Preparing to unpack .../52-libidn2-0-dev_2.0.4-1.1build2_amd64.deb ...
Unpacking libidn2-0-dev (2.0.4-1.1build2) ...
Selecting previously unselected package libgnutls28-dev:amd64.
Preparing to unpack .../53-libgnutls28-dev_3.5.18-1ubuntu1_amd64.deb ...
Unpacking libgnutls28-dev:amd64 (3.5.18-1ubuntu1) ...
Setting up libsepol1-dev:amd64 (2.7-1) ...
Setting up python3-incremental (16.10.1-3) ...
Setting up libevent-2.1-6:amd64 (2.1.8-stable-4build1) ...
Setting up python3-cffi-backend (1.11.5-1) ...
Setting up python3-twisted-bin:amd64 (17.9.0-2) ...
Setting up tzdata (2018i-0ubuntu0.18.04) ...
Current default time zone: 'Etc/UTC'
Local time is now: Mon Jan 14 23:12:47 UTC 2019.
Universal Time is now: Mon Jan 14 23:12:47 UTC 2019.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
Setting up python3-constantly (15.1.0-1) ...
Setting up libelf1:amd64 (0.170-0.4) ...
Processing triggers for libglib2.0-0:amd64 (2.56.3-0ubuntu0.18.04.1) ...
No schema files found: doing nothing.
Setting up libfuse2:amd64 (2.9.7-1ubuntu1) ...
Setting up libp11-kit-dev:amd64 (0.23.9-2) ...
Setting up libtasn1-6-dev:amd64 (4.13-2) ...
Setting up libtspi1 (0.3.14+fixed1-1build1) ...
Setting up python3-zope.interface (4.3.2-1build2) ...
Setting up python3-asn1crypto (0.24.0-1) ...
Setting up trousers (0.3.14+fixed1-1build1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up pkg-config (0.29.1-0ubuntu2) ...
Setting up python3-pyasn1 (0.4.2-3) ...
Setting up libgnutlsxx28:amd64 (3.5.18-1ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libtpm-unseal1 (1.3.9.1-0.2ubuntu3) ...
Setting up libgnutls-openssl27:amd64 (3.5.18-1ubuntu1) ...
Setting up python3-pyasn1-modules (0.2.1-0.2) ...
Setting up python3-attr (17.4.0-2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libpcrecpp0v5:amd64 (2:8.39-9) ...
Setting up libpcre32-3:amd64 (2:8.39-9) ...
Setting up libpcre16-3:amd64 (2:8.39-9) ...
Setting up libtcl8.6:amd64 (8.6.8+dfsg-3) ...
Setting up libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-2) ...
Setting up python3-lib2to3 (3.6.7-1~18.04) ...
Setting up python3-hyperlink (17.3.1-2) ...
Setting up libidn2-dev:amd64 (2.0.4-1.1build2) ...
Setting up python3-automat (0.6.0-1) ...
Setting up libglib2.0-bin (2.56.3-0ubuntu0.18.04.1) ...
Setting up tpm-tools (1.3.9.1-0.2ubuntu3) ...
Setting up libidn2-0-dev (2.0.4-1.1build2) ...
Setting up python3-distutils (3.6.7-1~18.04) ...
Setting up libwrap0:amd64 (7.6.q-27) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-0ubuntu2) ...
Setting up python3-cryptography (2.1.4-1ubuntu1.2) ...
Setting up libgmp-dev:amd64 (2:6.1.2+dfsg-2) ...
Setting up libunbound2:amd64 (1.6.7-1ubuntu2.2) ...
Setting up libpcre3-dev:amd64 (2:8.39-9) ...
Setting up libglib2.0-dev-bin (2.56.3-0ubuntu0.18.04.1) ...
Setting up socat (1.7.3.2-2ubuntu2) ...
Setting up libglib2.0-dev:amd64 (2.56.3-0ubuntu0.18.04.1) ...
Setting up libgnutls-dane0:amd64 (3.5.18-1ubuntu1) ...
Setting up tcl-expect:amd64 (5.45.4-1) ...
Setting up python3-openssl (17.5.0-1ubuntu1) ...
Setting up nettle-dev:amd64 (3.4-1) ...
Setting up python3-service-identity (16.0.0-2) ...
Setting up libselinux1-dev:amd64 (2.7-2build2) ...
Setting up expect (5.45.4-1) ...
Setting up libfuse-dev (2.9.7-1ubuntu1) ...
Setting up libgnutls28-dev:amd64 (3.5.18-1ubuntu1) ...
Setting up python3-twisted (17.9.0-2) ...
Setting up swtpm-build-deps-depends (0.1.0-1-dev2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Removing intermediate container 9a628f0b28cb
---> ca8d6e0212e7
Step 8/9 : RUN dpkg-buildpackage -b -us -uc -j4
---> Running in 20ab418545b2
dpkg-buildpackage: info: source package swtpm
dpkg-buildpackage: info: source version 0.1.0-1-dev2
dpkg-buildpackage: info: source distribution RELEASE
dpkg-buildpackage: info: source changed by Stefan Berger <stefanb@linux.vnet.ibm.com>
dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build src
debian/rules clean
dh clean --parallel
dh_clean -O--parallel
debian/rules build
make: 'build' is up to date.
debian/rules binary
dh binary --parallel
dh_update_autotools_config -O--parallel
debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/src'
NOCONFIGURE=1 ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:40: installing './compile'
configure.ac:43: installing './config.guess'
configure.ac:43: installing './config.sub'
configure.ac:41: installing './install-sh'
configure.ac:48: installing './missing'
src/swtpm/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory `.'
dh_auto_configure -- --with-openssl
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-openssl
configure: WARNING: unrecognized options: --disable-maintainer-mode
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... mawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking target system type... x86_64-pc-linux-gnu
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... none
checking for debug-enabled build... no
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking return type of signal handlers... void
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for semodule... no
checking for AES_set_encrypt_key in -lcrypto... no
configure: error: Faulty openssl crypto library
tail -v -n \+0 config.log
==> config.log <==
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by swtpm configure 0.1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-openssl
## --------- ##
## Platform. ##
## --------- ##
hostname = 20ab418545b2
uname -m = x86_64
uname -r = 4.15.0-43-generic
uname -s = Linux
uname -v = #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2403: checking for gcc
configure:2419: found /usr/bin/gcc
configure:2430: result: gcc
configure:2659: checking for C compiler version
configure:2668: gcc --version >&5
gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2679: $? = 0
configure:2668: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-27ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
configure:2679: $? = 0
configure:2668: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2679: $? = 1
configure:2668: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:2679: $? = 1
configure:2699: checking whether the C compiler works
configure:2721: gcc -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro conftest.c >&5
configure:2725: $? = 0
configure:2773: result: yes
configure:2776: checking for C compiler default output file name
configure:2778: result: a.out
configure:2784: checking for suffix of executables
configure:2791: gcc -o conftest -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro conftest.c >&5
configure:2795: $? = 0
configure:2817: result:
configure:2839: checking whether we are cross compiling
configure:2847: gcc -o conftest -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro conftest.c >&5
configure:2851: $? = 0
configure:2858: ./conftest
configure:2862: $? = 0
configure:2877: result: no
configure:2882: checking for suffix of object files
configure:2904: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:2908: $? = 0
configure:2929: result: o
configure:2933: checking whether we are using the GNU C compiler
configure:2952: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:2952: $? = 0
configure:2961: result: yes
configure:2970: checking whether gcc accepts -g
configure:2990: gcc -c -g -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:2990: $? = 0
configure:3031: result: yes
configure:3048: checking for gcc option to accept ISO C89
configure:3111: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:3111: $? = 0
configure:3124: result: none needed
configure:3181: checking whether gcc understands -c and -o together
configure:3203: gcc -c conftest.c -o conftest2.o
configure:3206: $? = 0
configure:3203: gcc -c conftest.c -o conftest2.o
configure:3206: $? = 0
configure:3218: result: yes
configure:3249: checking for a BSD-compatible install
configure:3317: result: /usr/bin/install -c
configure:3328: checking whether ln -s works
configure:3332: result: yes
configure:3368: checking build system type
configure:3382: result: x86_64-pc-linux-gnu
configure:3402: checking host system type
configure:3415: result: x86_64-pc-linux-gnu
configure:3456: checking how to print strings
configure:3483: result: printf
configure:3504: checking for a sed that does not truncate output
configure:3568: result: /bin/sed
configure:3586: checking for grep that handles long lines and -e
configure:3644: result: /bin/grep
configure:3649: checking for egrep
configure:3711: result: /bin/grep -E
configure:3716: checking for fgrep
configure:3778: result: /bin/grep -F
configure:3813: checking for ld used by gcc
configure:3880: result: /usr/bin/ld
configure:3887: checking if the linker (/usr/bin/ld) is GNU ld
configure:3902: result: yes
configure:3914: checking for BSD- or MS-compatible name lister (nm)
configure:3968: result: /usr/bin/nm -B
configure:4098: checking the name lister (/usr/bin/nm -B) interface
configure:4105: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:4108: /usr/bin/nm -B "conftest.o"
configure:4111: output
0000000000000000 B some_variable
configure:4118: result: BSD nm
configure:4122: checking the maximum length of command line arguments
configure:4253: result: 1572864
configure:4301: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
configure:4341: result: func_convert_file_noop
configure:4348: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:4368: result: func_convert_file_noop
configure:4375: checking for /usr/bin/ld option to reload object files
configure:4382: result: -r
configure:4456: checking for objdump
configure:4472: found /usr/bin/objdump
configure:4483: result: objdump
configure:4515: checking how to recognize dependent libraries
configure:4715: result: pass_all
configure:4800: checking for dlltool
configure:4830: result: no
configure:4860: checking how to associate runtime and link libraries
configure:4887: result: printf %s\n
configure:4948: checking for ar
configure:4964: found /usr/bin/ar
configure:4975: result: ar
configure:5012: checking for archiver @FILE support
configure:5029: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:5029: $? = 0
configure:5032: ar cru libconftest.a @conftest.lst >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:5035: $? = 0
configure:5040: ar cru libconftest.a @conftest.lst >&5
ar: `u' modifier ignored since `D' is the default (see `U')
ar: conftest.o: No such file or directory
configure:5043: $? = 1
configure:5055: result: @
configure:5113: checking for strip
configure:5129: found /usr/bin/strip
configure:5140: result: strip
configure:5212: checking for ranlib
configure:5228: found /usr/bin/ranlib
configure:5239: result: ranlib
configure:5316: checking for gawk
configure:5346: result: no
configure:5316: checking for mawk
configure:5332: found /usr/bin/mawk
configure:5343: result: mawk
configure:5383: checking command to parse /usr/bin/nm -B output from gcc object
configure:5536: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:5539: $? = 0
configure:5543: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:5546: $? = 0
configure:5612: gcc -o conftest -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro conftest.c conftstm.o >&5
configure:5615: $? = 0
configure:5653: result: ok
configure:5700: checking for sysroot
configure:5730: result: no
configure:5737: checking for a working dd
configure:5775: result: /bin/dd
configure:5779: checking how to truncate binary pipes
configure:5794: result: /bin/dd bs=4096 count=1
configure:5930: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:5933: $? = 0
configure:6123: checking for mt
configure:6153: result: no
configure:6173: checking if : is a manifest tool
configure:6179: : '-?'
configure:6187: result: no
configure:6864: checking how to run the C preprocessor
configure:6895: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
configure:6895: $? = 0
configure:6909: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:6909: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "swtpm"
| #define PACKAGE_TARNAME "swtpm"
| #define PACKAGE_VERSION "0.1.0"
| #define PACKAGE_STRING "swtpm 0.1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6934: result: gcc -E
configure:6954: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
configure:6954: $? = 0
configure:6968: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:6968: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "swtpm"
| #define PACKAGE_TARNAME "swtpm"
| #define PACKAGE_VERSION "0.1.0"
| #define PACKAGE_STRING "swtpm 0.1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6997: checking for ANSI C header files
configure:7017: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7017: $? = 0
configure:7090: gcc -o conftest -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro conftest.c >&5
configure:7090: $? = 0
configure:7090: ./conftest
configure:7090: $? = 0
configure:7101: result: yes
configure:7114: checking for sys/types.h
configure:7114: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7114: $? = 0
configure:7114: result: yes
configure:7114: checking for sys/stat.h
configure:7114: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7114: $? = 0
configure:7114: result: yes
configure:7114: checking for stdlib.h
configure:7114: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7114: $? = 0
configure:7114: result: yes
configure:7114: checking for string.h
configure:7114: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7114: $? = 0
configure:7114: result: yes
configure:7114: checking for memory.h
configure:7114: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7114: $? = 0
configure:7114: result: yes
configure:7114: checking for strings.h
configure:7114: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7114: $? = 0
configure:7114: result: yes
configure:7114: checking for inttypes.h
configure:7114: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7114: $? = 0
configure:7114: result: yes
configure:7114: checking for stdint.h
configure:7114: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7114: $? = 0
configure:7114: result: yes
configure:7114: checking for unistd.h
configure:7114: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7114: $? = 0
configure:7114: result: yes
configure:7128: checking for dlfcn.h
configure:7128: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:7128: $? = 0
configure:7128: result: yes
configure:7384: checking for objdir
configure:7399: result: .libs
configure:7663: checking if gcc supports -fno-rtti -fno-exceptions
configure:7681: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:7685: $? = 0
configure:7698: result: no
configure:8056: checking for gcc option to produce PIC
configure:8063: result: -fPIC -DPIC
configure:8071: checking if gcc PIC flag -fPIC -DPIC works
configure:8089: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPIC -DPIC conftest.c >&5
configure:8093: $? = 0
configure:8106: result: yes
configure:8135: checking if gcc static flag -static works
configure:8163: result: yes
configure:8178: checking if gcc supports -c -o file.o
configure:8199: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o out/conftest2.o conftest.c >&5
configure:8203: $? = 0
configure:8225: result: yes
configure:8233: checking if gcc supports -c -o file.o
configure:8280: result: yes
configure:8313: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:9576: result: yes
configure:9613: checking whether -lc should be explicitly linked in
configure:9621: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:9624: $? = 0
configure:9639: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
configure:9642: $? = 0
configure:9656: result: no
configure:9816: checking dynamic linker characteristics
configure:10397: gcc -o conftest -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-rpath -Wl,/foo conftest.c >&5
configure:10397: $? = 0
configure:10646: result: GNU/Linux ld.so
configure:10768: checking how to hardcode library paths into programs
configure:10793: result: immediate
configure:11341: checking whether stripping libraries is possible
configure:11346: result: yes
configure:11381: checking if libtool supports shared libraries
configure:11383: result: yes
configure:11386: checking whether to build shared libraries
configure:11411: result: yes
configure:11414: checking whether to build static libraries
configure:11418: result: yes
configure:11457: checking target system type
configure:11470: result: x86_64-pc-linux-gnu
configure:11499: checking whether build environment is sane
configure:11554: result: yes
configure:11702: checking for a thread-safe mkdir -p
configure:11741: result: /bin/mkdir -p
configure:11744: checking whether make sets $(MAKE)
configure:11766: result: yes
configure:11796: checking for style of include used by make
configure:11824: result: GNU
configure:11858: checking whether make supports nested variables
configure:11875: result: yes
configure:11960: checking dependency style of gcc
configure:12071: result: none
configure:12131: checking for debug-enabled build
configure:12146: result: no
configure:12163: checking for ANSI C header files
configure:12267: result: yes
configure:12275: checking for an ANSI C-conforming const
configure:12341: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:12341: $? = 0
configure:12348: result: yes
configure:12356: checking for inline
configure:12372: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:12372: $? = 0
configure:12380: result: inline
configure:12399: checking for size_t
configure:12399: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:12399: $? = 0
configure:12399: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:60:21: error: expected expression before ')' token
if (sizeof ((size_t)))
^
configure:12399: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "swtpm"
| #define PACKAGE_TARNAME "swtpm"
| #define PACKAGE_VERSION "0.1.0"
| #define PACKAGE_STRING "swtpm 0.1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "swtpm"
| #define VERSION "0.1.0"
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:12399: result: yes
configure:12410: checking return type of signal handlers
configure:12428: gcc -c -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:30:10: error: void value not ignored as it ought to be
return *(signal (0, 0)) (0) == 1;
~^~~~~~~~~~~~~~~~~~
configure:12428: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "swtpm"
| #define PACKAGE_TARNAME "swtpm"
| #define PACKAGE_VERSION "0.1.0"
| #define PACKAGE_STRING "swtpm 0.1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "swtpm"
| #define VERSION "0.1.0"
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <signal.h>
|
| int
| main ()
| {
| return *(signal (0, 0)) (0) == 1;
| ;
| return 0;
| }
configure:12435: result: void
configure:12492: checking for gcc
configure:12519: result: gcc
configure:12748: checking for C compiler version
configure:12757: gcc --version >&5
gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:12768: $? = 0
configure:12757: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-27ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
configure:12768: $? = 0
configure:12757: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:12768: $? = 1
configure:12757: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:12768: $? = 1
configure:12772: checking whether we are using the GNU C compiler
configure:12800: result: yes
configure:12809: checking whether gcc accepts -g
configure:12870: result: yes
configure:12887: checking for gcc option to accept ISO C89
configure:12963: result: none needed
configure:12988: checking whether gcc understands -c and -o together
configure:13025: result: yes
configure:13065: checking for semodule
configure:13098: result: no
configure:13142: checking for AES_set_encrypt_key in -lcrypto
configure:13167: gcc -o conftest -g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro conftest.c -lcrypto >&5
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
configure:13167: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "swtpm"
| #define PACKAGE_TARNAME "swtpm"
| #define PACKAGE_VERSION "0.1.0"
| #define PACKAGE_STRING "swtpm 0.1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "swtpm"
| #define VERSION "0.1.0"
| #define STDC_HEADERS 1
| #define RETSIGTYPE void
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char AES_set_encrypt_key ();
| int
| main ()
| {
| return AES_set_encrypt_key ();
| ;
| return 0;
| }
configure:13176: result: no
configure:13181: error: Faulty openssl crypto library
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-Wdate-time -D_FORTIFY_SOURCE=2'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-Bsymbolic-functions -Wl,-z,relro'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_crypto_AES_set_encrypt_key=no
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/bin/dd
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-pc-linux-gnu
ac_cv_type_signal=void
ac_cv_type_size_t=yes
am_cv_CC_dependencies_compiler_type=none
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /build/src/missing aclocal-1.15'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} /build/src/missing autoconf'
AUTOHEADER='${SHELL} /build/src/missing autoheader'
AUTOMAKE='${SHELL} /build/src/missing automake-1.15'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=none'
CFLAGS='-g -O2 -fdebug-prefix-map=/build/src=. -fstack-protector-strong -Wformat -Werror=format-security'
CPP='gcc -E'
CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
EXPECT=''
FGREP='/bin/grep -F'
GAWK=''
GLIB_CFLAGS=''
GLIB_LIBS=''
GNUTLS_CERTTOOL=''
GNUTLS_LIBS=''
GREP='/bin/grep'
GTHREAD_LIBS=''
HARDENING_CFLAGS=''
HAVE_TCSD_FALSE=''
HAVE_TCSD_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld -m elf_x86_64'
LDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro'
LIBFUSE_CFLAGS=''
LIBFUSE_LIBS=''
LIBOBJS=''
LIBRT_LIBS=''
LIBS=''
LIBTASN1_LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIBTPMS_LIBS=''
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /build/src/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NETSTAT=''
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='swtpm'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='swtpm'
PACKAGE_STRING='swtpm 0.1.0'
PACKAGE_TARNAME='swtpm'
PACKAGE_URL=''
PACKAGE_VERSION='0.1.0'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PYTHON=''
RANLIB='ranlib'
SED='/bin/sed'
SEMODULE=''
SET_MAKE=''
SHELL='/bin/bash'
SOCAT=''
STRIP='strip'
SWTPM_VER_MAJOR='0'
SWTPM_VER_MICRO='0'
SWTPM_VER_MINOR='1'
TPM_NVDEFINE=''
TSS_GROUP=''
TSS_USER=''
VERSION='0.1.0'
WITH_CHARDEV_FALSE=''
WITH_CHARDEV_TRUE=''
WITH_CUSE_FALSE=''
WITH_CUSE_TRUE=''
WITH_GNUTLS_FALSE=''
WITH_GNUTLS_TRUE=''
WITH_SELINUX_FALSE=''
WITH_SELINUX_TRUE='#'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh='${SHELL} /build/src/install-sh'
libdir='${prefix}/lib/x86_64-linux-gnu'
libexecdir='${prefix}/lib/x86_64-linux-gnu'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${prefix}/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "swtpm"
#define PACKAGE_TARNAME "swtpm"
#define PACKAGE_VERSION "0.1.0"
#define PACKAGE_STRING "swtpm 0.1.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define PACKAGE "swtpm"
#define VERSION "0.1.0"
#define STDC_HEADERS 1
#define RETSIGTYPE void
configure: exit 1
dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-openssl returned exit code 1
debian/rules:7: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory '/build/src'
debian/rules:4: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
The command '/bin/sh -c dpkg-buildpackage -b -us -uc -j4' returned a non-zero code: 2
@stefanberger

stefanberger commented Jan 15, 2019

Copy link
Copy Markdown

It should go to the swtpm issues tracker. You may want to try to add libssl-dev to Build-Depends in debian/control and try again. You can send me a PR if that works.

@rgl

rgl commented Jan 15, 2019

Copy link
Copy Markdown
Author

adding the following packages worked: libssl-dev, gawk and net-tools. should some of them be runtime dependencies too?

since the debian/rules file is using --with-openssl should we remove gnutls-dev? I tried that, and it built, but can I ignore the following warning?

Package gnutls was not found in the pkg-config search path.
Perhaps you should add the directory containing `gnutls.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gnutls' found

@rgl

rgl commented Jan 15, 2019

Copy link
Copy Markdown
Author

You can see all the changes I've made at stefanberger/swtpm@master...rgl:master

At least I can boot alpine linux inside a nested vm and check that I have a /dev/tpm0 device there :-)

@stefanberger

Copy link
Copy Markdown

I don't receive notifications from here... gnutls-dev is needed for swtpm_cert.

@rgl

rgl commented Jan 16, 2019

Copy link
Copy Markdown
Author

the conversation was transferred to stefanberger/libtpms#27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment