Package: debmake Version: 4.2.2 Severity: important Package: debmake Version: 4.2.2 Severity: important
debmake tries to add folder matching para['license'], fails and exists. Following commands are issued inside the root of the source of elmerfem (https://github.com/ElmerCSC/elmerfem). I included a patch at the end of the mail. $ debmake -p elmerfem -u 8.2 Traceback (most recent call last): File "/usr/bin/debmake", line 28, in <module> debmake.main() File "/usr/lib/python3.5/site-packages/debmake/__init__.py", line 195, in main debmake.debian.debian(para) File "/usr/lib/python3.5/site-packages/debmake/debian.py", line 135, in debian debmake.cat.cat('debian/copyright', debmake.copyright.copyright(para['package'], para['license'], para['cdata'], para['xml_html_files'], para['binary_files'], para['huge_files'], tutorial=para['tutorial']), tutorial=para['tutorial']) File "/usr/lib/python3.5/site-packages/debmake/copyright.py", line 978, in copyright text += license_text(f) File "/usr/lib/python3.5/site-packages/debmake/copyright.py", line 904, in license_text with open(file, 'r', encoding=encoding) as fd: IsADirectoryError: [Errno 21] Is a directory: 'license_texts' $ tree -d . ├── ElmerGUI │ ├── Application │ │ ├── cad │ │ ├── edf │ │ ├── edf-extra │ │ ├── forms │ │ ├── icons │ │ ├── images │ │ ├── plugins │ │ ├── src │ │ ├── twod │ │ └── vtkpost ... │ ├── license_texts ... │ └── scripts ... ├── license_texts ... -- System Information: Architecture: amd64 (x86_64) Kernel: Linux 4.4.5-1-ARCH (SMP w/12 CPU cores; PREEMPT) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/bash Init: systemd (via /run/systemd/system)