[Th x86_64] budowanie sa-exim

Czesiek czesiek w innozyt.pl
Wto, 26 Gru 2006, 22:59:30 CET


Witam wszystkich,

Postawiłem system na maszynie z dwoma Xenonami. Ponieważ lubię wyzwania 
postawiłem Th x86_64. I tu zaczął się problem, gdyż na tym serwerze miał 
stanąć exim ze skanowaniem poczty pod  kątem spamu za pomocą sa-exim. 
Rozwiązanie to sprawdza się doskonale na AC więc postanowiłem to 
przenieść na nowy serwer.
Problem polega na tym, że nie mogę zbudować sa-exim.

Dane:

[root w DMZ sa-exim-4.2.1]# uname -a
Linux DMZ 2.6.17.13-1smp #1 SMP Mon Sep 18 10:01:41 UTC 2006 x86_64 
Intel(R)_Xeon(TM)_CPU_3.00GHz unknown PLD Linux

[cn w DMZ SPECS]$ ./builder -bb sa-exim.spec
# $Revision: 1.6 $, $Date: 2006/09/26 13:13:20 $
Available branches:
sa-exim-4.2.1.tar.gz having proper md5sum already exists
Wykonywanie(%prep): /bin/sh -e /var/tmp/rpm-tmp.18235
+ umask 022
+ cd /home/users/cn/rpm/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ :
+ unset LINGUAS
+ cd /home/users/cn/rpm/BUILD
+ rm -rf sa-exim-4.2.1
+ /bin/gzip -dc /home/users/cn/rpm/SOURCES/sa-exim-4.2.1.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd sa-exim-4.2.1
+ /bin/id -u
+ [ 1000 = 0 ]
+ true .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Wykonywanie(%build): /bin/sh -e /var/tmp/rpm-tmp.18235
+ umask 022
+ cd /home/users/cn/rpm/BUILD
+ cd sa-exim-4.2.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ :
+ unset LINGUAS
+ /usr/bin/make SACONF=/etc/mail/sa-exim.conf LDFLAGS=-shared -fPIC 
-Wl,--as-needed  CC=x86_64-pld-linux-gcc
echo "char *version=\"`cat version` (built `date -R 2>/dev/null || 
date`)\";" > sa-exim.h
Building sa-exim-4.2.1.so
x86_64-pld-linux-gcc -I../../src -I./eximinc -DDLOPEN_LOCAL_SCAN 
-DSPAMASSASSIN_CONF=\"/etc/mail/sa-exim.conf\" 
-DSPAMC_LOCATION=\"/usr/bin/spamc\" -O2 -Wall -shared -fPIC 
-Wl,--as-needed  -o sa-exim-4.2.1.so sa-exim.c
sa-exim.c: In function 'get_header':
sa-exim.c:165: warning: pointer targets in passing argument 1 of 
'string_copyn' differ in signedness
sa-exim.c:165: warning: pointer targets in assignment differ in signedness
sa-exim.c: In function 'savemail':
sa-exim.c:203: warning: pointer targets in passing argument 1 of 
'expand_string' differ in signedness
sa-exim.c:203: warning: pointer targets in assignment differ in signedness
sa-exim.c:207: warning: pointer targets in assignment differ in signedness
sa-exim.c:231: warning: pointer targets in passing argument 1 of 'stat' 
differ in signedness
sa-exim.c:237: warning: pointer targets in assignment differ in signedness
sa-exim.c:239: warning: pointer targets in passing argument 1 of 'mkdir' 
differ in signedness
sa-exim.c:240: warning: pointer targets in assignment differ in signedness
sa-exim.c:241: warning: pointer targets in passing argument 1 of 'mkdir' 
differ in signedness
sa-exim.c:242: warning: pointer targets in assignment differ in signedness
sa-exim.c:243: warning: pointer targets in passing argument 1 of 'mkdir' 
differ in signedness
sa-exim.c:244: warning: pointer targets in assignment differ in signedness
sa-exim.c:250: warning: pointer targets in passing argument 1 of 'creat' 
differ in signedness
sa-exim.c:251: warning: pointer targets in assignment differ in signedness
sa-exim.c:258: warning: pointer targets in assignment differ in signedness
sa-exim.c:260: warning: pointer targets in assignment differ in signedness
sa-exim.c:274: warning: pointer targets in passing argument 1 of 
'strlen' differ in signedness
sa-exim.c:275: warning: pointer targets in assignment differ in signedness
sa-exim.c:279: warning: pointer targets in assignment differ in signedness
sa-exim.c:302: warning: pointer targets in assignment differ in signedness
sa-exim.c: In function 'parsemlheader':
sa-exim.c:401: warning: pointer targets in passing argument 2 of 
'compare_header' differ in signedness
sa-exim.c:403: warning: pointer targets in passing argument 1 of 
'string_copy' differ in signedness
sa-exim.c:403: warning: pointer targets in assignment differ in signedness
sa-exim.c:427: warning: pointer targets in assignment differ in signedness
sa-exim.c:442: warning: pointer targets in assignment differ in signedness
sa-exim.c: In function 'cleanmsgid':
sa-exim.c:483: warning: pointer targets in passing argument 1 of 
'string_copyn' differ in signedness
sa-exim.c:483: warning: pointer targets in assignment differ in signedness
sa-exim.c:512:2: warning: #warning you should not worry about the "might 
be clobbered by longjmp", see source
sa-exim.c: In function 'local_scan':
sa-exim.c:616: warning: pointer targets in passing argument 1 of 
'cleanmsgid' differ in signedness
sa-exim.c:617: warning: pointer targets in assignment differ in signedness
sa-exim.c:646: warning: pointer targets in assignment differ in signedness
sa-exim.c:776: warning: pointer targets in passing argument 1 of 
'expand_string' differ in signedness
sa-exim.c:776: warning: pointer targets in assignment differ in signedness
sa-exim.c:776: warning: pointer targets in passing argument 1 of 
'sscanf' differ in signedness
sa-exim.c:777: warning: pointer targets in passing argument 1 of 
'expand_string' differ in signedness
sa-exim.c:777: warning: pointer targets in assignment differ in signedness
sa-exim.c:777: warning: pointer targets in passing argument 1 of 
'sscanf' differ in signedness
sa-exim.c:778: warning: pointer targets in passing argument 1 of 
'expand_string' differ in signedness
sa-exim.c:778: warning: pointer targets in assignment differ in signedness
sa-exim.c:778: warning: pointer targets in passing argument 1 of 
'sscanf' differ in signedness
sa-exim.c:779: warning: pointer targets in passing argument 1 of 
'expand_string' differ in signedness
sa-exim.c:779: warning: pointer targets in assignment differ in signedness
sa-exim.c:779: warning: pointer targets in passing argument 1 of 
'sscanf' differ in signedness
sa-exim.c:782: warning: pointer targets in assignment differ in signedness
sa-exim.c:783: warning: pointer targets in passing argument 1 of 
'strlen' differ in signedness
sa-exim.c:785: warning: pointer targets in assignment differ in signedness
sa-exim.c:791: warning: pointer targets in assignment differ in signedness
sa-exim.c:795: warning: pointer targets in assignment differ in signedness
sa-exim.c:797: warning: pointer targets in assignment differ in signedness
sa-exim.c:827: warning: pointer targets in passing argument 1 of 
'expand_string' differ in signedness
sa-exim.c:830: warning: pointer targets in assignment differ in signedness
sa-exim.c:860: warning: pointer targets in passing argument 1 of 
'expand_string' differ in signedness
sa-exim.c:863: warning: pointer targets in assignment differ in signedness
sa-exim.c:930: warning: pointer targets in assignment differ in signedness
sa-exim.c:935: warning: pointer targets in assignment differ in signedness
sa-exim.c:969: warning: pointer targets in passing argument 1 of 
'strlen' differ in signedness
sa-exim.c:1122: warning: pointer targets in passing argument 1 of 
'string_copyn' differ in signedness
sa-exim.c:1122: warning: pointer targets in assignment differ in signedness
sa-exim.c:1130: warning: pointer targets in assignment differ in signedness
sa-exim.c:1142: warning: pointer targets in assignment differ in signedness
sa-exim.c:1179: warning: pointer targets in passing argument 1 of 
'string_copyn' differ in signedness
sa-exim.c:1179: warning: pointer targets in assignment differ in signedness
sa-exim.c:1185: warning: pointer targets in assignment differ in signedness
sa-exim.c:1221: warning: pointer targets in assignment differ in signedness
sa-exim.c:1257: warning: pointer targets in assignment differ in signedness
sa-exim.c:1290: warning: pointer targets in passing argument 1 of 
'expand_string' differ in signedness
sa-exim.c:1293: warning: pointer targets in assignment differ in signedness
sa-exim.c:1313: warning: pointer targets in passing argument 1 of 
'expand_string' differ in signedness
sa-exim.c:1316: warning: pointer targets in assignment differ in signedness
sa-exim.c:1349: warning: pointer targets in assignment differ in signedness
sa-exim.c:1367: warning: pointer targets in passing argument 1 of 
'string_sprintf' differ in signedness
sa-exim.c:1367: warning: pointer targets in assignment differ in signedness
sa-exim.c:1374: warning: pointer targets in assignment differ in signedness
sa-exim.c:1390: warning: pointer targets in assignment differ in signedness
sa-exim.c:1399: warning: pointer targets in assignment differ in signedness
sa-exim.c:1442: warning: pointer targets in assignment differ in signedness
sa-exim.c:1478: warning: pointer targets in assignment differ in signedness
sa-exim.c:1507: warning: pointer targets in assignment differ in signedness
chmod a+rx sa-exim-4.2.1.so
Building accept.so
x86_64-pld-linux-gcc -I../../src -I./eximinc -DDLOPEN_LOCAL_SCAN 
-DSPAMASSASSIN_CONF=\"/etc/mail/sa-exim.conf\" 
-DSPAMC_LOCATION=\"/usr/bin/spamc\" -O2 -Wall -shared -fPIC 
-Wl,--as-needed  -o accept.so accept.c
chmod a+rx accept.so
Generating sa.html
Generating CHANGELOG
Generating ACKNOWLEDGEMENTS
+ /usr/bin/make
make: Nie ma nic do zrobienia w `all'.
+ exit 0
Wykonywanie(%install): /bin/sh -e /var/tmp/rpm-tmp.93843
+ umask 022
+ cd /home/users/cn/rpm/BUILD
+ cd sa-exim-4.2.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ :
+ unset LINGUAS
+ rm -rf /home/users/cn/tmp/sa-exim-4.2.1-root-cn
+ install -d /home/users/cn/tmp/sa-exim-4.2.1-root-cn/etc/mail 
/home/users/cn/tmp/sa-exim-4.2.1-root-cn/usr/lib64/exim
+ install sa-exim-4.2.1.so 
/home/users/cn/tmp/sa-exim-4.2.1-root-cn/usr/lib64/exim/sa-exim.so
+ install sa-exim.conf 
/home/users/cn/tmp/sa-exim-4.2.1-root-cn/etc/mail/sa-exim.conf
+ /usr/lib/rpm/find-debuginfo.sh /home/users/cn/rpm/BUILD/sa-exim-4.2.1
extracting debug info from 
/home/users/cn/tmp/sa-exim-4.2.1-root-cn/usr/lib64/exim/sa-exim.so
/usr/bin/debugedit: 
/home/users/cn/tmp/sa-exim-4.2.1-root-cn/usr/lib64/exim/sa-exim.so: 
Could not find DWARF-2 abbreviation 104
0 bloków
+ __spec_install_post_strip
Strip executable binaries, archives and shared object files.
+ __spec_install_post_chrpath
Remove RPATH from executable binaries and shared object files.
+ __spec_install_post_compress_docs
Compress man and info pages.
+ __spec_install_post_compress_modules
Compress kernel modules if any.
+ __spec_install_post_py_hardlink
Przetwarzanie plików: sa-exim-4.2.1-0.1
błąd: Nie znaleziono pliku: 
/home/users/cn/tmp/sa-exim-4.2.1-root-cn/var/spool/sa-exim
Wykonywanie(%doc): /bin/sh -e /var/tmp/rpm-tmp.93843
+ umask 022
+ cd /home/users/cn/rpm/BUILD
+ cd sa-exim-4.2.1
+ 
DOCDIR=/home/users/cn/tmp/sa-exim-4.2.1-root-cn/usr/share/doc/sa-exim-4.2.1
+ export DOCDIR
+ rm -rf 
/home/users/cn/tmp/sa-exim-4.2.1-root-cn/usr/share/doc/sa-exim-4.2.1
+ /bin/mkdir -p 
/home/users/cn/tmp/sa-exim-4.2.1-root-cn/usr/share/doc/sa-exim-4.2.1
+ cp -pr contrib/sa-exim-stats.txt contrib/spam_resend.txt 
ACKNOWLEDGEMENTS CHANGELOG README README.greylisting TODO 
/home/users/cn/tmp/sa-exim-4.2.1-root-cn/usr/share/doc/sa-exim-4.2.1
+ /usr/lib/rpm/compress-doc
Compressing documentation in 
/home/users/cn/tmp/sa-exim-4.2.1-root-cn/usr/share/doc/sa-exim-4.2.1...
./ACKNOWLEDGEMENTS ./CHANGELOG ./README ./README.greylisting ./TODO 
./sa-exim-stats.txt ./spam_resend.txt
Documentation compressed.
+ exit 0
Przetwarzanie plików: sa-exim-debuginfo-4.2.1-0.1


Błędy budowania RPM-a:
    Nie znaleziono pliku: 
/home/users/cn/tmp/sa-exim-4.2.1-root-cn/var/spool/sa-exim
Error: package build failed. (no more info)

Skutek:
sa-exim-4.2.1.so co prawda buduje się (tzn. jest taki plik w 
~/rpm/BUILD/sa-exim-4.2.1), ale po uruchomieniu exima z tym plikiem 
niestety nie  jest wykonywane skanowanie.

Pytanie:
Czego mi brakuje aby można było zbudować sa-exim?

Dzięki za wszelkie sugestie.

Czesiek



Więcej informacji o liście dyskusyjnej pld-users-pl