Package: debmake
Version: 4.1.0-1
Severity: normal

Hi Osamu,

Was experimenting debmake and I invoked it in following fashion

debmake -a ~/Downloads/fantasque-sans-1.6.4.orig.tar.gz -b data

and was expecting it to extract upstream tarball and form package
instead I got this error

E: Non-supported tarball name 
/home/vasudev/Downloads/fantasque-sans-1.6.4.tar.gz

I checked the source and its raising from debmake.sanity module, this is
happening because regex only matches the package name, which is right
but para['tarball'] should only contain the tarball name, i.e. we should
apply os.path.basename on args.archive before assigning it to
para['tarball'].

What do you think of this solution? If its okay then I will be happy to
provide patch for the same.

Best Regards

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armel
armhf

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debmake depends on:
ii  devscripts   2.14.5
ii  dpkg-dev     1.17.10
ii  python3      3.4.1-1
pn  python3:any  <none>
ii  rsync        3.1.0-3

Versions of packages debmake recommends:
ii  build-essential  11.6
ii  curl             7.37.0-1+b1
ii  strace           4.5.20-2.3
ii  wget             1.15-1+b1

Versions of packages debmake suggests:
ii  autotools-dev  20140510.1
ii  cmake          2.8.12.1-1.4
ii  dh-autoreconf  9
ii  gem2deb        0.7.5
pn  javahelper     <none>
ii  rpm2cpio       4.11.2-3

-- no debconf information

-- 
Vasudev Kamath
http://copyninja.info
Connect on ~friendica: [email protected]
IRC nick: copyninja | vasudev {irc.oftc.net | irc.freenode.net}
GPG Key: C517 C25D E408 759D 98A4  C96B 6C8F 74AE 8770 0B7E

Attachment: signature.asc
Description: Digital signature

Reply via email to