Hi there,

I've tried to create DBMail3-RC1 packages for Debian Squeeze. But the build brakes with an error:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -O1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -MT lmtpd.o -MD -MP -MF ".deps/lmtpd.Tpo" -c -o lmtpd.o lmtpd.c; \ then mv -f ".deps/lmtpd.Tpo" ".deps/lmtpd.Po"; else rm -f ".deps/lmtpd.Tpo"; exit 1; fi /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -O1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -export-dynamic -lcrypt -lcrypt -lglib-2.0 -pthread -lgmime-2.4 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lm -lmhash -levent -lssl -lzdb -o dbmail-lmtpd lmtp.o lmtpd.o libdbmail.la -lldap libtool: link: gcc -Wall -O1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -pthread -o .libs/dbmail-lmtpd lmtp.o lmtpd.o -Wl,--export-dynamic -lcrypt -lgmime-2.4 /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -lm /usr/lib/libmhash.so -levent -lssl /usr/lib/libzdb.so ./.libs/libdbmail.so -lldap -pthread -Wl,-rpath -Wl,/usr/lib/dbmail if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -O1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -MT sievecmd.o -MD -MP -MF ".deps/sievecmd.Tpo" -c -o sievecmd.o sievecmd.c; \ then mv -f ".deps/sievecmd.Tpo" ".deps/sievecmd.Po"; else rm -f ".deps/sievecmd.Tpo"; exit 1; fi /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -O1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -export-dynamic -lcrypt -lcrypt -lglib-2.0 -pthread -lgmime-2.4 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lm -lmhash -levent -lssl -lzdb -o dbmail-sievecmd sievecmd.o libdbmail.la -lldap libtool: link: gcc -Wall -O1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -pthread -o .libs/dbmail-sievecmd sievecmd.o -Wl,--export-dynamic -lcrypt -lgmime-2.4 /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -lm /usr/lib/libmhash.so -levent -lssl /usr/lib/libzdb.so ./.libs/libdbmail.so -lldap -pthread -Wl,-rpath -Wl,/usr/lib/dbmail
sievecmd.o: In function `do_edit':
sievecmd.c:(.text+0x6b3): warning: the use of `tempnam' is dangerous, better use `mkstemp' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -O1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -MT timsieve.o -MD -MP -MF ".deps/timsieve.Tpo" -c -o timsieve.o timsieve.c; \ then mv -f ".deps/timsieve.Tpo" ".deps/timsieve.Po"; else rm -f ".deps/timsieve.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -O1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -MT timsieved.o -MD -MP -MF ".deps/timsieved.Tpo" -c -o timsieved.o timsieved.c; \ then mv -f ".deps/timsieved.Tpo" ".deps/timsieved.Po"; else rm -f ".deps/timsieved.Tpo"; exit 1; fi /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -O1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -export-dynamic -lcrypt -lcrypt -lglib-2.0 -pthread -lgmime-2.4 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lm -lmhash -levent -lssl -lzdb -o dbmail-timsieved timsieve.o timsieved.o libdbmail.la -lldap libtool: link: gcc -Wall -O1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/zdb -W -Wall -Wpointer-arith -Wstrict-prototypes -pthread -o .libs/dbmail-timsieved timsieve.o timsieved.o -Wl,--export-dynamic -lcrypt -lgmime-2.4 /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -lm /usr/lib/libmhash.so -levent -lssl /usr/lib/libzdb.so ./.libs/libdbmail.so -lldap -pthread -Wl,-rpath -Wl,/usr/lib/dbmail
make[4]: Leaving directory `/usr/src/dbmail-3.0.0-rc1/src'
make[3]: Leaving directory `/usr/src/dbmail-3.0.0-rc1/src'
Making all in test
make[3]: Entering directory `/usr/src/dbmail-3.0.0-rc1/test'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/dbmail-3.0.0-rc1/test'
Making all in man
make[3]: Entering directory `/usr/src/dbmail-3.0.0-rc1/man'
asciidoc --unsafe -b docbook -d manpage dbmail.txt
xmlto man dbmail.xml 2>/dev/null
../fixsp.pl dbmail.1
asciidoc --unsafe -b docbook -d manpage dbmail-deliver.txt
asciidoc: WARNING: dbmail-deliver.txt: line 15: missing section: [-r return path] [-f configFile]
xmlto man dbmail-deliver.xml 2>/dev/null
make[3]: *** [dbmail-deliver.1] Error 13
rm dbmail-deliver.xml dbmail.xml
make[3]: Leaving directory `/usr/src/dbmail-3.0.0-rc1/man'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/dbmail-3.0.0-rc1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/dbmail-3.0.0-rc1'
make: *** [stamps/dbmail] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


So it seems that it has been build successful but it has got some problems to build the manuals.


Here is the file dbmail-deliver.txt:

NAME
----
dbmail-deliver - inserts messages into the DBMail mailsystem.


SYNOPSIS
--------
dbmail-deliver [-t headerfield] [-d addresses] [-u usernames] [-m|-M mailboxname]
[-r return path] [-f configFile]

DESCRIPTION
-----------
The dbmail-deliver program inserts messages from the commandline or from
any MTA into the DBMail mailsystem. The program reads from standard input.


OPTIONS
-------
-t headerfield::
  Deliver messages to the recipient MIME header specified in
  headerfield. The default header to use is the "Delivered-To:"
  header.

-d addresses...::
  Deliver messages to the recipients specified by addresses. This
  option is mostly used for delivery from an MTA. Seperate multiple
  addresses by spaces.

-u usernames...::
  Deliver messages straight to the given username.
  Seperate multiple usernames with spaces.

-m mailboxname::
  Deliver messages to mailbox mailboxname of the recipient. If
  this mailbox does not exist yet, it is created. Sieve scripts
  will be run normally, possibly altering the destination mailbox.

-M mailboxname::
  Deliver messages to mailbox mailboxname of the recipient. If
  this mailbox does not exist yet, it is created. Sieve scripts
  are not run. Permission checks are not performed for mailbox creation
  or message delivery.

-r returnpath::
  Set return path for bounces and other error reports to return path.


include::commonopts.txt[]

include::footer.txt[]




My buildenvironment is a chroot of Debian Sqeeze, all dependences for DBmail are installed. PostgreSQL 9 was installed from backports.debian.org. And libzdb I've packaged from source from the debian.nfgd.net repository. I'm using the directory debian with all scripts, patches and files shipped with dbmail-3.0.0-rc1.tar.gz. Only debian/changelog is a liite bit modified.
So any suggestions what will do the trick?

kind regards
Darko Hojnik
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to