Issue making deb

If you have trouble with PHC you can ask and hope for help here.
Post Reply
danello
Posts: 2
Joined: Mon 6. Nov 2017, 19:03

Issue making deb

Post by danello » Wed 8. Nov 2017, 23:45

Hi everybody, I've got this errors making .deb on Ubuntu 17.10, kernel 4.13, running

Code: Select all

sudo make dkms_mkdeb

Code: Select all

...
copying legacy postinstall template...
Copying source tree...
Building binary package...dpkg-buildpackage: warning: using a gain-root-command while being root
 dpkg-source --before-build phc-intel-dkms-0.3.2
 fakeroot debian/rules clean
dh_clean: Compatibility levels before 9 are deprecated (level 7 in use)
 debian/rules build
 fakeroot debian/rules binary
dh_installdirs: Compatibility levels before 9 are deprecated (level 7 in use)
dh_strip: Compatibility levels before 9 are deprecated (level 7 in use)
dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../phc-intel-dkms_0.3.2_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build phc-intel-dkms-0.3.2


DKMS: mkdeb completed.
Moving built files to /.dkms/phc-intel/0.3.2/deb...mv: cannot stat '/tmp/dkms.HYNX4G/phc-intel-dkms_0.3.2_amd64.deb': No such file or directory
(bad exit status: 1)
Cleaning up temporary files...
mv: cannot stat '/.dkms/phc-intel/0.3.2/deb/*': No such file or directory
Makefile:232: recipe for target 'dkms_mkdeb' failed
make: *** [dkms_mkdeb] Error 1
Thanks in advance for helping me, and nice to meet you, this is my first post... :)

lio
Posts: 74
Joined: Wed 2. Mar 2011, 18:37

Re: Issue making deb

Post by lio » Sun 19. Nov 2017, 14:01

Don't know about Ubuntu specifically, but this looks like a bug in dkms. The Debian bugtracker has https://bugs.debian.org/cgi-bin/bugrepo ... bug=832558 where you can choose from three different patches, if I count correctly. However, if you don't like patching dkms, 'make dkms_install' should still work. Or you can build and install the package directly with make / make install.

lio

Post Reply