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

Bug#230159: marked as done (libapt-pkg-dev: headers contain broken inlines)



Your message dated Thu, 25 Aug 2005 11:19:29 +0200
with message-id <20050825091929.GA14520@slider2.rack66.net>
and subject line now in unstable too
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; 28 Jan 2004 23:06:12 +0000
>From mechanix@lucretia.debian.net Wed Jan 28 15:06:12 2004
Return-path: <mechanix@lucretia.debian.net>
Received: from smtp1.xs4all.be [195.144.64.135] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AlylA-0001oi-00; Wed, 28 Jan 2004 15:06:12 -0800
Received: from lucretia.hangar.be (195-144-080-011.dyn.adsl.xs4all.be [195.144.80.11])
	by smtp1.xs4all.be (8.12.10/8.12.10) with ESMTP id i0SN66v7028784;
	Thu, 29 Jan 2004 00:06:08 +0100
Received: by lucretia.hangar.be (Postfix, from userid 1000)
	id 0BC574CF2D; Thu, 29 Jan 2004 00:06:11 +0100 (CET)
Date: Thu, 29 Jan 2004 00:06:11 +0100
From: Filip Van Raemdonck <mechanix@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libapt-pkg-dev: headers contain broken inlines
Message-ID: <20040128230611.GA13207@lucretia.debian.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 2.37
X-Marks-The-Spot: xxxxxxxxxx
X-GPG-Fingerprint: 1024D/8E950E00 CAC1 0932 B6B9 8768 40DB  C6AA 1239 F709 8E95 0E00
X-Machine-info: Linux lucretia 2.6.2-rc1 i686
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_01_27 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-bugs.debian.org_2004_01_27
X-Spam-Level: 

Package: libapt-pkg-dev
Version: 0.5.21
Severity: normal

Hi,

When experimenting with cache iterators in gnome-apt, I discovered that
the apt-pkg headers contain some methods which are declared inline, but for
which the actual definition is not there. Current gcc chokes on this, even
with optimization turned off (through -O0).

mechanix@aegir:/usr/src/packages/gnome-apt/gnome-apt-0.4.6/src$ cat test.cc
#include <apt-pkg/pkgcache.h>
int main (void) { pkgCache::PkgIterator i; i.TargetVer(); return 0; }
mechanix@aegir:/usr/src/packages/gnome-apt/gnome-apt-0.4.6/src$ LANG=C gcc -Wall -g -O0 test.cc -lapt-pkg -o test
/usr/include/apt-pkg/cacheiterators.h:81: warning: inline function `
   pkgCache::VerIterator pkgCache::PkgIterator::TargetVer() const' used but
   never defined
/tmp/ccHdDzWs.o(.text+0x30): In function `main':
/usr/src/packages/gnome-apt/gnome-apt-0.4.6/src/test.cc:5: undefined reference to `pkgCache::PkgIterator::TargetVer() const'
collect2: ld returned 1 exit status
mechanix@aegir:/usr/src/packages/gnome-apt/gnome-apt-0.4.6/src$


Regards,

Filip

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux lucretia 2.6.2-rc1 #1 Wed Jan 21 19:21:43 CET 2004 i686
Locale: LANG=C, LC_CTYPE=nl_BE@euro

-- 
"Users somehow manage to remember 50 random ten-digit phone numbers
 effortlessly, but can't remember their one single password, which they
 chose themselves."
	-- Jeremiah DeWitt Weiner in comp.sys.sun.admin

---------------------------------------
Received: (at 230159-done) by bugs.debian.org; 25 Aug 2005 09:19:30 +0000
>From mechanix@slider2.rack66.com Thu Aug 25 02:19:30 2005
Return-path: <mechanix@slider2.rack66.com>
Received: from slider2.rack66.net (slider2.rack66.com) [212.3.252.150] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E8DtS-0007Eq-00; Thu, 25 Aug 2005 02:19:30 -0700
Received: by slider2.rack66.com (Postfix, from userid 1005)
	id B383973C8C; Thu, 25 Aug 2005 11:19:29 +0200 (CEST)
Date: Thu, 25 Aug 2005 11:19:29 +0200
From: Filip Van Raemdonck <mechanix@debian.org>
To: 230159-done@bugs.debian.org
Subject: now in unstable too
Message-ID: <20050825091929.GA14520@slider2.rack66.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: 230159-done@bugs.debian.org
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

Apt 0.6 is in unstable these days.


Regards,

Filip

-- 
"Microsoft is a cross between the Borg and the Ferengi.  Unfortunately,
 they use Borg to do their marketing and Ferengi to do their programming."
	-- Simon Slavin



Reply to: