I have succeeded building devel/aws-sdk-cpp (currently DISTVERSION=1.11.10) on 12-stable/i386 (2 GB RAM, 6 GB swap, 2 cpus) & DISABLE_MAKE_JOBS=1. It may build with -j2, but conservatively I did tried -j1 first - no problems with any 'out of swap space' breakage. I'll try -j2 as well, but it seems that the BROKEN_i386 can e removed. Also note that using WITHOUT=TEST (TEST option off) currently enables (instead of disabling) building & running tests. I think the Makefile should specify TEST_CMAKE_BOOL (instead of TEST_CMAKE_BOOL_OFF).
Created attachment 240435 [details] [patch] fix TEST option; unbreak for i386 Patch to fix the TEST option, and allow building on i386 (after testing indicates it does not fail as of Feb 2023). Bumping PORTREVISION should not be necessary as the changes should not change any existing packages. If the committer feels that there are conditions which merit a PORTREVISION bump, feel free to do so.
(In reply to John Hein from comment #1) p.s. I did not test building on other architectures to see if they also are no longer broken.
Hello John, I can confirm that it builds on i386 with TESTS off. Waiting on results with TESTS on.
(In reply to Nuno Teixeira from comment #3) (...) TEST is causing build failure on i386 (and supposely on armv{6,7} and powerpc). I will do the following commit with TEST_BROKEN_{armv6,armv7,i386,powerpc} and wait for results from build servers on arm and powerpc. Also, thanks for catching TEST_CMAKE_BOOL_OFF that invert tests option, I think it cames from TEST_CMAKE_OFF -> TEST_CMAKE_BOOL_OFF and forgot to adjust it. Cheers
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e7b134bf62ce15bd1daf1f7fbed512262baa8eea commit e7b134bf62ce15bd1daf1f7fbed512262baa8eea Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2023-02-27 09:00:18 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-02-27 13:28:07 +0000 devel/aws-sdk-cpp: Update to 1.11.25 - fix TEST option that was wrongly set to ON and causing build failures on some 32bit archs. - unbreak on mentioned archs ChangeLog: https://github.com/aws/aws-sdk-cpp/compare/1.11.10...1.11.25 PR: 269837 Reported by: John Hein <jcfyecrayz@liamekaens.com> devel/aws-sdk-cpp/Makefile | 13 ++++++------- devel/aws-sdk-cpp/distinfo | 6 +++--- 2 files changed, 9 insertions(+), 10 deletions(-)
Committed, thanks!