gnutls28 3.3.19 not compiling on debian sid [SOLVED]
Peter Fosseus
peter at fosseus.co.za
Mon Nov 30 05:04:15 UTC 2015
On 29/11/2015 17:55, Andreas Metzler wrote:
> On 2015-11-29 Peter Fosseus <peter at fosseus.co.za> wrote:
>> I have spent a few hours trying to re-install wine32 after it was removed by
>> an upgrade.
>> I had to setup dual lxc containers and compile gnutls from the debian source
>> packages.
>> It turns out that it will not compile if you don't set "TZ=".
>> I did an
>> # export TZ=
>> it complied fine after that. I am no Linux expert, it would be great if
>> someone could explain why that would make a difference, and if I have done
>> some damage to my system?
> Hello,
>
> can you provide more information than "will not compile"?
>
> cu Andreas
Hi,
My recipe for compiling 64Bit is as follows:
apt-get build-dep gnutls28
apt-get source gnutls28
dpkg-source -x gnutls28_3.3.19-1.dsc
cd gnutls28-3.3.19
dpkg-buildpackage
The clue came from here:
https://lists.gnupg.org/pipermail/gnutls-devel/2015-June/007661.html
Without TZ= the output is as follows, I have only included the part that
shows the fail, let me know if you need more:
<cut>
make[6]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/userid'
make[5]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/userid'
make[4]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/userid'
Making check in cert-tests
make[4]: Entering directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
make pathlen aki template-test pem-decoding dane crq invalid-sig crl
make[5]: Entering directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
make[5]: Nothing to be done for 'pathlen'.
make[5]: Nothing to be done for 'aki'.
make[5]: Nothing to be done for 'template-test'.
make[5]: Nothing to be done for 'pem-decoding'.
make[5]: Nothing to be done for 'dane'.
make[5]: Nothing to be done for 'crq'.
make[5]: Nothing to be done for 'invalid-sig'.
make[5]: Nothing to be done for 'crl'.
make[5]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
make check-TESTS
make[5]: Entering directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
make[6]: Entering directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
PASS: pathlen
PASS: aki
PASS: pem-decoding
PASS: invalid-sig
PASS: crq
*FAIL: template-test*
============================================================================
Testsuite summary for GnuTLS 3.3.19
============================================================================
# TOTAL: 6
# PASS: 5
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/cert-tests/test-suite.log
Please report to bugs at gnutls.org
============================================================================
Makefile:1505: recipe for target 'test-suite.log' failed
make[6]: *** [test-suite.log] Error 1
make[6]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
Makefile:1611: recipe for target 'check-TESTS' failed
make[5]: *** [check-TESTS] Error 2
make[5]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
Makefile:1726: recipe for target 'check-am' failed
make[4]: *** [check-am] Error 2
make[4]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
Makefile:2785: recipe for target 'check-recursive' failed
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory '/usr/src/gnutls28-3.3.19/tests'
Makefile:1391: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory '/usr/src/gnutls28-3.3.19'
dh_auto_test: make -j1 check returned exit code 2
----dh_auto_test.fail
./tests/userid/test-suite.log
----
================================================
GnuTLS 3.3.19: tests/userid/test-suite.log
================================================
# TOTAL: 1
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
----dh_auto_test.fail
./tests/cert-tests/test-suite.log
----
====================================================
GnuTLS 3.3.19: tests/cert-tests/test-suite.log
====================================================
# TOTAL: 6
# PASS: 5
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: template-test
===================
*<cut>
*.. contents:: :depth: 2
SKIP: test-float
================
SKIP test-float (exit status: 77)
SKIP: test-vc-list-files-cvs.sh
===============================
test-vc-list-files-cvs.sh: skipped test: cvs not found in PATH
SKIP test-vc-list-files-cvs.sh (exit status: 77)
debian/rules:99: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/usr/src/gnutls28-3.3.19'
debian/rules:110: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
*With tz=*
make[6]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/userid'
make[5]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/userid'
make[4]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/userid'
Making check in cert-tests
make[4]: Entering directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
make pathlen aki template-test pem-decoding dane crq invalid-sig crl
make[5]: Entering directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
make[5]: Nothing to be done for 'pathlen'.
make[5]: Nothing to be done for 'aki'.
make[5]: Nothing to be done for 'template-test'.
make[5]: Nothing to be done for 'pem-decoding'.
make[5]: Nothing to be done for 'dane'.
make[5]: Nothing to be done for 'crq'.
make[5]: Nothing to be done for 'invalid-sig'.
make[5]: Nothing to be done for 'crl'.
make[5]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
make check-TESTS
make[5]: Entering directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
make[6]: Entering directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
PASS: pathlen
PASS: aki
PASS: pem-decoding
PASS: invalid-sig
PASS: crq
*SKIP: template-test*
============================================================================
Testsuite summary for GnuTLS 3.3.19
============================================================================
# TOTAL: 6
# PASS: 5
# SKIP: 1
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[6]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
make[5]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
make[4]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/cert-tests'
Making check in key-tests
make[4]: Entering directory '/usr/src/gnutls28-3.3.19/tests/key-tests'
make key-id pkcs8
make[5]: Entering directory '/usr/src/gnutls28-3.3.19/tests/key-tests'
make[5]: Nothing to be done for 'key-id'.
make[5]: Nothing to be done for 'pkcs8'.
make[5]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/key-tests'
make check-TESTS
make[5]: Entering directory '/usr/src/gnutls28-3.3.19/tests/key-tests'
make[6]: Entering directory '/usr/src/gnutls28-3.3.19/tests/key-tests'
PASS: key-id
PASS: pkcs8
============================================================================
Testsuite summary for GnuTLS 3.3.19
============================================================================
# TOTAL: 2
# PASS: 2
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[6]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/key-tests'
make[5]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/key-tests'
make[4]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/key-tests'
Making check in sha2
make[4]: Entering directory '/usr/src/gnutls28-3.3.19/tests/sha2'
make sha2 sha2-dsa
make[5]: Entering directory '/usr/src/gnutls28-3.3.19/tests/sha2'
make[5]: Nothing to be done for 'sha2'.
make[5]: Nothing to be done for 'sha2-dsa'.
make[5]: Leaving directory '/usr/src/gnutls28-3.3.19/tests/sha2'
make check-TESTS
make[5]: Entering directory '/usr/src/gnutls28-3.3.19/tests/sha2'
make[6]: Entering directory '/usr/src/gnutls28-3.3.19/tests/sha2'
PASS: sha2
PASS: sha2-dsa
*<cut>*
dpkg-deb: building package 'libgnutls28-dev' in
'../libgnutls28-dev_3.3.19-1_amd64.deb'.
dpkg-deb: building package 'libgnutls-deb0-28' in
'../libgnutls-deb0-28_3.3.19-1_amd64.deb'.
dpkg-deb: building package 'libgnutls28-dbg' in
'../libgnutls28-dbg_3.3.19-1_amd64.deb'.
dpkg-deb: building package 'gnutls-bin' in
'../gnutls-bin_3.3.19-1_amd64.deb'.
dpkg-deb: building package 'gnutls-doc' in '../gnutls-doc_3.3.19-1_all.deb'.
dpkg-deb: building package 'guile-gnutls' in
'../guile-gnutls_3.3.19-1_amd64.deb'.
dpkg-deb: building package 'libgnutlsxx28' in
'../libgnutlsxx28_3.3.19-1_amd64.deb'.
dpkg-deb: building package 'libgnutls-openssl27' in
'../libgnutls-openssl27_3.3.19-1_amd64.deb'.
dpkg-genchanges >../gnutls28_3.3.19-1_amd64.changes
dpkg-genchanges: including full source code in upload
dpkg-source --after-build gnutls28-3.3.19
dpkg-source: info: using options from
gnutls28-3.3.19/debian/source/options: --extend-diff-ignore=po/.*
dpkg-buildpackage: full upload (original source is included)
I was then able to do the same for the 32bit and install them both and
then install wine32 1.8 and then play StartCraft II again :)
-pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnutls-maint/attachments/20151130/e0489de4/attachment-0001.html>
More information about the Pkg-gnutls-maint
mailing list