FS#27509 - [exim] unable to build package

Attached to Project: Community Packages
Opened by felis (felis-lybica) - Friday, 09 December 2011, 17:27 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 09 January 2012, 15:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Angel Velasquez (angvp)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
Not rebuild package exim

Additional info:
pkgname=exim
pkgver=4.77
pkgrel=1

error info:
"
gcc version.c
gcc -o exim
/usr/bin/ld: lookups/lookups.a(ldap.o): undefined reference to symbol 'ber_pvt_opt_on'
/usr/bin/ld: note: 'ber_pvt_opt_on' is defined in DSO /usr/lib/liblber-2.4.so.2 so try adding it to the linker command line
/usr/lib/liblber-2.4.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/var/abs/community/exim/src/exim-4.77/build-Linux-i386'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
"


Steps to reproduce:
# abs
# cd /var/abs/community/exim/
# makepkg
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Monday, 09 January 2012, 15:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed the issue. Thank you kurych.
Comment by kurych (kurych) - Friday, 09 December 2011, 18:21 GMT
To resolve the issue apply change to file /var/abs/community/exim.Makefile:

$ cat exim.Makefile.patch
###diff -u exim.Makefile.old exim.Makefile
--- exim.Makefile.old 2011-12-09 21:58:02.318777115 +0400
+++ exim.Makefile 2011-12-09 21:58:21.122008171 +0400
@@ -1222,6 +1222,6 @@
# ENABLE_DISABLE_FSYNC=yes

HAVE_IPV6=YES
-LOOKUP_LIBS=-lldap
+LOOKUP_LIBS=-lldap -llber
EXTRALIBS_EXIM=-lpam
# End of EDITME for Exim 4.
Comment by Alexander F. Rødseth (xyproto) - Friday, 09 December 2011, 21:53 GMT
Confirmed, the PKGBUILD doesn't build here either. x86_64.

Loading...