Interestingly, the version of Ubuntu newly installed where compiling stops is 20.04 focal fossa. Both the original Ubuntu and the new one (20.04) stop at flexcat.
However, the version installed for ABIv0 which is compiling correctly is 18.04 bionic beaver which is an older version. I could try installing 18.04 again in a new virtual machine. Or I could also try installing 24.04.
The difference that I see mostly is the version of GCC for 18.04 is 7.5.0 but for 20.04 it's GCC 9.4.0 so maybe I can try downgrading GCC.
Edited by miker1264 on 05-06-2026 22:40, 12 days ago
You are correct there retrofaza in that things are build on a shared folder. Again, this is otherwise not a problem and virtualbox has provisions in place to circumvent some of the more pressing issues (such as the inability to create links on a shared folder).
This particular VM however seem to suffer from issues regarding clock skew (seem to have something todo with with cpu/thread-scheduling) which I discovered just now and also not have encountered when using virtualbox before (and yes, I know it is not the best of virtualization solutions for linux but I got used to VBox when I was still using windows many moons ago so, sue me ).
Thanks for the input though because the issues for this particular VM are still haunting me just as they seem to do for miker and his VMWare install (and imho oracle documentation sucks big time as you seem to need to read all nooks and crannies to be able to have a chance to discover such an issues is able to exist in the first place)
I suspect (judging by the path) that you're using a folder shared by the host. The problem might lie in the permissions for that folder (or the file system?). But that's just a guess on my part I never build anything in a virtual machine myself.
Shared folder, permission issue. This has nothing to do with the Aros build system
Thank you for the suggestion retrofafza. I Would agree if it was not for the fact that I use this vm for all my 3th party builds (and otherwise works like a charm), though in all honesty I do that with a debian 13 VM while this is an (recently installed) debian 12 VM.
I do not deny the fact that I (also) suspect it is a VM related issue (this particular debian 12 setup caused other/earlier headaches for some reason or another).
Or, is the suggestion that aros should be build as someone with root permission ?
Edited by magorium on 05-06-2026 07:23, 12 days ago
@miker:
Debian Buster used to work without any issues but can imagine it being a bit out of date in order to be able to build AROS these days though in such case I would not expect the error you are currently reporting.
A small piggyback on/in this thread if allowed (if it requires more attention then please say so and I'll open up another thread on this topic). @deadwood (or someone else that known):
Fetching zstd-1.5.7 ...
Trying /media/sf_builder/arosbuilds/portssources/zstd-1.5.7.tar.gz...
unpack_cached: /media/sf_builder/arosbuilds/toolchain-core-x86_64-build/bin/linux-x86_64/Ports/zstd' does not exist. Making it.
Unpacking zstd-1.5.7.tar.gz'...
tar: zstd-1.5.7/tests/cli-tests/bin/unzstd: Cannot utime: Operation not permitted
tar: zstd-1.5.7/tests/cli-tests/bin/zstdcat: Cannot utime: Operation not permitted
tar: Exiting with failure status due to previous errors
fetch: Error while unpacking `zstd-1.5.7.tar.gz'.
make[1]: *** [mmakefile:39: workbench-libs-zstd-fetch] Error 1
[MMAKE] make --no-print-directory TOP=/media/sf_builder/arosbuilds/toolchain-core-x86_64-build SRCDIR=/media/sf_builder/arosbuilds/AROS CURDIR=workbench/libs/zstd TARGET=workbench-libs-zstd-fetch -s --file=mmakefile workbench-libs-zstd-fetch failed: 512
[MMAKE] Error: Error while running make in workbench/libs/zstd: No such file or directory
make: *** [Makefile:178: /media/sf_builder/arosbuilds/toolchain-core-x86_64/.installflag-crosstools] Error 10
I have the suspicion it is more distro/vbox related than it is an issue regarding aros build-system (but I might very well be wrong there).
There doesn't seem to be any error in the build. Flexcat built correctly and then the process stopped - not really sure why.
./rebuild.sh has been used by many people in the past to get crosscompiler + AROS to build. One last thing that comes to my mind is the Ubuntu version you are using. Which version is it? The process was not tested on anything newer then 24.04.
Ok. Something is wrong with building the toolchain.
I made a new virtual machine in VMWare then installed a fresh Ubuntu 64 from an ISO image. Then I followed INSTAL.md instructions. I installed all the required packages.
Then I ran the ./rebuild sh as instructed chosing option 1 to build the toolchain. The result was exactly the same as the previous two virtual machines that I tried. It stopped at flexcat. See screenshot.
Can anyone confirm that this isn't working? Or am I the only one with these strange issues?
If I can't get ABIv11 to build correctly I'll go back to using the Build System for ABIv0 for development and testing. It seems to be just fine. I'm losing momentum with these issues.
Edited by miker1264 on 03-06-2026 22:48, 14 days ago
For some reason I believe my virtual machine for building ABIv11 is haunted or cursed! :-)
It's strange because my ABIv0 virtual machine is working fine. But it's a copy of the original VMDK that I also used for the ABIv11. So I have a few other options.
I am currently making a copy of the original again to delete the sources and try again. If that doesn't work I will setup a completely new virtual machine in VMWare then install Ubuntu and follow Install.md That should definitely work correctly!!
Edited by miker1264 on 02-06-2026 12:18, 15 days ago
It installed curl correctly. The compiling stated well and it was fetching correctly but the terminal froze. I'm about to abort and try again using ./rebuild.sh option 2.
It started compiling for a short time then it stopped. I didn't see a error. Does that mean AROS is already compiled so there's nothing to do?
I'm attempting to backup all my unstaged changes by backing up my sources in Ubuntu to an SD card which is slow but I think it's working. I'm planning to delete all my sources then do a full git clone, rebuild the toolchain and rebuild AROS. I'll just rebuild all of it from the beginning.
I have a fast m.2 SSD now which is 15x faster than the old mechanical drive on my Toshiba laptop I was using. It took 3hrs to rebuild on it. Maybe now it will take only 45min.
I cloned the sources again and I used ./rebuild.sh option 1 to build the toolchain. It stopped at flexcat.
Edited by miker1264 on 31-05-2026 20:43, 17 days ago
What does curl do? Does it help resolve troublesome url's ? That would helpful.
I'll install curl and try again later today. I'll post some screenshots.
You can view all discussion threads in this forum. You cannot start a new discussion thread in this forum. You cannot reply in this discussion thread. You cannot start on a poll in this forum. You cannot upload attachments in this forum. You can download attachments in this forum.