[Pbuilder-maint] Bug#349699: marked as done (pbuilder: CFLAGS is
not being interpreted correctly)
Debian Bug Tracking System
owner at bugs.debian.org
Wed Jan 25 13:33:10 UTC 2006
Your message dated Wed, 25 Jan 2006 11:32:07 -0200
with message-id <9bfa9ae0601250532u5f8807epb604eec2ec6c9ff0 at mail.gmail.com>
and subject line [Pbuilder-maint] Bug#349699: pbuilder: CFLAGS is not being interpreted correctly
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 24 Jan 2006 18:31:54 +0000
>From naoliv at gmail.com Tue Jan 24 10:31:54 2006
Return-path: <naoliv at gmail.com>
Received: from biolinux.df.ibilce.unesp.br ([200.145.203.226])
by spohr.debian.org with esmtp (Exim 4.50)
id 1F1SxO-0004lT-It
for submit at bugs.debian.org; Tue, 24 Jan 2006 10:31:54 -0800
Received: by biolinux.df.ibilce.unesp.br (Postfix, from userid 1000)
id 1AAA7BB078; Tue, 24 Jan 2006 16:31:21 -0200 (BRST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Nelson A. de Oliveira" <naoliv at gmail.com>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: pbuilder: CFLAGS is not being interpreted correctly
Message-ID: <20060124183121.13658.44682.reportbug at biolinux.df.ibilce.unesp.br>
X-Mailer: reportbug 3.18
Date: Tue, 24 Jan 2006 16:31:21 -0200
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: pbuilder
Version: 0.145
Severity: important
Hi!
Today while testing if my package was building OK on pbuilder, I saw an
error.
I have a makefile like this (I am putting here just the important part
of it):
ZDIR = ../zlib
PNGDIR = ../libpng
CRELEASE = -O2
CFLAGS = -I$(ZDIR) -I$(PNGDIR) -Wall $(CRELEASE)
.c$(O):
$(CC) $(CFLAGS) -c $<
Using this makefile, on the pdebuild log I can see:
gcc -g -Wall -O2 -c pngxread.c
However, changing all CFLAGS to CFLGS (just removed the A), it worked
perfectly on a new pdebuild run:
gcc -I../zlib -I../libpng -Wall -O2 -c pngxread.c
Running the makefile outside pbuilder, it's compiled perfectly, without
the need to change CFLAGS to something else.
If you think that it's important to see the full makefile and the source
code, I can put on a place. Just say to me if you want.
Thank you very much!
Nelson
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.13-rc5-mm1
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to pt_BR)
Versions of packages pbuilder depends on:
ii cdebootstrap 0.3.9 Bootstrap a Debian system
ii coreutils 5.93-5 The GNU core utilities
ii debianutils 2.15.2 Miscellaneous utilities specific t
ii debootstrap 0.3.3 Bootstrap a basic Debian system
ii gcc 4:4.0.2-2 The GNU C compiler
ii wget 1.10.2-1 retrieves files from the web
Versions of packages pbuilder recommends:
ii devscripts 2.9.11 Scripts to make the life of a Debi
ii fakeroot 1.5.6 Gives a fake root environment
ii sudo 1.6.8p12-1 Provide limited super user privile
-- no debconf information
---------------------------------------
Received: (at 349699-done) by bugs.debian.org; 25 Jan 2006 13:32:08 +0000
>From naoliv at gmail.com Wed Jan 25 05:32:08 2006
Return-path: <naoliv at gmail.com>
Received: from xproxy.gmail.com ([66.249.82.201])
by spohr.debian.org with esmtp (Exim 4.50)
id 1F1kkq-0005QO-QB
for 349699-done at bugs.debian.org; Wed, 25 Jan 2006 05:32:08 -0800
Received: by xproxy.gmail.com with SMTP id i29so71942wxd
for <349699-done at bugs.debian.org>; Wed, 25 Jan 2006 05:32:07 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=beta; d=gmail.com;
h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
b=OBkG6fBKj33BvwoM+WfwZJLOamd4dHNu4Cdr38oq6y35qP8oDou/5iBTPIfA3WI/TEGiJTc6vA6WSbLrrLlLTeHoOEfWx0YvlZRF1NTqPwryA5R1af4EbevFk8e15Fi9L3NabDBvQOLbcS4W9eqy/NRrExCE+h8qfGyangGEAyQ=
Received: by 10.70.112.8 with SMTP id k8mr735909wxc;
Wed, 25 Jan 2006 05:32:07 -0800 (PST)
Received: by 10.70.117.20 with HTTP; Wed, 25 Jan 2006 05:32:07 -0800 (PST)
Message-ID: <9bfa9ae0601250532u5f8807epb604eec2ec6c9ff0 at mail.gmail.com>
Date: Wed, 25 Jan 2006 11:32:07 -0200
From: "Nelson A. de Oliveira" <naoliv at gmail.com>
To: control at bugs.debian.org
Subject: Re: [Pbuilder-maint] Bug#349699: pbuilder: CFLAGS is not being interpreted correctly
Cc: 349699-done at bugs.debian.org, Junichi Uekawa <dancer at netfort.gr.jp>
In-Reply-To: <878xt5oslw.dancerj%dancer at netfort.gr.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <20060124183121.13658.44682.reportbug at biolinux.df.ibilce.unesp.br>
<878xt5oslw.dancerj%dancer at netfort.gr.jp>
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2
Hi!
On 1/25/06, Junichi Uekawa <dancer at netfort.gr.jp> wrote:
> Hi,
>
> You probably have a CFLAGS defined in your environment.
> read Make info pages for details.
Exactly.
Looking at the pdebuild log I saw:
cd src && make -f scripts/gcc-syslib.mak -C . CFLAGS=3D"-g -Wall -O2" CXX=
FLAGS=3D"
-g -Wall -O2"
And taking a look at CDBS documentation:
CFLAGS and CXXFLAGS are set to "-g -Wall -O2" by default.
So, sorry for taking your time for this bug that is not a bug and
thank you very much for your attention!
Best regards,
Nelson
More information about the Pbuilder-maint
mailing list