Hello Adolf,
I have been looking into this in depth and I cannot find a way to make the builder work with all its features unless it is running as root.
So please add a “sudo” to the command line and let me know if that brings you any further.
-Michael
On 30 Oct 2023, at 17:56, Adolf Belka adolf.belka@ipfire.org wrote:
Hi Michael,
On 30/10/2023 11:01, Michael Tremer wrote:
Hello Adolf, Thanks for giving this a try. Is there anything in the logs?
In the forum I always remind people to look at the logs. On my Arch Linux systems I always search through the logs when I have a problem.
For some reason with this pakfire package I seem to forget to look in the logs.
Here is what I found when running pakfire-builder build beep/beep.nm (adding --debug made no difference)
pakfire[2137]: Mounting /var/tmp/pakfire-root-KRBTNG from pakfire_ramdisk (tmpfs - (null)) pakfire[2137]: Could not mount /var/tmp/pakfire-root-KRBTNG: Operation not permitted pakfire[2137]: Could not mount ramdisk at /var/tmp/pakfire-root-KRBTNG ((null)): Unknown error -1
Regards,
Adolf.
You can add —-debug to get some more output. Best, -Michael
On 29 Oct 2023, at 13:23, Adolf Belka adolf.belka@ipfire.org wrote:
Hi All,
I updated my pakfire branch by doing a git pull with all the latest changes and built everything again.
Then tested out by running sudo pakfire-builder build beep/beep.nm
Result was again just going to the prompt with nothing happening.
Ran the commands with gdb and got following result.
sudo gdb pakfire-builder GNU gdb (GDB) 13.2 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.
For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from pakfire-builder... (gdb) run build beep/beep.nm Starting program: /usr/bin/pakfire-builder build beep/beep.nm [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7ffff57dd6c0 (LWP 12756)] [Thread 0x7ffff57dd6c0 (LWP 12756) exited] [Inferior 1 (process 12752) exited with code 0377] (gdb)
Regards, Adolf.
-- Sent from my laptop
-- Sent from my laptop