I'm trying to package an already compiled set of binaries including doc, header files, usage examples, etc...
The installation instruction of the original binaries recommends to just copy all files to a directory below /usr
So I've made the following debian/install
:
bin/* /usr/tigcc/bin
doc/* /usr/tigcc/doc
examples/* /usr/tigcc/examples
include/* /usr/tigcc/include
lib/* /usr/tigcc/lib
projects/* /usr/tigcc/projects
Now I'm using debuild -uc -us -sa
to generate the .deb file. I'm confronted with this error:
dpkg-genchanges -sa >../tigcc_0.95-0ubuntu2_amd64.changes
dpkg-genchanges: Fehler: Dateienliste-Datei kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden
#translation: error: couldn't read file list file: File or directory not found
Why am I getting this error? What am I doing wrong?
Edit: debian/rules
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1
%:
dh $@
(default from some packaging guide)
Edit: ls -lhR debian
debian:
total 36K
-rw-rw-r-- 1 sebastian sebastian 147 Feb 22 15:45 changelog
-rw-rw-r-- 1 sebastian sebastian 2 Feb 21 23:46 compat
-rw-rw-r-- 1 sebastian sebastian 454 Feb 23 12:43 control
-rw-rw-r-- 1 sebastian sebastian 1.2K Feb 23 12:19 copyright
-rw-rw-r-- 1 sebastian sebastian 148 Feb 26 21:39 install
-rw-rw-r-- 1 sebastian sebastian 102 Feb 23 12:13 postinst
-rw-rw-r-- 1 sebastian sebastian 79 Feb 23 12:13 preinst
-rwxr-xr-x 1 sebastian sebastian 85 Feb 26 21:39 rules
drwxrwxr-x 2 sebastian sebastian 4.0K Feb 21 23:11 source
debian/source:
total 4.0K
-rw-rw-r-- 1 sebastian sebastian 12 Feb 21 23:11 format
EDIT: I tried to create a file debian/files
, just because I somehow thought it might help. The error vanished, but debuild
just said "nothing to build" a few times and finished without generating a package at all.
Edit: Following the request of one of the people trying to help me, I'm now supplying links to the files used.
The original binaries can be found here, the stuff below debian
here.
NOTE: These link point directly to tar archives.
debian/rules
file. Do you have that? – landroni Feb 26 '14 at 19:55ls -lhR debian
. – landroni Mar 04 '14 at 14:27debian/compat
exactly? – dobey Mar 04 '14 at 18:509
– s3lph Mar 04 '14 at 18:51debian/rules
file? – Malte Skoruppa Mar 05 '14 at 02:16