Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tycho for openSUSE:Factory checked 
in at 2024-04-10 17:50:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tycho (Old)
 and      /work/SRC/openSUSE:Factory/.tycho.new.29460 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tycho"

Wed Apr 10 17:50:04 2024 rev:18 rq:1166646 version:1.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/tycho/tycho.changes      2024-04-03 
17:21:03.874931419 +0200
+++ /work/SRC/openSUSE:Factory/.tycho.new.29460/tycho.changes   2024-04-10 
17:51:03.793959292 +0200
@@ -1,0 +2,7 @@
+Wed Apr 10 12:05:15 UTC 2024 - Fridrich Strba <fst...@suse.com>
+
+- Added patch:
+  * tycho-surefire3.patch
+    + fix build against maven-surefire 3.2.5
+
+-------------------------------------------------------------------

New:
----
  tycho-surefire3.patch

BETA DEBUG BEGIN:
  New:- Added patch:
  * tycho-surefire3.patch
    + fix build against maven-surefire 3.2.5
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tycho.spec ++++++
--- /var/tmp/diff_new_pack.20hnb1/_old  2024-04-10 17:51:05.082006693 +0200
+++ /var/tmp/diff_new_pack.20hnb1/_new  2024-04-10 17:51:05.086006841 +0200
@@ -69,6 +69,7 @@
 Patch10:        tycho-sourcetarget.patch
 Patch11:        tycho-getTimestamp.patch
 Patch12:        tycho-surefire.patch
+Patch13:        tycho-surefire3.patch
 Patch100:       fedoraproject-p2-bootstrap-fix.patch
 BuildRequires:  bash
 BuildRequires:  fdupes
@@ -221,6 +222,7 @@
 %patch -P 10 -p1
 %patch -P 11 -p1
 %patch -P 12 -p1
+%patch -P 13 -p1
 %patch -P 100
 
 # Unneeded for RPM builds

++++++ tycho-surefire3.patch ++++++
--- 
tycho-1.6.0/tycho-surefire/org.eclipse.tycho.surefire.osgibooter/src/main/java/org/eclipse/tycho/surefire/osgibooter/OsgiSurefireBooter.java
        2024-04-08 18:34:30.276480107 +0200
+++ 
tycho-1.6.0/tycho-surefire/org.eclipse.tycho.surefire.osgibooter/src/main/java/org/eclipse/tycho/surefire/osgibooter/OsgiSurefireBooter.java
        2024-04-08 20:16:41.191547844 +0200
@@ -17,15 +17,20 @@
 import java.io.FileInputStream;
 import java.io.IOException;
 import java.net.URL;
+import java.nio.charset.StandardCharsets;
 import java.util.Collections;
 import java.util.Enumeration;
 import java.util.HashMap;
+import java.util.LinkedList;
 import java.util.List;
 import java.util.Map;
 import java.util.Properties;
 import java.util.Set;
 
 import org.apache.maven.plugin.surefire.StartupReportConfiguration;
+import 
org.apache.maven.plugin.surefire.extensions.SurefireConsoleOutputReporter;
+import org.apache.maven.plugin.surefire.extensions.SurefireStatelessReporter;
+import 
org.apache.maven.plugin.surefire.extensions.SurefireStatelessTestsetInfoReporter;
 import org.apache.maven.plugin.surefire.log.api.PrintStreamLogger;
 import org.apache.maven.plugin.surefire.report.ConsoleReporter;
 import org.apache.maven.plugin.surefire.report.DefaultReporterFactory;
@@ -33,19 +38,20 @@
 import org.apache.maven.surefire.booter.ClassLoaderConfiguration;
 import org.apache.maven.surefire.booter.ClasspathConfiguration;
 import org.apache.maven.surefire.booter.ForkedBooter;
+import org.apache.maven.surefire.booter.ProcessCheckerType;
 import org.apache.maven.surefire.booter.PropertiesWrapper;
 import org.apache.maven.surefire.booter.ProviderConfiguration;
 import org.apache.maven.surefire.booter.ProviderFactory;
-import org.apache.maven.surefire.booter.Shutdown;
+import org.apache.maven.surefire.api.booter.Shutdown;
 import org.apache.maven.surefire.booter.StartupConfiguration;
-import org.apache.maven.surefire.cli.CommandLineOption;
-import org.apache.maven.surefire.report.ReporterConfiguration;
-import org.apache.maven.surefire.report.ReporterFactory;
-import org.apache.maven.surefire.suite.RunResult;
-import org.apache.maven.surefire.testset.DirectoryScannerParameters;
-import org.apache.maven.surefire.testset.RunOrderParameters;
-import org.apache.maven.surefire.testset.TestListResolver;
-import org.apache.maven.surefire.testset.TestRequest;
+import org.apache.maven.surefire.api.cli.CommandLineOption;
+import org.apache.maven.surefire.api.report.ReporterConfiguration;
+import org.apache.maven.surefire.api.report.ReporterFactory;
+import org.apache.maven.surefire.api.suite.RunResult;
+import org.apache.maven.surefire.api.testset.DirectoryScannerParameters;
+import org.apache.maven.surefire.api.testset.RunOrderParameters;
+import org.apache.maven.surefire.api.testset.TestListResolver;
+import org.apache.maven.surefire.api.testset.TestRequest;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IStatus;
 import org.eclipse.core.runtime.Status;
@@ -81,8 +89,6 @@
             DumpStackTracesTimer.startStackDumpTimeoutTimer(timeoutParameter);
         }
 
