Debian Bug report logs - #480841
buildd.emdebian.org: libssh2-1 fails to cross build, prevents ssh support in libcurl3

Package: buildd.emdebian.org; Maintainer for buildd.emdebian.org is Debian Embedded Team <debian-embedded@lists.debian.org>;

Reported by: Neil Williams <codehelp@debian.org>

Date: Mon, 12 May 2008 10:32:28 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report stored:
Bug#480841; Package general. Full text and rfc822 format available.

Acknowledgement sent to Neil Williams <codehelp@debian.org>:
New Bug report received and filed, but not forwarded. Full text and rfc822 format available.

Message #5 received at quiet@bugs.debian.org (full text, mbox):

From: Neil Williams <codehelp@debian.org>
To: Debian Bug Tracking System <quiet@bugs.debian.org>
Subject: buildd.emdebian.org: libssh2-1 fails to cross build, prevents ssh support in libcurl3
Date: Mon, 12 May 2008 11:14:31 +0100
[Message part 1 (text/plain, inline)]
Package: general
Severity: normal
User: codehelp@debian.org
Usertags: buildd.emdebian.org

$ emsource --status libssh2-1
Checking the apt-cross cache is up to date for arm.
Checking status of libssh2 in /opt/emdebian/trunk/l/libssh2/trunk/
2 emdebian patch files
0 debian patch files

Checking emdebuild status in /opt/emdebian/trunk/l/libssh2/trunk/
build log:
	libssh2 (0.18) FAILED to cross build for arm.
/opt/emdebian/trunk/l/libssh2/trunk/libssh2_0.18-1em1_arm.build
Checking for error logs in /opt/emdebian/trunk/l/libssh2/trunk/
Checking bug status
No open cross-building bugs for libssh2
libssh2 FAILED to build.

$ tail -20
/opt/emdebian/trunk/l/libssh2/trunk/libssh2_0.18-1em1_arm.build
libgcrypt.c: In function '_libssh2_cipher_init':
libgcrypt.c:510: warning: implicit declaration of function
'gcry_cipher_get_algo_keylen'
libgcrypt.c:514: error: 'GCRY_CIPHER_ARCFOUR' undeclared (first use in
this function)
libgcrypt.c:515: error: 'GCRY_CIPHER_MODE_CBC' undeclared (first use in
this function)
libgcrypt.c:518: warning: implicit declaration of function
'gcry_cipher_open'
libgcrypt.c:523: warning: implicit declaration of function
'gcry_cipher_setkey'
libgcrypt.c:525: warning: implicit declaration of function
'gcry_cipher_close'
libgcrypt.c:530: warning: implicit declaration of function
'gcry_cipher_get_algo_blklen'
libgcrypt.c:531: warning: implicit declaration of function
'gcry_cipher_setiv'
libgcrypt.c: In function '_libssh2_cipher_crypt':
libgcrypt.c:554: warning: implicit declaration of function
'gcry_cipher_encrypt'
libgcrypt.c:556: warning: implicit declaration of function
'gcry_cipher_decrypt'
make[3]: *** [libgcrypt.lo] Error 1
make[3]: Leaving directory
`/opt/emdebian/trunk/l/libssh2/trunk/libssh2-0.18/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/opt/emdebian/trunk/l/libssh2/trunk/libssh2-0.18/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/emdebian/trunk/l/libssh2/trunk/libssh2-0.18'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

$ emdebuild -v --build-dep 2>/dev/null
Checking for debian/control
Checking for buildtime cross dependencies in 'debian/xcontrol'.
Installing: libgcrypt11-dev zlib1g-dev with apt-cross.
Enter your sudo password if prompted.
checking libgcrypt11-dev, libgcrypt11-dev-arm-cross installed (1.4.1-1):
OK
checking zlib1g-dev, zlib1g-dev-arm-cross installed (1:1.2.3.3.dfsg-12):
OK
0 to be upgraded, 0 to be newly installed.

$ cat ../emdebian-rules.patch 
--- libssh2.old/debian/rules	Mon May 12 11:05:38 2008
+++ /opt/emdebian/trunk/l/libssh2/trunk/libssh2-0.18/debian/rules
Mon May 12 11:05:38 2008
@@ -58,11 +58,7 @@
 binary-arch: build install
 	dh_testdir
 	dh_testroot
-	dh_installdocs
-	dh_installchangelogs NEWS
     # Install only examples, not the makefiles or makefile dependencies
-	dh_installexamples -X .deps -X Makefile
-	dh_installman
 	dh_install --sourcedir=debian/tmp
 	dh_link
 	dh_strip --dbg-package=libssh2-1-dbg

(so no changes were made to ./configure and no cache file in use, yet.)


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
[signature.asc (application/pgp-signature, inline)]

Bug reassigned from package `general' to `buildd.emdebian.org'. Request was from Neil Williams <codehelp@debian.org> to control@bugs.debian.org. (Wed, 03 Sep 2008 06:30:15 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 08:10:27 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.