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
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]