Hi Richard, Thanks for the clues: below my investigations.
On 2025-09-09 15:37:05 +0200 richard <rich...@frithmacdonald.me.uk> wrote: > > > Failure to find the interface definition suggests that the header file > (NSURLSession.h) is corrupt (eg it was accidentally emptied). You can > revert local modifications by checking it out again. ### 1) 'NSURLSession.h' is there and not corrupted nor empty find . -name NSURLSession.h ./libs-base/Headers/Foundation/NSURLSession.h find . -name NSURLSession.h | xargs tail didResumeAtOffset: (int64_t)fileOffset expectedTotalBytes: (int64_t)expectedTotalBytes; @end NS_ASSUME_NONNULL_END #endif /* MAC_OS_X_VERSION_10_9 */ #endif /* GS_HAVE_NSURLSESSION */ #endif /* __NSURLSession_h_GNUSTEP_BASE_INCLUDE */ > > > > Its also possible you could have a corrupt/empty version of the file > somewhere that the compiler looks before the normal location. If that's > the case, deleting the offending copy should fix things. > The above search shows there is only one interface found. I also searched if the interface is imported: ### 2) NSURLSession.h is never imported by NSURLSession.m ### But 'NSURLSessionPrivate.h' and 'NSURLSessionTaskPrivate.h' are: find . -name NSURLSession.m ./libs-base/Source/NSURLSession.m find . -name NSURLSession.m | xargs head -n 60 | grep -e "#import" #import "NSURLSessionPrivate.h" #import "NSURLSessionTaskPrivate.h" #import "Foundation/NSString.h" #import "Foundation/NSArray.h" #import "Foundation/NSStream.h" #import "Foundation/NSUserDefaults.h" #import "Foundation/NSBundle.h" #import "Foundation/NSData.h" #import "GNUstepBase/NSDebug+GNUstepBase.h" /* For NSDebugMLLog */ #import "GNUstepBase/NSObject+GNUstepBase.h" /* For -notImplemented */ #import "GSPThread.h" /* For nextSessionIdentifier() */ #import "GSDispatch.h" /* For dispatch compatibility */ Also I noted that NSURL was concerned by recent commits on the master repo before I nored my issue: (Was in libs-base folder) git pull origin master remote: Enumerating objects: 97, done. remote: Counting objects: 100% (90/90), done. remote: Compressing objects: 100% (51/51), done. remote: Total 97 (delta 57), reused 63 (delta 39), pack-reused 7 (from 1) DÝpaquetage des objets: 100% (97/97), 57.66 Kio | 257.00 Kio/s, fait. Depuis https://github.com/gnustep/libs-base * branch master -> FETCH_HEAD 077894f13..69018134f master -> origin/master Mise Õ jour 077894f13..69018134f Fast-forward ChangeLog | 6 + Headers/Foundation/NSProgress.h | 169 ++++- Source/Additions/NSURL+GNUstepBase.m | 33 +- Source/GSFileHandle.m | 12 +- Source/GSPThread.h | 2 + Source/NSHost.m | 62 +- Source/NSProgress.m | 736 ++++++++++++++++----- Source/NSURL.m | 4 +- Tests/base/NSHost/create.m | 3 +- Tests/base/NSProgress/basic.m | 56 -- Tests/base/NSProgress/cancellation.m | 59 ++ Tests/base/NSProgress/currentProgress.m | 79 +++ Tests/base/NSProgress/explicitChild.m | 72 ++ Tests/base/NSProgress/kvo.m | 157 +++++ Tests/base/NSURL/basic.m | 17 + .../base/NSURLConnection/Helpers/SimpleWebServer.m | 5 + 16 files changed, 1212 insertions(+), 260 deletions(-) delete mode 100644 Tests/base/NSProgress/basic.m create mode 100644 Tests/base/NSProgress/cancellation.m create mode 100644 Tests/base/NSProgress/currentProgress.m create mode 100644 Tests/base/NSProgress/explicitChild.m create mode 100644 Tests/base/NSProgress/kvo.m Not sure it is relevant, but I mentioned it in case... Patrick -- 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)