Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

Compiling ABIv11

Last updated on 12 days ago
D
deadwoodAROS Dev
Posted 12 days ago
Keep in mind that supported host version is 24.04 - other version might or might not work.
M
miker1264Software Dev
Posted 12 days ago
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
M
magoriumSoftware Dev
Posted 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 Smile ).

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)
R
retrofazaDistro Maintainer
Posted 12 days ago
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 Smile I never build anything in a virtual machine myself.
M
magoriumSoftware Dev
Posted 12 days ago

retrofaza wrote:

@retrofaza - /media/sf_builder ?

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
R
retrofazaDistro Maintainer
Posted 12 days ago
/media/sf_builder ?

Shared folder, permission issue. This has nothing to do with the Aros build system
M
magoriumSoftware Dev
Posted 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):

My build stops here (debian 13, virtualbox):

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).
M
miker1264Software Dev
Posted 13 days ago
The version installed is ubuntu 20.04 focal fossa. Maybe it's too old?

I'll update it to 22.04 or 24.04 and try again. I'll check the version for ABIv0 which seems to compile correctly.
D
deadwoodAROS Dev
Posted 14 days ago
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.
M
miker1264Software Dev
Posted 14 days ago
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
miker1264 attached the following image:
installing_ubuntu_2004_toolchain.png
D
deadwoodAROS Dev
Posted 15 days ago
Be sure to install dependencies (sudo apt-get install line in tutorial). If you are missing autoconf, it suggests dependencies were not installed.
M
miker1264Software Dev
Posted 15 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
M
miker1264Software Dev
Posted 16 days ago
@deadwood

Thanks for the information. I didn't know that was part of Ubuntu. I thought it was an AROS file. I'll try again this evening. :-)

I've had some family matters to take care of so I haven't had much time for AROS programming. But I'll get back to it later today or tomorrow.
Edited by miker1264 on 01-06-2026 15:00, 16 days ago
D
deadwoodAROS Dev
Posted 17 days ago
What version of autoconf you have installed? The error points that you either have an old version or no autoconf installed at all?
M
miker1264Software Dev
Posted 17 days ago
Here is the flexcat errors in another screenshot. I'm not sure why it keeps stopping here.
miker1264 attached the following image:
compiling_abiv11_flexcat_errors_05-31-26.png
M
miker1264Software Dev
Posted 17 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
miker1264 attached the following image:
compiling_abiv11_working_05-31-26.png compiling_abiv11_rebuild_script_05-31-26.png
D
deadwoodAROS Dev
Posted 18 days ago
Good Smile Does the build finish after installing curl?
M
miker1264Software Dev
Posted 18 days ago
Sure enough I checked for curl --version. You can see in the screenshot it's not installed for some reason.

I had to do sudo apt update and sudo apt upgrade before installing.
miker1264 attached the following image:
compiling_abiv11_05-30-26.png downloading_gcc_after_pull_rebase.png
D
deadwoodAROS Dev
Posted 18 days ago
curl is a tool used by build system to download archives. If you don't have it installed, every download during building of AROS will fail.
M
miker1264Software Dev
Posted 18 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.
Users who participated in discussion: magorium, deadwood, AMIGASYSTEM, retrofaza, miker1264