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

Bug#476972: marked as done (librpm-dev: undefined symbols referenced)

Your message dated Sun, 14 Jun 2009 10:51:42 +0000
with message-id <E1MFnJO-0007fs-QS@ries.debian.org>
and subject line Bug#476972: fixed in rpm 4.7.0-3
has caused the Debian Bug report #476972,
regarding librpm-dev: undefined symbols referenced
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

476972: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476972
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: librpm-dev
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/libsussensupport.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,defs,
just wanted to warn you about this.


-- 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=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-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 libra
ii  libbz2-dev             1.0.5-0.1         high-quality block-sorting file co
ii  libc6-dev              2.7-10            GNU C Library: Development Librari
ii  libdb-dev              4.6.21-7          Berkeley v4.6 Database Libraries [
ii  libneon27-dev          0.28.2-1          Header and static library files fo
ii  libpopt-dev            1.10-3            lib for parsing cmdline parameters
ii  libreadline5-dev       5.2-3             GNU readline and history libraries
ii  librpm4.4             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 GNOME XM
ii  zlib1g-dev [libz-dev]  1: compression library - development

librpm-dev recommends no packages.

-- no debconf information

 . ''`.  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

Attachment: signature.asc
Description: PGP signature

--- End Message ---
--- Begin Message ---
Source: rpm
Source-Version: 4.7.0-3

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

  to pool/main/r/rpm/librpm-dbg_4.7.0-3_amd64.deb
  to pool/main/r/rpm/librpm-dev_4.7.0-3_amd64.deb
  to pool/main/r/rpm/librpm0_4.7.0-3_amd64.deb
  to pool/main/r/rpm/librpmbuild0_4.7.0-3_amd64.deb
  to pool/main/r/rpm/librpmio0_4.7.0-3_amd64.deb
  to pool/main/r/rpm/lsb-rpm_4.7.0-3_amd64.deb
  to pool/main/r/rpm/python-rpm_4.7.0-3_amd64.deb
  to pool/main/r/rpm/rpm-i18n_4.7.0-3_all.deb
  to pool/main/r/rpm/rpm_4.7.0-3.diff.gz
  to pool/main/r/rpm/rpm_4.7.0-3.dsc
  to pool/main/r/rpm/rpm_4.7.0-3_amd64.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 476972@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Michal Čihař <nijel@debian.org> (supplier of updated rpm 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: Wed, 10 Jun 2009 10:56:55 +0200
Source: rpm
Binary: rpm rpm-i18n lsb-rpm librpm-dbg librpm0 librpmio0 librpmbuild0 librpm-dev python-rpm
Architecture: source all amd64
Version: 4.7.0-3
Distribution: unstable
Urgency: low
Maintainer: Michal Čihař <nijel@debian.org>
Changed-By: Michal Čihař <nijel@debian.org>
 librpm-dbg - debugging symbols for RPM
 librpm-dev - RPM shared library, development kit
 librpm0    - RPM shared library
 librpmbuild0 - RPM build shared library
 librpmio0  - RPM IO shared library
 lsb-rpm    - RPM Package Manager for LSB package building
 python-rpm - Python bindings for RPM
 rpm        - package manager for RPM
 rpm-i18n   - localization and localized man pages for rpm
Closes: 419870 459603 476972
 rpm (4.7.0-3) unstable; urgency=low
   * Okay, I'll stop uploading new version every hour.
   * Build depend on libelf-dev, and libdwarf-dev to get debugedit binary
     (LP: #341891).
   * Include lsb-rpmbuild in lsb-rpm package.
   * Update lsb-rpm man page and add lsb-rpmbuild one (Closes: #419870).
   * rpmTagTable is no longer part of API, so it can not be referenced
     (Closes: #476972).
   * Document in lsb-rpmbuild(1) what is needed to build LSB package
     (Closes: #459603).
 d1d9155814f5700497621969f2b889c849020a1d 1609 rpm_4.7.0-3.dsc
 33fcfc30500d147b2d7b38de7e3a6bb7eb4987e9 460085 rpm_4.7.0-3.diff.gz
 03c83bceca6299b5f15e242e62b9459b3d7b891e 1131996 rpm-i18n_4.7.0-3_all.deb
 dc63509d7301b2534143128ef7c1199c889f1066 801614 rpm_4.7.0-3_amd64.deb
 c941ab2b2add437dc0b4898585ddcdb6eb25dbc3 1186192 lsb-rpm_4.7.0-3_amd64.deb
 ab4f867140ba051e827af392ee5d4f31637912a4 2821868 librpm-dbg_4.7.0-3_amd64.deb
 9b21c869dcfeb0580d7e9a7fddd465a7fdcee9ae 840080 librpm0_4.7.0-3_amd64.deb
 37611e989f8f39ded409548b3e39ac91ba27003d 699846 librpmio0_4.7.0-3_amd64.deb
 d6f334f4fc41d1007194ad87c36b82b748873067 702436 librpmbuild0_4.7.0-3_amd64.deb
 f08b2ac97b13dc02b385e2315d3b8d701d736507 699522 librpm-dev_4.7.0-3_amd64.deb
 40f590e459dec204e66815a9c1ac5c55bb6e5b6c 712666 python-rpm_4.7.0-3_amd64.deb
 7ca3ed81a638aa397a9c5d54dba76bbca34da6783b74182c13b45c6935f32918 1609 rpm_4.7.0-3.dsc
 49bb19de007bc3bb88ff750eac36293714a63267939856b95d4117f82523a9bf 460085 rpm_4.7.0-3.diff.gz
 5a8346881aa72d363e8ad342b202adf4623ff0f369231637e039743712c1492c 1131996 rpm-i18n_4.7.0-3_all.deb
 bf3a7997f13f8ca5e8ca334fafb41ea3e32317e25e92853100d0e07950b84d32 801614 rpm_4.7.0-3_amd64.deb
 c58e2052071486f1e32ebf15b31c4e17229ba95ef6755d7448144428befa10b5 1186192 lsb-rpm_4.7.0-3_amd64.deb
 a1fb8454431019697a165a51f0b2ff0ade0d523003e167f0138e40cffb9e32d7 2821868 librpm-dbg_4.7.0-3_amd64.deb
 2e6e1255394259c8b022f1175bf694cae16509188ed3fc78af2b5388adfe3ea8 840080 librpm0_4.7.0-3_amd64.deb
 fbdbd50206df7e39ebe3124b8a68253383b765fe943627adca7321794e35596d 699846 librpmio0_4.7.0-3_amd64.deb
 4cf3e25accae452c3ba88e711a1639c442b679910ac8dcd546d30625a3f244d4 702436 librpmbuild0_4.7.0-3_amd64.deb
 90625f70380b6ec2926bcf29307d0d9a81aeb9424b384d1c80e4e148a968e790 699522 librpm-dev_4.7.0-3_amd64.deb
 04a69fbe88b0794d4ef1142f8ec441e8fc27f0ef37559b972229978447fceef0 712666 python-rpm_4.7.0-3_amd64.deb
 1e6d725acac1876412d53dca11628f8d 1609 admin optional rpm_4.7.0-3.dsc
 270a0ff1ebe66d65c9194b322e895927 460085 admin optional rpm_4.7.0-3.diff.gz
 58c653df657ebde7677700ef0d53144e 1131996 localization optional rpm-i18n_4.7.0-3_all.deb
 6f3cc8acee45c975e73e104b25b88105 801614 admin optional rpm_4.7.0-3_amd64.deb
 68150c4d338e43c89b1a71d84eb67239 1186192 devel optional lsb-rpm_4.7.0-3_amd64.deb
 8bb84e5aa5d1ddc57a1a4bc4ad3febb2 2821868 debug extra librpm-dbg_4.7.0-3_amd64.deb
 8d30a04db3c7facc7fac33d7273e50b2 840080 libs optional librpm0_4.7.0-3_amd64.deb
 714c7eeea8f4fdd6760dfc287be124ed 699846 libs optional librpmio0_4.7.0-3_amd64.deb
 1b7f235ca545736aff3a98efdbeef1af 702436 libs optional librpmbuild0_4.7.0-3_amd64.deb
 54ac3ccdd91fbf2bf4f9a3c7970e9e86 699522 libdevel extra librpm-dev_4.7.0-3_amd64.deb
 b9d173aa6dda04d61d3ff22d2dbbb08d 712666 python extra python-rpm_4.7.0-3_amd64.deb

Version: GnuPG v1.4.9 (GNU/Linux)


--- End Message ---

Reply to: