Package: dh-make-drupal
Version: 1.1-1
Severity: important

Something in dh-make-drupal seems to have broken when trying to use the -d
or --drupal-version option to specify building for something other than the
default (now drupal 7).

For example:

$ dh-make-drupal -d 6 ctools
/usr/bin/dh-make-drupal:676:in `rescue in fetch_data': Could not open 6
/project website at http://drupal.org/project/6 (IOError)
        from /usr/bin/dh-make-drupal:673:in `fetch_data'
        from /usr/bin/dh-make-drupal:734:in `for'
        from /usr/bin/dh-make-drupal:147:in `fetch_info'
        from /usr/bin/dh-make-drupal:99:in `initialize'
        from /usr/bin/dh-make-drupal:1106:in `new'
        from /usr/bin/dh-make-drupal:1106:in `run'
        from /usr/bin/dh-make-drupal:1120:in `<main>'

$ dh-make-drupal ctools -d 6
/usr/bin/dh-make-drupal:789:in `choose': No suitable version found for
/Drupal true (level>=recommended) (EOFError)
        from /usr/bin/dh-make-drupal:147:in `fetch_info'
        from /usr/bin/dh-make-drupal:99:in `initialize'
        from /usr/bin/dh-make-drupal:1106:in `new'
        from /usr/bin/dh-make-drupal:1106:in `run'
        from /usr/bin/dh-make-drupal:1120:in `<main>'

This breaks tarball builds too:

$ dh-make-drupal -d 6 -t ctools-6.x-1.9.tar.gz -V 1.9 ctools 
/usr/bin/dh-make-drupal:231:in `block in ck_orig_tarball': Downloaded file
/ctools-6.x-1.9.tar.gz has an unexpected directory hierarchy (ctools/
/(RuntimeError)
) - Aborting.
        from /usr/bin/dh-make-drupal:225:in `map'
        from /usr/bin/dh-make-drupal:225:in `ck_orig_tarball'
        from /usr/bin/dh-make-drupal:179:in `initialize'
        from /usr/bin/dh-make-drupal:1110:in `new'
        from /usr/bin/dh-make-drupal:1110:in `run'
        from /usr/bin/dh-make-drupal:1120:in `<main>'

$ dh-make-drupal -t ctools-6.x-1.9.tar.gz -V 1.9 ctools -d 6
W:  No list of core modules available for Drupal version true - Cannot infer
what to exclude, including everything.
<repeats several times>
dpkg-buildpackage: source package drupaltrue-mod-ctools
dpkg-buildpackage: source version 1.9-1
dpkg-buildpackage: source changed by Matthew Gabeler-Lee <>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build drupaltrue-mod-ctools-1.9
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b drupaltrue-mod-ctools-1.9
dpkg-source: error: can't build with source format '3.0 (quilt)': no
upstream tarball found at
../drupaltrue-mod-ctools_1.9.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b drupaltrue-mod-ctools-1.9 gave
error exit status 255


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.5 (SMP w/12 CPU cores)
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 dh-make-drupal depends on:
ii  build-essential  11.5
ii  debhelper        9.20120608
ii  libruby          4.9
ii  ruby             4.9
ii  ruby-hpricot     0.8.6-3
ii  ruby1.8 [ruby]   1.8.7.358-4

dh-make-drupal recommends no packages.

Versions of packages dh-make-drupal suggests:
ii  drupal6  6.26-1.1

-- no debconf information


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

Reply via email to