Since gnustep/libobjc2#212 <https://github.com/gnustep/libobjc2/pull/212> has been merged in libobjc2, building libs-base now fails without these changes: https://github.com/gnustep/libs-base/pull/218 <https://github.com/gnustep/libs-base/runs/4193956396>

On Sat, Nov 13 2021 at 08:40:56 AM -0800, Patryk Laurent <[email protected]> wrote:
Hello,

I've noticed the latest GNUstep (libs-base) from source builds with an error under Clang[1]. See the CI failure log here[2]. Does anyone know what the error means and how to fix it?

Thank you,

Patryk


[1]

 Compiling file NSLengthFormatter.m ...
1 warning generated.
 Compiling file NSLinguisticTagger.m ...
NSKeyedUnarchiver.m:856:33: error: cast to union type from type 'void *' not present in union
              GSIArrayAddItem(_objMap, (GSIArrayItem)nil);
                                       ^             ~~~
1 error generated.
make[4]: *** [/usr/GNUstep/System/Library/Makefiles/rules.make:521: obj/libgnustep-base.obj/NSKeyedUnarchiver.m.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/GNUstep/System/Library/Makefiles/Instance/library.make:286: internal-library-all_] Error 2 make[2]: *** [/usr/GNUstep/System/Library/Makefiles/Master/rules.make:297: libgnustep-base.all.library.variables] Error 2 make[1]: *** [/usr/GNUstep/System/Library/Makefiles/Master/library.make:37: internal-all] Error 2 make: *** [/usr/GNUstep/System/Library/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2

[2] <https://github.com/gnustep/libs-base/runs/4193956364?check_suite_focus=true#step:12:689>



Reply via email to