Your message dated Wed, 18 Nov 2015 01:06:49 +0100
with message-id <[email protected]>
and subject line Re: Bug#596264: dash: Should respect CFLAGS when building
has caused the Debian Bug report #596264,
regarding dash: Should respect CFLAGS when building
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.)


-- 
596264: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596264
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dash
Version: 0.5.5.1-7
Severity: wishlist
Tags: patch

In Debian main mechanism for providing building flags when building
packages is by using /etc/dpkg/buildflags.conf.

This file is readed by dpkg-buildpackage, and nacassary
environment variables are created before debian/rules
is executed.

dash's debian/rules, unconditionally overwrites all flags.


Single change to debian/rules fixes this. Patch bellow.

Thanks.

--- debian/rules.o      2010-09-09 21:29:41.000000000 +0200
+++ debian/rules        2010-09-09 21:24:11.000000000 +0200
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f

 CC =gcc
-CFLAGS =-g -O2 -Wall
+CFLAGS ?=-g -O2 -Wall
 STRIP =strip

 DEB_HOST_GNU_TYPE =$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dash depends on:
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  dpkg                          1.15.8.4   Debian package management system
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib

dash recommends no packages.

dash suggests no packages.

-- debconf information excluded



--- End Message ---
--- Begin Message ---
Version: 0.5.7-4
Package: src:dash

Hello,

it looks like this problem has been fixed in commits 8435407c7a86a388a0aca3b0cae91e6de01a58a6 and 724cd6cebae59ee242fec288e67b7238c98e4140 included in the current version 0.5.7-4.

The original line now reads

    CFLAGS =$(shell DEB_BUILD_MAINT_OPTIONS=$(DEB_BUILD_MAINT_OPTIONS) \
      dpkg-buildflags --get CFLAGS)

Regards,

--
Gioele Barabucci <[email protected]>

--- End Message ---

Reply via email to