dh-make is not making GPL licenses

Bug #1048908 reported by Joseph Mills
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dh-make (Debian)
Fix Released
Unknown
dh-make (Ubuntu)
Fix Released
Undecided
Joseph Mills

Bug Description

So I was getting ready to build a package and dh-make errored out on me. Here is the output.

joseph@joseph:~/Desktop/9rounds-0.0.1$ dh_make -c gpl3 -f 9rounds-0.0.1.tar.gz
Maintainer name : Joseph Mills
Email-Address : XXXXXXXXXXXXXXXXX.com
Date : Mon, 10 Sep 2012 23:04:25 -0400
Package Name : 9rounds
Version : 0.0.1
License : blank
Type of Package : unknown
Hit <enter> to confirm:
sh: 1: cd: can't cd to /usr/share/debhelper/dh_make/debiangpl3
Cannot find rules file for rules format "dh7".
joseph@joseph:~/Desktop/9rounds-0.0.1$ ubutnu-bug dh-make

cat /usr/share/debhelper/dh_make/debiangpl3
cat: /usr/share/debhelper/dh_make/debiangpl3: No such file or directory

ls /usr/share/debhelper/dh_make/licenses/ |grep gpl
gpl2
gpl3
lgpl2
lgpl3

apt-cache policy dh-make
dh-make:
  Installed: 0.61
  Candidate: 0.61
  Version table:
 *** 0.61 0
        500 http://us.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: dh-make 0.61
ProcVersionSignature: Ubuntu 3.5.0-14.15-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
Date: Mon Sep 10 23:05:24 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: dh-make
UpgradeStatus: Upgraded to quantal on 2012-06-15 (88 days ago)

Related branches

Revision history for this message
Joseph Mills (josephjamesmills) wrote :
Revision history for this message
Joseph Mills (josephjamesmills) wrote :

I would also like to add that after filing this I tried it 3 more times Each time that I trie it it made debian dir But licence was wrong.
Meaning that I would run dh_make -c gpl3 each time
1st time I got back gpl2
2nd time I got back lgpl
3rd time I got back bsd

also all them times dh-make never made a rules file.

Revision history for this message
Joseph Mills (josephjamesmills) wrote :

I was able to get help on IRC on the motu channel for this one and fix this bug buy adding
Getopt::Long::Configure ('no_ignore_case');
turns out that dh-make was getting confused by CAPS or no caps.

Changed in dh-make (Ubuntu):
status: New → Fix Committed
assignee: nobody → Joseph (josephjamesmills)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dh-make - 0.61ubuntu1

---------------
dh-make (0.61ubuntu1) quantal; urgency=low

  * dh_make: line 14 added Getopt::Long::Configure ('no_ignore_case');
    (LP: #1048908)
  * fixed the bug number and explaining more.
    I was able to get help on IRC on the motu channel for this one and fix
    this bug buy adding Getopt::Long::Configure ('no_ignore_case');
    turns out that dh-make was getting confused by CAPS or no caps.
    example dh_make -c gpl3 *.tar.gz will error out but dch_make
    --copyright would not so adding no_ignore_case fixs this.
 -- Joseph Mills <email address hidden> Tue, 11 Sep 2012 18:55:17 -0400

Changed in dh-make (Ubuntu):
status: Fix Committed → Fix Released
Changed in dh-make (Debian):
status: Unknown → New
Changed in dh-make (Debian):
status: New → Fix Committed
Changed in dh-make (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.