Bug#306306: apt-build: only builds old versions.

2005-04-30 Thread Julien Danjou
On Sat, Apr 30, 2005 at 01:20:15AM +0200, Björn Heide wrote:
 As long as libapt-pkg-perl lacks policy-support, you could do
 apt-get policy $pkg_name or, if --target-release is used
 apt-cache -o APT::Default-Release=$target_release policy $pkg_name
 and take the version from the Candidate: line.
 
 It's an ugly hack, but I have no better idea.

Unfortunately, it doesn't seems to work.
However, it should at least support preferences.

% apt-cache policy -o APT::Default-Release=testing bash
bash:
  Installed: 3.0-14
  Candidate: 3.0-14
  Version Table:
 *** 3.0-14 0
500 file: apt-build/main Packages
100 /var/lib/dpkg/status
 3.0-14 0
500 ftp://ftp.dmz.naquadah.org unstable/main Packages
 2.05b-26 0
990 ftp://ftp.dmz.naquadah.org testing/main Packages

-- 
Julien Danjou
.''`.  Debian Developer
: :' : http://julien.danjou.info
`. `'  http://people.debian.org/~acid
  `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD


signature.asc
Description: Digital signature


Bug#306306: apt-build: only builds old versions.

2005-04-25 Thread Julien Danjou
On Mon, Apr 25, 2005 at 07:16:35PM +0200, Björn Heide wrote:
 Package: apt-build
 Version: 0.12.1
 Severity: important
 
 I just tried to build GNOME 2.10 from experimental, but apt-build only
 builds old versions from testing.
 
 While apt-get would just do the right thing,
 
 # apt-get -s install libatk1.0-0 libatk1.0-dev
 Reading Package Lists... Done
 Building Dependency Tree... Done
 The following packages will be upgraded:
   libatk1.0-0 libatk1.0-dev
 2 upgraded, 0 newly installed, 0 to remove and 152 not upgraded.
 Inst libatk1.0-dev [1.8.0-4] (1.9.0-1 Debian:experimental) []
 Inst libatk1.0-0 [1.8.0-4] (1.9.0-1 Debian:experimental)
 Conf libatk1.0-0 (1.9.0-1 Debian:experimental)
 Conf libatk1.0-dev (1.9.0-1 Debian:experimental)
 
 apt-build only builds atk1.0 1.8.0-4 from testing, no matter if I try 
 apt-build install libatk1.0-0 or apt-build update-source.
 
 It looks like apt-build blindly builds the first version it finds, no
 matter if apt-get would install something newer or not.

Yes, that is my current problem with libapt-pkg-perl: it does not handle
policy.
The best thing I can do, is to grab the highest version, but I think it
would not be possible anymore to use the -t switch or the preferences
file to specify what version you want.

libapt-pkg-perl lacks of support about this. Any hint will be apreciated.

Regards,
-- 
Julien Danjou
.''`.  Debian developer
: :' : http://julien.danjou.info
`. `'  http://people.debian.org/~acid
  `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD


signature.asc
Description: Digital signature


Bug#306306: apt-build: only builds old versions.

2005-04-25 Thread David Robin
unsubscribe


 On Mon, Apr 25, 2005 at 07:16:35PM +0200, Björn Heide wrote:
 Package: apt-build
 Version: 0.12.1
 Severity: important

 I just tried to build GNOME 2.10 from experimental, but apt-build only
 builds old versions from testing.

 While apt-get would just do the right thing,

 # apt-get -s install libatk1.0-0 libatk1.0-dev
 Reading Package Lists... Done
 Building Dependency Tree... Done
 The following packages will be upgraded:
   libatk1.0-0 libatk1.0-dev
 2 upgraded, 0 newly installed, 0 to remove and 152 not upgraded.
 Inst libatk1.0-dev [1.8.0-4] (1.9.0-1 Debian:experimental) []
 Inst libatk1.0-0 [1.8.0-4] (1.9.0-1 Debian:experimental)
 Conf libatk1.0-0 (1.9.0-1 Debian:experimental)
 Conf libatk1.0-dev (1.9.0-1 Debian:experimental)

 apt-build only builds atk1.0 1.8.0-4 from testing, no matter if I try
 apt-build install libatk1.0-0 or apt-build update-source.

 It looks like apt-build blindly builds the first version it finds, no
 matter if apt-get would install something newer or not.

 Yes, that is my current problem with libapt-pkg-perl: it does not handle
 policy.
 The best thing I can do, is to grab the highest version, but I think it
 would not be possible anymore to use the -t switch or the preferences
 file to specify what version you want.

 libapt-pkg-perl lacks of support about this. Any hint will be apreciated.

 Regards,
 --
 Julien Danjou
 .''`.  Debian developer
 : :' : http://julien.danjou.info
 `. `'  http://people.debian.org/~acid
   `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD