Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gnustep-base for openSUSE:Factory checked in at 2026-12-03 13:57:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnustep-base (Old) and /work/SRC/openSUSE:Factory/.gnustep-base.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnustep-base" Thu Dec 3 13:57:19 2026 rev:19 rq:1402543 version:1.31.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gnustep-base/gnustep-base.changes 2025-10-12 22:29:45.887290300 +0200 +++ /work/SRC/openSUSE:Factory/.gnustep-base.new.1340718/gnustep-base.changes 2026-12-03 13:59:57.723973004 +0100 @@ -1,0 +2,11 @@ +Wed Dec 2 19:59:31 UTC 2026 - Zoltan Balogh <[email protected]> + +- Enable the upstream unit tests with make check on Tumbleweed + (suse_version >= 1600). Tests were disabled in 2015 because the + NSOperation test could loop forever; it passes in current runs. +- Add gnustep-base-tests-network.patch to mark the external network + tests as hopeful. In %check, set + GNUSTEP_UNINSTALLED_LIBRARY_DIRECTORY to the build root so the + timezone data is found. + +------------------------------------------------------------------- New: ---- gnustep-base-tests-network.patch ----------(New B)---------- New: NSOperation test could loop forever; it passes in current runs. - Add gnustep-base-tests-network.patch to mark the external network tests as hopeful. In %check, set ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnustep-base.spec ++++++ --- /var/tmp/diff_new_pack.4PMSaJ/_old 2026-12-03 13:59:58.646012869 +0100 +++ /var/tmp/diff_new_pack.4PMSaJ/_new 2026-12-03 13:59:58.648012956 +0100 @@ -34,6 +34,7 @@ Source1: ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz.sig Source2: %{name}-rpmlintrc Patch: gnustep-base-fix_GCC15.patch +Patch1: gnustep-base-tests-network.patch BuildRequires: fdupes BuildRequires: gcc-objc BuildRequires: gmp-devel @@ -96,6 +97,7 @@ %autosetup -N %if 0%{?suse_version} >= 1600 %patch -p1 -P 0 +%patch -p1 -P 1 %endif find . -type f -name "*.swp" -delete @@ -179,9 +181,12 @@ # save disk space: symlink duplicates %fdupes -s %{buildroot} -# Comment out checks because they break building on some systems. The NSOperation test seems to loop infinite. -#%check -#make check +# Tests read the built-in timezone data from the install tree. +%if 0%{?suse_version} >= 1600 +%check +export GNUSTEP_UNINSTALLED_LIBRARY_DIRECTORY="%{buildroot}%{_libdir}/GNUstep" +%make_build check +%endif %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig ++++++ gnustep-base-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.4PMSaJ/_old 2026-12-03 13:59:58.708015550 +0100 +++ /var/tmp/diff_new_pack.4PMSaJ/_new 2026-12-03 13:59:58.712015723 +0100 @@ -1,5 +1,4 @@ addFilter('executable-sourced-script.*/etc/profile.d/GNUstep-start.sh') addFilter('sourced-script-with-shebang.*/etc/profile.d/GNUstep-start.sh') -addFilter('macro-in-comment') ++++++ gnustep-base-tests-network.patch ++++++ --- a/Tests/base/NSStream/socket.m +++ b/Tests/base/NSStream/socket.m @@ -137,7 +137,10 @@ // I cannot verify the content at www.google.com, // so as long as it has something, that is PASSing + // Network access is not available in the build environment. + testHopeful = YES; PASS(byteCount>0, "read www.google.com"); + testHopeful = NO; [defaultInput setDelegate: nil]; [defaultOutput setDelegate: nil]; #endif @@ -170,7 +173,10 @@ [rl runMode: NSDefaultRunLoopMode beforeDate: d]; } + // Network access is not available in the build environment. + testHopeful = YES; PASS(byteCount>0, "read www.google.com https"); + testHopeful = NO; [defaultInput setDelegate: nil]; [defaultOutput setDelegate: nil]; END_SET("NSStream SSL") --- a/Tests/base/NSURLConnection/basic.m +++ b/Tests/base/NSURLConnection/basic.m @@ -40,10 +40,13 @@ data = [NSURLConnection sendSynchronousRequest: mutable returningResponse: &response error: &error]; + // Network access is not available in the build environment. + testHopeful = YES; PASS(data != nil && [data length] > 0, "NSURLConnection synchronously load data from an http URL"); PASS(response != nil && [(NSHTTPURLResponse*)response statusCode] > 0, "NSURLConnection synchronous load returns a response"); + testHopeful = NO; #if defined(_WIN32) testHopeful = NO; @@ -66,8 +69,11 @@ returningResponse: &response error: &error]; + // Network access is not available in the build environment. + testHopeful = YES; PASS(nil == error, "https://www.google.com/ does not return an error") PASS(nil != data, "https://www.google.com/ returns data") + testHopeful = NO; [arp release]; arp = nil; return 0; --- a/Tests/base/GSXML/basic.m +++ b/Tests/base/GSXML/basic.m @@ -186,6 +186,8 @@ [parser substituteEntities: YES]; [parser resolveEntities: YES]; [parser doValidityChecking: YES]; + // Network access is not available in the build environment. + testHopeful = YES; PASS([parser parse] == NO, "empty plist is not valid") xml = @"<!DOCTYPE plist PUBLIC \"-//GNUstep//DTD plist 0.9//EN\"" @@ -197,6 +199,7 @@ [parser resolveEntities: YES]; [parser doValidityChecking: YES]; PASS([parser parse] == YES, "plist containing string is valid") + testHopeful = NO; PASS_EQUAL([[[[[parser document] root] firstChild] firstChild] content], @"xxx", "root/plist/string is parsed") --- a/Tests/base/NSURLHandle/test00.m +++ b/Tests/base/NSURLHandle/test00.m @@ -128,6 +128,8 @@ [handle writeData: m]; [handle setReturnAll: YES]; [handle loadInBackground]; + // Network access is not available in the build environment. + testHopeful = YES; PASS([self status] == URLHandleClientDidBeginLoading, "URLHandleClientDidBeginLoading called"); @@ -140,6 +142,7 @@ } PASS([self status] == URLHandleClientDidFinishLoading, "URLHandleClientDidFinishLoading called"); + testHopeful = NO; NSLog(@"Data %@", [handle availableResourceData]); [handle release];
