public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/thrift] rawhide: thrift (Apache Thrift) 0.24.0 GA
@ 2026-08-06 11:56 Kaleb S. KEITHLEY
0 siblings, 0 replies; 2+ messages in thread
From: Kaleb S. KEITHLEY @ 2026-08-06 11:56 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/thrift
Branch : rawhide
Commit : 69bea475609ed0f32394196c7da87e594e87e8f9
Author : Kaleb S. KEITHLEY <kkeithle@redhat.com>
Date : 2026-08-06T07:55:45-04:00
Stats : +0/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/thrift/c/69bea475609ed0f32394196c7da87e594e87e8f9?branch=rawhide
Log:
thrift (Apache Thrift) 0.24.0 GA
---
diff --git a/sources b/sources
index 83445fd..e8be543 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-SHA512 (thrift-0.20.0.tar.gz) = 8dc77f666e60141a6b3cf7ee1407b08a0e80d176f8ccfee69317d7df89ab87aea2c7b3ba3e59d4561835edf1ce23762443ad5aeed0099bf075b010853d5eb1cd
SHA512 (thrift-0.24.0.tar.gz) = 843ae8358b76eab1c37996e9693040115c26a0fdb1e6f8f6ade190d2f431ac5554492b0a5c7dc66c9ce6eb7c5db086d6e260e191a39b2706fe736d9e1f09cdbe
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [rpms/thrift] rawhide: thrift (Apache Thrift) 0.24.0 GA
@ 2026-08-06 11:33 Kaleb S. KEITHLEY
0 siblings, 0 replies; 2+ messages in thread
From: Kaleb S. KEITHLEY @ 2026-08-06 11:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/thrift
Branch : rawhide
Commit : 9056c68c3cebc94e041a40a6c902a6b73b581a01
Author : Kaleb S. KEITHLEY <kkeithle@redhat.com>
Date : 2026-08-06T07:32:31-04:00
Stats : +97/-126 in 8 file(s)
URL : https://src.fedoraproject.org/rpms/thrift/c/9056c68c3cebc94e041a40a6c902a6b73b581a01?branch=rawhide
Log:
thrift (Apache Thrift) 0.24.0 GA
building in side-tag f45-build-side-146163
---
diff --git a/.gitignore b/.gitignore
index 2a688c5..f44ee31 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/thrift-0.14.0.tar.gz
/thrift-0.15.0.tar.gz
/thrift-0.20.0.tar.gz
+/thrift-0.24.0.tar.gz
diff --git a/bootstrap.sh b/bootstrap.sh
index 1989437..d699909 100644
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -61,4 +61,4 @@ autoheader
sed '/undef VERSION/d' config.hin > config.hin2
mv config.hin2 config.hin
autoconf
-automake --copy --add-missing --foreign
+automake --copy --add-missing
diff --git a/gcc15.patch b/gcc15.patch
deleted file mode 100644
index 2f3294c..0000000
--- a/gcc15.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 1920f04398ca32e320f6cf942534ba9d8b3231fd Mon Sep 17 00:00:00 2001
-From: Sutou Kouhei <kou@clear-code.com>
-Date: Mon, 23 Dec 2024 12:33:22 +0900
-Subject: [PATCH] THRIFT-5842: Add missing cstdint include for int64_t in
- Mutex.h
-
-Client: cpp
-
-GCC 15 (not released yet) requires `#include <cstdint>` for `int64_t`
-but `lib/cpp/src/thrift/concurrency/Mutex.h` doesn't have it. So we
-can't build Thrift with GCC 15:
-
- [80/359] Building CXX object lib/cpp/CMakeFiles/thrift.dir/src/thrift/transport/TSSLServerSocket.cpp.o
- FAILED: lib/cpp/CMakeFiles/thrift.dir/src/thrift/transport/TSSLServerSocket.cpp.o
- /bin/g++-15 -DBOOST_ALL_DYN_LINK -DBOOST_TEST_DYN_LINK -DTHRIFT_STATIC_DEFINE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/kou/work/cpp/thrift.kou.build/lib/cpp -I/home/kou/work/cpp/thrift.kou/lib/cpp -I/home/kou/work/cpp/thrift.kou.build -I/home/kou/work/cpp/thrift.kou/lib/cpp/src -g -std=c++11 -MD -MT lib/cpp/CMakeFiles/thrift.dir/src/thrift/transport/TSSLServerSocket.cpp.o -MF lib/cpp/CMakeFiles/thrift.dir/src/thrift/transport/TSSLServerSocket.cpp.o.d -o lib/cpp/CMakeFiles/thrift.dir/src/thrift/transport/TSSLServerSocket.cpp.o -c /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp
- In file included from /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/transport/TServerSocket.h:25,
- from /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/transport/TSSLServerSocket.h:23,
- from /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/transport/TSSLServerSocket.cpp:21:
- /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/concurrency/Mutex.h:47:26: error: 'int64_t' has not been declared
- 47 | virtual bool timedlock(int64_t milliseconds) const;
- | ^~~~~~~
- /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/concurrency/Mutex.h:25:1: note: 'int64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
- 24 | #include <thrift/TNonCopyable.h>
- +++ |+#include <cstdint>
- 25 |
- /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/concurrency/Mutex.h:60:29: error: 'int64_t' has not been declared
- 60 | Guard(const Mutex& value, int64_t timeout = 0) : mutex_(&value) {
- | ^~~~~~~
- /home/kou/work/cpp/thrift.kou/lib/cpp/src/thrift/concurrency/Mutex.h:60:29: note: 'int64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
-
-See also: https://github.com/apache/arrow/issues/45096
----
- lib/cpp/src/thrift/concurrency/Mutex.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/lib/cpp/src/thrift/concurrency/Mutex.h b/lib/cpp/src/thrift/concurrency/Mutex.h
-index 1e5c3fba37c..12f1729d6bf 100644
---- a/lib/cpp/src/thrift/concurrency/Mutex.h
-+++ b/lib/cpp/src/thrift/concurrency/Mutex.h
-@@ -20,6 +20,7 @@
- #ifndef _THRIFT_CONCURRENCY_MUTEX_H_
- #define _THRIFT_CONCURRENCY_MUTEX_H_ 1
-
-+#include <cstdint>
- #include <memory>
- #include <thrift/TNonCopyable.h>
-
diff --git a/libthrift-0.20.0.pom b/libthrift-0.20.0.pom
deleted file mode 100644
index 7cc8e43..0000000
--- a/libthrift-0.20.0.pom
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <!-- This module was also published with a richer model, Gradle metadata, -->
- <!-- which should be used instead. Do not delete the following line which -->
- <!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
- <!-- that they should prefer consuming it instead. -->
- <!-- do_not_remove: published-with-gradle-metadata -->
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.thrift</groupId>
- <artifactId>libthrift</artifactId>
- <version>0.20.0</version>
- <name>Apache Thrift</name>
- <description>Thrift is a software framework for scalable cross-language services development.</description>
- <url>http://thrift.apache.org</url>
- <licenses>
- <license>
- <name>The Apache Software License, Version 2.0</name>
- <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
- <developers>
- <developer>
- <id>dev</id>
- <name>Apache Thrift Developers</name>
- <email>dev@thrift.apache.org</email>
- </developer>
- </developers>
- <scm>
- <connection>scm:git:https://github.com/apache/thrift.git</connection>
- <developerConnection>scm:git:git@github.com:apache/thrift.git</developerConnection>
- <url>https://github.com/apache/thrift</url>
- </scm>
- <dependencies>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.7.36</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents.client5</groupId>
- <artifactId>httpclient5</artifactId>
- <version>5.2.1</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents.core5</groupId>
- <artifactId>httpcore5</artifactId>
- <version>5.2</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>jakarta.servlet</groupId>
- <artifactId>jakarta.servlet-api</artifactId>
- <version>5.0.0</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>jakarta.annotation</groupId>
- <artifactId>jakarta.annotation-api</artifactId>
- <version>2.1.1</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>3.12.0</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/libthrift-0.24.0.pom b/libthrift-0.24.0.pom
new file mode 100644
index 0000000..120d56b
--- /dev/null
+++ b/libthrift-0.24.0.pom
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <!-- This module was also published with a richer model, Gradle metadata, -->
+ <!-- which should be used instead. Do not delete the following line which -->
+ <!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
+ <!-- that they should prefer consuming it instead. -->
+ <!-- do_not_remove: published-with-gradle-metadata -->
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.thrift</groupId>
+ <artifactId>libthrift</artifactId>
+ <version>0.24.0</version>
+ <name>Apache Thrift</name>
+ <description>Thrift is a software framework for scalable cross-language services development.</description>
+ <url>http://thrift.apache.org</url>
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <developers>
+ <developer>
+ <id>dev</id>
+ <name>Apache Thrift Developers</name>
+ <email>dev@thrift.apache.org</email>
+ </developer>
+ </developers>
+ <scm>
+ <connection>scm:git:https://github.com/apache/thrift.git</connection>
+ <developerConnection>scm:git:git@github.com:apache/thrift.git</developerConnection>
+ <url>https://github.com/apache/thrift</url>
+ </scm>
+ <dependencies>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.7.36</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents.client5</groupId>
+ <artifactId>httpclient5</artifactId>
+ <version>5.2.1</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents.core5</groupId>
+ <artifactId>httpcore5</artifactId>
+ <version>5.2</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.servlet</groupId>
+ <artifactId>jakarta.servlet-api</artifactId>
+ <version>5.0.0</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.annotation</groupId>
+ <artifactId>jakarta.annotation-api</artifactId>
+ <version>2.1.1</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ <version>3.18.0</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/no-pip-install.patch b/no-pip-install.patch
new file mode 100644
index 0000000..a9695f4
--- /dev/null
+++ b/no-pip-install.patch
@@ -0,0 +1,12 @@
+--- a/lib/py/Makefile.am
++++ b/lib/py/Makefile.am
+@@ -46,7 +46,7 @@
+ # Old version (can't put inline because it's not portable).
+ #$(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) $(PYTHON_SETUPUTIL_ARGS)
+ install-exec-hook:
+- $(PYTHON) -m pip install . --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS)
++ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS)
+
+ check-local: all py3-test
+ $(PYTHON) test/thrift_json.py
+
diff --git a/sources b/sources
index 458d2a6..83445fd 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
SHA512 (thrift-0.20.0.tar.gz) = 8dc77f666e60141a6b3cf7ee1407b08a0e80d176f8ccfee69317d7df89ab87aea2c7b3ba3e59d4561835edf1ce23762443ad5aeed0099bf075b010853d5eb1cd
+SHA512 (thrift-0.24.0.tar.gz) = 843ae8358b76eab1c37996e9693040115c26a0fdb1e6f8f6ade190d2f431ac5554492b0a5c7dc66c9ce6eb7c5db086d6e260e191a39b2706fe736d9e1f09cdbe
diff --git a/thrift.spec b/thrift.spec
index 0673ed0..8fb4230 100644
--- a/thrift.spec
+++ b/thrift.spec
@@ -70,8 +70,8 @@
# NOTE: thrift versions their libraries by package version, so each version
# change is a SONAME change and dependencies need to be rebuilt
Name: thrift
-Version: 0.20.0
-Release: 13%{?dist}
+Version: 0.24.0
+Release: 1%{?dist}
Summary: Software framework for cross-language services development
# Parts of the source are used under the BSD and zlib licenses, but
@@ -87,12 +87,12 @@ URL: https://thrift.apache.org/
Source0: https://archive.apache.org/dist/%{name}/%{version}/%{name}-%{version}.tar.gz
Source1: https://repo1.maven.org/maven2/org/apache/thrift/lib%{name}/%{version}/lib%{name}-%{version}.pom
-Source2: https://raw.github.com/apache/%{name}/%{version}/bootstrap.sh
+Source2: https://raw.githubusercontent.com/apache/%{name}/%{version}/bootstrap.sh
# fix configure.ac insistence on using /usr/local/lib for JAVA_PREFIX
Patch: configure-java-prefix.patch
-# fix build with GCC 15: https://github.com/apache/thrift/pull/3078
-Patch: gcc15.patch
+# fix python install to not require pip (not in buildroot)
+Patch: no-pip-install.patch
# BuildRequires for language-specific bindings are listed under these
@@ -449,6 +449,10 @@ find %{buildroot} -name \*.py -exec grep -q /usr/bin/env {} \; -print | xargs -r
%changelog
+* Wed Aug 5 2026 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.24.0-1
+- Thrift 0.24.0 GA, h/t to Justin Caratzas <jcaratza@ibm.com>
+ https://src.fedoraproject.org/rpms/thrift/pull-request/7
+
* Wed Aug 5 2026 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 0.20.0-13
- rhbz#2491640, failing to build w/ openssl4, revert to openssl3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-06 11:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06 11:56 [rpms/thrift] rawhide: thrift (Apache Thrift) 0.24.0 GA Kaleb S. KEITHLEY
-- strict thread matches above, loose matches on Subject: below --
2026-08-06 11:33 Kaleb S. KEITHLEY
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox