Bug#318746: arson: debian/rules does not honor noopt / build with -g

2005-08-06 Thread Helge Kreutzmann
Hallo Mike,
On Sun, Jul 24, 2005 at 03:41:57PM -0700, Mike Markley wrote:
 I've modified that snippet to set CXXFLAGS instead of CFLAGS since there
 seems to be nothing that actually uses CFLAGS. I'm also attempting to
 override INSTALL_STRIP_PROGRAM for the nostrip option, because it's
 explicitly defined with -s and used in a few Makefiles.
 
 Let me know if you have any other thoughts on this. I'm dist-upgrading
 my box right now so that I can test the build.

What are the results? Do you want me to test as well?

Greetings

 Helge

-- 
Dr. Helge Kreutzmann, Dipl.-Phys.   [EMAIL PROTECTED]
   gpg signed mail preferred 
64bit GNU powered  http://www.itp.uni-hannover.de/~kreutzm
  Help keep free software libre: http://www.ffii.de/


pgpcRZS4AJPLS.pgp
Description: PGP signature


Bug#318746: arson: debian/rules does not honor noopt / build with -g

2005-07-24 Thread Mike Markley
On Sun, Jul 17, 2005 at 02:38:00PM +0200, Helge Kreutzmann [EMAIL PROTECTED] 
wrote:
 As you can see, DEB_BUILD_OPTIONS is completely ignored[1]. Also the
 binary is never build with -g, (which is the entire reason I wanted
 to rebuild arson, btw). Also -Wall is not used.
 
 First, why do you set CFLAGS in debian/rules? You have a C++-programm
 (correct me if I am wrong)
 so IMHO it should be CXXFLAGS instead. 
 
 It would be great if you could actually support these flags. But if
 you do not intend to do so, then remove the first lines in
 debian/rules, because the give the reader the impression that you
 actually do support them.
 
 Please also read section 10.1 (especially the notes for porters!) of
 debian-policy and adapt. It is only a should directive to use -g
 (and the other points mentioned there), but it helps. 

I've modified that snippet to set CXXFLAGS instead of CFLAGS since there
seems to be nothing that actually uses CFLAGS. I'm also attempting to
override INSTALL_STRIP_PROGRAM for the nostrip option, because it's
explicitly defined with -s and used in a few Makefiles.

Let me know if you have any other thoughts on this. I'm dist-upgrading
my box right now so that I can test the build.

-- 
Mike Markley [EMAIL PROTECTED]

Everyone is entitled to an informed opinion.
- Harlan Ellison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#318746: arson: debian/rules does not honor noopt / build with -g

2005-07-17 Thread Helge Kreutzmann
Package: arson
Version: 0.9.8beta2-4
Severity: normal

I wanted to debug my arson problem (c.f. #297751) and
downloaded the source  debian.diff. I ran the following:

#export DEB_BUILD_OPTIONS=
#dpkg-buildpackage -uc -b -rfakeroot  ../arson-build1 21
#export DEB_BUILD_OPTIONS=noopt nostrip
#dpkg-buildpackage -uc -b -rfakeroot  ../arson-build2 21
#diff ../arson-build1 ../arson-build2
#echo $?
0

As you can see, DEB_BUILD_OPTIONS is completely ignored[1]. Also the
binary is never build with -g, (which is the entire reason I wanted
to rebuild arson, btw). Also -Wall is not used.

First, why do you set CFLAGS in debian/rules? You have a C++-programm
(correct me if I am wrong)
so IMHO it should be CXXFLAGS instead. 

It would be great if you could actually support these flags. But if
you do not intend to do so, then remove the first lines in
debian/rules, because the give the reader the impression that you
actually do support them.

Please also read section 10.1 (especially the notes for porters!) of
debian-policy and adapt. It is only a should directive to use -g
(and the other points mentioned there), but it helps. 

[1] Yes, I know how the dh_strip-part works. But without -g -O0 it
kind of defeats the intended purpose

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.10-9-amd64-k8
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages arson depends on:
ii  cdda2wav   4:2.01+01a01-2Creates WAV files from audio CDs
ii  cdrdao 1:1.1.9-3.0.0.1.amd64 Disk-At-Once (DAO) recording of au
ii  kdelibs-data   4:3.3.2-6.1   KDE core shared data
ii  kdelibs4   4:3.3.2-6.1   KDE core libraries
ii  libart-2.0-2   2.3.17-1  Library of functions for 2D graphi
ii  libc6  2.3.2.ds1-22  GNU C Library: Shared libraries an
ii  libfam0c1022.7.0-6   client library to control the FAM 
ii  libflac6   1.1.1-5   Free Lossless Audio Codec - runtim
ii  libgcc11:3.4.3-13GCC support library
ii  libice64.3.0.dfsg.1-14   Inter-Client Exchange library
ii  libidn11   0.5.13-1.0GNU libidn library, implementation
ii  libogg01.1.2-1   Ogg Bitstream Library
ii  libpng12-0 1.2.8rel-1PNG library - runtime
ii  libqt3c102-mt  3:3.3.4-3 Qt GUI Library (Threaded runtime v
ii  libsm6 4.3.0.dfsg.1-14   X Window System Session Management
ii  libstdc++5 1:3.3.5-13The GNU Standard C++ Library v3
ii  libvorbis0a1.1.0-1   The Vorbis General Audio Compressi
ii  libvorbisfile3 1.1.0-1   The Vorbis General Audio Compressi
ii  libx11-6   4.3.0.dfsg.1-14   X Window System protocol client li
ii  libxext6   4.3.0.dfsg.1-14   X Window System miscellaneous exte
ii  libxrender10.8.3-7   X Rendering Extension client libra
ii  xlibs  4.3.0.dfsg.1-14   X Keyboard Extension (XKB) configu
ii  zlib1g 1:1.2.2-4.sarge.1 compression library - runtime

-- no debconf information
-- 
Dr. Helge Kreutzmann, Dipl.-Phys.   [EMAIL PROTECTED]
   gpg signed mail preferred 
64bit GNU powered  http://www.itp.uni-hannover.de/~kreutzm
  Help keep free software libre: http://www.ffii.de/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]