Hi Svante,

On Mi, Dez 16, 2015 at 10:33:07 +0100, Svante Signell wrote:
> Currently icedove FTBFS on GNU/Hurd due to memory problems when linking large
> libraries. The attached patch fixes this problem by giving the 
> --no-keep-memory
> flag to the linker as for alpha and ia64.

I use 'ifneq' instead of 'ifeq', so everything EXCEPT alpha and ia64 build with
'LDFLAGS += -Wl,--no-keep-memory'. If I apply your patch, hurd wouldn't get
-Wl,--no-keep-memory.

> Additionally, since dh_clean does not enable building a second time after a
> build failure, add an override target for sh_auto_clean:
> override_dh_auto_clean:
>       make -f client.mk distclean

Have you try to add this to debian/rules and build icedove from scratch?
For me, it's not working, see:

--8<--
root@machine:/tmp/buildd/icedove-38.4.0# dpkg-buildpackage -b
dpkg-buildpackage: source package icedove
dpkg-buildpackage: source version 38.4.0-1.1
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by root <root@machine>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build icedove-38.4.0
 debian/rules clean
dh clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/tmp/buildd/icedove-38.4.0'
make -f client.mk distclean
make[2]: Entering directory '/tmp/buildd/icedove-38.4.0'
Specified MOZCONFIG "/tmp/buildd/icedove-38.4.0/mozconfig.icedove" does not 
exist!
client.mk:116: *** Fix above errors before continuing..  Stop.
make[2]: Leaving directory '/tmp/buildd/icedove-38.4.0'
debian/rules:86: recipe for target 'override_dh_auto_clean' failed
make[1]: *** [override_dh_auto_clean] Error 2
make[1]: Leaving directory '/tmp/buildd/icedove-38.4.0'
debian/rules:46: recipe for target 'clean' failed
make: *** [clean] Error 2
dpkg-buildpackage: error: debian/rules clean gave error exit status 2
-->8--

BTW: I'm able to build a second time after a build failure. Just use
'debian/rules binary'. It works for me.

Cheers,
Christoph

Reply via email to