[Parted-maintainers] Bug#580415: parted should have versioned build-depend on libdevmapper-dev (2.2-5 does not build on lenny)

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed May 5 22:00:31 BST 2010


Package: parted
Version: 2.2-5
Severity: normal

Trying to build parted for lenny-backports (on a stock lenny system),
i got the following error:

cd .. && /usr/bin/make  am--refresh
make[5]: Entering directory `/home/dkg/src/parted/parted-2.2/build-deb'
CDPATH="${ZSH_VERSION+.}:" && cd .. && true -I m4
 cd .. && true --gnu
make[5]: Leaving directory `/home/dkg/src/parted/parted-2.2/build-deb'
  CC       debug.lo
  CC       architecture.lo
  CC       device.lo
  CC       exception.lo
  CC       filesys.lo
  CC       libparted.lo
  CC       timer.lo
  CC       unit.lo
  CC       disk.lo
  CC       geom.lo
  CC       constraint.lo
  CC       natmath.lo
  CC       linux.lo
cc1: warnings being treated as errors
../../libparted/arch/linux.c: In function '_dm_maptype':
../../libparted/arch/linux.c:439: error: implicit declaration of function 'dm_task_set_major_minor'
make[4]: *** [linux.lo] Error 1

The system on which i am backporting is running a stock lenny install,
and has version 2:1.02.27-4 of libdevmapper-dev, and has no mention of
dm_task_set_major_minor anywhere under /usr/include.

i could find dm_task_set_major_minor in /usr/include/libdevmapper.h
from version 2:1.02.45-1 of libdevmapper-dev (on a testing system,
which i'm writing this report from).

I don't know when this symbol was introduced.

It would be good if parted could be built against the older versions
of libdevmapper.  If this is not possible, it would be nice to
identify the necessary version with a versioned build-dep.

Thanks for parted!

     --dkg

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

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

Versions of packages parted depends on:
ii  libc6                     2.10.2-6       Embedded GNU C Library: Shared lib
ii  libncurses5               5.7+20100313-2 shared libraries for terminal hand
ii  libparted0debian1         2.2-5          The GNU Parted disk partitioning s
ii  libreadline6              6.1-1          GNU readline and history libraries

parted recommends no packages.

Versions of packages parted suggests:
pn  parted-doc                    <none>     (no description available)

-- no debconf information





More information about the Parted-maintainers mailing list