Package: dma
Version: 0.0.2010.06.17-6
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch


Package failed to build from source
here is the build log

cc -Wl,-Bsymbolic-functions -lssl -lcrypto -lresolv -llockfile -o dma 
aliases_parse.o aliases_scan.o base64.o conf.o crypto.o dma.o dns.o local.o 
mail.o net.o spool.o util.o dfcompat.o
crypto.o: In function `smtp_init_crypto':
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:89: undefined reference to 
`SSL_library_init'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:90: undefined reference to 
`SSL_load_error_strings'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:92: undefined reference to 
`TLSv1_client_method'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:94: undefined reference to 
`SSL_CTX_new'
crypto.o: In function `init_cert_file':
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:53: undefined reference to 
`SSL_CTX_use_certificate_chain_file'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:60: undefined reference to 
`SSL_CTX_use_PrivateKey_file'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:70: undefined reference to 
`SSL_CTX_check_private_key'
crypto.o: In function `smtp_init_crypto':
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:140: undefined reference to 
`SSL_new'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:148: undefined reference to 
`SSL_set_connect_state'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:151: undefined reference to 
`SSL_set_fd'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:159: undefined reference to 
`SSL_connect'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:167: undefined reference to 
`SSL_get_peer_certificate'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:172: undefined reference to 
`X509_free'
crypto.o: In function `hmac_md5':
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:239: undefined reference to 
`MD5_Init'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:241: undefined reference to 
`MD5_Update'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:242: undefined reference to 
`MD5_Update'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:243: undefined reference to 
`MD5_Final'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:247: undefined reference to 
`MD5_Init'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:249: undefined reference to 
`MD5_Update'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:250: undefined reference to 
`MD5_Update'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:252: undefined reference to 
`MD5_Final'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:205: undefined reference to 
`MD5_Init'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:206: undefined reference to 
`MD5_Update'
/home/tarun/source/dma/dma-0.0.2010.06.17/crypto.c:207: undefined reference to 
`MD5_Final'
dns.o: In function `dns_get_mx_list':
/home/tarun/source/dma/dma-0.0.2010.06.17/dns.c:146: undefined reference to 
`__res_search'
/home/tarun/source/dma/dma-0.0.2010.06.17/dns.c:166: undefined reference to 
`ns_initparse'
/home/tarun/source/dma/dma-0.0.2010.06.17/dns.c:169: undefined reference to 
`ns_msg_getflag'
/home/tarun/source/dma/dma-0.0.2010.06.17/dns.c:179: undefined reference to 
`ns_parserr'
/home/tarun/source/dma/dma-0.0.2010.06.17/dns.c:186: undefined reference to 
`ns_get16'
/home/tarun/source/dma/dma-0.0.2010.06.17/dns.c:188: undefined reference to 
`ns_name_uncompress'
/home/tarun/source/dma/dma-0.0.2010.06.17/dns.c:197: undefined reference to 
`ns_name_uncompress'
local.o: In function `deliver_local':
/home/tarun/source/dma/dma-0.0.2010.06.17/local.c:92: undefined reference to 
`maillock'
/home/tarun/source/dma/dma-0.0.2010.06.17/local.c:179: undefined reference to 
`mailunlock'
/home/tarun/source/dma/dma-0.0.2010.06.17/local.c:131: undefined reference to 
`mailunlock'
/home/tarun/source/dma/dma-0.0.2010.06.17/local.c:167: undefined reference to 
`mailunlock'
/home/tarun/source/dma/dma-0.0.2010.06.17/local.c:145: undefined reference to 
`mailunlock'
net.o: In function `ssl_errstr':
/home/tarun/source/dma/dma-0.0.2010.06.17/net.c:66: undefined reference to 
`ERR_get_error'
/home/tarun/source/dma/dma-0.0.2010.06.17/net.c:69: undefined reference to 
`ERR_error_string'
net.o: In function `send_remote_command':
/home/tarun/source/dma/dma-0.0.2010.06.17/net.c:102: undefined reference to 
`SSL_write'
/home/tarun/source/dma/dma-0.0.2010.06.17/net.c:103: undefined reference to 
`SSL_get_error'
net.o: In function `read_remote':
/home/tarun/source/dma/dma-0.0.2010.06.17/net.c:156: undefined reference to 
`SSL_read'
net.o: In function `close_connection':
/home/tarun/source/dma/dma-0.0.2010.06.17/net.c:311: undefined reference to 
`SSL_free'
/home/tarun/source/dma/dma-0.0.2010.06.17/net.c:310: undefined reference to 
`SSL_shutdown'
collect2: ld returned 1 exit status
make[2]: *** [dma] Error 1
make[2]: Leaving directory `/home/tarun/source/dma/dma-0.0.2010.06.17'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/home/tarun/source/dma/dma-0.0.2010.06.17'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1335:
dpkg-buildpackage -rfakeroot -D -us -uc failed

