Bug#596429: libdbd-sqlite3-perl: Harcodes optimization flags

2010-09-18 Thread gregor herrmann
block 596429 with 497653
thanks

On Tue, 14 Sep 2010 09:17:42 +0300, Niko Tyni wrote:

  This can be overriden with something like
  dh_auto_configure -- OPTIMIZE=$(shell dpkg-buildflags --get CFLAGS)
  (or manually perl Makefile.PL OPTIMIZE=whatever) but I guess this
  should rather be addressed at the debhelper level (or by
  ExtUtils::MakeMaker?) than by each individual package.
 There's #497653 in debhelper about the DEB_BUILD_OPTIONS=noopt side of this.

Ah, right, I knew we've had that before, thanks for digging up the
bug.

Cheers,
gregor 
-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin,  developer - http://www.debian.org/
 `. `'   Member of VIBE!AT  SPI, fellow of Free Software Foundation Europe
   `-NP: Peter Ratzenbeck: Waldviertler Nächte


signature.asc
Description: Digital signature


Bug#596429: libdbd-sqlite3-perl: Harcodes optimization flags

2010-09-14 Thread Niko Tyni
On Mon, Sep 13, 2010 at 10:54:26PM +0200, gregor herrmann wrote:

 from Makefile.PL doesn't help, perl Makefile.PL (called from
 dh_auto_configure, or manually) happily adds OPTIMIZE = -O2 -g to
 Makefile, ignoring DEB_BUILD_OPTIONS and DEB_CFLAGS_SET.
 
 This can be overriden with something like
 dh_auto_configure -- OPTIMIZE=$(shell dpkg-buildflags --get CFLAGS)
 (or manually perl Makefile.PL OPTIMIZE=whatever) but I guess this
 should rather be addressed at the debhelper level (or by
 ExtUtils::MakeMaker?) than by each individual package.

There's #497653 in debhelper about the DEB_BUILD_OPTIONS=noopt side of this.
-- 
Niko Tyni   nt...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#596429: libdbd-sqlite3-perl: Harcodes optimization flags

2010-09-13 Thread gregor herrmann
On Sat, 11 Sep 2010 12:30:56 +0200, Cyril Brulebois wrote:

 currently, Makefile.PL has -O2 hardcoded, meaning one can't use either
 of those:
 | DEB_BUILD_OPTIONS=noopt nostrip (-O0 gets ignored)
 | DEB_CFLAGS_SET=-O3

I've played a bit with this, and it's quite interesting:

Ripping out 
OPTIMIZE = '-O2',
from Makefile.PL doesn't help, perl Makefile.PL (called from
dh_auto_configure, or manually) happily adds OPTIMIZE = -O2 -g to
Makefile, ignoring DEB_BUILD_OPTIONS and DEB_CFLAGS_SET.

This can be overriden with something like
dh_auto_configure -- OPTIMIZE=$(shell dpkg-buildflags --get CFLAGS)
(or manually perl Makefile.PL OPTIMIZE=whatever) but I guess this
should rather be addressed at the debhelper level (or by
ExtUtils::MakeMaker?) than by each individual package.

Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin,  developer - http://www.debian.org/
 `. `'   Member of VIBE!AT  SPI, fellow of Free Software Foundation Europe
   `-NP: SIMON and GARFUNCLE: Simon and Garfunkel


signature.asc
Description: Digital signature


Bug#596429: libdbd-sqlite3-perl: Harcodes optimization flags

2010-09-11 Thread Cyril Brulebois
Package: libdbd-sqlite3-perl
Version: 1.29-3
Severity: normal

Hi,

currently, Makefile.PL has -O2 hardcoded, meaning one can't use either
of those:
| DEB_BUILD_OPTIONS=noopt nostrip (-O0 gets ignored)
| DEB_CFLAGS_SET=-O3

Mraw,
KiBi.

-- System Information:
Debian Release: sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libdbd-sqlite3-perl depends on:
ii  libc6 2.11.2-5   Embedded GNU C Library: Shared lib
ii  libdbi-perl [perl-dbdabi-94]  1.612-1Perl Database Interface (DBI)
ii  libsqlite3-0  3.7.2-1SQLite 3 shared library
ii  perl  5.10.1-14  Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.10.1]5.10.1-14  minimal Perl system

libdbd-sqlite3-perl recommends no packages.

libdbd-sqlite3-perl suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org