linuxmint / hypnotix

An M3U IPTV Player
1.26k stars 168 forks source link

dpkg-buildpackage error #168

Closed brccabral closed 3 years ago

brccabral commented 3 years ago

Hi everyone, I am getting this error after executing dpkg-buildpackage. Anyone could help me?

/media/brccabral/Data/GitHubProjects/hypnotix/hypnotix/debian/install: 1: usr: not found
dh_install: warning: debian/install is marked executable but does not appear to an executable config.
dh_install: warning: 
dh_install: warning: If debian/install is intended to be an executable config file, please ensure it can
dh_install: warning: be run as a stand-alone script/program (e.g. "./debian/install")
dh_install: warning: Otherwise, please remove the executable bit from the file (e.g. chmod -x "debian/install")
dh_install: warning: 
dh_install: warning: Please see "Executable debhelper config files" in debhelper(7) for more information.
dh_install: warning: 
dh_install: error: debian/install (executable config) returned exit code 127
make: *** [debian/rules:6: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
ghost commented 3 years ago

Try this:

chmod -x "debian/install"
brccabral commented 3 years ago

Thanks for checking this issue. I just did chmod -x debian/install, but got same error.

ghost commented 3 years ago

Maybe you are trying compiling as root? If so: Don't build as root. Before trying again (as a normal user) run git clean -fdx as root

brccabral commented 3 years ago

It is a NTFS system. It is my D: drive from Windows, my Ubuntu is in a dual boot. I tried on $HOME and it passed this error, but I got another error. I'll open a new issue, this one can be closed