[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#566744: marked as done (Fails if apt-cross is not installed)

Your message dated Sat, 27 Feb 2010 21:37:47 +0000
with message-id <E1NlUM7-0001RZ-HB@ries.debian.org>
and subject line Bug#566744: fixed in dpkg-cross 2.5.6
has caused the Debian Bug report #566744,
regarding Fails if apt-cross is not installed
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 owner@bugs.debian.org

566744: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566744
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libdebian-dpkgcross-perl
Version: 2.5.5
Severity: normal
Tags: patch


if apt-cross is not installed then it fails to parse the non-existant
config. Patch attached.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (499, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages libdebian-dpkgcross-perl depends on:
ii  dpkg-dev               Debian package development tools
ii  file                          5.03-5     Determines file type using "magic"
ii  libconfig-auto-perl           0.20-2     Magical config file parser
ii  libfile-homedir-perl          0.86-1     Get the home directory for yoursel
ii  libfile-temp-perl             0.22-1     Perl module to create a temporary 
ii  perl                          5.10.1-9   Larry Wall's Practical Extraction 
ii  perl-modules [libfile-temp-pe 5.10.1-9   Core Perl modules

libdebian-dpkgcross-perl recommends no packages.

libdebian-dpkgcross-perl suggests no packages.

-- no debconf information
--- /usr/share/perl5/Debian/DpkgCross.pm	2010-01-17 16:42:57.000000000 +0100
+++ DpkgCross.pm	2010-01-24 23:32:41.000000000 +0100
@@ -572,16 +572,17 @@
 	# /var/lib/apt-cross/multiarch.list
-	$cfile = "/var/lib/apt-cross/multiarch.list"
-		if (-d "/var/lib/apt-cross/");
-	$config = Config::Auto::parse("$cfile", format =>  "list");
-	die "ERROR: Multiarch config file '$cfile' is not a simple list!\n"
-		if (ref($config) ne 'ARRAY');
-	foreach my $line (sort @$config)
-	{
-		chomp ($line);
-		next if ($line =~ /^#/);
-		$malist{$line}++;
+	if (-d "/var/lib/apt-cross/") {
+		$cfile = "/var/lib/apt-cross/multiarch.list";
+		$config = Config::Auto::parse("$cfile", format =>  "list");
+		die "ERROR: Multiarch config file '$cfile' is not a simple list!\n"
+			if (ref($config) ne 'ARRAY');
+		foreach my $line (sort @$config)
+		{
+			chomp ($line);
+			next if ($line =~ /^#/);
+			$malist{$line}++;
+		}
 	my @ret = sort keys (%malist);
 	return \@ret;

--- End Message ---
--- Begin Message ---
Source: dpkg-cross
Source-Version: 2.5.6

We believe that the bug you reported is fixed in the latest version of
dpkg-cross, which is due to be installed in the Debian FTP archive:

  to main/d/dpkg-cross/dpkg-cross_2.5.6.dsc
  to main/d/dpkg-cross/dpkg-cross_2.5.6.tar.gz
  to main/d/dpkg-cross/dpkg-cross_2.5.6_all.deb
  to main/d/dpkg-cross/libdebian-dpkgcross-perl_2.5.6_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 566744@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Neil Williams <codehelp@debian.org> (supplier of updated dpkg-cross package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Tue, 09 Feb 2010 20:55:35 +0000
Source: dpkg-cross
Binary: dpkg-cross libdebian-dpkgcross-perl
Architecture: source all
Version: 2.5.6
Distribution: unstable
Urgency: low
Maintainer: Debian Embedded Group <debian-embedded@lists.debian.org>
Changed-By: Neil Williams <codehelp@debian.org>
 dpkg-cross - tools for cross compiling Debian packages
 libdebian-dpkgcross-perl - functions to aid cross-compiling Debian packages
Closes: 545464 566744
 dpkg-cross (2.5.6) unstable; urgency=low
   * Implement transitionary support for Multi-Arch (Closes: #545464)
   * Allow for apt-cross to not be installed when checking list of
     multiarch packages (Closes: #566744)
 1db653b47725c8fe0662bc56c711d76a5238d042 1209 dpkg-cross_2.5.6.dsc
 0612428e0c2c61c887f8e38030e6f87ccf52dd5e 72328 dpkg-cross_2.5.6.tar.gz
 45327b833107c6ac5561777a89d899d13427705a 52656 dpkg-cross_2.5.6_all.deb
 741e8692be635ab111c5d113ffbe255bac759e61 28844 libdebian-dpkgcross-perl_2.5.6_all.deb
 25219636161a95da629311793b3a2b523e548c01e49d298cd85bc66dee94f9e1 1209 dpkg-cross_2.5.6.dsc
 a29a2638d22b6357da2e5eb542436dc7a03acb0ebb4a80c71ef5a81d076dc489 72328 dpkg-cross_2.5.6.tar.gz
 6fca1145792f8abb7027c2f12c2d924ade7aea8a2a9451a1b009f7b5d380725d 52656 dpkg-cross_2.5.6_all.deb
 0888a55f6255cff34c075efada6fa318262791b54852ee3c5512d2b1336c2750 28844 libdebian-dpkgcross-perl_2.5.6_all.deb
 5eccbb08bfa40939b9683ec0a1132118 1209 utils extra dpkg-cross_2.5.6.dsc
 31f756a3e3c846a7c7a1ce7a77c450a6 72328 utils extra dpkg-cross_2.5.6.tar.gz
 5a36d5bef5f631fbe578a0e8f19f8d22 52656 utils extra dpkg-cross_2.5.6_all.deb
 10c5e64fa2fc73679384841dae57500e 28844 perl extra libdebian-dpkgcross-perl_2.5.6_all.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: