Subject: Re: bug#62210: Job build-image-gnustep does not run anymore on EMBA

From: Michael Albinus <[email-masked]>
Date: Sun, 26 Mar 2023 14:24:02 +0200

Po Lu <[email-masked]> writes:

Hi,

>> Since we have upgraded EMBA to Debian bullseye, the NS port tests
>> fail. See bug#62210.
>>
>> Alan Third, who has worked on this in the past, has stopped his
>> activities. Is there somebody else who cares now?
>
> The test times out because GCC keeps emitting massive amounts of
> warnings about non portable preprocessor constructs in GNUstep headers.
>
> Does this fix the problem:
>
> diff --git a/configure.ac b/configure.ac
> index c5300beb2ba..511199454e0 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2062,8 +2062,8 @@ AC_DEFUN
>         GNUSTEP_LOCAL_HEADERS="-I${GNUSTEP_LOCAL_HEADERS}"
>       test "x${GNUSTEP_LOCAL_LIBRARIES}" != "x" && \
>         GNUSTEP_LOCAL_LIBRARIES="-L${GNUSTEP_LOCAL_LIBRARIES}"
> -     CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS} ${GNUSTEP_LOCAL_HEADERS}"
> -     CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS} ${GNUSTEP_LOCAL_HEADERS}"
> +     CPPFLAGS="$CPPFLAGS -isystem ${GNUSTEP_SYSTEM_HEADERS} ${GNUSTEP_LOCAL_HEADERS}"
> +     CFLAGS="$CFLAGS -isystem ${GNUSTEP_SYSTEM_HEADERS} ${GNUSTEP_LOCAL_HEADERS}"
>       LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES} ${GNUSTEP_LOCAL_LIBRARIES}"
>       LIBS_GNUSTEP="-lgnustep-gui -lgnustep-base -lobjc -lpthread"
>       dnl GNUstep defines BASE_NATIVE_OBJC_EXCEPTIONS to 0 or 1.

Will try. Lets continue discussion on bug#62210.

Best regards, Michael.