Closed shirishag75 closed 7 years ago
This is the data in JSON format. And they are not in any way related to libcpuid. These data i-nex needs to show the manufacturer's information on the processor.
you are right, it is not related to libcpuid but still does the json data need to have executable rights in order to do the job, is it necessary on any GNU/Linux/BSD/Unix platform ?
Before compilation law json files are fine. After building the package, the rights themselves are changing. You need to do now so that they do not have the rights to execution.
hmm... just saw your commits and tried to build. It fails at -
Install database files...
make -C Database install
make[2]: Entering directory '/home/shirish/games/I-Nex'
make[2]: *** Database: No such file or directory. Stop.
make[2]: Leaving directory '/home/shirish/games/I-Nex'
Makefile:81: recipe for target 'install-database' failed
make[1]: *** [install-database] Error 2
make[1]: Leaving directory '/home/shirish/games/I-Nex'
dh_auto_install: make -j1 install DESTDIR=/home/shirish/games/I-Nex/debian/i-nex AM_UPDATE_INFO_DIR=no returned exit code 2
debian/rules:23: recipe for target 'binary' failed
make: *** [binary] Error 2
Is bug has been fixed? If so, please closing.
yup, it did get fixed but I got this while installing it -
Unpacking i-nex (7.4.0.1) over (7.4.0.1) ...
dpkg: warning: unable to delete old directory '/etc/i-nex/SIV': Directory not empty
dpkg: warning: unable to delete old directory '/etc/i-nex/Database/i2c': Directory not empty
dpkg: warning: unable to delete old directory '/etc/i-nex/Database/Logos': Directory not empty
dpkg: warning: unable to delete old directory '/etc/i-nex/Database/Distlogos': Directory not empty
dpkg: warning: unable to delete old directory '/etc/i-nex/Database': Directory not empty
dpkg: warning: unable to delete old directory '/etc/i-nex': Directory not empty
But I fixed that by manually emptying the directories under /etc/i-nex and again installing the debian packages.
Btw it would be nice/good if you bump up the minor release numbers when you make changes once in a while, for e.g. from 7.4.0.1 - 7.4.0.2 (/suggestion)
The changes will go to 7.6.0 after the repair all errors.
According to lintian -
I investigated and found it to be true, please fix the above -
Just taking one for example -
And yours -
AFAIK they don't need need executable rights as it is data which would be used by libcpuid to figure out what processor is there so they don't need executable rights/permissions.