From bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org Sun Apr 20 14:35:03 2008
Received: from liszt.debian.org ([82.195.75.100])
	by chris-lamb.co.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.63)
	(envelope-from <bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org>)
	id 1JnZh3-0007Cb-By
	for bot.address@chris-lamb.co.uk; Sun, 20 Apr 2008 14:35:03 +0100
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with QMQP
	id 6698C13A4FBF; Sun, 20 Apr 2008 13:34:56 +0000 (UTC)
Old-Return-Path: <debbugs@rietz.debian.org>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.6 required=4.0 tests=BAYES_00,FOURLA,LDO_WHITELIST,
	MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,RCVD_IN_DNSWL_LOW,URIBL_BLACK
	autolearn=no version=3.2.3
X-Original-To: debian-bugs-dist@lists.debian.org
Delivered-To: lists-debian-bugs-dist@liszt.debian.org
Received: from rietz.debian.org (rietz.debian.org [140.211.166.43])
	by liszt.debian.org (Postfix) with ESMTP id 24B5913A4F19;
	Sun, 20 Apr 2008 13:34:39 +0000 (UTC)
Received: from debbugs by rietz.debian.org with local (Exim 4.63)
	(envelope-from <debbugs@rietz.debian.org>)
	id 1JnZfH-0004zA-UV; Sun, 20 Apr 2008 13:33:07 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#476972: librpm-dev: undefined symbols referenced
Reply-To: David Paleino <d.paleino@gmail.com>, 476972@bugs.debian.org
Resent-From: David Paleino <d.paleino@gmail.com>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Anibal Monsalve Salazar <anibal@debian.org>
Resent-Date: Sun, 20 Apr 2008 13:33:05 +0000
Resent-Message-ID: <handler.476972.B.120869828515176@bugs.debian.org>
X-Debian-PR-Message: report 476972
X-Debian-PR-Package: librpm-dev
X-Debian-PR-Keywords: 
X-Debian-PR-Source: rpm
Received: via spool by submit@bugs.debian.org id=B.120869828515176
          (code B ref -1); Sun, 20 Apr 2008 13:33:05 +0000
Received: (at submit) by bugs.debian.org; 20 Apr 2008 13:31:25 +0000
X-Amavis-Spam-Status: No, score=-9.6 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE,
	MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2 autolearn=no 
	version=3.1.4-bugs.debian.org_2005_01_02
Received: from wx-out-0506.google.com ([66.249.82.226])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <d.paleino@gmail.com>)
	id 1JnZdc-0003vT-So
	for submit@bugs.debian.org; Sun, 20 Apr 2008 13:31:25 +0000
Received: by wx-out-0506.google.com with SMTP id h31so1098623wxd.11
        for <submit@bugs.debian.org>; Sun, 20 Apr 2008 06:31:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:date:from:to:subject:message-id:x-mailer:x-face:mime-version:content-type;
        bh=mW0Cra7GsSdZLKq3fwazKNd6MrlD8YUMgktDbV2J9LI=;
        b=dO/iI6uKTZ0AX7KdXXTZlxmkd87xBJXNpwv7aFAq7l8D12MbuZWF+tReDa16yvyPFw/LVuxzd8B2eauUudTqIrhxBDBkVOZwveBrvEU2UNng7HzgyV4fDegk4fwwoN4KfIQTrcFDe/1zclitQ/RIUutaE2rH1o20dgKHvE/WyZs=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=date:from:to:subject:message-id:x-mailer:x-face:mime-version:content-type;
        b=xip/XOlMownN0mv10ORL0X++Gy2PccK16hWY5wiumtCoxEEtlICpxUL/i2DdaYRzemdh1rlDnvtHQTEFlqHNhcWyTgKJ8Tn60BtL1z4YQ92Nyq48NvYniX/PwZl7QyTdbPfhcrXf8xbnovbPoOc5pOuO55/aWyhmlzjyHGn7ukE=
Received: by 10.70.73.12 with SMTP id v12mr6424668wxa.74.1208698280743;
        Sun, 20 Apr 2008 06:31:20 -0700 (PDT)
Received: from localhost ( [79.27.174.242])
        by mx.google.com with ESMTPS id h19sm9835259wxd.16.2008.04.20.06.31.19
        (version=SSLv3 cipher=OTHER);
        Sun, 20 Apr 2008 06:31:20 -0700 (PDT)
Date: Sun, 20 Apr 2008 15:31:18 +0200
From: David Paleino <d.paleino@gmail.com>
To: submit@bugs.debian.org
Message-ID: <20080420153118.3158becd@gmail.com>
X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu)
X-Face: 
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/am/xHobNXFfwaKqbgnuZYho";
 protocol="application/pgp-signature"; micalg=PGP-SHA1
