Hello Svante,

On Wed, Mar 30, 2016 at 10:20:30AM +0200, Svante Signell wrote:
 
> Noted!
> But the rules:
> ifneq ($(DEB_BUILD_ARCH),ia64)
>         LDFLAGS += -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
> endif
> ifneq ($(DEB_BUILD_ARCH),alpha)
>         LDFLAGS += -Wl,--no-keep-memory
> endif
> would set LDFLAGS --no-keep-memory twice and --reduce-memory-overheads once 
> for
> all architectures not matching ia64,alpha, right?

correct.
We will probably drop this two checks, IA64 isn't alive for a longer
time and Alpha is broken since 31.4.0 and wont refited without help.
 
> It does not work for me either. However the debian/rules is not OK, see below:
> 
> dpkg-buildpackage: host architecture hurd-i386
>  fakeroot debian/rules clean
> dh clean
>    dh_testdir
>    dh_auto_clean
>    dh_clean
>  debian/rules build
> make: 'build' is up to date. <- This i not correct, the build hasn't even
> started

This is fixed by Christoph in
http://anonscm.debian.org/cgit/pkg-mozilla/icedove.git/commit/?id=54ed88d1a5c27fa08cbb18ebc89408812ef60377

>  fakeroot debian/rules binary <- Never build a package under fakeroot, this is
> not necessary and can can cause serious problems. I've seen this for other
> packages too, it is probably a bug in the dh_* tools.
> dh binary
>    dh_testdir
>    dh_update_autotools_config
>    debian/rules override_dh_auto_configure
> ... 

I haven't looked at this issue in detail. We don't call anythere
fakeroot $foo so I assume this is a bug in debhelper.

> Additionally: debian/rules binary does not restart the build from scratch 
> after
> a failure. All built files e.g. under  obj-icedove and obj-<target_triple> are
> still present, i.e. not cleaned out!

This is also been fixed by Christoph in
http://anonscm.debian.org/cgit/pkg-mozilla/icedove.git/commit/?id=54ed88d1a5c27fa08cbb18ebc89408812ef60377

Regards
Carsten

Reply via email to