petrockblog / PowerBlock

Driver for petrockblock.com PowerBlock
43 stars 10 forks source link

"make: *** No rule to make target 'uninstallservice'. Stop." message during installation #12

Closed iasdeoupxe closed 4 months ago

iasdeoupxe commented 4 years ago

While installing PowerBlock (via RetroPie) i've noticed the following message:

make: *** No rule to make target 'uninstallservice'.  Stop.

It seems this is caused by the following:

https://github.com/petrockblog/PowerBlock/blob/release/2.0.0/install.sh#L26

which is probably left-over from the "bash-only implementation" between 1.6.3 and 2.0.0:

https://github.com/petrockblog/PowerBlock/compare/release%2F1.6.3...release%2F2.0.0

Full log:

Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.11.0-3+deb9u4).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Cloning into 'PowerBlock'...
make: *** No rule to make target 'uninstallservice'.  Stop.
Starting powerblock (via systemctl): powerblock.service.
Installation of PowerBlock service done.
[SUCCESS] The PowerBlock driver binary is installed
[SUCCESS] The PowerBlock service is running
You can find the configuration file at /etc/powerblockconfig.cfg.
iasdeoupxe commented 8 months ago

This still happens after all these years with a recent master installation when following:

https://github.com/petrockblog/PowerBlock#installation

Is this something to worry or can this be ignored?

Recent full log:

2024-01-06 12:28:15 (8,25 MB/s) - ‘petrockblock_powerblock_master.zip’ saved [11155]

Archive:  petrockblock_powerblock_master.zip
1723c9b4b86e9fd1b930c30706a29f4a79f581c8
   creating: PowerBlock-master/
  inflating: PowerBlock-master/.gitignore  
  inflating: PowerBlock-master/README.md  
  inflating: PowerBlock-master/install.sh  
  inflating: PowerBlock-master/install_libreelec.sh  
   creating: PowerBlock-master/scripts/
   creating: PowerBlock-master/scripts/libreelec/
 extracting: PowerBlock-master/scripts/libreelec/autostart.sh  
  inflating: PowerBlock-master/scripts/libreelec/powerblock.sh  
  inflating: PowerBlock-master/scripts/powerblock  
  inflating: PowerBlock-master/scripts/powerblockservice  
   creating: PowerBlock-master/supplementary/
  inflating: PowerBlock-master/supplementary/powerblockconfig.cfg  
 extracting: PowerBlock-master/supplementary/powerblockswitchoff.sh  
  inflating: PowerBlock-master/uninstall.sh  
make: *** No rule to make target 'uninstallservice'.  Stop.
Starting powerblock (via systemctl): powerblock.service.
Installation of PowerBlock service done.
[SUCCESS] The PowerBlock driver executable is installed
[SUCCESS] The PowerBlock service is running
You can find the configuration file at /etc/powerblockconfig.cfg.
petrockblog commented 4 months ago

This is nothing to worry about, but should be fixed in the install script to not worry the users.

petrockblog commented 4 months ago

I will update the script in the next days.

petrockblog commented 4 months ago

I fixed this issue finally with the recent commit bd52ba83a57ef459c7351119d90b2e073641ed3b.