Your message dated Sun, 9 Oct 2005 22:23:49 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#332959: apt-build: Can't make it include build options
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; 9 Oct 2005 20:03:52 +0000
>From [EMAIL PROTECTED] Sun Oct 09 13:03:52 2005
Return-path: <[EMAIL PROTECTED]>
Received: from amsfep12-int.chello.nl [213.46.243.17]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EOhOi-0007ap-00; Sun, 09 Oct 2005 13:03:52 -0700
Received: from cm-84.210.17.131.chello.no ([84.210.17.131])
by amsfep12-int.chello.nl
(InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP
id <[EMAIL PROTECTED]>
for <[EMAIL PROTECTED]>; Sun, 9 Oct 2005 22:03:20 +0200
From: Kjetil Kjernsmo <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: apt-build: Can't make it include build options
Date: Sun, 9 Oct 2005 22:03:17 +0200
User-Agent: KMail/1.7.2
OpenPGP: id=0x5AA3F2C5FFBEA046CEEACB6D944FC6A76A6A0BBC;
url=http://www.kjetil.kjernsmo.net/pgp.asc
X-FOAF: http://www.kjetil.kjernsmo.net/foaf.rdf
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
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: apt-build
Version: 0.11.10
Severity: important
I've been trying to build some packages with apt-build, and I have
been able to build some of them successfully. However, I have noted
that I never see the build options that I include in the config file,
e.g. the CPU type, when the package has been built.
My config looks like this:
build-dir = /var/cache/apt-build/build
repository-dir = /var/cache/apt-build/repository
Olevel = -O3
mcpu = -mcpu=athlon-tbird
options = " "
make_options = " "
I've been looking in the source, and the relevant section I see there
is:
# Add optimizations infos
my $buildoptions;
$buildoptions = "Build options: ".
$conf->Olevel." ".$conf->mcpu." ".$conf->options;
system "debchange --append \"$buildoptions\"";
# Now build
my $r = !system $conf->build_command;
This adds the information to the changelog, as far as I can see, but I
can't find anything to indicate that the $buildoptions are added to
the $conf->build_command, which is set higher up.
I then tried to have Data::Dumper tell me what is in it, but due to
the other bug I reported on apt-build the other day, I never got as
far, and did not see that information for any of the packages I tried
to build. So, it could do something under the hood, I suppose...
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (50, 'testing'), (40, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-16.2005-11-06.owl.1.oss.mods
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages apt-build depends on:
ii apt 0.5.28.6 Advanced front-end for dpkg
ii apt-utils 0.5.28.6 APT utility programs
ii debconf 1.4.30.13 Debian configuration
management sy
ii devscripts 2.8.14 Scripts to make the life of
a Debi
ii dpkg-dev 1.10.28 Package building tools for
Debian
ii g++ 4:3.3.5-3 The GNU C++ compiler
ii gcc 4:3.3.5-3 The GNU C compiler
ii libappconfig-perl 1.56-2 Perl module for
configuration file
ii libapt-pkg-perl 0.1.13 Perl interface to
libapt-pkg
ii perl 5.8.4-8 Larry Wall's Practical
Extraction
-- no debconf information
---------------------------------------
Received: (at 332959-done) by bugs.debian.org; 9 Oct 2005 20:23:56 +0000
>From [EMAIL PROTECTED] Sun Oct 09 13:23:56 2005
Return-path: <[EMAIL PROTECTED]>
Received: from chapai.naquadah.org (mx2.naquadah.org) [81.56.144.27]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EOhi8-0002Hh-00; Sun, 09 Oct 2005 13:23:56 -0700
Received: from abydos.adm.naquadah.org ([192.168.2.13])
by mx2.naquadah.org with esmtp (Exim 4.50)
id 1EOhi6-0001Ic-7z; Sun, 09 Oct 2005 22:23:54 +0200
Received: from jd by abydos.adm.naquadah.org with local (Exim 4.54)
id 1EOhi1-0008FA-Go; Sun, 09 Oct 2005 22:23:49 +0200
Date: Sun, 9 Oct 2005 22:23:49 +0200
From: Julien Danjou <[EMAIL PROTECTED]>
To: Kjetil Kjernsmo <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#332959: apt-build: Can't make it include build options
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="Dzs2zDY0zgkG72+7"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.11
Delivered-To: [EMAIL PROTECTED]
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
--Dzs2zDY0zgkG72+7
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Oct 09, 2005 at 10:03:17PM +0200, Kjetil Kjernsmo wrote:
> Package: apt-build
> Version: 0.11.10
> Severity: important
=46rom README.Debian:
Q: gcc and g++ do not seem to be called with good options!
A: *** They are called with them! ***
What you see on your screen is the command called by make, but
the wrapper wraps (yeah, it does) calls to gcc/g++ and adds options you
specified in the apt-build configuration file.
You won't see this on your screen.
Try `ps ax | grep gcc' instead as a proof, while building.
--=20
Julien Danjou
=2E''`. Debian Developer
: :' : http://julien.danjou.info
`. `' http://people.debian.org/~acid
`- 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
--Dzs2zDY0zgkG72+7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDSXxVpGK1HsL+5c0RAiJgAKCxMJt5atAmDLDNVQFu+FgSz1RLwQCfWnds
hhj5q+B2IRttAdLk+r+/hc8=
=3dMG
-----END PGP SIGNATURE-----
--Dzs2zDY0zgkG72+7--
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]