gobolinux / Compile

The GoboLinux build tool
52 stars 15 forks source link

Compile fails reinstalling packages (in some instances) #51

Open Nuc1eoN opened 3 years ago

Nuc1eoN commented 3 years ago

Certain packages fail to build if they are already installed under /Programs/*.

It can be reproduced by installing LibBPF 0.2 and trying to reinstall it using Compile LibBPF 0.2. In the presented scenario, the installation will fail with the following error: real_install: cannot change permissions of ‘/usr/include/bpf’: No such file or directory.

Doing a RemoveProgram LibBPF 0.2 prior to calling Compile LibBPF 0.2 will make it work.

Unless a user already knows this, this can be a very frustrating experience.

Nuc1eoN commented 7 months ago

In other cases Compile fails to update an existing program, for example Kmod 27 -> Kmod 32.

The solution is to run eg DisableProgram Kmod prior to installation.

Updating Vim shows a similar behaviour as @sage-etcher pointed out.