Hi Riccardo, Hi Richard, After a week reading again the wiki, the howtos, the INSTALL infos... I rewrote the scripts, and after testing and testing again, there are my guesses:
- Building GNUstep (last Runtime 2.1 with clang-14 and linker gold) works fine the first time on a fresh updated lite system (Debian Bookworm 12.12) - I am using a set of scripts inspired by Patryck Laurent: namely his tip about Libdispatch (removing some headers related to Blocks before building libobjc2). I needed also to install cmake 4 because the debian default release is outdated. So after the first pass all seems ok (no errors in the logs). - The side effect of the above method is that the GNUstep tools-make are built and installed several times: if you try to install again the whole GNUstep on the same system, weird things begin to happen and the build process will fail (too many errors in the logs. One reason seems that the PATH to cmake 4 ($HOME/.local/bin) which was right the first time was overriden in the following attempts. I am also guessing about the last GNUstep.sh sourced which may not be accurate to rebuild... - I added a test to warn the user about this risk. But what if another script fails - and really I need often to iterate. So if we cannot reinstall GNUstep, maybe a removing method should be necessary. I remove the building folders, use a dirty 'sudo rm -fR /usr/GNUstep'... I clean also ~/GNUstep, ~/.bashrc, log out and log in again. - @Riccardo: the errors within GWorkspace building were obviously a side effect because I use modules and run those several times (iterations due to the devel process): when I ran again the main script, it has rebuilt GNUstep with errors and the following apps building were impacted. So I have added more intermediate tests to stop the main script and to avoid these side effects. About the matter to build only with gcc, I am very very curious: I was never able to make the new ABI (objc2, runtime >= 2) with only gcc. Do you mean you don't install libdispatch/objc2 and you only use the old ABI (runtime 1.9)? Is the last release of GWorkspace building on this runtime? I have a multicore proc (`nproc` returns 4 on the pi 400) so I wonder if we loose the multithreading hability without Libdispatch and if it is a matter of performance. Could you please tell us your building environment settings with only gcc and the config args you use for each GNUstep lib? Patrick On 2025-09-10 16:11:49 +0200 Riccardo Mottola <[email protected]> wrote: > Hi Patrick, > > Patrick Cardona wrote: > >> To follow my previous message (no backend found), I tried again on a fresh >> system (debian 12.12, aarch64) and I noted the errors began with >> 'NSURLSession.m' while building 'libgnustep-base'. > > I don't know, I test & build with GCC. I just compiled whole base/gui/back on > OpenBSD/sparc64 and it works. > > curl, gnutls installed? > > Riccardo > -- Patrick Cardona - Pi400 - GNU/Linux (Debian 12 aarch64: RPI OS Lite) Xorg (1:1.7.1-1.2) - libcairo2 (1.16.0-7+rpt1 arm64) Window Maker (0.96.0) - GWorkspace (1.1.0 - 02 2025) - Theme: PiSiN - MUA: GNUMail (1.4.0)