*** /tmp/tmpEUqDyd
In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/patches/38_fix_ftbfs_binutils-gold.patch:
    to fix FTBFS error. (LP: #729118) 

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 
'maverick-backports'), (500, 'maverick')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-25-generic (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru dma-0.0.2010.06.17/debian/changelog dma-0.0.2010.06.17/debian/changelog
diff -Nru dma-0.0.2010.06.17/debian/control dma-0.0.2010.06.17/debian/control
--- dma-0.0.2010.06.17/debian/control	2010-10-15 20:17:11.000000000 +0530
+++ dma-0.0.2010.06.17/debian/control	2011-03-04 20:50:00.000000000 +0530
@@ -1,7 +1,8 @@
 Source: dma
 Section: mail
 Priority: optional
-Maintainer: Peter Pentchev <r...@ringlet.net>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Peter Pentchev <r...@ringlet.net>
 DM-Upload-Allowed: yes
 Build-Depends: debhelper (>= 7.0.50), byacc, dpkg-dev (>= 1.15.7~), flex, hardening-wrapper, liblockfile-dev, libssl-dev, po-debconf
 Standards-Version: 3.9.1
diff -Nru dma-0.0.2010.06.17/debian/patches/38_fix_ftbfs_binutils-gold.patch dma-0.0.2010.06.17/debian/patches/38_fix_ftbfs_binutils-gold.patch
--- dma-0.0.2010.06.17/debian/patches/38_fix_ftbfs_binutils-gold.patch	1970-01-01 05:30:00.000000000 +0530
+++ dma-0.0.2010.06.17/debian/patches/38_fix_ftbfs_binutils-gold.patch	2011-03-04 20:43:55.000000000 +0530
@@ -0,0 +1,10 @@
+Index: dma-0.0.2010.06.17/Makefile.plain
+===================================================================
+--- dma-0.0.2010.06.17.orig/Makefile.plain	2011-03-04 15:11:54.533695997 +0000
++++ dma-0.0.2010.06.17/Makefile.plain	2011-03-04 15:12:39.645695997 +0000
+@@ -48,4 +48,4 @@
+ 	${CC} ${CFLAGS} ${CPPFLAGS} -include dfcompat.h -o $@ -c $<
+ 
+ dma: ${OBJS}
+-	${CC} ${LDFLAGS} ${LDADD} -o $@ ${OBJS}
++	${CC} ${LDFLAGS} -o $@ ${OBJS} ${LDADD}
diff -Nru dma-0.0.2010.06.17/debian/patches/series dma-0.0.2010.06.17/debian/patches/series
--- dma-0.0.2010.06.17/debian/patches/series	2010-10-16 21:24:13.000000000 +0530
+++ dma-0.0.2010.06.17/debian/patches/series	2011-03-04 20:43:35.000000000 +0530
@@ -20,3 +20,4 @@
 35-delivery-retry.patch
 36-sa_nocldwait.patch
 37-gnu-hurd.patch
+38_fix_ftbfs_binutils-gold.patch

Reply via email to