Skip to main content
Topic: Confused as to why makepkg seems to no longer work......... (Read 936 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Confused as to why makepkg seems to no longer work.........

Code: [Select]
:~/Programs/davinci-resolve$ ls
davinci-resolve.install  PKGBUILD
:~/Programs/davinci-resolve$ makepkg -sci
==> ERROR: You do not have write permission for the directory $BUILDDIR (/home/#####/Programs/davinci-resolve).
    Aborting..~/Programs/davinci-resolve$ sudo makepkg -sci
[sudo] password for #####:
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
~/Programs/davinci-resolve$

Never had issues installing packages from the AUR using makepkg -sci.....now i get shut down no matter what i try and cant seem to find any information on why im running into this problem.

Re: Confused as to why makepkg seems to no longer work.........

Reply #1
look at the owner/group of the directory/files you are working with.
There is a chance that they somehow ended as root?

You cannot (I hope) run makepkg as root.

 

Re: Confused as to why makepkg seems to no longer work.........

Reply #2
Its in the same directory that ive always saved my pkgbuilds. Nothing changed except for the fact that it no longer works.

EDIT: Ok, so i was able ot view ownership of directory and it is showing as root. This only seems to be the case with any new git clones.......all old pkgbuilds still show user name. What would have changed that everything i git clone is getting automatic root owenership???