#206 make deb fails

Version_4.0_(ng)
closed-fixed
Matt
Build (20)
5
2011-11-02
2011-04-16
Cailin
No

On Debian squeeze (6.0.1) the build of openqrm-4.8 fails:

openqrm-server requires: make, gcc, portmap, rsync, zlib1g-dev, wget, tar, bzip2, unzip, wget, netbase, patch, lvm2, ethtool
found make installed
found gcc installed
found portmap installed
found rsync installed
found zlib1g-dev installed
found wget installed
found tar installed
found bzip2 installed
found unzip installed
found wget installed
found netbase installed
found patch installed
NOTICE: Trying to automatically install lvm2 ...
Package `lvm2' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/tmp/buildd/openqrm-4.8/./include/openqrm-package-functions: line 105: sudo: command not found
ERROR: lvm2 could not be installed. Please install manually to continue
make[2]: *** [buildrequirements] Error 1
make[2]: Leaving directory `/tmp/buildd/openqrm-4.8'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/tmp/buildd/openqrm-4.8'

It seems somewhere in the pbuilder chroot lvm2 is needed.

Discussion

  • Cailin
    Cailin
    2011-04-16

    in pbuilders base.tgz there is no lvm2 and ethtool.
    Any ideas how to fix this?

     
  • Cailin
    Cailin
    2011-04-24

    Under Debian extract /var/cache/pbuilder/base.tar.gz, download ethtool and lvm2
    via aptitude download and install the packages with dpkg --instadir ,whereyouextractedto> -i ethtoolXYZ.deb lvm2XYZ.deb

     
  • Matt
    Matt
    2011-05-03

    • status: open --> open-accepted
     
  • Matt
    Matt
    2011-05-03

    Hi Cailin,

    thanks for your bug report. We will look into the package build system and fix it.

    many thanks and have a nice day,

    Matt Rechenburg
    Project Manager openQRM

     
  • Solved this issue in this way:
    $ sudo DIST=squeeze ARCH=amd64 pbuilder update
    $ sudo DIST=squeeze ARCH=amd64 pbuilder update --extrapackages udev
    $ sudo DIST=squeeze ARCH=amd64 pbuilder update --extrapackages lvm2
    $ sudo make deb

     
  • Matt
    Matt
    2011-11-02

    • status: open-accepted --> closed-fixed
     
  • Matt
    Matt
    2011-11-02

    We have fixed this packaging issue for the just released openQRM 4.9 version.
    closing this bug

    Matt Rechenburg
    Project Manager openQRM