Package: nullmailer
Version: 1.02-7
Severity: important
Justification: fails to build from source
Hi Norbert,
I just tried tonight to dpkg-buildpackage nulmailer 1.02-7 (among others) on
Ubuntu breezy. As usual when autoconf is involved, it took me about 3 hours
to understand and workaround this obscure compilation error:
i486-linux-gnu-g++ -Wall -g -O2 -fno-rtti -fno-exceptions -W -Wall -o
nullmailer-send send.o ../lib/libnullmailer.a
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/crt1.o: In function _start':
../sysdeps/i386/elf/start.S:115: undefined reference to main'
collect2: ld returned 1 exit status
make[3]: *** [nullmailer-send] Error 1
make[3]: Leaving directory /var/tmp/nullmailer-1.00/src'
Please find workaround attached in case you are interested.
I'm always amazed how autoconf (with admittedly some help from dpkg)
achieves to push compilation issues far beyond the capacities of mere
mortals. So thanks for yet another brilliant (and surely not purposeful)
demonstration.
It's really fascinating to see how far the human kind can go when trying to
invent stuff even more complex, even harder to understand and... much less
reliable than Nature. Finally discovering those Makefile* that keep creating
and modifying each other recursively, all this deeply buried under tons of
cryptic logs from generated code... Wow, this was almost as beautiful as Life!
Have a good day.
Cheers,
Marc.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages nullmailer depends on:
ii debconf [debconf-2.0] 1.4.30.13 Debian configuration management sy
ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.3-13 GCC support library
ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3
ii ucf 1.17 Update Configuration File: preserv
-- debconf information excluded
--- Makefile.in 2006/06/13 23:10:06 1.1
+++ Makefile.in 2006/06/13 23:10:20
@@ -161,7 +161,7 @@
.SUFFIXES:
am--refresh:
@:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \