Bug#765133: libvmime: FTBFS: build-dependency not installable: libgnutls-dev (= 1.2.0)
Heres a patch to make the package build. It's been tested that it builds on raspbian jessie, it has not been tested beyond that. diff -u libvmime-0.9.1/debian/control libvmime-0.9.1/debian/control --- libvmime-0.9.1/debian/control +++ libvmime-0.9.1/debian/control @@ -1,7 +1,7 @@ Source: libvmime Priority: optional Maintainer: Mattias Nordstrom mnord...@debian.org -Build-Depends: debhelper (= 5.0.0), autotools-dev, libgnutls-dev (= 1.2.0), libgsasl7-dev +Build-Depends: debhelper (= 5.0.0), autotools-dev, libgnutls28-dev (= 1.2.0), libgsasl7-dev Standards-Version: 3.9.2 Section: libs Homepage: http://www.vmime.org/ diff -u libvmime-0.9.1/debian/changelog libvmime-0.9.1/debian/changelog --- libvmime-0.9.1/debian/changelog +++ libvmime-0.9.1/debian/changelog @@ -1,3 +1,13 @@ +libvmime (0.9.1-1+rpi1) jessie-staging; urgency=medium + + * Change build-depends to libgnutls28-dev + * Remove include of libgnutls/extra.h which no longer seems to +exist. + * Remove various ERRROR macros that seem broken, I think this +is just code to make prettier error messages. + + -- Peter Michael Green plugw...@raspbian.org Sun, 16 Nov 2014 04:14:21 + + libvmime (0.9.1-1) unstable; urgency=low * New upstream release. only in patch2: unchanged: --- libvmime-0.9.1.orig/src/net/tls/TLSSession.cpp +++ libvmime-0.9.1/src/net/tls/TLSSession.cpp @@ -22,7 +22,7 @@ // #include gnutls/gnutls.h -#include gnutls/extra.h +//#include gnutls/extra.h #include vmime/config.hpp @@ -298,10 +298,10 @@ ERROR(GNUTLS_E_FILE_ERROR) ERROR(GNUTLS_E_TOO_MANY_EMPTY_PACKETS) ERROR(GNUTLS_E_UNKNOWN_PK_ALGORITHM) - ERROR(GNUTLS_E_INIT_LIBEXTRA) - ERROR(GNUTLS_E_LIBRARY_VERSION_MISMATCH) + //ERROR(GNUTLS_E_INIT_LIBEXTRA) + //ERROR(GNUTLS_E_LIBRARY_VERSION_MISMATCH) ERROR(GNUTLS_E_NO_TEMPORARY_RSA_PARAMS) - ERROR(GNUTLS_E_LZO_INIT_FAILED) + //ERROR(GNUTLS_E_LZO_INIT_FAILED) ERROR(GNUTLS_E_NO_COMPRESSION_ALGORITHMS) ERROR(GNUTLS_E_NO_CIPHER_SUITES) ERROR(GNUTLS_E_OPENPGP_GETKEY_FAILED)
Bug#765133: libvmime: FTBFS: build-dependency not installable: libgnutls-dev (= 1.2.0)
peter green wrote: Heres a patch to make the package build. It's been tested that it builds on raspbian jessie, it has not been tested beyond that. And here is an updated patch that actually results in installable binaries. diff -u libvmime-0.9.1/debian/control libvmime-0.9.1/debian/control --- libvmime-0.9.1/debian/control +++ libvmime-0.9.1/debian/control @@ -1,7 +1,7 @@ Source: libvmime Priority: optional Maintainer: Mattias Nordstrom mnord...@debian.org -Build-Depends: debhelper (= 5.0.0), autotools-dev, libgnutls-dev (= 1.2.0), libgsasl7-dev +Build-Depends: debhelper (= 5.0.0), autotools-dev, libgnutls28-dev (= 1.2.0), libgsasl7-dev Standards-Version: 3.9.2 Section: libs Homepage: http://www.vmime.org/ @@ -9,7 +9,7 @@ Package: libvmime-dev Section: libdevel Architecture: any -Depends: libvmime0 (= ${binary:Version}), libgnutls-dev (= 1.2.0), libgsasl7-dev, ${misc:Depends} +Depends: libvmime0 (= ${binary:Version}), libgnutls28-dev (= 1.2.0), libgsasl7-dev, ${misc:Depends} Description: C++ mail library (development files) VMime is a powerful C++ class library for parsing, generating, or editing Internet RFC-[2]822 and MIME messages. VMime is designed to provide a fast diff -u libvmime-0.9.1/debian/changelog libvmime-0.9.1/debian/changelog --- libvmime-0.9.1/debian/changelog +++ libvmime-0.9.1/debian/changelog @@ -1,3 +1,19 @@ +libvmime (0.9.1-1+rpi2) jessie-staging; urgency=medium + + * Also change binary depends to libgntuls-dev + + -- Peter Michael Green plugw...@raspbian.org Sun, 16 Nov 2014 15:34:16 + + +libvmime (0.9.1-1+rpi1) jessie-staging; urgency=medium + + * Change build-depends to libgnutls28-dev + * Remove include of libgnutls/extra.h which no longer seems to +exist. + * Remove various ERRROR macros that seem broken, I think this +is just code to make prettier error messages. + + -- Peter Michael Green plugw...@raspbian.org Sun, 16 Nov 2014 04:14:21 + + libvmime (0.9.1-1) unstable; urgency=low * New upstream release. only in patch2: unchanged: --- libvmime-0.9.1.orig/src/net/tls/TLSSession.cpp +++ libvmime-0.9.1/src/net/tls/TLSSession.cpp @@ -22,7 +22,7 @@ // #include gnutls/gnutls.h -#include gnutls/extra.h +//#include gnutls/extra.h #include vmime/config.hpp @@ -298,10 +298,10 @@ ERROR(GNUTLS_E_FILE_ERROR) ERROR(GNUTLS_E_TOO_MANY_EMPTY_PACKETS) ERROR(GNUTLS_E_UNKNOWN_PK_ALGORITHM) - ERROR(GNUTLS_E_INIT_LIBEXTRA) - ERROR(GNUTLS_E_LIBRARY_VERSION_MISMATCH) + //ERROR(GNUTLS_E_INIT_LIBEXTRA) + //ERROR(GNUTLS_E_LIBRARY_VERSION_MISMATCH) ERROR(GNUTLS_E_NO_TEMPORARY_RSA_PARAMS) - ERROR(GNUTLS_E_LZO_INIT_FAILED) + //ERROR(GNUTLS_E_LZO_INIT_FAILED) ERROR(GNUTLS_E_NO_COMPRESSION_ALGORITHMS) ERROR(GNUTLS_E_NO_CIPHER_SUITES) ERROR(GNUTLS_E_OPENPGP_GETKEY_FAILED)
Bug#765133: libvmime: FTBFS: build-dependency not installable: libgnutls-dev (= 1.2.0)
Source: libvmime Version: 0.9.1-1 Severity: serious Tags: jessie sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20141012 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. It build-depends on libgnutls-dev which is: - scheduled for removal - and (somehow related) uninstallable. Relevant part (hopefully): ┌──┐ │ Install libvmime build dependencies (apt-based resolver) │ └──┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: sbuild-build-depends-libvmime-dummy : Depends: libgnutls-dev (= 1.2.0) but it is not going to be installed E: Unable to correct problems, you have held broken packages. apt-get failed. The full build log is available from: http://aws-logs.debian.net/ftbfs-logs/2014/10/12/libvmime_0.9.1-1_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org