How solve this errror
makepkg -si PKGBUILD
==> Making package: libxc 6.1.0-1 (Wed 18 Jan 2023 03:02:37 PM WIB)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
chmod: changing permissions of '/Downloads/libxc/src': Operation not permitted
when try install libxc from source package having PKGBUILD ?
Sincere help is really expected
chmod: changing permissions of '/Downloads/libxc/src': Operation not permitted
If the directory in question is not in your user's home folder then one has to enable your user account's ownership.
In the example shown, it would be:
User name = mardiyah (or whatever your user name is)
User group = users (or whatever user group wanted)
# chown -R mardiyah:users /Downloads
You may want to change the path in your "/etc/makepkg.conf" file to place the built files into one location.
# vim /etc/makepkg.conf
<snipped>
PKGDEST=<input the path to the files>
<snipped>
Please check "man makepkg.conf" for more information or ARch's makepkg wiki page (https://wiki.archlinux.org/title/Makepkg).
Configuring makepkg.conf is important.
Yup, solved after get to dir:
sudo chown -R mardiyah .