A
ASX
Guest
think portmaster needs to stay the official tool,
portmaster is not the official tool, and it is also not the "recommended" tool: PR 206922, see post #9
think portmaster needs to stay the official tool,
What's the reason it aborts and which ports?It can abort on some old slow cpu machines when building certain ports
It was not an "abort", the package was webkit2-gtk3, and while running on an old slow machine the watchdog that is implemented in Synth to reap stalled builds, killed that build. There is a whole thread about that: Thread 58614What's the reason it aborts and which ports?
So here I am in /usr/ports/devel/apache-ant and I want to check which ports Synth found to be new. Picture me surprised...
As more experimentation showed me: Synth refuses to run inside the /usr/ports structure. I'm sure there are good reasons for that, but it's not always very desirable nor user friendly. Especially when using commands which do very little but show me the current status.Code:peter@macron:/usr/ports/devel/apache-ant# synth status Please change the current directory; Synth is unable to launch from here.
(cd / && synth status). In other words, run in a subshell to change directory first. While portmaster is designed to assume it's being run in ports tree, synth requires the opposite never happen for technical reasons, but it's not hard to work around.But more so because I sometimes use Portmaster for specific tasks. Including, if needed, a careful upgrade of one specific port (-o). Which means that I'll have to specify the origin. Doable by utilizing#pkg info -ox <name>but also by being in the physical directory itself. That of course doesn't work.
Why in the world would Synth rely on a (memory wasting) temporary file system while /tmp and /var/tmp have been carefully set up for this very specific reason? This machine I'm using isn't the most modern one, but it can maintain a package repository just fine.
So I learned of# synth configure, used that and confirmed my suspicions: The options K and L which provide me with a way to make Synth use (or not use) tmpfs for the work area and localbase (or both of course).
Just too bad that these options apparently get totally ignored. It's the only conclusion I can come up with.
So yeah, each to their own but this is definitely not for me.
It was not an "abort", the package was webkit2-gtk3, and while running on an old slow machine the watchdog that is implemented in Synth to reap stalled builds, killed that build. There is a whole thread about that: Thread 58614
guess that depends on your definition of abort.
abishai@sphinx:~ % doas synth status net/wireshark-lite
Scanning existing packages.
These are the ports that would be built ([N]ew, [R]ebuild, pgrade):
N => net/wireshark-lite
Total packages that would be built: 1
abishai@sphinx:~ % doas synth just-build net/wireshark-lite
Scanning existing packages.
After inspection, it has been determined that there are no packages that
require rebuilding; the task is therefore complete.
abishai@sphinx:~ % doas synth force net/wireshark-lite
Scanning existing packages.
After inspection, it has been determined that there are no packages that
require rebuilding; the task is therefore complete.
09:28:47 s kernel: swap_pager: out of swap space
Dec 26 09:28:47 s kernel: swap_pager_getswapspace(5): failed
Dec 26 09:32:50 s kernel: swap_pager_getswapspace(16): failed
Dec 26 09:32:50 s last message repeated 6 times
Dec 26 09:32:50 s kernel: swap_pager_getswapspace(12): failed
Dec 26 09:32:50 s kernel: swap_pager_getswapspace(16): failed
Dec 26 09:32:50 s kernel: swap_pager_getswapspace(12): failed
Dec 26 09:32:50 s kernel: swap_pager_getswapspace(16): failed
Dec 26 09:32:50 s kernel: swap_pager_getswapspace(12): failed
Dec 26 09:32:50 s kernel: swap_pager_getswapspace(16): failed
Dec 26 09:32:50 s kernel: swap_pager_getswapspace(12): failed
Dec 26 09:32:50 s kernel: swap_pager_getswapspace(16): failed
Synth using memory till swap is full
(Not sure if this is the best place for this--perhaps give it its own thread or link to the thread below, that ended in May? )
I see that someone had this issue back with FreeBSD-10.x, where synth started using swap at an unexpected rate. https://forums.freebsd.org/threads/56171/ Lately, this has started happening to me on 2 FreeBSD-11 systems, both with reasonably good processors, zfs, and 8 GB of RAM.
[/code]
Not so long I use Synth and at the same time it built LibreOffice and Blender. SWAP raise to 36% and after LibreOffice was done dropped to 13.6%. And when was everything done swap stayed on 13%??
service cron onestop top 'vmstat -m'Probably, all the ports waiting was the single port that was being done as dependency. So, they need to wait that one to be done before get a slot.