-        boolean forkRequested = true;
-        boolean inForkedVM = true;
         boolean useSystemClassloader = false;
         boolean useManifestOnlyJar = false;
         boolean useFile = true;
@@ -91,24 +97,27 @@
 
         ClasspathConfiguration classPathConfig = new 
ClasspathConfiguration(false, false);
         StartupConfiguration startupConfiguration = new 
StartupConfiguration(provider, classPathConfig,
-                new ClassLoaderConfiguration(useSystemClassloader, 
useManifestOnlyJar), forkRequested, inForkedVM);
+                new ClassLoaderConfiguration(useSystemClassloader, 
useManifestOnlyJar), ProcessCheckerType.ALL,
+                new LinkedList<String[]>());
         // TODO dir scanning with no includes done here (done in TestMojo 
already) 
         // but without dirScannerParams we get an NPE accessing runOrder
         DirectoryScannerParameters dirScannerParams = new 
DirectoryScannerParameters(testClassesDir,
                 Collections.<String> emptyList(), Collections.<String> 
emptyList(), Collections.<String> emptyList(),
-                failIfNoTests, runOrder);
+                runOrder);
         ReporterConfiguration reporterConfig = new 
ReporterConfiguration(reportsDir, trimStackTrace);
         TestRequest testRequest = new TestRequest(suiteXmlFiles, 
testClassesDir,
                 TestListResolver.getEmptyTestListResolver());
         ProviderConfiguration providerConfiguration = new 
ProviderConfiguration(dirScannerParams,
-                new RunOrderParameters(runOrder, null), failIfNoTests, 
reporterConfig, null, testRequest,
+                new RunOrderParameters(runOrder, null), reporterConfig, null, 
testRequest,
                 extractProviderProperties(testProps), null, false, 
Collections.<CommandLineOption> emptyList(),
                 skipAfterFailureCount, Shutdown.DEFAULT, 30);
         StartupReportConfiguration startupReportConfig = new 
StartupReportConfiguration(useFile, printSummary,
-                ConsoleReporter.PLAIN, redirectTestOutputToFile, 
disableXmlReport, reportsDir,
-                trimStackTrace, null, new File(reportsDir, "TESTHASH"), false, 
rerunFailingTestsCount, XSD, null, false);
+                ConsoleReporter.PLAIN, redirectTestOutputToFile, reportsDir,
+                trimStackTrace, null, new File(reportsDir, "TESTHASH"), false, 
rerunFailingTestsCount, XSD,
+                StandardCharsets.UTF_8.toString(), false, new 
SurefireStatelessReporter(disableXmlReport, null),
+                new SurefireConsoleOutputReporter(), new 
SurefireStatelessTestsetInfoReporter());
         ReporterFactory reporterFactory = new 
DefaultReporterFactory(startupReportConfig,
-                new 
PrintStreamLogger(startupReportConfig.getOriginalSystemOut()));
+                new PrintStreamLogger(System.out));
         // API indicates we should use testClassLoader below but surefire also 
tries 
         // to load surefire classes using this classloader
         RunResult result = ProviderFactory.invokeProvider(null, 
createCombinedClassLoader(testPlugin), reporterFactory,
--- 
tycho-1.6.0/tycho-surefire/tycho-surefire-plugin/src/main/java/org/eclipse/tycho/surefire/provider/impl/JUnit47Provider.java
        2024-04-08 18:34:30.283146821 +0200
+++ 
tycho-1.6.0/tycho-surefire/tycho-surefire-plugin/src/main/java/org/eclipse/tycho/surefire/provider/impl/JUnit47Provider.java
        2024-04-08 20:34:27.396139564 +0200
@@ -21,7 +21,7 @@
 import java.util.Set;
 
 import org.apache.maven.model.Dependency;
-import org.apache.maven.surefire.booter.ProviderParameterNames;
+import org.apache.maven.surefire.api.booter.ProviderParameterNames;
 import org.codehaus.plexus.component.annotations.Component;
 import org.eclipse.tycho.classpath.ClasspathEntry;
 import org.eclipse.tycho.surefire.provider.spi.TestFrameworkProvider;
--- 
tycho-1.6.0/tycho-surefire/tycho-surefire-plugin/src/main/java/org/eclipse/tycho/surefire/TestMojo.java
     2024-04-08 18:34:30.283146821 +0200
+++ 
tycho-1.6.0/tycho-surefire/tycho-surefire-plugin/src/main/java/org/eclipse/tycho/surefire/TestMojo.java
     2024-04-08 20:28:02.583270642 +0200
@@ -48,10 +48,10 @@
 import org.apache.maven.repository.RepositorySystem;
 import org.apache.maven.surefire.booter.BooterConstants;
 import org.apache.maven.surefire.booter.PropertiesWrapper;
-import org.apache.maven.surefire.booter.ProviderParameterNames;
-import org.apache.maven.surefire.testset.TestListResolver;
-import org.apache.maven.surefire.util.DefaultScanResult;
-import org.apache.maven.surefire.util.ScanResult;
+import org.apache.maven.surefire.api.booter.ProviderParameterNames;
+import org.apache.maven.surefire.api.testset.TestListResolver;
+import org.apache.maven.surefire.api.util.DefaultScanResult;
+import org.apache.maven.surefire.api.util.ScanResult;
 import org.apache.maven.toolchain.Toolchain;
 import org.apache.maven.toolchain.ToolchainManager;
 import org.codehaus.plexus.util.FileUtils;

Reply via email to