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

Bug#588610: marked as done (apt: does not compile on my setup)



Your message dated Mon, 12 Jul 2010 10:39:28 +0000
with message-id <E1OYGQ4-0006hi-8B@franck.debian.org>
and subject line Bug#588610: fixed in apt 0.7.26~exp10
has caused the Debian Bug report #588610,
regarding apt: does not compile on my setup
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
immediately.)


-- 
588610: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588610
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.7.26~exp9
Severity: normal
Tags: experimental patch

As package was not copiled for amd64 arch I tried to compile it myself.
I found an error related to constness of va_list type in error.cc

--- apt-0.7.26~exp9/apt-pkg/contrib/error.cc	2010-07-09 22:04:40.000000000 +0200
+++ apt-0.7.26~exp9.new/apt-pkg/contrib/error.cc	2010-07-10 10:00:42.000000000 +0200
@@ -96,7 +96,7 @@
 bool GlobalError::InsertErrno(MsgType type, const char* Function,
 			      const char* Description, va_list const &args) {
 	char S[400];
-	vsnprintf(S,sizeof(S),Description,args);
+	vsnprintf(S,sizeof(S),Description, (va_list &) args);
 	snprintf(S + strlen(S),sizeof(S) - strlen(S),
 	         " - %s (%i: %s)", Function, errno, strerror(errno));
 	return Insert(type, S, args);
@@ -143,7 +143,7 @@
 bool GlobalError::Insert(MsgType type, const char* Description,
 			 va_list const &args) {
 	char S[400];
-	vsnprintf(S,sizeof(S),Description,args);
+	vsnprintf(S,sizeof(S),Description, (va_list &)args);
 
 	Item const m(S, type);
 	Messages.push_back(m);


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Acquire::Max-Default-Age "";
APT::Acquire::Max-Default-Age::Debian-Security "7";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "/var/lib/apt/extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

#deb ftp://ftp.debian.org/debian dists/proposed-updates/
#deb ftp://ftp.fr.debian.org/debian testing-proposed-updates main contrib non-free
#deb ftp://ftp.debian.org/debian testing-proposed-updates main contrib non-free
deb ftp://ftp.fr.debian.org/debian unstable main contrib non-free
#deb ftp://ftp.debian.org/debian unstable main contrib non-free
#deb ftp://ftp.fr.debian.org/debian-non-US unstable/non-US main contrib non-free

#deb ftp://security.debian.org/debian-security sarge/updates main contrib non-free
#gphoto updated packages
#deb ftp://ufies.org/pub/people/christophe debian/
#deb ftp://download.us.kde.org/pub/kde/stable/latest/Debian/woody ./
#deb ftp://ftp.du.se/pub/mirrors/kde/stable/3.1/Debian unstable main
#deb ftp://download.us.kde.org/pub/kde/stable/koffice-1.2.1/Debian/unstable ./

#deb http://quakeforge.net/packages/debian unstable main contrib non-free

#avrious video stuff
# deb http://www.debian-multimedia.org sid main

# New address for the above packages...
deb http://www.debian-multimedia.org sid main
deb http://www.debian-multimedia.org experimental main
# KDE 3.4
#deb http://pkg-kde.alioth.debian.org/kde-3.4.1/ ./

# Xorg
#deb http://neo.wh-stuttgart.de/debian sid xorg 
# XMMS2
#deb http://exodus.xmms.se/debian stable main
deb-src ftp://ftp.fr.debian.org/debian unstable main contrib non-free
deb ftp://ftp.fr.debian.org/debian experimental main contrib non-free
deb-src ftp://ftp.fr.debian.org/debian experimental main contrib non-free
#deb-src http://amarok2deb.co.cc/debian unstable main

# debian kde 4.4
#deb http://qt-kde.debian.net/debian experimental-snapshots main

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

Kernel: Linux 2.6.34.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring        2009.01.31 GnuPG archive keys of the Debian a
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.4-6  GCC support library
ii  libstdc++6                    4.4.4-6    The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc           <none>                 (no description available)
pn  aptitude | synapt <none>                 (no description available)
ii  bzip2             1.0.5-4                high-quality block-sorting file co
ii  dpkg-dev          1.15.7.2               Debian package development tools
pn  python-apt        <none>                 (no description available)
ii  xz-lzma [lzma]    4.999.9beta+20100602-1 XZ-format compression utilities - 

-- no debconf information





--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.26~exp10

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

apt-doc_0.7.26~exp10_all.deb
  to main/a/apt/apt-doc_0.7.26~exp10_all.deb
apt-transport-https_0.7.26~exp10_i386.deb
  to main/a/apt/apt-transport-https_0.7.26~exp10_i386.deb
apt-utils_0.7.26~exp10_i386.deb
  to main/a/apt/apt-utils_0.7.26~exp10_i386.deb
apt_0.7.26~exp10.dsc
  to main/a/apt/apt_0.7.26~exp10.dsc
apt_0.7.26~exp10.tar.gz
  to main/a/apt/apt_0.7.26~exp10.tar.gz
apt_0.7.26~exp10_i386.deb
  to main/a/apt/apt_0.7.26~exp10_i386.deb
libapt-pkg-dev_0.7.26~exp10_i386.deb
  to main/a/apt/libapt-pkg-dev_0.7.26~exp10_i386.deb
libapt-pkg-doc_0.7.26~exp10_all.deb
  to main/a/apt/libapt-pkg-doc_0.7.26~exp10_all.deb



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

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

Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 12 Jul 2010 11:41:01 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all i386
Version: 0.7.26~exp10
Distribution: experimental
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 188407 588610
Changes: 
 apt (0.7.26~exp10) experimental; urgency=low
 .
   [ David Kalnischkies ]
   * apt-pkg/contrib/error.{cc,h}:
     - remove constness of va_list parameter to fix build on amd64 and co
       Thanks Eric Valette! (Closes: #588610)
   * apt-pkg/deb/debmetaindex.cc:
     - do not query each architecture for flat file archives
     - fix typo preventing display of architecture in Info()
   * methods/bzip2.cc:
     - add a copycat of the old gzip.cc as we need it for bzip2 and lzma
 .
   [ Martin Pitt ]
   * debian/rules:
     - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right
       CXXFLAGS.
   * apt-pkg/contrib/fileutl.{h,cc}:
     - Add support for reading of gzipped files with the new "ReadOnlyGzip"
       OpenMode. (Closes: #188407)
     - Link against zlib (in apt-pkg/makefile) and add zlib build dependency.
     - [ABI BREAK] This adds a new private member to FileFd, but its
       initialization is in the public header file.
   * configure.in:
     - Check for zlib library and headers.
   * apt-pkg/acquire-item.cc, apt-pkg/deb/debindexfile.cc,
     apt-pkg/deb/debrecords.cc, apt-pkg/deb/debsrcrecords.h,
     cmdline/apt-cache.cc:
     - Open Packages, Sources, and Translations indexes in "ReadOnlyGzip" mode.
   * apt-pkg/deb/debindexfile.cc:
     - If we do not find uncompressed package/source/translation indexes, look
       for gzip compressed ones.
   * apt-pkg/acquire-item.cc:
     - If the Acquire::GzipIndexes option is true and we download a gzipped
       index file, keep it as it is (and rename to .gz) instead of
       uncompressing it.
   * doc/apt.conf.5.xml:
     - Document the new Acquire::GzipIndexes option.
   * doc/po/apt-doc.pot, doc/po/de.po:
     - German translation of new Acquire::GzipIndexes option.
   * Add test/test-indexes.sh:
     - Test behaviour of index retrieval and usage, in particular with
       uncompressed and gzip compressed indexes.
   * methods/gzip.cc: With FileFd now being able to read gzipped files, there
     is no need for the gzip method any more to spawn an external gzip process.
     Rewrite it to use FileFd directly, which makes the code a lot simpler, and
     also using less memory and overhead.
Checksums-Sha1: 
 410ad37d43a256836d8c634a3c74fe8ad71e381d 1332 apt_0.7.26~exp10.dsc
 f377abbe6c13ee0883831c763fb2edaff960629f 2907354 apt_0.7.26~exp10.tar.gz
 5807819230aa00413d4c855e11dd26383c802e12 228340 apt-doc_0.7.26~exp10_all.deb
 319fc644b37fafeefc89fa533ea090ea1e6fe0a5 645040 libapt-pkg-doc_0.7.26~exp10_all.deb
 4190aeceaf318297370711c8caad179668bd5dbf 2003604 apt_0.7.26~exp10_i386.deb
 5800b0fb5439d3a99802518ef8e9ac6607d31e07 142354 libapt-pkg-dev_0.7.26~exp10_i386.deb
 7e6879e2b9de5f1d7a74ff2665f313c6a758b890 264716 apt-utils_0.7.26~exp10_i386.deb
 b2dfdded9bb0db432d7420ad008dc071059c12ef 78014 apt-transport-https_0.7.26~exp10_i386.deb
Checksums-Sha256: 
 a62fa20cfac393dcb6a142c5e4fa8ee5f156e4781267f24d1a8dbba2f9fd8598 1332 apt_0.7.26~exp10.dsc
 d9675ab9ce4b78b3e7c5e69f215607bb662beb6fae996afe7b06f3283cacb83a 2907354 apt_0.7.26~exp10.tar.gz
 6a6c673127b183e445b979e4e05c1ee7c1d6e2355b860ea6e789abd65aed728d 228340 apt-doc_0.7.26~exp10_all.deb
 f9a6d8279832850e79b150069a2b42b95c7b9124ada93f6c7e535d9a68a2a995 645040 libapt-pkg-doc_0.7.26~exp10_all.deb
 2e6cb5990f296e40ad6f0e34868d4b2685ded0f9ff1a493cce64c8ebc78797a2 2003604 apt_0.7.26~exp10_i386.deb
 41ddbb9494e46501055800fa2fd9110f889ab2869bea20896be03b573b3ad1da 142354 libapt-pkg-dev_0.7.26~exp10_i386.deb
 d4d535f8cee4d2580f96424a61ba964ff25da9877cc7fe4208d1656a0ae1d3b0 264716 apt-utils_0.7.26~exp10_i386.deb
 dd6f747c686d4f4f00ef2b473b4a63e32f3e95e674d4b0e8b8ff0ed91f7e5784 78014 apt-transport-https_0.7.26~exp10_i386.deb
Files: 
 12f14bfa7ab36f58d68a5441e44ff372 1332 admin important apt_0.7.26~exp10.dsc
 283826d3c4209c9203675d5e43e8ab2a 2907354 admin important apt_0.7.26~exp10.tar.gz
 9cd0f9b8c49513312f327db825748f96 228340 doc optional apt-doc_0.7.26~exp10_all.deb
 54369a112a56b286325212808c5bdf8e 645040 doc optional libapt-pkg-doc_0.7.26~exp10_all.deb
 bdfc05a0eef653e4755ef8f576416105 2003604 admin important apt_0.7.26~exp10_i386.deb
 d28c11c261e2ddbb3b7fe51b2e03e610 142354 libdevel optional libapt-pkg-dev_0.7.26~exp10_i386.deb
 dc8ae40bd69aaae66b099bc69335abdb 264716 admin important apt-utils_0.7.26~exp10_i386.deb
 82d6dd9b2472c7b018e9d6058e0e8eab 78014 admin optional apt-transport-https_0.7.26~exp10_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkw66pAACgkQliSD4VZixzSnwwCglmgr+IzQQ5Mjq3Un2AYL9e1K
Y7oAoJT2giqmu2L3D1t6/RBbXxlocyJC
=Q7gl
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: