Your message dated Fri, 11 Nov 2011 03:02:26 +0100
with message-id <[email protected]>
and subject line Re: Bug#497653: dh_auto_configure, Perl XS modules and 
DEB_BUILD_OPTIONS=noopt
has caused the Debian Bug report #497653,
regarding dh_auto_configure, Perl XS modules and DEB_BUILD_OPTIONS=noopt
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
497653: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497653
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 7.0.17

The dh_auto_configure and/or dh_auto_build scripts don't currently support
DEB_BUILD_OPTIONS=noopt (policy 4.9.1) with Perl XS modules. Neither
Makefile.PL nor Build.PL build systems look at CFLAGS (set by at least
dpkg-buildpackage), so they need special treatment.

The XS templates in dh-make-perl 0.48 have this:

        $(PERL) Makefile.PL INSTALLDIRS=vendor
        $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""

        $(PERL) Build.PL installdirs=vendor config=optimize="$(CFLAGS)"
        OPTIMIZE="$(CFLAGS)" $(PERL) Build

but based on my tests with liblocale-gettext-perl and
libauthen-dechpwd-perl, these would also do:

        $(PERL) Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$(CFLAGS)"
        $(MAKE) LD_RUN_PATH=""

        $(PERL) Build.PL installdirs=vendor config=optimize="$(CFLAGS)"
        $(PERL) Build

which would mean just dh_auto_configure needs changing.
-- 
Niko Tyni   [email protected]



--- End Message ---
--- Begin Message ---
Version: 8.9.9

On Fri, 30 Sep 2011 14:33:42 +0200, gregor herrmann wrote:

> I'm attaching a patch that's the same as for perl_makemaker.pm modulo
> the syntax for passing CFLAGS, and that works for me in a quick test.

The bug report was still open, since -- if I understand it correctly
after looking at git and comparing the actual packages -- this patch
was applied (thanks!) in 8.9.9 but mentioned in the changelog entry
for 8.9.8 retroactively in the 8.9.9 upload.

Anyway, it's fixed (and before the magical 9.* version [0]), so I'm
closing the bug.


Cheers,
gregor

[0]
makes it easy to remember for pkg-perl: arch:any ==> dh >= 9

-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Paco De Lucia, Al Di Meola, John Mc Laughlin: Le Monastere Dans 
Les Montagne

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to