cc-1999 cc: ERROR File = poll/unix/poll.c, Line = 111 "jumping out of a block containing VLAs" is not currently implemented 1 error detected in the compilation of "poll/unix/poll.c". make[1]: *** [poll/unix/poll.lo] Error 1 make[1]: Leaving directory `/usr/opt/gentoo/var/tmp/portage/dev-libs/apr-1.3.5/work/apr-1.3.5' make: *** [all-recursive] Error 1 * ERROR: dev-libs/apr-1.3.5 failed: * emake failed * * Call stack: * ebuild.sh: 42: <call src_compile> * environment:2764: emake || die "emake failed"; ... note that this occurs when '-diag_error 1999' is included in CFLAGS. Without this option, the above notice is only treated as a warning, but the resultant binary will fail to execute correctly - since the compiler is unable to correctly handle the program logic.
Created attachment 195668 [details, diff] IRIX-specific patch to allow apr to build This patch works around the need for the 'break' statement within the loop.
Created attachment 195670 [details, diff] Corrected patch Let's try that again ;)
patch added, thanks
The CHOST value tested in the ebuild is wrong :( IRIX CHOST is "mips-sgi-irix6.5" (or similar), and is generally tested with: [[ ${CHOST} == *-irix* ]] The apr-1.3.5 and apr-1.3.6 ebuilds contain: [[ ${CHOST} == *-mips* ]] ... which doesn't match.
hmmm, that's FAIL. Fixed now.