My guess: Your version of dpkg-source doesn't like the newlines at the end of
the control file. I'll remove them in my package. You try the same.
Please not however: building these packages for woody will be tricky. Woody
doesn't have ucf and debconf will be broken. Also, glib version may be a problem
for woody.
And woody doesn't have mysql-server (>= 4.0.12)
TWC|Mario Peschel wrote:
I tried to build packages for woody and I've got this error:
dbmail-2.0.0 # dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package is dbmail
dpkg-buildpackage: source version is 2.0.0-1
dpkg-buildpackage: source maintainer is root <[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture is i386
fakeroot debian/rules clean
# run clean
dh_testroot
dh_testdir
rm -rf stamps
rm -f `find . -name ".#*"`
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/root/dbmail-2.0.0'
make[1]: *** No rule to make target `clean'. Stop.
make[1]: Leaving directory `/root/dbmail-2.0.0'
make: [clean1] Error 2 (ignored)
test -r buildtools/config.cache && \
rm -f buildtools/config.cache
make: [clean1] Error 1 (ignored)
test -r buildtools/config.log && \
rm -f buildtools/config.log
make: [clean1] Error 1 (ignored)
test -r config.log && \
rm -f config.log
make: [clean1] Error 1 (ignored)
for d in mysql mysql-ldap pgsql pgsql-ldap; do \
packagename="dbmail-$d"; \
for f in postinst prerm postrm preinst docs config templates
manpages; do \
rm -f debian/dbmail-$d.$f; \
done; \
for f in init cron.d; do \
rm -f debian/$packagename.dbmail.$f; \
done; \
done
for file in config.in aclocal.m4 acconfig.h configure `find . -name
Makefile.in`; do \
test -e $file.orig && mv -v $file.orig $file || true; \
done
rm -rf autom4te.cache
for file in Makefile config.h config.status libtool stamp-h .deps; do \
rm -rf `find . -name $file`; \
done
#DEBIAN Makefile config.h config.status libtool stamp-h auth/Makefile
mysql/Makefile pgsql/Makefile sort/Makefile
rm -f stamp-h.in
rm -f `find . -name ltmain.sh`
rm -f `find . -name config.guess`
rm -f `find . -name config.sub`
dh_clean
rm -rf patch-stamp patch-stampT debian/patched
dpkg-source -b dbmail-2.0.0
dpkg-source: error: per-package paragraph 3 in control info file is
missing Package line
There are Package lines in debian/control so what does it mean?
Regards,
Mario
Paul J Stevens wrote:
Try the upcoming official debian packages. I just uploaded
semi-finished packages to
debian.nfgd.net. These are what will become the official
debian/unstable packages once I iron out some shlib and config issues.
They include some extra goodies like the preforking patch.
They are i386 arch build which should run out of the box on opteron.
Or you could apt-get source them and build your own.
deb http://debian.nfgd.net/debian unstable/
For all you eager beavers :) the versioning is already at 2.0.0-1
which won't change until final upload to master. I'll sent
notification to the list if I update those, so you can all run apt-get
install --reinstall them when I do, or when they end up in sid.
Gabriel wrote:
Hallo,
I tried to compile DBMail 2 Final on my amd64 debian box.
Autoconf & configure dont complain.
gcc 3.3.5 debian
I use checkinstall to build packages. After a while I get this:
...
make[2]: Entering directory `/root/dbmail-2.0.0'
/bin/sh ./buildtools/mkinstalldirs /usr/local/lib
/bin/sh ./libtool --mode=install /usr/bin/install -c libdbmail.la
/usr/local/lib/libdbmail.la
libtool: install: warning: relinking `libdbmail.la'
(cd /root/dbmail-2.0.0; /bin/sh ./libtool --mode=relink gcc
-fomit-frame-pointer -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes
-o libdbmail.la -rpath /usr/local/lib config.lo debug.lo list.lo
dbmd5.lo md5.lo db.lo misc.lo mime.lo pidfile.lo server.lo
serverchild.lo header.lo pipe.lo forward.lo dsn.lo
mysql/libmysqldbmail.la sort/libsortdbmail.la auth/libauthdbmail.la
-L/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl
-lcrypto )
gcc -shared config.lo debug.lo list.lo dbmd5.lo md5.lo db.lo misc.lo
mime.lo pidfile.lo server.lo serverchild.lo header.lo pipe.lo forward.lo
dsn.lo -Wl,--rpath -Wl,/usr/local/lib/dbmail -L/usr/local/lib/dbmail
-lmysqldbmail -lsortdbmail -lauthdbmail -L/usr/lib -lmysqlclient -lz
-lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto -Wl,-soname
-Wl,libdbmail.0 -o .libs/libdbmail.0.0.0
/usr/bin/ld: /usr/local/lib/dbmail/libmysqldbmail.a(dbmysql.o):
relocation R_X86_64_32 can not be used when making a shared object;
recompile with -fPIC
/usr/local/lib/dbmail/libmysqldbmail.a: could not read symbols: Bad
value
collect2: ld returned 1 exit status
libtool: install: error: relink `libdbmail.la' with the above command
before installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/root/dbmail-2.0.0'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/root/dbmail-2.0.0'
make: *** [install-recursive] Error 1
**** Installation failed. Aborting package creation.
Restoring overwritten files from backup...OK
Cleaning up...OK
Bye.
-----END
I tried autoconf 2.13 & 2.5
Can someone Help ?
Thank you.
Gabriel
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail
--
________________________________________________________________
Paul Stevens [EMAIL PROTECTED]
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands_______________________________________www.nfg.nl