You are not logged in.
Not sure what happened... since my last full update of Arch Linux, I cannot seem to run makepkg anymore without some permission errors.
Here is an example for a very simple program called "ripmime":
$ makepkg -si
==> Making package: ripmime 1:1.4.1.0-1 (Sun 08 Sep 2024 01:45:24 AM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading ripmime-1.4.1.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 170k 0 170k 0 0 217k 0 --:--:-- --:--:-- --:--:-- 508k
==> Validating source files with sha256sums...
ripmime-1.4.1.0.tar.gz ... Passed
==> Extracting sources...
-> Extracting ripmime-1.4.1.0.tar.gz with bsdtar
==> Starting build()...
./build_tnef
make: ./build_tnef: Permission denied
make: *** [Makefile:52: tnef/tnef.o] Error 127
==> ERROR: A failure occurred in build().
Aborting...
Permissions on "src/ripMIME-1.4.1.0/build_tnef" are:
-rwxr-xr-x 1 drtebi drtebi 24 Sep 20 2022 build_tnef
and I am drtebi and I am confused.
Last edited by drtebi (2024-09-08 16:13:15)
Offline
What is the output of
findmnt -T src/ripMIME-1.4.1.0/build_tnef
Offline
The output is:
TARGET SOURCE FSTYPE OPTIONS
/home/drtebi/Downloads /dev/sda1 ext4 rw,nosuid,nodev,noexec,noatime
And I think I now what's going on! I recently decided to use a separate disk for my download directory, and from what I can see from the output above, that disk is mounted without exec permissions! I will change that, reboot, and try again.
Thanks for the tip!
Offline
Rebooted with the corrected fstab (added "exec"), and all works fine now.
Again, thank you for your tip!
Offline