ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: AShen <ashen@nsrz.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Починить dspam
Date: Thu, 20 Aug 2009 11:27:58 +0400
Message-ID: <4A8CFAFE.6050403@nsrz.ru> (raw)
In-Reply-To: <f7a739430908192247l1b8e893ds499b13a807088cb9@mail.gmail.com>

20.08.2009 09:47, Eugene Prokopiev пишет:
> 20 августа 2009 г. 4:11 Dmitry V. Levin написал:
>
>> Пакет dspam давно не проходит пересборочный тест и должен быть удалён.
>> Что будем делать с пакетом dovecot-antispam?

Не собирается на x86_64, на x86 он прекрасно собирается.
В чём причина не собираемости на 64-х битке я не знаю. В рассылке 
спрашивал. ldv@ сказал что из-за смены тулчейна. Как чинить пока не знаю. :(


> Может кто-нибудь поможет починить сам dspam?

Жень, используй 3.8.0, он на данный момент наиболее стабилен и отлажен.
3.9.0 на сегодня в статусе beta. Когда я заглянул внутрь скачанного 
архива, я просто не понял в чём дело: арзхив в 800кб, а внутри 2 файла с 
длиной в 0 байтов. Толи я так криво скачал, то ли что то не то ...

После отключения sqlite

а зачем? Вроде спек для 3.8.0 наиболее отлажен ... ;)

> вылезло следующее:
>
> libtool: compile:  i586-alt-linux-gcc -DHAVE_CONFIG_H
> -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/dspam.conf\"
> -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE
> -I. -pipe -Wall -O2 -march=i586 -mtune=i686 -fPIC -DPIC -c hash_drv.c
> -fPIC -DPIC -o hash_drv.o>/dev/null 2>&1
> /bin/sh ../libtool --tag=CC   --mode=link i586-alt-linux-gcc  -pipe
> -Wall -O2 -march=i586 -mtune=i686 -fPIC -DPIC -rpath '/usr/lib' -L
> -ldspam -version-info 7:0:0 -rdynamic -o libhash_drv.la -rpath
> /usr/lib hash_drv.lo  -lm -pthread -ldl
> libtool: link: require no space between `-L' and `-ldspam'
>
> За -L, видимо, должно было что-то следовать:
>
> $ grep -r "ldspam" dspam/
> dspam/src/dspam-uninstalled.pc.in:Libs: -L${libdir} -ldspam
> dspam/src/dspam.pc.in:Libs: -L${libdir} -ldspam
> dspam/src/example.c: * gcc -o example example.c -ldspam -L.libs -I.
> -DHAVE_CONFIG_H \
>
> Куда оно могло потеряться?

А очень просто :) Ну нет в 3.9.0 lib{hash,sqlite,mysql,pgsql}_drv.so
Там сейчас {hash,sqlite,mysql,pgsql}_drv.o
Вот тебе и весь прикол. Как раз с ним и разбираюсь. Ну и заодно наш 
as-need патч отвалился, походу он уже не нужен. Радоваться этому или нет 
пока не решил.


> Вообще, апстрим вроде ожил,
Да ожил, что радует.

>но переезд на новую версию пока все равно
> затруднителен -
> https://sourceforge.net/tracker/?func=detail&aid=2840822&group_id=250683&atid=1126467

Пока он у меня локально собирается в таком виде:

autoreconf -fisv && ./configure --disable-dependency-tracking 
--enable-daemon --enable-neural-networking 
--enable-preferences-extension --enable-virtual-users 
--enable-long-usernames --enable-large-scale --with-gnu-ld --with-pic 
--enable-homedir --with-dspam-home=/var/run/dspam --enable-clamav 
--enable-syslog --with-logdir=/var/log/dspam 
--with-logfile=/var/log/dspam.log && make clean all


А вот опакетить его ... В общем работаю. И данный пакет для меня очень 
важен, важнее мего любимого lazarus'а. Я dspam'ом пользуюсь.




  reply	other threads:[~2009-08-20  7:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-20  5:47 Eugene Prokopiev
2009-08-20  7:27 ` AShen [this message]
2009-08-20  8:06   ` Eugene Prokopiev
2009-08-20  8:14     ` Andrey Rahmatullin
2009-08-20  8:17     ` AShen
2009-08-21 17:56       ` Michael Shigorin
2009-08-20  8:48     ` Dmitry V. Levin
2009-08-20 10:45 ` AShen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A8CFAFE.6050403@nsrz.ru \
    --to=ashen@nsrz.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git