Delivered-To: submit@bugs.debian.org
Resent-Date: Sun, 20 Apr 2008 13:33:07 +0000
X-Debian-Message: from BTS
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2007-10-04_01
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/343496
X-Loop: debian-bugs-dist@lists.debian.org
List-Id: <debian-bugs-dist.lists.debian.org>
List-Post: <mailto:debian-bugs-dist@lists.debian.org>
List-Help: <mailto:debian-bugs-dist-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-bugs-dist-request@lists.debian.org
Received-SPF: none
X-SPF-Guess: pass
X-Spam-Score: -39.4
X-Spam-Report: (-39.4 points, 5.0 required)
	pts rule name              description
	---- ---------------------- --------------------------------------------------
	-50 D_FOR_BOT              For debian-devel-changes bot
	0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay lines
	-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
	[score: 0.0000]
	13 AWL                    AWL: From: address is in the auto white-list

--Sig_/am/xHobNXFfwaKqbgnuZYho
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Package: librpm-dev
Version: 4.4.2.1-2
Severity: important

Hi Anibal,
trying to compile sussen (ITP #476942), I get an error regarding librpm:

i486-linux-gnu-gcc -shared  .libs/interface.o .libs/rpm.o .libs/shadow.o  -=
lrpm  -Wl,-z -Wl,defs -Wl,-soname -Wl,libsussensupport.so -o .libs/libsusse=
nsupport.so
.libs/rpm.o: In function `queryHeader':
rpm.c:(.text+0x215): undefined reference to `rpmTagTable'
rpm.c:(.text+0x264): undefined reference to `rpmlog'
.libs/rpm.o: In function `rpm_check_installed_package':
rpm.c:(.text+0x3db): undefined reference to `rpmdbNextIterator'
.libs/rpm.o: In function `rpm_get_info':
rpm.c:(.text+0x57b): undefined reference to `rpmdbNextIterator'
rpm.c:(.text+0x593): undefined reference to `rpmdbFreeIterator'
.libs/rpm.o: In function `rpm_dump_package_names':
rpm.c:(.text+0x686): undefined reference to `rpmdbNextIterator'
rpm.c:(.text+0x69a): undefined reference to `rpmdbFreeIterator'
collect2: ld returned 1 exit status
make[4]: *** [libsussensupport.la] Error 1

I know I could drop -Wl,-z -Wl,defs from the command line, but I'm trying to
find a cleaner way to do this. In fact, looking at /usr/lib/librpm.a, all
the references to rpmTagTable (the first in the list above) are undefined:

$ nm /usr/lib/librpm.a | grep rpmTagTable$ | uniq
         U rpmTagTable
$

Is it meant to be so, or is it a bug? In case it's ok, I'll drop -Wl,-z,def=
s,
just wanted to warn you about this.

Kindly,
David

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=3Dit_IT.UTF-8, LC_CTYPE=3Dit_IT.UTF-8 (charmap=3DUTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages librpm-dev depends on:
ii  libbeecrypt6-dev       4.1.2-7           header files for beecrypt, a l=
ibra
ii  libbz2-dev             1.0.5-0.1         high-quality block-sorting fil=
e co
ii  libc6-dev              2.7-10            GNU C Library: Development Lib=
rari
ii  libdb-dev              4.6.21-7          Berkeley v4.6 Database Librari=
es [
ii  libneon27-dev          0.28.2-1          Header and static library file=
s fo
ii  libpopt-dev            1.10-3            lib for parsing cmdline parame=
ters
ii  libreadline5-dev       5.2-3             GNU readline and history libra=
ries
ii  librpm4.4              4.4.2.1-2         RPM shared library
ii  libselinux1-dev        2.0.59-1          SELinux development headers
ii  libsqlite3-dev         3.5.7-2           SQLite 3 development files
ii  libxml2-dev            2.6.32.dfsg-1     Development files for the GNOM=
E XM
ii  zlib1g-dev [libz-dev]  1:1.2.3.3.dfsg-12 compression library - developm=
ent

librpm-dev recommends no packages.

-- no debconf information



--=20
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

--Sig_/am/xHobNXFfwaKqbgnuZYho
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iD8DBQFIC0Wm5qqQFxOSsXQRAuv/AJ0YeVtoqTSJzFXtv70ZEMqDRhQLsgCgiPsL
IYaWXlaIkrInWL5+mr/aXDw=
=ytu8
-----END PGP SIGNATURE-----

--Sig_/am/xHobNXFfwaKqbgnuZYho--



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


