Compare commits

..

337 commits

Author SHA1 Message Date
Mattias Ellert
817304bc57 Update to 6.40.04
The root-roofit-jsoninterface package was merged with root-roofit-hs3
Fix calculation of kerning distances in generated PDF files
Dropped patches: 1
New patches: 2
2026-08-30 08:05:14 +02:00
Mattias Ellert
3abc226a6f Use the system civetweb library since it now supports web sockets
Drop the davix module for Fedora 45+ (davix will soon be retired)
2026-08-26 15:49:39 +02:00
Jaroslav Škarvada
bd92cbd636 Rebuilt for new graphviz 2026-08-19 12:08:55 +02:00
Python Maint
83ecd08a85 Rebuilt for Python 3.15.0b4 ABI change 2026-07-22 17:48:47 +02:00
Fedora Release Engineering
ed3d5ff5a8 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-16 23:39:18 +00:00
Mattias Ellert
e663491f10 Update to 6.40.02
Rename the jupyroot and distrdf packages to reflect that they are
  now submodules of the main pyyhon package
New subpackages: root-package graf3d-glad, root-package net-curl,
  root-package tmva-sofie-parser-python, root-package tree-ml,
  root-package histv7util
Dropped patches: 2
New patches: 7
2026-06-29 15:26:12 +02:00
Mattias Ellert
9960faac7b Revert "Use protobuf in version 3.x only"
This reverts commit c2cc1e8dde.
2026-06-29 08:27:48 +02:00
Yaakov Selkowitz
4d451d1e2d Rebuilt for openssl 4.0 2026-06-12 19:37:03 -04:00
Miroslav Suchý
c2cc1e8dde Use protobuf in version 3.x only
This is part of https://fedoraproject.org/wiki/Changes/Protobuf_5.x/6.x
This package does not sucessfully build with new protobuf per
  https://copr.fedorainfracloud.org/coprs/mochaa/protobuf/monitor/
so limiting to protobuf version 3.
Once the protobuf is rebase this will automatically pick up compat
package protobuf3

I am not bumping release as this does not need a rebuild now.
2026-06-06 07:40:30 +00:00
Python Maint
d4e0e388fb Rebuilt for Python 3.15 2026-06-04 11:41:52 +02:00
Mattias Ellert
f908b99482 Combined rebuild for xrootd and R 2026-05-06 16:04:23 +02:00
f0f3460788 R-maint-sig mass rebuild 2026-04-26 01:06:15 +02:00
Mattias Ellert
bf6d9e6993 Rebuilt for xrootd 6 2026-04-22 04:32:33 +02:00
Mattias Ellert
6ac6cee053 Run some tests on aarch64 Fedora 44+ again (gcc 16 regression fixed) 2026-04-10 05:35:33 +02:00
Mattias Ellert
8adc8228e3 typo 2026-04-08 09:40:20 +02:00
Mattias Ellert
666c050fcf Exclude failing test on ppc64le 2026-04-06 06:05:00 +02:00
Mattias Ellert
7870548730 typo 2026-04-05 15:17:50 +02:00
Mattias Ellert
3cd581f0e0 Compatibility with Python 3.15 2026-04-05 07:49:26 +02:00
Mattias Ellert
7ecd76a31d Update to 6.38.04
Rebuild for pythia8 8.3.17
Dropped patches: 11
New patches: 1
2026-03-15 18:58:09 +01:00
Fedora Release Engineering
3f365df48e Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 11:26:33 +00:00
Mattias Ellert
e8626580cf Fixes for gcc 16 2026-01-12 00:03:45 +01:00
Mattias Ellert
27b349be2a Fix test for stricter syntax in numpy 2.4.0 (backport) 2025-12-25 17:38:55 +01:00
Mattias Ellert
732511f3a6 Exclude tests for Fedora 43+ on s390x that fail due to hardware
acceleration in the zlib-ng library.
2025-12-20 12:41:20 +01:00
Mattias Ellert
64acc88ed1 Don't install the python modules twice
Fix Requires and Provides in the python3-root rpm
2025-12-18 13:08:34 +01:00
Mattias Ellert
bdcedb0537 Skip RPATH using -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON (replaces
previously used root specific -Drpath:BOOL=OFF no longer available)
Backport fixes to python module
Rebuild for pythia8 8.3.16
2025-12-13 12:55:11 +01:00
Mattias Ellert
bbcab50659 Update to 6.38.00
Removed subpackages: root-proof, root-proof-bench, root-proof-player,
    root-proof-sessionviewer, root-sql-mysql, root-sql-odbc, root-sql-pgsql
New subpackages: root-geom-checker, root-gui-treemap,
    root-tree-ntuple-browse, root-histv7
JsMVA python (sub)module dropped from python3-root package
Compile minuit2 with Open MP support
Dropped patches: 7
New patches: 4
2025-12-09 20:53:49 +01:00
Stephen Gallagher
32ec236e95
Rebuild for libarrow 22
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2025-10-29 09:28:19 -04:00
Jaroslav Škarvada
f287293ea9 - Rebuilt for new graphviz 2025-10-09 17:11:17 +02:00
Python Maint
84f092c91d Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 14:53:54 +02:00
Mattias Ellert
da1ca8ff8f Update sources 2025-08-28 06:37:03 +02:00
Mattias Ellert
66c113fcb0 Update to 6.36.04 2025-08-28 02:21:32 +02:00
Jerry James
18473dc6e6 Rebuild for tbb 2022.2.0 2025-08-20 15:52:02 -06:00
Jerry James
895043f78c Rebuild for tbb 2022.2.0 2025-08-20 15:39:40 -06:00
Mattias Ellert
c3014d3347 Fix typo in patch 2025-08-20 08:19:57 +02:00
Mattias Ellert
cb90d9590d Support libarrow 21 2025-08-20 06:32:28 +02:00
Orion Poplawski
3d242ce025 Rebuild for libarrow 21 2025-08-18 07:36:23 -06:00
Python Maint
146af48801 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:16:09 +02:00
Orion Poplawski
e4856607de Rebuild for libarrow 21 2025-08-13 11:00:08 -06:00
Fedora Release Engineering
f25bdb0931 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 12:04:15 +00:00
Mattias Ellert
e076764de0 Disable two failing test for rawhide ppc64le 2025-07-13 18:59:06 +02:00
Mattias Ellert
3a74b8b610 Update to 6.36.02 2025-07-13 07:11:20 +02:00
Stephen Gallagher
2726b64fa0 Rebuilt for libarrow 20
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2025-07-10 19:21:27 -04:00
Mattias Ellert
0afdff9fae Add root-tree-ntuple and root-tree-ntuple-utils dependensies to root-core
(listed in root-config --libs)
Rename root-fonts package to root-font-files
Add optional test dependency python3-pandas now available in EPEL 10
Add dependency jupyter-notebook to root-jupyroot for EPEL 10.1 and later
Fix Python 3.14 refcount issues in tests
2025-06-21 05:38:04 +02:00
Mattias Ellert
6edd65804f Update to 6.36.00
Enable the R interface for EPEL 10.1
Removed subpackages: root-gui-qt5webdisplay, -hist-draw, -histv7 and -html
New subpackage: root-roofit-codegen
2025-06-09 14:00:51 +02:00
Python Maint
5a76613429 Rebuilt for Python 3.14 2025-06-03 15:33:23 +02:00
593e746266 R-maint-sig mass rebuild 2025-04-18 22:02:09 +02:00
ab1aa62b45 R-maint-sig mass rebuild 2025-04-18 20:42:27 +02:00
aaf51a11c7 R-maint-sig mass rebuild 2025-04-18 13:19:10 +02:00
Mattias Ellert
920e7b2575 Update to 6.34.08 2025-04-17 23:39:33 +02:00
Mattias Ellert
fe8a030c52 Update to 6.34.06
Drop patches accepted upstream or previously backported
2025-03-31 15:19:04 +02:00
Mattias Ellert
450c67721a Fix roofit/roostats test failures with gcc 15 2025-02-19 08:36:52 +01:00
Mattias Ellert
40be88f67c Update to 6.34.04
Drop patches accepted upstream or previously backported
2025-02-14 22:05:06 +01:00
Benjamin A. Beasley
71b6707207 Rebuilt for libarrow 19 2025-02-13 21:44:04 -05:00
Orion Poplawski
b1bbc0fadf Rebuild with gsl 2.8 2025-02-02 13:48:38 -07:00
02870ffba1
Add explicit BR: libxcrypt-devel
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2025-02-01 19:57:12 +01:00
Mattias Ellert
3487b3a060 Apply patches to fix build with gcc 15
Enable roofit-multiprocess for EPEL 10 (dependencies available)
Rebuild for pythia8 8.3.13
2025-01-31 13:22:57 +01:00
Fedora Release Engineering
2ad57ba760 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 22:37:32 +00:00
Mattias Ellert
745e82c601 Don't add dependencies on root-roofit-multiprocess and root-roofit-zmq
to root-roofit-core for EPEL builds
2025-01-15 06:32:29 +01:00
Mattias Ellert
8d9fc44478 Adjust stressGraphics.ref
Build for EPEL 10
Disable the R interface for EPEL 10 (R not yet abailable)
Enable uring support for EPEL 9 (supported in kernel since RHEL 9.3)
2025-01-12 10:48:54 +01:00
Mattias Ellert
75f062bccd Update to 6.34.02
Build CLAD plugin
Removed package: root-roofit-dataframe-helpers
2024-12-26 10:59:52 +01:00
Richard W.M. Jones
cac5562c15 Rebuild for libarrow 18 2024-11-27 14:35:57 +00:00
Mattias Ellert
6b314d2ebb Update to 6.32.08 2024-11-14 22:31:01 +01:00
Mattias Ellert
5498e74caf Update to 6.32.06
Split out ROOT 7 dependent parts of root-browsable to a separate package
Split out ROOT 7 dependent parts of root-browserv7 to a separate package
2024-09-25 14:02:06 +02:00
Mattias Ellert
59f38a443a Re-enable Qt5 Web display for Fedora 41+ (qt5-qtwebengine fixed) 2024-08-21 16:38:38 +02:00
Mattias Ellert
1617973423 Update to 6.32.04
Drop patches accepted upstream
Disable Qt5 Web display for Fedora 41+ (broken qt5-qtwebengine package)
2024-08-16 06:35:34 +02:00
Mattias Ellert
dafa5d9be6 Update ROOT's R interface for Rcpp 1.0.13 2024-07-21 23:44:51 +02:00
Fedora Release Engineering
c960d44c7d Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 18:44:52 +00:00
Mattias Ellert
8bc319c318 Fixes for TUri class (PCRE2 compatibility)
Fix test failure with tbb 2021.13.0
2024-07-12 01:01:14 +02:00
Mattias Ellert
82f076284e Add openssl-devel-engine build requirement on Fedora 41+ 2024-07-11 21:27:50 +02:00
Mattias Ellert
c1e2a7a6b3 Update to 6.32.02
Drop paches accepted upstream
2024-06-18 17:15:43 +02:00
Mattias Ellert
ea27f7093b Add dependency on liburing-devel to root-io
Exclude failing tutorial-tmva-RBatchGenerator_filters_vectors-py test
  on aarch64 (Fedora 40+)
2024-06-18 04:22:08 +02:00
Mattias Ellert
4946c86aea Backport fix for failing test with Python 3.13 2024-06-10 22:42:59 +02:00
Python Maint
48045b2bdf Rebuilt for Python 3.13 2024-06-09 02:47:16 +02:00
Mattias Ellert
559fe2b850 Python 3.13 compatibility 2024-06-08 22:04:11 +02:00
Mattias Ellert
95f73fc33a Update to 6.32.00
Drop EPEL 8 build (now requires Python >= 3.7 ans tbb >= 2020)
Dropped patches: 12
New patches: 6
The JsMVA python module is now a submodule of the ROOT python module
The notebook package was merged with the JupyROOT package
2024-06-07 12:04:22 +02:00
Mattias Ellert
4d9bac3891 Rebuilt for libarrow.so.1601
Improved fontconfig support
2024-05-15 12:58:24 +02:00
Benjamin A. Beasley
0f2b684662 Do not test with Pandas on 32-bit architectures
https://bugzilla.redhat.com/show_bug.cgi?id=2263999
2024-04-28 08:30:34 -04:00
518c033b52 R-maint-sig mass rebuild 2024-04-25 16:16:49 +02:00
Mattias Ellert
fbaff99ab6 Rebuilt for libarrow.so.1600 2024-04-23 09:53:13 +02:00
Mattias Ellert
d22cdf6344 Update to 6.30.06 2024-04-05 15:37:21 +02:00
Mattias Ellert
29328ac08b Support StandardSymbolsPS.otf 2024-03-25 11:16:05 +01:00
Mattias Ellert
c2cd7682c3 Update to 6.30.04
Drop patch root-adjust-test-for-failures-on-aarch64-ppc64le-s390x.patch
  (accepted upstrem)
Exclude failing TClingDataMemberInfo.Offset test on s390x
2024-02-01 07:40:40 +01:00
Mattias Ellert
a5b9453dc4 Rebuilt for libarrow.so.1500 2024-01-26 23:46:38 +01:00
Mattias Ellert
65481a9244 Exclude failing gtest-math-matrix-test-testMatrixTSparse on Fedora 40
(aarch64, ppc64le and s390x)
2024-01-26 07:10:54 +01:00
Fedora Release Engineering
277c592ff2 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 11:52:28 +00:00
Jonathan Wakely
40040121b9 Rebuilt for TBB 2021.11 2024-01-17 23:46:44 +00:00
Mattias Ellert
63c341633f Define PYTHON_EXECUTABLE when calling cmake (Fixes EPEL 8 build) 2024-01-12 20:24:43 +01:00
Mattias Ellert
b4f122310f Adjust tests for zlib-ng 2023-12-21 21:31:38 +01:00
Mattias Ellert
735b7a8692 Use "standardsymbolsps" instead of "symbol" when searching for the
Symbols font in order to not find Noto Symbols instead
2023-12-18 20:23:26 +01:00
Mattias Ellert
9875b6b48a Exclude pyunittests-pyroot-numbadeclare test 2023-12-15 22:08:26 +01:00
Mattias Ellert
6d457ab71f Update to 6.30.02 2023-12-05 13:15:36 +01:00
Mattias Ellert
59989efa5f Update to 6.30.00
Removed subpackages: root-io-gfal and root-roofit-common
Dropped patches: 6
New patches: 6
2023-11-26 16:11:31 +01:00
Mattias Ellert
ae0a791925 Rebuilt for libarrow.so.1400 2023-11-02 12:45:23 +01:00
Mattias Ellert
fb5c22a14d Enable RooFit::MultiProcess on Fedroa 40+ 2023-11-01 13:42:56 +01:00
Mattias Ellert
85ea672407 Update to 6.28.08
New subpackage root-tmva-utils (split off from root-tmva)
Port to pcre2
2023-10-14 23:56:11 +02:00
Mattias Ellert
79c12df5ba Update to 6.28.06
Drop patches root-testRooAbsL-test-compares-two-doubles-and-fails.patch and
  root-strlcpy.patch (fixed upstream)
2023-09-06 23:23:03 +02:00
Mattias Ellert
d58a4c22ba Rebuilt for libarrow.so.1300 2023-08-06 06:49:55 +02:00
Fedora Release Engineering
879bb250d3 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 17:00:48 +00:00
Mattias Ellert
c3f7b6f7f1 Fix build on Fedora 39+ where glibc has strlcpy and strlcat
Enable build of root-gui-qt6webdisplay sub-package if Qt6 is available
2023-07-09 07:02:33 +02:00
Orion Poplawski
08cf4b36a2 Rebuilt for Python 3.12 2023-06-26 08:06:21 -06:00
Mattias Ellert
c39df0d6ce Update to 6.28.04
Drop patch root-RF-Rewrite-RooProdPdf.TestGetPartIntList-unit-test.patch
  (previously backported)
Enable Apache Arrow support (64 bit architectures only)
2023-05-09 21:38:39 +02:00
0de23e866b R-maint-sig mass rebuild 2023-04-21 12:42:03 +02:00
Mattias Ellert
3365b50fc9 Disable uring in EPEL 9 (liburing is available, but uring not
supported by kernel)
2023-03-23 03:47:57 +01:00
Mattias Ellert
088e995d07 Update to 6.28.02
Dropped patches: 13
New patches: 1
2023-03-22 21:46:20 +01:00
Mattias Ellert
b75f082179 Merge branch 'epel8' into rawhide 2023-03-20 20:39:10 +01:00
Mattias Ellert
a08fcbc5ad Update to 6.28.00
ROOT now uses llvm/clang version 13 (updated from version 9)
Clean up specfile by removing EPEL 7 conditionals
Drop dataframe, roofit and tmva-sofieparser on EPEL 8 ppc64le due to
  "pure virtual method called" errors
Split the root-geom sub-package into three separate sub-packages:
  root-geom, root-geom-builder and root-geom-painter
Enable uring support in EPEL 9 (liburing now available)
New sub-packages: root-geom-webviewer, root-roofit-jsoninterface,
  root-testsupport, root-tree-ntuple-utils, root-tree-webviewer,
  root-xroofit
Dropped patches: 31
New patches: 17
Updated patches: 4
2023-03-19 07:53:00 +01:00
Miro Hrončok
e41288dd18 Rebuilt to change Python shebangs to /usr/bin/python3.6 on EPEL 8
See https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org/thread/RE3PG72B5AX7NTACPDSBGOWCMN7I3OQJ/
2023-01-30 22:16:05 +01:00
Mattias Ellert
1801745923 Adapt to numpy 1.24 2023-01-30 19:16:25 +01:00
Mattias Ellert
635da91690 Add missing #include <cstdint> 2023-01-21 08:32:07 +01:00
Fedora Release Engineering
6d31b558ee Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 19:53:22 +00:00
Maxwell G
bcb1ddcccf
Rebuild for cfitsio 4.2 2022-12-29 09:45:29 -10:00
Mattias Ellert
ab5d41c627 Update to 6.26.10
Drop patches root-Fixes-for-garbage-collection-in-Python-3.11.patch
  and root-Guard-gInterpreterMutex-in-TClingClassInfo-IsEnum.patch
  (fixed upstream)
Use different filenames in io/loopdir tests
Update root-test-timeout.patch to address one more issue
2022-11-17 13:06:43 +01:00
Mattias Ellert
75d8984496 Avoid race condition between C++ and Python version of a roofit test 2022-10-28 10:16:32 +02:00
Mattias Ellert
78faffb6b8 Update to 6.26.08
Drop patch root-move-private-decl.patch (fixed upstream)
Drop some previously backported patches
Rename patch root-blas-linking-and-ignore-prefix.patch (partially fixed)
Backport locking of gInterpreterMutex in TClingClassInfo::IsEnum
2022-10-21 05:11:01 +02:00
Mattias Ellert
521c5af35f Use upstream's proposed change for the Python garbage collection issue 2022-10-01 19:05:05 +02:00
21a93fdb32 Rebuild for gsl-2.7.1 2022-08-23 17:37:01 +09:00
Mattias Ellert
7fb47abbc9 Use the json 3.11 fix upstream settled on 2022-08-19 14:16:54 +02:00
Mattias Ellert
ee45de2db7 Compatibility with nlohmann json 3.11+
Enable gfal support in EPEL 9 (gfal2 now available)
2022-08-17 23:19:25 +02:00
Mattias Ellert
4a05ecac34 Update to 6.26.06 2022-08-04 05:35:58 +02:00
Fedora Release Engineering
ddfa4e1c9b Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 00:57:28 +00:00
Mattias Ellert
b2e4c897d2 Don't use yuicompressor on Fedora (Java no longer available on ix86) 2022-07-18 23:37:13 +02:00
Mattias Ellert
dacf8d779a Backport python 3.11 fixes from upstream
Backport additional python 3.11 fixes from CPyCppyy upstream
Exclude some failing tests on Fedora 37+
  (segfaults during Python garbage collection with Python 3.11)
Adjust some test timeouts
2022-07-03 10:21:52 +02:00
Python Maint
9505e4b28a Rebuilt for Python 3.11 2022-06-15 14:00:40 +02:00
Mattias Ellert
a9b86f482f Update to 6.26.04
Drop patch root-missing-include.patch (accepted upstream)
2022-06-14 16:02:47 +02:00
Mattias Ellert
44203f1d1d Rebuild for gcc 12.1 (Fedora 36)
Update the root-tmva-threads patch
2022-05-20 14:43:55 +02:00
Mattias Ellert
51dd64e002 Rebuild for gcc 11.3 (Fedora 35)
Use upstream's version of the dataframe-snapshot on 32 bit patch
2022-04-29 14:26:18 +02:00
Mattias Ellert
4a99ec915c Update to 6.26.02
Drop patch root-roofit-overflow.patch (previously backported)
2022-04-18 04:04:24 +02:00
Mattias Ellert
2f8e3d96d1 Update to 6.24.04
New subpackages: root-roofit-common, root-roofit-dataframe-helpers,
  root-roofit-hs3, root-tmva-sofie and root-tmva-sofie-parser
Removed subpackages: root-memstat and root-montecarlo-vmc
Drop the doxygen generated root-doc package (doxygen runs out of memory)
Dropped patches: 17
New patches: 22
Updated patches: 5
2022-04-05 14:39:21 +02:00
Orion Poplawski
65aa8a7075 Rebuild for glew 2.2 2022-02-09 21:06:51 -07:00
Mattias Ellert
1ca8ad1517 Disable package note flags 2022-01-29 00:30:44 +01:00
Mattias Ellert
d28cfab6db Exclude failing test on Fedora 36 ppc64le:
test-stressHistFactory(-interpreted)
2022-01-28 21:28:20 +01:00
Fedora Release Engineering
79bc80ed33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 17:57:47 +00:00
Mattias Ellert
530bdfbe23 Backport gcc 12 fix from LLVM
Fix test failure on ppc64le and aarch64 with gcc 12
2022-01-17 19:28:30 +01:00
Mattias Ellert
f57d1d575e Fix segfaults on ppc64le when using the large code model 2021-12-09 17:14:53 +01:00
Mattias Ellert
01b908fc8c Update to 6.24.06 2021-11-05 13:14:04 +01:00
Sahana Prasad
a96b0b3132 Rebuilt with OpenSSL 3.0.0 2021-09-14 19:13:40 +02:00
Mattias Ellert
19b1aedc98 Update to 6.24.04
Add dependency on json-devel to root-core
Disable uring in EPEL 8 (liburing is available, but uring not
  supported by kernel)
2021-08-28 13:11:27 +02:00
Mattias Ellert
1fd9670b71 Update to 6.24.02
ROOT now uses llvm/clang version 9 (updated from version 5)
No longer exclude arch s390x (better supported in llvm/clang 9)
Drop patches accepted upstream or previously backported
Backport some fixes that make more tests work
New subpackages: python{2,3}-distrdf, root-roofit-batchcompute
Require js-jsroot >= 6
2021-08-22 19:10:24 +02:00
Mattias Ellert
63048e8cb6 Drop the memstat module for Fedora 35+
The required __malloc_hook was removed from glibc 2.33.9000-48
  The memstat module is deprecated and will be removed in root 6.26
2021-07-26 20:54:55 +02:00
Fedora Release Engineering
f5f5cab0a0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 11:32:11 +00:00
Mattias Ellert
76c3a41c1c Backport fix for jsroot loading in jupyterlab 2021-06-17 20:51:34 +02:00
Mattias Ellert
f34d998c21 Add configuration for jupyterlab 2021-06-14 11:20:14 +02:00
Mattias Ellert
37bb038cc9 cmake in EPEL 8 no longer provides cmake3 2021-06-13 08:55:01 +02:00
Python Maint
5bf9d68201 Rebuilt for Python 3.10 2021-06-04 21:13:47 +02:00
Mattias Ellert
c4fdaa5858 Use C++17 for Fedora 34+ (gcc 11) 2021-06-03 18:02:44 +02:00
Mattias Ellert
b1e3d73d24 Adapt to new Python RPM generators (empty .egg-info no longer works)
Filter out parts of tests that require remote network access instead of
  excluding the whole test
Fix multicore tests when running on machines with few cores
2021-06-01 09:42:05 +02:00
Jonathan Wakely
f21e05fd5f Rebuilt for removed libstdc++ symbols (#1937698) 2021-05-10 16:08:35 +01:00
Tomas Hrnciar
a49523d8a5 BuildRequire setuptools explicitly
See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools
2021-04-19 13:18:32 +02:00
Jonathan Wakely
07ab2f0b59 Rebuilt for removed libstdc++ symbol (#1937698) 2021-03-30 19:39:57 +01:00
Mattias Ellert
123427b9fe Update to 6.22.08 2021-03-19 06:26:34 +01:00
Pavel Raiskup
6614fa1aa8 rebuild for libpq ABI fix
Related: rhbz#1908268
2021-02-08 10:28:48 +01:00
Mattias Ellert
7b4114bd54 Rebuilt for cfitsio 3.490 2021-02-03 13:10:13 +01:00
Fedora Release Engineering
1be10b51b1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 15:24:05 +00:00
Mattias Ellert
c49c803954 Cleanup last commit 2021-01-27 10:30:28 +01:00
Tom Stellard
0ecea4ad41 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 20:51:58 +00:00
Mattias Ellert
7a6fb7e19d Update to 6.22.06
Filter out additional vDSO names for ppc
2020-11-29 15:15:47 +01:00
Mattias Ellert
a79f481e22 Do not attempt to load_library the ROOT Pythonizations module 2020-11-26 11:38:23 +01:00
Mattias Ellert
99ef1e3968 Update to 6.22.04
Drop patch root-xrootd5-compat.patch (accepted upstream)
2020-11-20 08:58:27 +01:00
Mattias Ellert
7e225d815e Rebuild for C++ standard library __GLIBCXX__ 20201016 2020-11-07 12:54:12 +01:00
Mattias Ellert
917227575d Drop obsolete patch root-add-flexiblas-detection.patch (cmake's
FindBLAS.cmake supports flexiblas now)
Drop the workaround for the bug in doxygen causing different results
  on 32 and 64 bit architectures (use doxygen < 1.8.17 or >= 1.8.20-3)
Build require xrootd 5 (Fedora 33+, EPEL 7+)
2020-10-03 09:43:44 +02:00
Mattias Ellert
2c7e472d02 Adapt to xrootd 5 (Fedora 33+, EPEL 7+)
Don't build the old proof client (xproofd)
  Don't build the old NetX module
2020-08-30 06:47:42 +02:00
Mattias Ellert
1361b0d800 Update to 6.22.02
Drop patch previously backported: root-doxygen-endof-part1.patch
Drop patch accepted upstream: root-python2-compat.patch
Add back line accidentally removed in root-config
Install headers in new PyROOT with COMPONENT headers
Increase test timeout for ppc64le
2020-08-23 16:27:44 +02:00
Mattias Ellert
82f0a3aaee Avoid unneeded build requirement on srm-ifce-devel
Do not export Python modules in CMake config
Drop patch root-clang-ignore-gcc-options.patch
  ("Recent ROOT does not send all possible compiler flags to rootcling.")
2020-08-21 01:41:39 +02:00
9dd4f5fc05 https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager 2020-08-16 14:00:07 +02:00
Mattias Ellert
4f7769c6fc Fix wrong symlinks in EPEL 7 python2-root package 2020-08-12 07:09:40 +02:00
Fedora Release Engineering
94bb81bf7f - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 07:53:45 +00:00
Fedora Release Engineering
32e56c3cc7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 05:51:59 +00:00
Mattias Ellert
f36ab42522 Fix broken update on EPEL 7 with python34-root installed 2020-07-15 21:26:33 +02:00
Mattias Ellert
b2cd752635 Update to 6.22.00
Drop patches accepted upstream
  root-FitData-assert-fix.patch
  root-clang-altivec-vector.patch
  root-format-fix.patch
  root-moved-file.patch
  root-xmlmodify-dep.patch
New and improved Python bindings
The new Python bindings can be built for both Python 2 and Python 3
  out of the box. Dropped the workaround in specfile for this (EPEL 7)
Dropped the python3-other packages (EPEL 7)
The new Python bindings has split the TPython interface to a separate
  library. Now in a separate root-tpython package
root-tpython and root-tmva-python are now using Python 3 on EPEL 7
New subpackage root-gui-browsable
New patches (submitted upstream)
  Fix too aggressive -Werror replacements
  Add missing call to TFile::SetCacheFileDir in a TMVA tutorial
  Adjust stressGraphics.ref
  Fix off-by-one error in histogram v7 bin iterator
  Compatibility with python 2.7 versions before 2.7.9
  Fix the RNTuple.LargeFile test on 32bit (i386 and armv7hf)
  Fix doxygen issues
  Fix bad regex in TProofMgr
  Compatibility with xrootd 5
2020-07-15 04:44:51 +02:00
Jeff Law
4dabf92f1e Disable LTO 2020-07-11 11:24:46 -06:00
Mattias Ellert
d5f9a3e4ce Update to 6.20.06
Fix test failure on ppc64le and aarch64
2020-06-15 08:33:47 +02:00
Miro Hrončok
52746b4384 Rebuilt for Python 3.9 2020-05-26 03:49:26 +02:00
Mattias Ellert
9cc859debf Replace BR qt5-devel with qt5-qtbase-devel 2020-04-10 14:58:56 +02:00
Mattias Ellert
245e52da34 Update to 6.20.04
Drop previously backported patch root-tutorials-unique-filenames.patch
Improved patch for the PyROOT issue on EPEL 7 ppc64le
2020-04-05 12:50:43 +02:00
Mattias Ellert
fba71390e2 Update to 6.20.02
Drop patches accepted upstream
  root-dont-download-input-file-if-it-already-exists.patch
  root-fix-plugin-definition.patch
  root-man-install.patch
  root-pretty-printers.patch
  root-python3.patch
  root-stress-aarch64-ppc64le.patch
Drop patches no longer relevant due to changes to the code
  root-missing-include-string.patch
  root-static-constexpr.patch
Add workaround for PyROOT issues on ppc64le in EPEL 7
  root-epel7-ppc64le-pyroot.patch (patch conditionally applied)
Fix path to moved data file in tutorial
  root-moved-file.patch
Split the root-roofit subpackage into four different packages
  root-roofit, root-roofit-core, root-roofit-more and root-roostats
  The root-roofit-more library splits out the part of roofit that depends on
    the root-mathmore package
New subpackage: root-histv7
2020-03-23 10:03:24 +01:00
Mattias Ellert
cce2ff465c Build for 32 bit ARM again - gcc-10.0.1-0.9 fixes the problem 2020-03-15 00:24:13 +01:00
Petr Písař
9efe68edd4 Link to a bug report for the exclusion on 32-bit ARM 2020-03-09 11:34:35 +01:00
Mattias Ellert
baedd3ac92 Fixes and workarounds for gcc 10
ExcludeArch for 32 bit ARM because rootcling_stage1 segfaults
2020-02-22 14:31:21 +01:00
Fedora Release Engineering
e9736ff481 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 17:48:04 +00:00
Mattias Ellert
a8a22f4c90 Fix shebangs in root-cli for EPEL 8 2019-12-04 15:11:16 +01:00
Mattias Ellert
69d6612d86 Remove workarounds for RHEL 7 aarch64 (architecture dropped by EPEL 7)
Enable QtWebEngine dependent modules on EPEL 8 (now available)
2019-12-03 22:35:14 +01:00
Mattias Ellert
3021cd531d Exclude failing test on Fedora 29 ppc64le 2019-10-11 13:19:37 +02:00
Mattias Ellert
e337f50c47 Update to 6.18.04
First build for EPEL 8
2019-10-09 15:59:54 +02:00
Mattias Ellert
90ad7be9df Rebuild for g++ 9.2 2019-09-12 19:57:07 +02:00
Mattias Ellert
0172e0c499 Update to 6.18.02
Add workarounds for issues caused by the RHEL 7.7 update, that left the
  aarch64 architecture at RHEL 7.6.
2019-08-30 09:20:16 +02:00
d01240d460 Rebuilt for GSL 2.6. 2019-08-20 22:13:22 +02:00
Miro Hrončok
ac7ef9a2e3 Rebuilt for Python 3.8 2019-08-19 11:05:09 +02:00
Mattias Ellert
5736fd78d4 Root 6.18 requires pcm files to be in the same directory as libraries
Add libPyROOT.rootmap and libPyROOT_rdict.pcm as slaves to libPyROOT.so
  in update-alternatives
2019-08-01 17:06:23 +02:00
Fedora Release Engineering
eb2d446b8b - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 18:42:20 +00:00
Mattias Ellert
aff214ede0 Update to 6.18.00
Drop patches accepted upstream:
  root-avoid-gui-crash.patch
  root-doxygen-generation-with-python-3.patch
Drop patches with alternative fix implemented upstream:
  root-dont-install-eve7-files.patch
  root-ix32-geom-opt.patch
Drop ppc64 specific workaround (ppc64 no longer built in Fedora or EPEL):
  root-ppc64-doc.patch
Dropped subpackages:
  root-geocad
  root-graf-qt
  root-gui-qt
  root-gui-qtgsi
  root-io-hdfs
  root-io-rfio
  root-net-bonjour
  root-net-globus
  root-net-ldap
  root-net-krb5
  root-table
Drop BuildRequires needed by the dropped subpackages
New subpackages:
  root-graf3d-csg (split off from root-graf3d-gl)
  root-gui-browserv7
  root-tree-ntuple
Don't build python2-root for Fedora >= 31
Include desktop and MIME type files in source RPM (removed from source)
Install man pages in correct directory
Use correct library names in plugin definitions
Don't download test input file if it already exists
Python 3 fixes
Increase test tolerance (aarch64 and ppc64le)
Fix GDB pretty printers install name and location
2019-07-03 14:52:40 +02:00
Mattias Ellert
dd4b4780b4 Check python-config for --embed flag (python 3.8 compatibility) 2019-06-11 09:14:28 +02:00
Mattias Ellert
637fe32582 Build without HDFS support on Fedora 31+
Hadoop is FTBFS and uninstallable due to missing Java dependencies
Build without HDFS support for 32 bit architectures on Fedora 30
  Hadoop is not installable due to missing Eclipse dependencies
2019-05-18 08:19:09 +02:00
Troy Dawson
3cde189ab8 Rebuilt to change main python from 3.4 to 3.6 2019-03-08 07:10:52 -08:00
Mattias Ellert
e02c54a09c Fix typo in patch (missing space) 2019-02-18 09:29:21 +01:00
e68833ced7 Rebuild for readline 8.0 2019-02-17 09:30:54 +01:00
Mattias Ellert
b8c8500439 Update to 6.16.00
Drop patches accepted upstream:
  root-adjust-allowed-test-difference-for-32-bit-ix86.patch
  root-crypto.patch
  root-js-syntax.patch
  root-missing-header.patch
  root-set-cache-file-dir.patch
  root-stressgraphics-ref.patch
  root-test-compilation-epel7.patch
  root-test-subdirs.patch
  root-unique-filenames.patch
Dropped subpackages:
  root-rootd (obsolete - use xrootd)
  root-proofd (obsolete - use root-xproofd)
  root-proof-pq2
New ROOT 7 subpackage:
  root-graf3d-eve7
  root-gui-webgui6
Make tutorial/v7/line.cxx run in batch mode
2019-02-15 12:57:22 +01:00
Mattias Ellert
85f4c754b6 Remove obsolete /sbin/ldconfig scriptlets
The root-core package installs a file in /etc/ld.so.conf.d, so it should
  always call /sbin/ldconfig and not use the macros
2019-02-04 22:12:56 +01:00
Mattias Ellert
0aea483c48 Revert "Remove obsolete scriptlets"
The old version already removed the obsolete scriptlets where appropriate
(i.e. everywhere except for EPEL 7), there was no need to change it.
The new version introduced an error that made the specfile unparsable,
which resulted in that the package failed to build during the Fedora 30
mass rebuild.

This reverts commit f5cfd58b12.
2019-02-04 21:57:42 +01:00
Fedora Release Engineering
786482506c - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 11:31:06 +00:00
f5cfd58b12
Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-27 13:14:43 +01:00
cd31cb5a97
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:40:52 +01:00
dccdfa5397
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 19:15:11 +01:00
Mattias Ellert
6be66b5cfa Update to 6.14.08
Make tutorial filenames unique to avoid overwrites
2018-11-24 11:32:51 +01:00
Mattias Ellert
4c7d7f652d Restore broken sources file 2018-11-09 19:35:08 +01:00
Mattias Ellert
436670def3 Update to 6.14.06
Let clang ignore some gcc options it hasn't implemented
Don't build python2-jupyroot/jsmva packages for Fedora >= 29
Drop previously backported patch root-TGHtmlBrowser-crash.patch
2018-11-09 18:42:42 +01:00
Mattias Ellert
685c7a1019 Fix crash in TBrowser when root-gui-html is not installed
Use empty .egg-info files instead of empty .dist-info files to make
  virtualenv happy
Add Requires on root-mathmore to root-mathcore (for default integrator)
2018-10-26 09:25:24 +02:00
Jerry James
6538cd10af Rebuild for tbb-2019_U1. 2018-10-13 13:10:23 -06:00
Pavel Raiskup
e5c18339e2 BuildRequires: s/postgresql-devel/libpq-devel/
That's because we moved libpq.so.5 into libpq package.

Related: rhbz#1618698, rhbz#1623764
2018-09-06 10:22:35 +02:00
Mattias Ellert
ffdeed0011 Update to 6.14.04
Drop patch accepted upstream: root-python-3.7.patch
2018-08-25 16:41:42 +02:00
Nicolas Chauvet
a82a9895cd - Rebuilt for glew 2.1.0 2018-08-23 14:07:11 +02:00
Mattias Ellert
a085075a00 Update to 6.14.02
Make python3 the preferred python for Fedora 29+:
  Give python3 libPyROOT higher priority than python2 libPyROOT
  The python scripts in root-cli use python3-root
  Let root-tmva-python use python3-numpy
Fix build issue with undefined symbols in libSrvAuth
Make ROOTConfig-targets.cmake not error on missing files to work better with
  subpackages
2018-08-07 06:08:54 +02:00
Fedora Release Engineering
5fdda1fe15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 03:40:58 +00:00
Mattias Ellert
f7f5ed19f4 Add Python 3.6 packages for EPEL 7 2018-07-13 08:37:26 +02:00
Mattias Ellert
88f740ba6c Update to 6.14.00
Drop patches previously backported:
  root-doxygen-makefile.patch
  root-crash-fix.patch
  root-test-stress-32bit.patch
Drop patches accepted upstream:
  root-test-subdirs.patch
  root-test-fixes.patch
  root-out-of-bounds.patch
  root-doxygen-tilde.patch
  root-noinst.patch
Drop patches for issues fixed upstream:
  root-dont-link-jvm.patch
  root-system-pythia.patch
Drop patch root-urw-otf-hack.patch - broken font file no longer present
Drop Google Droid Sans Fallback font from EPEL 7 root-fonts package
  (the font is now available in EPEL 7)
Use two more patches from Fedora's llvm5.0 package
New root-test-subdirs.patch patch for more instances of the same issue
Fix a test not setting cache file directory so that it works offline
Fix a compatibility issue with the EPEL 7 gtest version
Fix a missing include
Workaround optimization problems in the Geom library
New subpackages due to library splits
  root-tree-dataframe and root-vecops from root-tree-player
  root-net-httpsniff from root-net-http
New subpackages due to package splits
  root-gui-html from root-gui
  root-gui-qtgsi from root-gui-qt
  root-io-xmlparser from root-io-xml
  root-proof-player from root-proof
New ROOT 7 subpackages
  graf-gpadv7
  graf-primitives
  gui-fitpanelv7
  gui-qt5webdisplay
Rename root-guibuilder package to root-gui-builder
2018-07-08 14:11:30 +02:00
Mattias Ellert
9af52db601 Adjust Vavilov test for Fedora 29 ix86
Adapt to python 3.7
2018-06-30 22:12:56 +02:00
Miro Hrončok
11b92eb696 Rebuilt for Python 3.7 2018-06-19 11:26:55 +02:00
Mattias Ellert
5914088cb6 Adjust allowed deviation for PDF file sizes in stressGraphics test (aarch64) 2018-05-29 20:23:53 +02:00
Christian Dersch
8f829ba002 rebuilt for cfitsio 3.450 2018-05-26 12:14:18 +02:00
Christian Dersch
288358c262 disabled test gtest-tree-treeplayer-test-dataframe-snapshot on ARM 2018-02-24 22:38:38 +01:00
Christian Dersch
81b256c066 rebuilt for cfitsio 3.420 (so version bump) 2018-02-24 11:41:57 +01:00
Christian Dersch
2249adc221 rebuilt for cfitsio 3.420 (so version bump) 2018-02-23 20:34:04 +01:00
Mattias Ellert
50233814ad Update to 6.12.06
Drop patch root-Fix-constructing-the-GSL-MC-Integrator.patch (previously
  backported)
2018-02-19 13:48:39 +01:00
Mattias Ellert
18df0711fa Fix test failures found with new default compiler flags in Fedora 28 2018-02-17 16:27:57 +01:00
Fedora Release Engineering
00ff963ffc - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 13:14:41 +00:00
44fa7637ff
Rebuilt for switch to libxcrypt 2018-01-20 23:07:48 +01:00
Mattias Ellert
ea40f6d9b5 Update to 6.12.04
Drop patches accepted upstream
Drop previously backported patches
Unbundle jsroot in root-net-http
Add hack to work around broken charmaps in StandardSymbolsPS.otf
Use local static script and style files for JupyROOT
Fix some javascript errors
Fix build rules for test binaries so that they are not installed
Address memory usage issue for ARM build
Drop pre-minified javascript and style files (Fedora packaging guidelines)
Enable builds on ppc/ppc64/ppc64le (do not pass all tests, but the list
  of failing tests is much shorter with this release)
Add dependency on python[23]-jsmva to python[23]-jupyroot
New sub-packages: root-gui-canvaspainter, root-gui-webdisplay and
  root-hist-draw (not for EPEL 7 since they are root7 specific and
  require c++-14)
2018-01-17 07:13:04 +01:00
Mattias Ellert
7a138eca56 Update sources 2017-10-20 19:42:39 +02:00
Mattias Ellert
055702ad13 Update to 6.10.08
Add BuildRequires on lz4-devel and xxhash-devel
Workaround for missing gmock libraries only needed for gmock < 0.1.8
Address some warnings during documentation generation
2017-10-20 19:32:45 +02:00
Mattias Ellert
3dbbb6f535 Update to 6.10.06
Fixes for new mysql_config
2017-09-29 05:39:45 +02:00
Mattias Ellert
ebb867176f Update to 6.10.04
Add temporary workaround for broken mariadb headers in Fedora 27
2017-08-07 22:19:09 +02:00
Fedora Release Engineering
3b30fb5268 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 07:45:40 +00:00
Fedora Release Engineering
f73fd21176 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 13:14:03 +00:00
Mattias Ellert
d40b20f402 Backport fixes 2017-07-14 06:55:56 +02:00
Mattias Ellert
292a238ca1 Remove additional references in cmake files 2017-07-12 21:00:11 +02:00
Mattias Ellert
24aa3c55c2 Fix removal of mathtext, minicern and JupyROOT references from cmake files 2017-07-10 23:14:42 +02:00
Mattias Ellert
aa51a99793 Update to 6.10.02 2017-07-08 20:53:59 +02:00
Mattias Ellert
7236b9af3c Update to 6.10.00
Drop patches accepted upstream
Drop previously backported patches
New sub-package: root-unfold
Dropped sub-package: root-vdt
2017-06-16 10:45:49 +02:00
Mattias Ellert
53ab37dbf1 Remove JupyROOT references from cmake files
Do not generate autoprovides for libJupyROOT.so
2017-05-16 23:34:42 +02:00
Fedora Release Engineering
06adf65fe9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 19:49:58 +00:00
Mattias Ellert
1a1a0b32c2 Fix for macro scope issue (backport from upstream)
Fix a problem loading the libJupyROOT CDLL module (use absolute path)
Add ipython dependencies to the jupyroot packages
Exclude s390x - endian issues
Re-enable two tests on 32 bit arm - no longer failing
Add BuildRequires on blas-devel (for TMVA)
2017-05-14 07:09:45 +02:00
Richard Shaw
b95e1e7279 Rebuild for OCE 0.18.1. 2017-05-11 09:22:43 -05:00
Mattias Ellert
f26a6cf485 Python 3 compatibility fixes (backport from upstream) 2017-04-22 20:12:15 +02:00
Mattias Ellert
fa467511f1 Fix relocation problems on aarch64 - using patch from the llvm package
Re-enable building on aarch64 - works again with the above patch
2017-03-16 06:12:37 +01:00
Mattias Ellert
9848b20c1e Update to 6.08.06
Drop obsolete patch: root-tformulaparsingtests.patch
Drop patches accepted upstream: root-spectrum-batch.patch and
  root-missing-header-gcc7.patch
Disable failing tests on s390x
2017-03-09 06:43:53 +01:00
Mattias Ellert
f8ad33edc6 Disable building on aarch64 (it is now broken again)
Add missing header (gcc 7)
Fix a test failure on Fedora 26 i686
Fix some format warnings/errors in GlobusAuth
Use the right delimiter when splitting the icon path in TASImage
Disable two more tests on 32 bit arm
2017-03-02 11:49:00 +01:00
Fedora Release Engineering
e910032e72 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 11:48:26 +00:00
Mattias Ellert
ec7f16e89c Update to 6.08.04
Fix broken TPad::WaitPrimitive (backport from git)
Rebuild for gcc 6.3
2017-01-15 08:35:38 +01:00
Igor Gnatenko
11c792e334 Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:40 +01:00
Orion Poplawski
0224f3ec83 Rebuild for glew 2.0.0 2017-01-10 08:53:53 -07:00
Miro Hrončok
9caef0bcab Rebuild for Python 3.6 2016-12-22 13:08:41 +01:00
Mattias Ellert
ea3d3333d5 Update to 6.08.02
- Drop patches accepted upstream
- Drop previously backported patches
- Drop obsolete patches
- Enable hadoop/hdfs support for all architectures
  * libhdfs is now available for more architectures than ix86 and x86_64
- Enable building on aarch64
- Rename the python packages to python2-root and python3-root
- New sub-packages: python{2,3}-jupyroot, python{2,3}-jsmva
- Dropped sub-package: root-rootaas (replaced by python{2,3}-jupyroot)
2016-12-07 15:00:55 +01:00
Mattias Ellert
cc0f4915b9 Rebuild for gcc 6.2 2016-09-29 19:26:20 +02:00
Mattias Ellert
193d74d76a Update to 6.06.08
- Add the packages providing the libraries listed by "root-config --libs"
  as dependencies to root-core
- Add missing scriptlets to root-multiproc
2016-09-08 22:18:16 +02:00
Mattias Ellert
4d7d87d75f Convert init scripts to systemd unit files 2016-08-14 06:40:11 +02:00
Mattias Ellert
27c9386941 Merge branch 'master' into f25 2016-08-14 06:24:52 +02:00
Mattias Ellert
16e38e12a2 Revert "Retire packages without systemd support, See FESCo ticket 1605"
This reverts commit f23b63a03f.
2016-08-14 06:24:21 +02:00
Mattias Ellert
0c8b01c3b0 Revert "Retire packages without systemd support, See FESCo ticket 1605"
This reverts commit ee101d8d31.
2016-08-14 06:21:55 +02:00
Parag Nemade
ee101d8d31 Retire packages without systemd support, See FESCo ticket 1605 2016-07-30 15:07:44 +05:30
Parag Nemade
f23b63a03f Retire packages without systemd support, See FESCo ticket 1605 2016-07-30 15:07:31 +05:30
Fedora Release Engineering
ed55b4fe58 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 12:31:16 +00:00
Mattias Ellert
bf23f84c80 Add requires on redhat-rpm-config to root-cling 2016-07-18 17:35:08 +02:00
Mattias Ellert
29a5baca4e Update to 6.06.06
- Drop patches root-gfal2.patch and root-keysymbols.patch
- Make root-vdt package noarch
2016-07-10 13:06:29 +02:00
Petr Písař
0fbfae57cf Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:48:07 +02:00
Mattias Ellert
8c8b88f79b Add GuiTypes.h, KeySymbols.h and Buttons.h to dict (backport)
- Minor updates to patches - mostly backported from upstream
- Reenable hadoop/hdfs support for F24+
2016-06-20 15:38:08 +02:00
Mattias Ellert
a95a6d6f13 Remove mathtext and minicern references from cmake files
- Fix the spelling of CMAKE_Fortran_FLAGS in a few places
2016-06-13 21:19:41 +02:00
Mattias Ellert
3900297baa Disable hadoop/hdfs support for F24+ (hadoop was retired) 2016-06-04 11:49:55 +02:00
Mattias Ellert
dcf271fa3c Update to 6.06.04
- Drop patch root-no-hexfloat-const.patch
- Add requires on gcc-c++ to root-cling
2016-05-10 13:29:26 +02:00
Mattias Ellert
a1278b5ac1 Rebuild for OCE-0.17.1 2016-04-15 22:13:42 +02:00
Mattias Ellert
d2f1cd66d0 Update sources 2016-04-10 23:24:27 +02:00
Mattias Ellert
9a997630c2 Update to 6.06.02 (F24+, EPEL7)
- Change to cmake configuration (was using ./configure)
- Change to doxygen documentation generation (was using THTML)
- Run the test suite
- Remove compatibility with older EPEL (Group tags, BuildRoot tag, etc.)
- New sub-packages: root-multiproc, root-cling, root-r, root-r-tools,
  root-geocad, root-tmva-python, root-tmva-r, root-tmva-gui, root-cli,
  root-notebook and root-rootaas
- New subpackage for EPEL7: root-python34
- Dropped sub-packages: root-cint, root-reflex, root-cintex, root-ruby
2016-04-10 23:12:54 +02:00
Mattias Ellert
c073038c81 Update to 5.34.36 2016-04-08 13:55:37 +02:00
Fedora Release Engineering
9b3288a2ae - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 22:15:25 +00:00
af80df442b Rebuild again for https://fedoraproject.org/wiki/Changes/Ruby_2.3 2016-01-16 01:31:25 +09:00
Adam Jackson
7b75beeafd Rebuild for glew 1.13 2016-01-14 13:10:21 -05:00
Vít Ondruch
093cf36cc6 Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.3 2016-01-12 15:55:56 +01:00
Mattias Ellert
33ffc84ca9 Adapt to gfal 2.10 - uses a different #define
- Exclude ppc64le - has the same issues with cint as ppc and ppc64
2015-11-17 16:40:19 +01:00
47191cc0cf - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-10 18:05:20 +00:00
Mattias Ellert
284227b471 Add versioned dependencies between packages
- Reenable hadoop/hdfs support for F23+
2015-09-25 23:02:42 +02:00
Marcin Juszkiewicz
5a930202e5 Fix build on aarch64 rhbz#1263206
Disable run-time dependency on gccxml in Reflex (allows installing on aarch64)
Enable Cintex on aarch64
2015-09-22 19:53:54 +02:00
Mattias Ellert
fda3bc6d17 Update to 5.34.32
- New sub-package: root-fonts (STIX version 0.9 required by TMathText)
- Use GNU Free instead of Liberation, works better with TMathText
- Fix segfault when embedding Type 1 fonts
- Drop patch root-no-extra-formats.patch (workaround for above problem)
2015-07-03 16:51:58 +02:00
Dennis Gilmore
dc8c69485d - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 22:28:59 +00:00
Mattias Ellert
8875471441 Minor fixes 2015-06-18 09:52:37 +02:00
Mattias Ellert
9af453a9f9 Update to 5.34.30
- New sub-package: root-python3
- Disable hadoop/hdfs support for F23+ (not installable)
- Drop previously backported gcc 5 patches
2015-04-25 09:56:52 +02:00
Mattias Ellert
764ed77834 Update to 5.34.28
- Merge emacs support files into main package (guidelines updated)
2015-04-04 07:18:09 +02:00
Mattias Ellert
1b4917794e Update to 5.34.26
- Drop patch root-xrdversion.patch
2015-03-02 10:37:17 +01:00
Mattias Ellert
5055650a66 Rebuild with fixed cairo (bz 1183242) 2015-01-29 22:12:56 +01:00
6a86160033 Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2 2015-01-17 01:17:04 +09:00
Mattias Ellert
b1435a8750 Update to 5.34.24
- Drop patch root-bsd-misc.patch
2014-12-19 15:16:09 +01:00
Mattias Ellert
db06f3797e Move xproofd binaries from root-proofd to root-xproof
- Adjust EPEL 7 font dependencies
- Rebuild using new binutils (ld bug fixed - F21+)
2014-08-29 07:38:37 +02:00
Mattias Ellert
2f29b57628 Fix changelog date 2014-08-20 05:53:54 +02:00
Mattias Ellert
cb3b62200a Merge branch 'master' of ssh://pkgs.fedoraproject.org/root
Conflicts:
	root.spec
2014-08-20 05:44:39 +02:00
Mattias Ellert
57e8c20a99 Update to 5.34.20
- Re-enable xrootd support for F21+ and EPEL7 (now ported to xrootd 4)
- Do not depend on wine's fonts
- Drop patch root-gccopt.patch
2014-08-20 05:24:01 +02:00
63400c0412 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 00:10:28 +00:00
Mattias Ellert
4abba64da9 Don't use new gcc options for old gcc versions 2014-07-18 22:21:35 +02:00
Mattias Ellert
c2c5b53558 Update to 5.34.19
- Disable xrootd support for F21+ and EPEL7 (root not yet ported to xrootd 4)
- New sub-package: root-net-http
- Drop patches root-thtml-revert.patch, root-gfal2.patch and
  root-proofx-link-iolib.patch
2014-07-18 14:07:44 +02:00
Mattias Ellert
a8c3d7f8d4 Add Requires on root-tree-player to root-gui-ged 2014-06-30 17:00:24 +02:00
Dennis Gilmore
f53e5b0802 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 21:45:58 -05:00
Mattias Ellert
5fbb82bc35 Rebuild for ruby 2.1
- Fix build failure on F21 (missing symbol in libProofx linking)
2014-05-04 14:27:20 +02:00
Mattias Ellert
62af349cdf Update to 5.34.18
- Build GFAL module using libgfal2
- New sub-package: root-vdt
2014-03-22 12:29:07 +01:00
Mattias Ellert
56ba6949fd Update to 5.34.17 2014-02-27 19:27:56 +01:00
Mattias Ellert
3aa26cce30 Update to 5.34.17 2014-02-27 19:20:49 +01:00
Mattias Ellert
7406803d34 Update to 5.34.15
- Drop patch root-davix.patch
2014-02-15 07:32:03 +01:00
Mattias Ellert
0555799990 Rebuild for cfitsio 3.360 2014-01-09 13:56:10 +01:00
Mattias Ellert
2f5267cd4f Rebuild for cfitsio 3.360 2014-01-09 13:53:14 +01:00
Mattias Ellert
803434059f Adapt to davix >= 0.2.8 2013-12-23 09:01:42 +01:00
Mattias Ellert
734af7d621 Use versioned BR on davix-devel 2013-12-20 14:07:09 +01:00
Mattias Ellert
b06f48b228 Update to 5.34.14
- New sub-packages: root-net-davix
- Drop patch root-pythia8-incdir.patch
2013-12-19 13:37:13 +01:00
Mattias Ellert
1c00eef2cf Update to 5.34.13
- Remove java-devel build dependency (not needed with Fedora's libhdfs)
- Adapt to pythia8 >= 8.1.80
2013-12-04 20:18:36 +01:00
Orion Poplawski
5d41d25f47 Fix hadoop lib location 2013-11-25 23:25:50 -07:00
Dave Airlie
e63c936225 rebuilt for GLEW 1.10 2013-11-18 10:52:55 +10:00
Mattias Ellert
de04a944e2 Update sources file 2013-09-10 09:27:03 +02:00
Mattias Ellert
530418d5ef Update to 5.34.09
- New sub-package: root-io-hdfs (Fedora 20+)
- New sub-package: root-sql-sqlite
2013-09-10 09:13:21 +02:00
Mattias Ellert
e2dd5b2818 Exclude armv7hl - cint is not working
- Use _pkgdocdir when defined
- Use texlive-stix
2013-08-08 07:58:04 +02:00
Dennis Gilmore
ab6ed3ddb5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 07:50:39 -05:00
Petr Písař
1904e06a34 Perl 5.18 rebuild 2013-07-18 03:48:46 +02:00
Mattias Ellert
730ad008c2 Rebuild for cfitsio 3.350 2013-07-16 07:15:02 +02:00
Mattias Ellert
4bec959a0d Update to 5.34.09
- New sub-package: root-montecarlo-pythia8
- Drop patch root-gfal-bits.patch
- Use xz compression for source tarfile
- Update ancient root version in EPEL
2013-06-28 08:21:44 +02:00
Mattias Ellert
49f58c442c Merge remote-tracking branch 'origin/el6' 2013-06-28 06:29:35 +02:00
Mattias Ellert
5546392862 Disable gfal support for EPEL 5 ppc 2013-06-28 06:29:03 +02:00
Mattias Ellert
09aa067334 Update to 5.34.07 2013-04-27 20:42:11 +02:00
Mattias Ellert
9820501d6a Update to 5.34.06
- Drop patches root-gviz.patch, root-ruby-version.patch,
  root-rev48681.patch and root-rev48831.patch
2013-04-27 15:14:01 +02:00
Mattias Ellert
d7c587d5ba Rebuild for ruby 2.0
- Rebuild for cfitsio 3.330
2013-03-23 04:20:57 +01:00
Mattias Ellert
8faae32f82 Rebuild for xrootd 3.3
- Backport gfal fixes
2013-03-08 13:20:42 +01:00
Mattias Ellert
86f1cc80ee Update to 5.34.05
- Rebuild for xrootd 3.3
- Patch for latest graphviz (libcgraph)
- Drop patches root-glibc.patch and root-tclass-fix.patch
2013-03-08 07:10:26 +01:00
Dennis Gilmore
acb5cf4e3f - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 15:47:52 -06:00
Adam Jackson
3f94641dcd Rebuild for glew 1.9.0 2012-12-13 13:41:05 -05:00
Mattias Ellert
24a64f4443 Compilation and documentation fixes 2012-10-13 16:45:40 +02:00
Mattias Ellert
03af99697d Update to 5.34.02 2012-10-12 16:19:27 +02:00
Mattias Ellert
5f695dcd1a Rebuild for glew 1.7 2012-07-28 23:52:02 +02:00
Mattias Ellert
da06ad6977 Update to 5.34.01
- Remove sub-packages root-clarens and root-peac (dropped by upstream)
2012-07-18 14:03:19 +02:00
Mattias Ellert
13ab762d36 Do the glibc 2.16 patch properly 2012-07-05 22:22:04 +02:00
Mattias Ellert
bb8ff47db5 Backport fixes for using aclic with versioned libraries
- New sub-package: root-io-gfal
2012-06-29 11:42:07 +02:00
Mattias Ellert
f9dd6d5cb9 Update to 5.34.00
- New sub-package: root-io-gfal
2012-06-10 17:15:48 +02:00
Mattias Ellert
39bbb48145 PPC workaround 2012-02-14 00:44:37 +01:00
Mattias Ellert
0b60ec7d47 Update to 5.28.00h 2012-02-13 16:32:11 +01:00
Mattias Ellert
138fe78ba2 Update to 5.28.00g 2011-09-14 23:03:14 +02:00
Mattias Ellert
1055304fd4 Update to 5.28.00f 2011-08-18 06:56:11 +02:00
38 changed files with 5675 additions and 3082 deletions

2
.gitignore vendored
View file

@ -1 +1,3 @@
/*.tar.gz
/*.tar.xz
/usa.root

37
JupyROOT-on-EPEL Normal file
View file

@ -0,0 +1,37 @@
While all is fine in Fedora and all packages needed to run the JupyROOT
notebook are available there, this is not true for EPEL.
Hopefully the ipython/jupyter stack will at some point be available in
EPEL too, but at this point in time it is not.
However, it is possible to work around this issue using a python
virtual environment.
First, install the required root packages (as root):
$ yum install root root-notebook python3-jupyroot
Then return to your non-root user and create a python3 virtual
environment:
$ python3 -m venv ~/jupyter-env
Activate the environment:
$ . ~/jupyter-env/bin/activate
Then install the missing packages in the virtual environment using pip:
$ pip install notebook metakernel
Then start the root notebook:
$ PYTHONPATH=~/jupyter-env/lib/python3.6/site-packages root --notebook
And that is it.
If you want to start it again and you haven't removed the virtual
environment, only two of the steps are necessary:
$ . ~/jupyter-env/bin/activate
$ PYTHONPATH=~/jupyter-env/lib/python3.6/site-packages root --notebook

BIN
application-x-root.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
info.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

53
root-32bit-tests.patch Normal file
View file

@ -0,0 +1,53 @@
From ac806becc2aa69898d1c5ca3b195d8fa3003238a Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Fri, 13 Mar 2020 16:21:55 +0100
Subject: [PATCH] Run tests on 32 bit
---
test/stressGeometry.cxx | 8 --------
tree/tree/test/CMakeLists.txt | 10 +++-------
2 files changed, 3 insertions(+), 15 deletions(-)
diff --git a/test/stressGeometry.cxx b/test/stressGeometry.cxx
index 253bc8574e9..48da18b06c3 100644
--- a/test/stressGeometry.cxx
+++ b/test/stressGeometry.cxx
@@ -257,14 +257,6 @@ void stressGeometry(const char *exp="*", Bool_t generate_ref=kFALSE, Bool_t vecg
if (opt.Contains(exps[i])) iexp[i] = 1;
else iexp[i] = 0;
}
-#if defined(linux) && !defined(__x86_64__)
- // 32bit linux: we have an error with ATLAS, see https://sft.its.cern.ch/jira/browse/ROOT-9893
- // Disable unless explicitly enabled.
- if (all) {
- printf("DISABLED ATLAS TEST due to known failure on Linux 32 bit!\n");
- iexp[32] = 0;
- }
-#endif
TFile::SetCacheFileDir(".");
TString fname;
for (i=0; i<NG; i++) {
diff --git a/tree/tree/test/CMakeLists.txt b/tree/tree/test/CMakeLists.txt
index 4e903b06daa..2ad9bb52171 100644
--- a/tree/tree/test/CMakeLists.txt
+++ b/tree/tree/test/CMakeLists.txt
@@ -13,13 +13,9 @@ target_include_directories(testTOffsetGeneration PRIVATE ${CMAKE_CURRENT_SOURCE_
ROOT_STANDARD_LIBRARY_PACKAGE(SillyStruct NO_INSTALL_HEADERS HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/SillyStruct.h SOURCES SillyStruct.cxx LINKDEF SillyStructLinkDef.h DEPENDENCIES RIO)
ROOT_SET_OUTPUT_DIRECTORIES(SillyStruct)
ROOT_ADD_GTEST(testBulkApi BulkApi.cxx LIBRARIES RIO Tree TreePlayer)
-#FIXME: tests are having timeout on 32bit CERN VM (in docker container everything is fine),
-# to be reverted after investigation.
-if(NOT CMAKE_SIZEOF_VOID_P EQUAL 4)
- ROOT_ADD_GTEST(testBulkApiMultiple BulkApiMultiple.cxx LIBRARIES RIO Tree TreePlayer TIMEOUT 3000)
- ROOT_ADD_GTEST(testBulkApiVarLength BulkApiVarLength.cxx LIBRARIES RIO Tree TreePlayer)
- ROOT_ADD_GTEST(testBulkApiSillyStruct BulkApiSillyStruct.cxx LIBRARIES RIO Tree TreePlayer SillyStruct)
-endif()
+ROOT_ADD_GTEST(testBulkApiMultiple BulkApiMultiple.cxx LIBRARIES RIO Tree TreePlayer TIMEOUT 3000)
+ROOT_ADD_GTEST(testBulkApiVarLength BulkApiVarLength.cxx LIBRARIES RIO Tree TreePlayer)
+ROOT_ADD_GTEST(testBulkApiSillyStruct BulkApiSillyStruct.cxx LIBRARIES RIO Tree TreePlayer SillyStruct)
ROOT_ADD_GTEST(testTBasket TBasket.cxx LIBRARIES RIO Tree)
ROOT_ADD_GTEST(testTBranch TBranch.cxx LIBRARIES RIO Tree MathCore)
ROOT_ADD_GTEST(testTIOFeatures TIOFeatures.cxx LIBRARIES RIO Tree)
--
2.54.0

View file

@ -0,0 +1,46 @@
From 9d2d6c1a104302e2f84659324b4e8b317cb9ab95 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Fri, 26 Jun 2026 06:51:28 +0200
Subject: [PATCH] Adjust stressGraphics reference
---
test/stressGraphics_zlibng.ref | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/stressGraphics_zlibng.ref b/test/stressGraphics_zlibng.ref
index b7ca1568c66..2fda1276315 100644
--- a/test/stressGraphics_zlibng.ref
+++ b/test/stressGraphics_zlibng.ref
@@ -7,7 +7,7 @@
patterns 23688 1500 19305 200 143676 123000 47075 11000 23076 1500
crown 2785 50 14546 100 19178 9000 7605 4000 2829 50
piechart 67345 200 74560 3000 32180 15000 29168 15000 66962 200
- ttext1 1025 150 12866 150 32266 9900 29901 5000 1072 200
+ ttext1 1025 150 12866 200 32266 9900 29901 5000 1072 200
ttext2 432 50 12743 50 9517 150 5306 700 473 50
tlatex1 5140 50 14050 50 16377 1300 12462 500 5170 70
tlatex2 5488 80 13507 100 18439 700 12061 500 5502 80
@@ -18,9 +18,9 @@
itbf 5600 400 13302 300 16868 400 15083 800 5638 400
tmathtext 14193187 4000000 12984 100 27112 9500 25080 3000 14193352 4000000
transparency 2386 50 14700 100 16514 7000 24701 12000 2554 100
- transpad 16185 5000 17131 350 22801 9500 14232 1000 11271 5000
+ transpad 16185 5000 17131 350 22801 9500 14232 1500 11271 5000
statfitparam 27683 400 23370 300 44898 11000 30209 5000 37580 400
- tgaxis1 20424 400 21388 300 27719 11000 16044 600 20704 400
+ tgaxis1 20424 400 21388 300 27719 11000 16044 700 20704 400
tgaxis2 15874 100 19140 300 27682 10300 15197 550 15905 100
tgaxis3 22678 300 42796 200 44177 17000 20788 11000 22866 300
tgaxis4 3817 600 14405 250 19907 6300 10674 900 4523 600
@@ -71,7 +71,7 @@
annotation3d 547845 3000 193427 3000 32383 12000 58073 20000 547493 3000
tgraph2d3 16675 3000 29541 500 40536 11300 33519 3900 16452 4000
ntuple1 256544 5000 382044 7000 54446 30400 45002 6500 261593 7000
- quarks 4759 180 14134 100 32913 600 25421 1000 4790 180
+ quarks 4759 180 14134 200 32913 600 25421 1000 4790 180
timage 1442666 150000 12900 100 26100 100 374206 15000 1102279 250000
zoomtf1 6130 500 16528 300 49750 14000 29288 4000 5429 500
zoomfit 6200 700 15706 200 31219 11000 18280 3200 6113 800
--
2.54.0

View file

@ -0,0 +1,47 @@
From 9fc24a9cc827028d78c983eea5d18ac6a705e806 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Fri, 26 Jun 2026 17:20:27 +0200
Subject: [PATCH] Revert "[cppyy] Mark `addressof` test as `xfail` on
modules=OFF build with C++17"
This reverts commit 5eb0e6466ed1b2c29853ba4bfa928dd1da3e4bcd.
---
.../pyroot/cppyy/cppyy/test/test_datatypes.py | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/bindings/pyroot/cppyy/cppyy/test/test_datatypes.py b/bindings/pyroot/cppyy/cppyy/test/test_datatypes.py
index e66e36529ec..71e26dd1d9b 100644
--- a/bindings/pyroot/cppyy/cppyy/test/test_datatypes.py
+++ b/bindings/pyroot/cppyy/cppyy/test/test_datatypes.py
@@ -5,18 +5,6 @@ from support import setup_make, pylong, pyunicode, IS_MAC, IS_MAC_ARM, IS_WINDOW
test_dct = "datatypes_cxx"
-def has_cpp_20():
- import cppyy
-
- return cppyy.gbl.gInterpreter.ProcessLine("__cplusplus;") >= 202002
-
-
-def is_modules_off():
- import cppyy
-
- return "runtime_cxxmodules" not in cppyy.gbl.gROOT.GetConfigFeatures()
-
-
class TestDATATYPES:
def setup_class(cls):
import cppyy
@@ -2351,8 +2339,7 @@ class TestDATATYPES:
assert str(bt(1)) == 'True'
assert str(bt(0)) == 'False'
- @mark.xfail(strict=True, run=not IS_WINDOWS, condition=IS_MAC_ARM or (not has_cpp_20() and is_modules_off()), reason="Crashes on mac-beta ARM64 and fails on Windows \
- assertion error for runtime_cxxmodules=OFF build that is explained in GitHub issue #21005")
+ @mark.xfail(strict=True, run=not IS_WINDOWS, condition=IS_MAC_ARM, reason="Crashes on mac-beta ARM64 and fails on Windows")
def test49_addressof_method(self):
"""Use of addressof for (const) methods"""
--
2.54.0

View file

@ -0,0 +1,60 @@
From 4da50ef374cd231163dff77493f9367cd62583d9 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Sun, 30 Mar 2025 21:23:14 +0200
Subject: [PATCH] Revert "[test] Fetch the geometries from EOS and not from the
website"
This reverts commit a8a879ce252e45405452db38d9178c7883582a7d.
---
test/stressGeometry.cxx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/stressGeometry.cxx b/test/stressGeometry.cxx
index 7fb6bf97e7..f8d78f4f54 100644
--- a/test/stressGeometry.cxx
+++ b/test/stressGeometry.cxx
@@ -1,6 +1,6 @@
// Program to check a TGeo geometry
// The first time you run this program, the geometry files will be taken
-// from /eos/root-eos/testfiles/ (previously from http://root.cern/files)
+// from http://root.cern/files
//
// How the program works
// If the file <geom_name>_ref.root does not exist, it is generated. The file
@@ -274,13 +274,13 @@ void stressGeometry(const char *exp="*", Bool_t generate_ref=kFALSE, Bool_t vecg
delete gGeoManager;
gGeoManager = 0;
}
- TGeoManager::Import(Form("root://eospublic.cern.ch//eos/root-eos/testfiles/%s",fname.Data()));
+ TGeoManager::Import(Form("http://root.cern/files/%s",fname.Data()));
if (!gGeoManager) return;
if (vecgeom) TVirtualGeoConverter::Instance()->ConvertGeometry();
fname = TString::Format("files/%s_ref_%d.root", exps[i],versions[i]);
- if (gen_ref || !TFile::Open(Form("root://eospublic.cern.ch//eos/root-eos/testfiles//%s_ref_%d.root",exps[i],versions[i]),"CACHEREAD")) {
+ if (gen_ref || !TFile::Open(Form("http://root.cern/files/%s_ref_%d.root",exps[i],versions[i]),"CACHEREAD")) {
if (!gen_ref) fprintf(stderr,"File: %s does not exist, generating it\n", fname.Data());
else fprintf(stderr,"Generating reference file %s\n", fname.Data());
WriteRef(i);
@@ -320,7 +320,7 @@ void ReadRef(Int_t kexp) {
TFile *f = 0;
//use ref_[version[i]] files
if (!gen_ref)
- fname = TString::Format("root://eospublic.cern.ch//eos/root-eos/testfiles//%s_ref_%d.root", exps[kexp],versions[kexp]);
+ fname = TString::Format("http://root.cern/files/%s_ref_%d.root", exps[kexp],versions[kexp]);
else
fname.Format("files/%s_ref_%d.root", exps[kexp],versions[kexp]);
@@ -546,7 +546,7 @@ void InspectDiff(const char* exp="alice",Long64_t ientry=-1) {
Float_t rad = 0.;
TString fname(TString::Format("%s.root",exp));
if (gSystem->AccessPathName(fname)) {
- TGeoManager::Import(Form("root://eospublic.cern.ch//eos/root-eos/testfiles//%s",fname.Data()));
+ TGeoManager::Import(Form("http://root.cern/files/%s",fname.Data()));
} else {
TGeoManager::Import(fname);
}
--
2.49.0

View file

@ -0,0 +1,48 @@
From a5b9525ea1575706a523296bb47ac15f33935838 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Mon, 2 Jun 2025 21:22:39 +0200
Subject: [PATCH] Save memory. Do not link to LLVM libraries in parallel
---
core/clingutils/test/CMakeLists.txt | 3 +++
interpreter/CppInterOp/unittests/CppInterOp/CMakeLists.txt | 6 ++++++
2 files changed, 9 insertions(+)
diff --git a/core/clingutils/test/CMakeLists.txt b/core/clingutils/test/CMakeLists.txt
index a6c7aedac99..90ac0139c24 100644
--- a/core/clingutils/test/CMakeLists.txt
+++ b/core/clingutils/test/CMakeLists.txt
@@ -36,3 +36,6 @@ if(NOT builtin_clang)
endif()
ROOT_ADD_UNITTEST_DIR(Core ${CLING_LIBRARIES} $<TARGET_OBJECTS:ClingUtils>)
+
+# Save memory. Do not link to LLVM libraries in parallel
+add_dependencies(coreclingutilstestUnit CppInterOpTests)
diff --git a/interpreter/CppInterOp/unittests/CppInterOp/CMakeLists.txt b/interpreter/CppInterOp/unittests/CppInterOp/CMakeLists.txt
index 1d6ccd3e865..dc98cdfc29a 100644
--- a/interpreter/CppInterOp/unittests/CppInterOp/CMakeLists.txt
+++ b/interpreter/CppInterOp/unittests/CppInterOp/CMakeLists.txt
@@ -67,6 +67,9 @@ add_cppinterop_unittest(CppInterOpTests
${EXTRA_TEST_SOURCE_FILES}
)
+# Save memory. Do not link to LLVM libraries in parallel
+add_dependencies(CppInterOpTests DynamicLibraryManagerTests)
+
if(NOT WIN32)
set_source_files_properties(VariableReflectionTest.cpp PROPERTIES COMPILE_FLAGS
"-Wno-pedantic"
@@ -113,6 +116,9 @@ endif()
add_dependencies(DynamicLibraryManagerTests TestSharedLib)
+# Save memory. Do not link to LLVM libraries in parallel
+add_dependencies(DynamicLibraryManagerTests Cling)
+
#export_executable_symbols_for_plugins(TestSharedLib)
add_subdirectory(TestSharedLib)
--
2.54.0

View file

@ -1,86 +0,0 @@
diff -ur root-5.32.03.orig/core/unix/src/TUnixSystem.cxx root-5.32.03/core/unix/src/TUnixSystem.cxx
--- root-5.32.03.orig/core/unix/src/TUnixSystem.cxx 2012-05-09 12:59:38.000000000 +0200
+++ root-5.32.03/core/unix/src/TUnixSystem.cxx 2012-06-28 19:25:22.486639614 +0200
@@ -453,6 +453,9 @@
TString lib = _dyld_get_image_name(i++);
+ TRegexp sovers = "libCore\\.[0-9]+\\.*[0-9]*\\.so";
+ TRegexp dyvers = "libCore\\.[0-9]+\\.*[0-9]*\\.dylib";
+
#ifndef ROOTPREFIX
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
// first loaded is the app so set ROOTSYS to app bundle
@@ -467,7 +470,8 @@
}
}
#else
- if (lib.EndsWith("libCore.dylib") || lib.EndsWith("libCore.so")) {
+ if (lib.EndsWith("libCore.dylib") || lib.EndsWith("libCore.so") ||
+ lib.Index(sovers) != kNPOS || lib.Index(dyvers) != kNPOS) {
char respath[kMAXPATHLEN];
if (!realpath(lib, respath)) {
if (!gSystem->Getenv("ROOTSYS"))
@@ -489,9 +493,23 @@
// add all libs loaded before libSystem.B.dylib
if (!gotFirstSo && (lib.EndsWith(".dylib") || lib.EndsWith(".so"))) {
- if (linkedDylibs.Length())
- linkedDylibs += " ";
- linkedDylibs += lib;
+ sovers = "\\.[0-9]+\\.*[0-9]*\\.so";
+ Ssiz_t idx = lib.Index(sovers);
+ if (idx != kNPOS) {
+ lib.Remove(idx);
+ lib += ".so";
+ }
+ dyvers = "\\.[0-9]+\\.*[0-9]*\\.dylib";
+ idx = lib.Index(dyvers);
+ if (idx != kNPOS) {
+ lib.Remove(idx);
+ lib += ".dylib";
+ }
+ if (!gSystem->AccessPathName(lib, kReadPermission)) {
+ if (linkedDylibs.Length())
+ linkedDylibs += " ";
+ linkedDylibs += lib;
+ }
}
}
#endif
@@ -2849,12 +2867,15 @@
delete [] exe;
exe = longerexe;
}
+ TRegexp sovers = "\\.so\\.[0-9]+";
#else
const char *cLDD="ldd";
#if defined(R__AIX)
const char *cSOEXT=".a";
+ TRegexp sovers = "\\.a\\.[0-9]+";
#else
const char *cSOEXT=".so";
+ TRegexp sovers = "\\.so\\.[0-9]+";
#endif
#endif
FILE *p = OpenPipe(TString::Format("%s %s", cLDD, exe), "r");
@@ -2874,10 +2895,15 @@
}
if (solibName) {
TString solib = solibName->String();
- if (solib.EndsWith(cSOEXT)) {
- if (!linkedLibs.IsNull())
- linkedLibs += " ";
- linkedLibs += solib;
+ Ssiz_t idx = solib.Index(sovers);
+ if (solib.EndsWith(cSOEXT) || idx != kNPOS) {
+ if (idx != kNPOS)
+ solib.Remove(idx+3);
+ if (!AccessPathName(solib, kReadPermission)) {
+ if (!linkedLibs.IsNull())
+ linkedLibs += " ";
+ linkedLibs += solib;
+ }
}
}
delete tok;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

View file

@ -0,0 +1,27 @@
From 2920a892a5db1c24bb8af34c63aacc1438a18247 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Sun, 28 Jun 2026 16:54:54 +0200
Subject: [PATCH 1/3] [core] The old TUUID constructor can create either
version 1 or 3
Do not fail test if version 3 is returned.
---
core/base/test/UUIDTest.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/base/test/UUIDTest.cxx b/core/base/test/UUIDTest.cxx
index dea3700052b..c834223f6d0 100644
--- a/core/base/test/UUIDTest.cxx
+++ b/core/base/test/UUIDTest.cxx
@@ -14,7 +14,7 @@ TEST(TUUID, UUIDv4)
EXPECT_EQ(10000u, uuids.size());
TUUID u;
- EXPECT_EQ('1', u.AsString()[14]);
+ EXPECT_TRUE('1' == u.AsString()[14] || '3' == u.AsString()[14]);
u = TUUID::UUIDv4();
std::string str = u.AsString();
EXPECT_EQ('4', str[14]);
--
2.54.0

View file

@ -0,0 +1,13 @@
diff --git a/misc/minicern/CMakeLists.txt b/misc/minicern/CMakeLists.txt
index bae895f701..8d721f97ab 100644
--- a/misc/minicern/CMakeLists.txt
+++ b/misc/minicern/CMakeLists.txt
@@ -2,7 +2,7 @@
# CMakeLists.txt file for building ROOT misc/minicern package
############################################################################
-ROOT_LINKER_LIBRARY(minicern *.c *.f TYPE STATIC)
+ROOT_LINKER_LIBRARY(minicern *.c *.f TYPE STATIC NOINSTALL)
set_property(TARGET minicern PROPERTY POSITION_INDEPENDENT_CODE ON)
target_link_libraries(minicern ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})

File diff suppressed because it is too large Load diff

View file

@ -1,55 +0,0 @@
diff -ur root-trunk.orig/configure root-trunk/configure
--- root-trunk.orig/configure 2010-12-04 00:23:49.000000000 +0100
+++ root-trunk/configure 2010-12-04 19:40:46.810052008 +0100
@@ -2502,13 +2502,13 @@
message "Checking for libftgl"
if pkg-config --exists ftgl ; then
result "ok"
- message "Checking for ftgl version > 2.1.2"
+ message "Checking for ftgl"
ftgl_version=`pkg-config --modversion ftgl | \
tr '.' ' ' | \
awk 'BEGIN { FS = " "; } \
{ printf "%d", ($''1 * 1000 + $''2) * 1000 + $''3;}'`
# Use FTGL/ftgl.h when > 2.1.2
- if test $ftgl_version -gt 2001002 ; then
+ if test $ftgl_version -gt 0 ; then
result "ok"
ftglincdir=`pkg-config --cflags-only-I ftgl | sed 's/-I//g'`
ftgllibs=`pkg-config --libs-only-l ftgl`
diff -ur root-trunk.orig/graf3d/gl/src/TGLFontManager.cxx root-trunk/graf3d/gl/src/TGLFontManager.cxx
--- root-trunk.orig/graf3d/gl/src/TGLFontManager.cxx 2010-11-03 22:51:45.000000000 +0100
+++ root-trunk/graf3d/gl/src/TGLFontManager.cxx 2010-12-04 19:36:46.716052000 +0100
@@ -25,7 +25,13 @@
// Direct inclussion of FTGL headers is deprecated in ftgl-2.1.3 while
// ftgl-2.1.2 shipped with ROOT requires manual inclusion.
#ifndef BUILTIN_FTGL
-# include <FTGL/ftgl.h>
+# include <FTGL/FTFont.h>
+# include <FTGL/FTGLExtrdFont.h>
+# include <FTGL/FTGLOutlineFont.h>
+# include <FTGL/FTGLPolygonFont.h>
+# include <FTGL/FTGLTextureFont.h>
+# include <FTGL/FTGLPixmapFont.h>
+# include <FTGL/FTGLBitmapFont.h>
#else
# include "FTFont.h"
# include "FTGLExtrdFont.h"
diff -ur root-trunk.orig/graf3d/gl/src/TGLText.cxx root-trunk/graf3d/gl/src/TGLText.cxx
--- root-trunk.orig/graf3d/gl/src/TGLText.cxx 2010-11-03 22:51:45.000000000 +0100
+++ root-trunk/graf3d/gl/src/TGLText.cxx 2010-12-04 19:36:46.716052000 +0100
@@ -23,7 +23,13 @@
// Direct inclussion of FTGL headers is deprecated in ftgl-2.1.3 while
// ftgl-2.1.2 shipped with ROOT requires manual inclusion.
#ifndef BUILTIN_FTGL
-# include <FTGL/ftgl.h>
+# include <FTGL/FTFont.h>
+# include <FTGL/FTGLExtrdFont.h>
+# include <FTGL/FTGLOutlineFont.h>
+# include <FTGL/FTGLPolygonFont.h>
+# include <FTGL/FTGLTextureFont.h>
+# include <FTGL/FTGLPixmapFont.h>
+# include <FTGL/FTGLBitmapFont.h>
#else
# include "FTFont.h"
# include "FTGLExtrdFont.h"

6
root-get-src.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
VERSION=$1
wget -N https://root.cern/download/root_v${VERSION}.source.tar.gz
tar -z -x -f root_v${VERSION}.source.tar.gz
find root-${VERSION}/fonts -type f -a '!' -name 'STIX*' -exec rm {} ';'
tar -J -c --group root --owner root -f root-${VERSION}.tar.xz root-${VERSION}

View file

@ -1,61 +0,0 @@
diff -ur root-5.28.00h.orig/config/Makefile.in root-5.28.00h/config/Makefile.in
--- root-5.28.00h.orig/config/Makefile.in 2011-11-24 17:12:55.000000000 +0100
+++ root-5.28.00h/config/Makefile.in 2013-03-02 08:09:02.230002472 +0100
@@ -154,6 +154,7 @@
GFALLIBDIR := @gfallibdir@
GFALCLILIB := @gfallib@
GFALINCDIR := $(filter-out /usr/include, @gfalincdir@)
+SRMIFCEINCDIR := $(filter-out /usr/include, @srmifceincdir@)
BUILDGLITE := @buildglite@
GLITELIBDIR := @glitelibdir@
diff -ur root-5.28.00h.orig/configure root-5.28.00h/configure
--- root-5.28.00h.orig/configure 2011-11-24 17:12:57.000000000 +0100
+++ root-5.28.00h/configure 2013-03-02 08:10:33.684863607 +0100
@@ -1426,6 +1426,7 @@
gviz-incdir Graphviz support, location of gvc.h
gviz-libdir Graphviz support, location of libgvplugin_core
gfal-incdir GFAL support, location of gfal_api.h
+ srm-ifce-incdir GFAL support, location of gfal_srm_ifce_types.h
gfal-libdir GFAL support, location of libgfal
glew-incdir GLEW support, location of glew.h
glew-libdir GLEW support, location of libGLEW
@@ -1733,6 +1734,7 @@
--with-gviz-libdir=*) gvizlibdir=$optarg ; enable_gviz="yes" ;;
--with-gfal-incdir=*) gfalincdir=$optarg ; enable_gfal="yes" ;;
--with-gfal-libdir=*) gfallibdir=$optarg ; enable_gfal="yes" ;;
+ --with-srm-ifce-incdir=*) srmifceincdir=$optarg;;
--with-glew-incdir=*) glewincdir=$optarg ; enable_builtin_glew=no;;
--with-glew-libdir=*) glewlibdir=$optarg ; enable_builtin_glew=no;;
--with-gsl-incdir=*) gslincdir=$optarg ; enable_gsl="yes" ;;
@@ -3199,6 +3201,12 @@
gfallib=$found_lib
gfallibdir=$found_dir
+ check_header "gfal_srm_ifce_types.h" "$srmifceincdir" \
+ /opt/lcg/include /opt/srm-ifce/include /usr/local/lcg/include \
+ /usr/local/srm-ifce/include
+ srmifceinc=$found_hdr
+ srmifceincdir=$found_dir
+
if test "x$gfalincdir" = "x" || test "x$gfallib" = "x"; then
enable_gfal="no"
fi
@@ -6341,6 +6349,7 @@
-e "s|@exceptions@|$enable_exceptions|" \
-e "s|@explicitlink@|$enable_explicitlink|" \
-e "s|@gfalincdir@|$gfalincdir|" \
+ -e "s|@srmifceincdir@|$srmifceincdir|" \
-e "s|@gfallib@|$gfallib|" \
-e "s|@gfallibdir@|$gfallibdir|" \
-e "s|@enable_xft@|$enable_xft|" \
diff -ur root-5.28.00h.orig/io/gfal/Module.mk root-5.28.00h/io/gfal/Module.mk
--- root-5.28.00h.orig/io/gfal/Module.mk 2011-11-24 17:12:56.000000000 +0100
+++ root-5.28.00h/io/gfal/Module.mk 2013-03-02 08:04:00.349761906 +0100
@@ -70,3 +70,6 @@
##### extra rules ######
$(GFALO) $(GFALDO): CXXFLAGS := $(filter-out -Wshadow,$(CXXFLAGS))
$(GFALO): CXXFLAGS += $(GFALINCDIR:%=-I%)
+$(GFALO): CXXFLAGS += $(SRMIFCEINCDIR:%=-I%)
+$(GFALO): CXXFLAGS += $(shell pkg-config --cflags glib-2.0)
+$(GFALO): CXXFLAGS += -D_FILE_OFFSET_BITS=64

View file

@ -1,35 +0,0 @@
diff -ur root-5.34.00.orig/build/rmkdepend/main.c root-5.34.00/build/rmkdepend/main.c
--- root-5.34.00.orig/build/rmkdepend/main.c 2012-06-05 15:31:46.000000000 +0200
+++ root-5.34.00/build/rmkdepend/main.c 2012-07-05 20:42:58.938953353 +0200
@@ -60,7 +60,7 @@
# endif
# elif defined(__CYGWIN__)
extern int fchmod(int, mode_t);
-#else
+# elif !defined(__GLIBC__) || __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 16)
extern int fchmod(int, int);
# endif
#endif
diff -ur root-5.34.00.orig/cint/tool/rmkdepend/main.c root-5.34.00/cint/tool/rmkdepend/main.c
--- root-5.34.00.orig/cint/tool/rmkdepend/main.c 2012-06-05 15:31:30.000000000 +0200
+++ root-5.34.00/cint/tool/rmkdepend/main.c 2012-07-05 20:42:58.492949104 +0200
@@ -58,7 +58,7 @@
#if !defined(MAC_OS_X_VERSION_10_4)
extern int fchmod();
#endif
-#else
+#elif !defined(__GLIBC__) || __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 16)
extern int fchmod();
#endif
#endif
diff -ur root-5.34.00.orig/core/unix/src/TUnixSystem.cxx root-5.34.00/core/unix/src/TUnixSystem.cxx
--- root-5.34.00.orig/core/unix/src/TUnixSystem.cxx 2012-06-05 15:31:17.000000000 +0200
+++ root-5.34.00/core/unix/src/TUnixSystem.cxx 2012-07-05 20:29:29.969242837 +0200
@@ -98,6 +98,7 @@
#include <pwd.h>
#include <grp.h>
#include <errno.h>
+#include <sys/resource.h>
#include <sys/wait.h>
#include <time.h>
#include <sys/time.h>

View file

@ -1,35 +0,0 @@
{
gEnv->SetValue("Root.DynamicPath", "@PWD@/lib");
gEnv->SetValue("Root.MacroPath", "@PWD@/macros");
gEnv->SetValue("Root.PluginPath", "@PWD@/etc/plugins");
gSystem->AddIncludePath("-I@PWD@/include");
gSystem->AddIncludePath("-I@PWD@/cint/cint/include");
gSystem->AddIncludePath("-I@PWD@/cint/cint/stl");
gSystem->AddIncludePath("-I@PWD@/cint/cint/lib");
TInterpreter::Instance()->AddIncludePath("@PWD@/include");
TInterpreter::Instance()->AddIncludePath("@PWD@/cint/cint/include");
TInterpreter::Instance()->AddIncludePath("@PWD@/cint/cint/stl");
TInterpreter::Instance()->AddIncludePath("@PWD@/cint/cint/lib");
#include <RtypesCint.h>
#include <iostream>
#include <string>
#include <DllImport.h>
gROOT->GetPluginManager()->LoadHandlersFromPluginDirs("");
gROOT->GetPluginManager()->AddHandler("TVirtualPS","image",
"TImageDump","Postscript",
"TImageDump()");
gROOT->GetPluginManager()->AddHandler("TVirtualStreamerInfo",
"*","TStreamerInfo",
"RIO","TStreamerInfo()");
gROOT->GetPluginManager()->AddHandler("TVirtualGraphPainter", "*",
"TGraphPainter","GraphPainter",
"TGraphPainter()");
delete (TFile*) gROOT->ProcessLine(".x tutorials/hsimple.C");
THtml html;
html.SetProductName("ROOT");
html.SetEtcDir("@PWD@/etc/html");
html.SetHomepage("http://root.cern.ch");
html.LoadAllLibs();
html.SetBatch(kTRUE);
html.MakeAll();
}

View file

@ -1,11 +0,0 @@
include $(MODULE)/Module.mk
includelist:
@list=includelist-`tr / - <<< $(MODULE)` ; \
rm -f $$list ; \
for h in $(filter-out %.cw %.pri, $(ALLHDRS)) ; do \
sed 's!^include!%{_includedir}/%{name}!' <<< $$h >> $$list ; \
done ; \
if [ -r $$list ] ; then \
sort -u $$list > $$list.unique ; \
mv $$list.unique $$list ; \
fi

15
root-memory-arm-x86.patch Normal file
View file

@ -0,0 +1,15 @@
--- root-6.12.04.orig/interpreter/CMakeLists.txt 2017-12-13 08:27:42.000000000 +0100
+++ root-6.12.04/interpreter/CMakeLists.txt 2018-01-11 16:33:13.034850962 +0100
@@ -75,6 +75,12 @@
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} /ignore:4049,4206,4217,4221")
endif()
+# Reduce memory usage during linking on ARM and x86 by generating minimal debuginfo
+if(ROOT_ARCHITECTURE STREQUAL "linuxarm" OR ROOT_ARCHITECTURE STREQUAL "linux")
+ string(REPLACE " -g " " -g1 " CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
+ string(REPLACE " -g " " -g1 " CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
+endif()
+
set(LLVM_TARGETS_TO_BUILD ${ROOT_CLING_TARGET} CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
if(clingtest)

View file

@ -1,44 +0,0 @@
diff -ur root-5.32.00.orig/core/meta/src/TCint.cxx root-5.32.00/core/meta/src/TCint.cxx
--- root-5.32.00.orig/core/meta/src/TCint.cxx 2011-12-02 12:41:50.000000000 +0100
+++ root-5.32.00/core/meta/src/TCint.cxx 2012-02-18 12:07:12.157520013 +0100
@@ -320,23 +320,27 @@
ProcessLine("#define ROOT_TError 0");
ProcessLine("#define ROOT_TGenericClassInfo 0");
- TString include;
- // Add the root include directory to list searched by default
+ Int_t includes = gEnv->GetValue("Cint.Includes", 1);
+ if (includes > 0) {
+ TString include;
+ // Add the root include directory to list searched by default
#ifndef ROOTINCDIR
- include = gSystem->Getenv("ROOTSYS");
- include.Append("/include");
+ include = gSystem->Getenv("ROOTSYS");
+ include.Append("/include");
#else
- include = ROOTINCDIR;
+ include = ROOTINCDIR;
#endif
- TCint::AddIncludePath(include);
+ TCint::AddIncludePath(include);
- // Allow the usage of ClassDef and ClassImp in interpreted macros
- // if RtypesCint.h can be found (think of static executable without include/)
- char* whichTypesCint = gSystem->Which(include, "RtypesCint.h");
- if (whichTypesCint) {
- ProcessLine("#include <RtypesCint.h>");
- delete[] whichTypesCint;
- }
+ // Allow the usage of ClassDef and ClassImp in interpreted macros
+ // if RtypesCint.h can be found (think of static executable without
+ // include/)
+ char* whichTypesCint = gSystem->Which(include, "RtypesCint.h");
+ if (whichTypesCint) {
+ ProcessLine("#include <RtypesCint.h>");
+ delete[] whichTypesCint;
+ }
+ }
}

View file

@ -0,0 +1,54 @@
From ea7bed3a096949588b1b9086ddf66b2f7892a385 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Thu, 4 Dec 2025 23:13:28 +0100
Subject: [PATCH] Dont export Python modules
---
bindings/pyroot/cppyy/CPyCppyy/CMakeLists.txt | 3 +--
bindings/pyroot/pythonizations/CMakeLists.txt | 9 +--------
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/bindings/pyroot/cppyy/CPyCppyy/CMakeLists.txt b/bindings/pyroot/cppyy/CPyCppyy/CMakeLists.txt
index 95ca00bde9f..a12d3f05e4d 100644
--- a/bindings/pyroot/cppyy/CPyCppyy/CMakeLists.txt
+++ b/bindings/pyroot/cppyy/CPyCppyy/CMakeLists.txt
@@ -120,8 +120,7 @@ install(TARGETS CPyCppyy EXPORT ${CMAKE_PROJECT_NAME}Exports
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries)
-install(TARGETS cppyy EXPORT ${CMAKE_PROJECT_NAME}Exports
- RUNTIME DESTINATION ${CPPYY_INSTALL_DIR} COMPONENT libraries # Windows
+install(TARGETS cppyy RUNTIME DESTINATION ${CPPYY_INSTALL_DIR} COMPONENT libraries # Windows
LIBRARY DESTINATION ${CPPYY_INSTALL_DIR} COMPONENT libraries
ARCHIVE DESTINATION ${CPPYY_INSTALL_DIR} COMPONENT libraries)
diff --git a/bindings/pyroot/pythonizations/CMakeLists.txt b/bindings/pyroot/pythonizations/CMakeLists.txt
index 32d7d54b8da..5128e6d337c 100644
--- a/bindings/pyroot/pythonizations/CMakeLists.txt
+++ b/bindings/pyroot/pythonizations/CMakeLists.txt
@@ -63,12 +63,6 @@ if(NOT MSVC)
target_compile_options(${libname} PRIVATE -Wno-strict-aliasing)
endif()
-
-# Create meta-target PyROOT3 (INTERFACE library)
-# Export of targets are not supported for custom targets(add_custom_targets())
-add_library(PyROOT INTERFACE)
-target_link_libraries(PyROOT INTERFACE cppyy_backend cppyy ROOTPythonizations)
-
# Define library output directories for build and install trees
set(pymoduledir_build "${localruntimedir}/ROOT")
set(pymoduledir_install "${CMAKE_INSTALL_PYTHONDIR}/ROOT")
@@ -93,8 +87,7 @@ if(NOT MSVC)
endif()
# Install library
-install(TARGETS ${libname} EXPORT ${CMAKE_PROJECT_NAME}Exports
- RUNTIME DESTINATION ${pymoduledir_install} COMPONENT libraries
+install(TARGETS ${libname} RUNTIME DESTINATION ${pymoduledir_install} COMPONENT libraries
LIBRARY DESTINATION ${pymoduledir_install} COMPONENT libraries
ARCHIVE DESTINATION ${pymoduledir_install} COMPONENT libraries)
--
2.55.0

View file

@ -0,0 +1,68 @@
From 87e5571eef573a1ab802c9b5b68e4215045689b9 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Sat, 29 Aug 2026 13:15:53 +0200
Subject: [PATCH] [pdf] Fix calculation of kerning distances in generated PDF
files
Note that this uses the system fonts on Fedora rather than the bundled
fonts in the root sources.
Using the following test program
void ttest()
{
auto c = new TCanvas("c", "", 300, 100);
auto t = new TText(0.1, 0.4, "Raw assymmetry");
t->SetTextSize(0.5);
t->SetTextFont(132);
t->Draw();
c->Print("ttest.pdf");
c->Print("ttest.eps");
c->Print("ttest.png");
}
The .eps and .png images look like expected. But the .pdf image only
shows the initial capital "R", not the full "Raw assymmetry" text.
After decompressing the generated .pdf file:
cpdf -decompress ttest.pdf -o ttest.dec.pdf
the decompressed file shows that the kerning distances are incorrect:
[(R) -2147483648(a) 24(w) -2147483648( ) 0(a) 0(s) -2147483648(s) 17(y) 0(m) 0(m) 8(e) 8(t) 0(r) -2147483648(y) ]
Something has clearly gone wrong here. -2147483648 is the minimum
value that can be stored in a 16 bit signed integer.
The origin of the problem is a calculation of a difference between a
UInt_t (i.e. unsigned) value and an Int_t (i.e. signed) value in the
TPDF::Text() method. Casting the UInt_t to an Int_t before calculating
the difference, as done in this commit, fixes the problem. With this
change the kerning distances are better:
[(R) -2(a) 24(w) -2( ) 0(a) 0(s) -2(s) 17(y) 0(m) 0(m) 8(e) 8(t) 0(r) -2(y) ]
and the generated .pdf file shows the complete text. The generated
.png and .eps files do not change (except for the time stamp in the
.eps file).
---
graf2d/postscript/src/TPDF.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/graf2d/postscript/src/TPDF.cxx b/graf2d/postscript/src/TPDF.cxx
index 21a2506010f..e1cd9b10d10 100644
--- a/graf2d/postscript/src/TPDF.cxx
+++ b/graf2d/postscript/src/TPDF.cxx
@@ -1943,7 +1943,7 @@ void TPDF::Text(Double_t xx, Double_t yy, const char *chars)
tmp[0] = chars[i-1];
UInt_t width=0;
t.GetTextAdvance(width, &tmp[0], kFALSE);
- Double_t wwl = gPad->AbsPixeltoX(width - charDeltas[i]) - gPad->AbsPixeltoX(0);
+ Double_t wwl = gPad->AbsPixeltoX((Int_t)width - charDeltas[i]) - gPad->AbsPixeltoX(0);
wwl -= 0.5*(gPad->AbsPixeltoX(1) - gPad->AbsPixeltoX(0)); // half a pixel ~ rounding error
charDeltas[i] = (Int_t)((1000.0/Float_t(fontsize))*(XtoPDF(wwl) - XtoPDF(0))/scale);
}
--
2.55.0

View file

@ -1,25 +0,0 @@
diff -ur root-5.28.00h.orig/configure root-5.28.00h/configure
--- root-5.28.00h.orig/configure 2011-11-24 17:12:57.000000000 +0100
+++ root-5.28.00h/configure 2013-03-02 12:52:21.823338782 +0100
@@ -2955,21 +2955,6 @@
check_library "libQt3Support Qt3Support Qt3Support$qt4suffix Qt3Support4" \
"$enable_shared" "$found_raw_dir" ""
qtlib="$qtlib $found_lib"
- check_library "libQtOpenGL QtOpenGL QtOpenGL$qt4suffix QtOpenGL4" \
- "$enable_shared" "$found_raw_dir" ""
- qtlib="$qtlib $found_lib"
- check_library "libQtSvg QtSvg QtSvg$qt4suffix QtSvg4" \
- "$enable_shared" "$found_raw_dir" ""
- qtlib="$qtlib $found_lib"
- check_library "libQtXml QtXml QtXml$qt4suffix QtXml4" \
- "$enable_shared" "$found_raw_dir" ""
- qtlib="$qtlib $found_lib"
- check_library "libQtWebKit QtWebKit QtWebKit$qt4suffix QtWebKit4" \
- "$enable_shared" "$found_raw_dir" ""
- qtlib="$qtlib $found_lib"
- check_library "libQtNetwork QtNetwork QtNetwork$qt4suffix QtNetwork4" \
- "$enable_shared" "$found_raw_dir" ""
- qtlib="$qtlib $found_lib"
else
qtinc=
qtmainincdir=

87
root-testfiles.sh Executable file
View file

@ -0,0 +1,87 @@
#! /bin/sh
SITE="https://root.cern/files"
mkdir files
pushd files
wget -N ${SITE}/aleph_ref_5.root
wget -N ${SITE}/aleph.root
wget -N ${SITE}/alice3_ref_6.root
wget -N ${SITE}/alice3.root
wget -N ${SITE}/ams_ref_4.root
wget -N ${SITE}/ams.root
wget -N ${SITE}/atlas_ref_6.root
wget -N ${SITE}/atlas.root
wget -N ${SITE}/babar2_ref_4.root
wget -N ${SITE}/babar2.root
wget -N ${SITE}/barres_ref_3.root
wget -N ${SITE}/barres.root
wget -N ${SITE}/belle_ref_3.root
wget -N ${SITE}/belle.root
wget -N ${SITE}/bes_ref_3.root
wget -N ${SITE}/bes.root
wget -N ${SITE}/brahms_ref_3.root
wget -N ${SITE}/brahms.root
wget -N ${SITE}/btev_ref_3.root
wget -N ${SITE}/btev.root
wget -N ${SITE}/cdf_ref_6.root
wget -N ${SITE}/cdf.root
wget -N ${SITE}/chambers_ref_3.root
wget -N ${SITE}/chambers.root
wget -N ${SITE}/cms_ref_4.root
wget -N ${SITE}/cms.root
wget -N ${SITE}/dubna_ref_3.root
wget -N ${SITE}/dubna.root
wget -N ${SITE}/e907_ref_3.root
wget -N ${SITE}/e907.root
wget -N ${SITE}/felix_ref_3.root
wget -N ${SITE}/felix.root
wget -N ${SITE}/ganil_ref_3.root
wget -N ${SITE}/ganil.root
wget -N ${SITE}/gem_ref_5.root
wget -N ${SITE}/gem.root
wget -N ${SITE}/hades2_ref_4.root
wget -N ${SITE}/hades2.root
wget -N ${SITE}/hermes_ref_3.root
wget -N ${SITE}/hermes.root
wget -N ${SITE}/integral_ref_4.root
wget -N ${SITE}/integral.root
wget -N ${SITE}/lhcbfull_ref_4.root
wget -N ${SITE}/lhcbfull.root
wget -N ${SITE}/na35_ref_3.root
wget -N ${SITE}/na35.root
wget -N ${SITE}/na47_ref_3.root
wget -N ${SITE}/na47.root
wget -N ${SITE}/na49_ref_3.root
wget -N ${SITE}/na49.root
wget -N ${SITE}/p326_ref_4.root
wget -N ${SITE}/p326.root
wget -N ${SITE}/phenix_ref_3.root
wget -N ${SITE}/phenix.root
wget -N ${SITE}/phobos2_ref_4.root
wget -N ${SITE}/phobos2.root
wget -N ${SITE}/sdc_ref_3.root
wget -N ${SITE}/sdc.root
wget -N ${SITE}/sld_ref_4.root
wget -N ${SITE}/sld.root
wget -N ${SITE}/star_ref_4.root
wget -N ${SITE}/star.root
wget -N ${SITE}/tesla_ref_4.root
wget -N ${SITE}/tesla.root
wget -N ${SITE}/wa91_ref_3.root
wget -N ${SITE}/wa91.root
wget -N ${SITE}/europe.root
wget -N ${SITE}/usa.root
for f in *.root ; do ln -s $f $f.ROOT.cachefile ; done
mkdir tutorials
pushd tutorials
wget -N ${SITE}/tutorials/df014_CsvDataSource_MuRun2010B.csv
popd
popd
tar -J -c --group root --owner root -f root-testfiles.tar.xz files

View file

@ -0,0 +1,146 @@
From 2fec5822e305b9b203894aa0fe3e4dded1f673cc Mon Sep 17 00:00:00 2001
From: Jonas Rembser <jonas.rembser@cern.ch>
Date: Wed, 8 Jul 2026 11:13:16 +0200
Subject: [PATCH] [tmva][sofie] Complete big-endian support for ONNX
initializer tensors
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Follow-up to the last commit ("[tmva][sofie] Fix big endian"), which
byte-swapped raw_data initializers on big-endian platforms but left a
few gaps:
- Initializers with data_location == EXTERNAL were still read from the
external weights file without swapping, silently producing
byte-reversed weights on big-endian machines.
- The type switch only handled FLOAT, DOUBLE, INT32 and INT64. One-byte
types (BOOL, UINT8, INT8), which parse fine on little-endian via
plain memcpy, now threw on big-endian, and the other fixed-width
types (INT16, UINT16, UINT32, UINT64) were rejected as well.
- The swap loops dereferenced the protobuf string buffer through
reinterpret_cast'ed uint32_t*/uint64_t* pointers, which is a
misaligned access on strict-alignment targets (e.g. SPARC) since
the buffer carries no alignment guarantee.
Replace the four copy-pasted swap loops with a width-dispatched helper,
CopyLEToHost, that plain-copies 1-byte element types and byte-swaps
2/4/8-byte elements through a memcpy'd temporary (no misaligned loads,
valid for in-place use), and call it from both the raw_data and the
external-data paths.
🤖 Done with the help of AI
---
tmva/sofie_parsers/src/RModelParser_ONNX.cxx | 73 ++++++++++++--------
1 file changed, 45 insertions(+), 28 deletions(-)
diff --git a/tmva/sofie_parsers/src/RModelParser_ONNX.cxx b/tmva/sofie_parsers/src/RModelParser_ONNX.cxx
index ac4cc7d5740..1c14d12ba30 100644
--- a/tmva/sofie_parsers/src/RModelParser_ONNX.cxx
+++ b/tmva/sofie_parsers/src/RModelParser_ONNX.cxx
@@ -4,6 +4,7 @@
#include <stdexcept>
#include <string>
+#include <cstring>
#include <memory>
#include <cassert>
#include <iostream>
@@ -155,6 +156,45 @@ struct ExtractDataFromTP<int64_t> {
}
};
+#ifndef R__BYTESWAP
+namespace {
+
+// Copy nbytes from source to dest, byte-swapping each N-byte element. The
+// temporary avoids misaligned loads from the protobuf string buffer and makes
+// in-place swapping (dest == source) valid.
+template <std::size_t N>
+void CopyBswap(void *dest, const void *source, std::size_t nbytes)
+{
+ using value_type = typename RByteSwap<N>::value_type;
+ auto dst = static_cast<unsigned char *>(dest);
+ auto src = static_cast<const unsigned char *>(source);
+ for (std::size_t k = 0; k < nbytes; k += N) {
+ value_type v;
+ std::memcpy(&v, src + k, N);
+ v = RByteSwap<N>::bswap(v);
+ std::memcpy(dst + k, &v, N);
+ }
+}
+
+// Copy a buffer of little-endian tensor elements to host (big-endian) byte order
+void CopyLEToHost(void *dest, const void *source, std::size_t nbytes, ETensorType tensor_type)
+{
+ switch (GetTypeSize(tensor_type)) {
+ case 1:
+ if (dest != source)
+ std::memcpy(dest, source, nbytes);
+ break;
+ case 2: CopyBswap<2>(dest, source, nbytes); break;
+ case 4: CopyBswap<4>(dest, source, nbytes); break;
+ case 8: CopyBswap<8>(dest, source, nbytes); break;
+ default:
+ throw std::runtime_error("Data type " + ConvertTypeToString(tensor_type) + " in tensor is not supported!\n");
+ }
+}
+
+} // anonymous namespace
+#endif
+
std::shared_ptr<void> RModelParser_ONNX::GetInitializedTensorData(onnx::TensorProto *tensorproto, size_t tensor_size, ETensorType tensor_type)
{
@@ -172,34 +212,7 @@ std::shared_ptr<void> RModelParser_ONNX::GetInitializedTensorData(onnx::TensorPr
std::memcpy(data.get(), tensorproto->raw_data().c_str(), tensor_size);
#else
// big-endian architectures - need to swap bytes
- switch (tensor_type) {
- case ETensorType::FLOAT:
- for (std::size_t k = 0; k < tensor_size / sizeof(float); ++k)
- (reinterpret_cast<typename RByteSwap<sizeof(float)>::value_type *>(data.get()))[k] =
- RByteSwap<sizeof(float)>::bswap((reinterpret_cast<const typename RByteSwap<sizeof(float)>::value_type *>(
- tensorproto->raw_data().c_str()))[k]);
- break;
- case ETensorType::DOUBLE:
- for (std::size_t k = 0; k < tensor_size / sizeof(double); ++k)
- (reinterpret_cast<typename RByteSwap<sizeof(double)>::value_type *>(data.get()))[k] =
- RByteSwap<sizeof(double)>::bswap((reinterpret_cast<const typename RByteSwap<sizeof(double)>::value_type *>(
- tensorproto->raw_data().c_str()))[k]);
- break;
- case ETensorType::INT32:
- for (std::size_t k = 0; k < tensor_size / sizeof(int32_t); ++k)
- (reinterpret_cast<typename RByteSwap<sizeof(int32_t)>::value_type *>(data.get()))[k] =
- RByteSwap<sizeof(int32_t)>::bswap((reinterpret_cast<const typename RByteSwap<sizeof(int32_t)>::value_type *>(
- tensorproto->raw_data().c_str()))[k]);
- break;
- case ETensorType::INT64:
- for (std::size_t k = 0; k < tensor_size / sizeof(int64_t); ++k)
- (reinterpret_cast<typename RByteSwap<sizeof(int64_t)>::value_type *>(data.get()))[k] =
- RByteSwap<sizeof(int64_t)>::bswap((reinterpret_cast<const typename RByteSwap<sizeof(int64_t)>::value_type *>(
- tensorproto->raw_data().c_str()))[k]);
- break;
- default:
- throw std::runtime_error("Data type " + ConvertTypeToString(tensor_type) + " in tensor is not supported!\n");
- }
+ CopyLEToHost(data.get(), tensorproto->raw_data().c_str(), tensor_size, tensor_type);
#endif
} else {
// case tensor data are stored as specific types and not in raw_data
@@ -262,6 +275,10 @@ std::shared_ptr<void> RModelParser_ONNX::GetInitializedTensorData(onnx::TensorPr
fDataFile.seekg(offset);
fDataFile.read(reinterpret_cast<char *>(data.get()), buffer_size);
+#ifndef R__BYTESWAP
+ // external data is stored little-endian like raw_data - swap in place
+ CopyLEToHost(data.get(), data.get(), buffer_size, tensor_type);
+#endif
}
return data;
--
2.55.0

View file

@ -0,0 +1,68 @@
From 8554bf49749efd8de5538bf99c12a04d2691102d Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Sun, 28 Jun 2026 16:49:23 +0200
Subject: [PATCH] [tmva][sofie] Fix big endian
---
tmva/sofie_parsers/src/RModelParser_ONNX.cxx | 36 ++++++++++++++++----
1 file changed, 30 insertions(+), 6 deletions(-)
diff --git a/tmva/sofie_parsers/src/RModelParser_ONNX.cxx b/tmva/sofie_parsers/src/RModelParser_ONNX.cxx
index aa196c510ad..ac4cc7d5740 100644
--- a/tmva/sofie_parsers/src/RModelParser_ONNX.cxx
+++ b/tmva/sofie_parsers/src/RModelParser_ONNX.cxx
@@ -172,13 +172,37 @@ std::shared_ptr<void> RModelParser_ONNX::GetInitializedTensorData(onnx::TensorPr
std::memcpy(data.get(), tensorproto->raw_data().c_str(), tensor_size);
#else
// big-endian architectures - need to swap bytes
- for (std::size_t k = 0; k < tensor_size; ++k)
- (reinterpret_cast<typename RByteSwap<sizeof(uint8_t)>::value_type *>(data.get()))[k] =
- RByteSwap<sizeof(T)>::bswap((reinterpret_cast<const typename RByteSwap<sizeof(uint8_t)>::value_type *>(
- tensorproto->raw_data().c_str()))[k]);
+ switch (tensor_type) {
+ case ETensorType::FLOAT:
+ for (std::size_t k = 0; k < tensor_size / sizeof(float); ++k)
+ (reinterpret_cast<typename RByteSwap<sizeof(float)>::value_type *>(data.get()))[k] =
+ RByteSwap<sizeof(float)>::bswap((reinterpret_cast<const typename RByteSwap<sizeof(float)>::value_type *>(
+ tensorproto->raw_data().c_str()))[k]);
+ break;
+ case ETensorType::DOUBLE:
+ for (std::size_t k = 0; k < tensor_size / sizeof(double); ++k)
+ (reinterpret_cast<typename RByteSwap<sizeof(double)>::value_type *>(data.get()))[k] =
+ RByteSwap<sizeof(double)>::bswap((reinterpret_cast<const typename RByteSwap<sizeof(double)>::value_type *>(
+ tensorproto->raw_data().c_str()))[k]);
+ break;
+ case ETensorType::INT32:
+ for (std::size_t k = 0; k < tensor_size / sizeof(int32_t); ++k)
+ (reinterpret_cast<typename RByteSwap<sizeof(int32_t)>::value_type *>(data.get()))[k] =
+ RByteSwap<sizeof(int32_t)>::bswap((reinterpret_cast<const typename RByteSwap<sizeof(int32_t)>::value_type *>(
+ tensorproto->raw_data().c_str()))[k]);
+ break;
+ case ETensorType::INT64:
+ for (std::size_t k = 0; k < tensor_size / sizeof(int64_t); ++k)
+ (reinterpret_cast<typename RByteSwap<sizeof(int64_t)>::value_type *>(data.get()))[k] =
+ RByteSwap<sizeof(int64_t)>::bswap((reinterpret_cast<const typename RByteSwap<sizeof(int64_t)>::value_type *>(
+ tensorproto->raw_data().c_str()))[k]);
+ break;
+ default:
+ throw std::runtime_error("Data type " + ConvertTypeToString(tensor_type) + " in tensor is not supported!\n");
+ }
#endif
} else {
- // case tensor data are stored as specific types and now in raw_data
+ // case tensor data are stored as specific types and not in raw_data
switch (tensor_type) {
case ETensorType::FLOAT: {
ExtractDataFromTP<float>::Copy(tensorproto, data.get(), tensor_size/ 4);
@@ -200,7 +224,7 @@ std::shared_ptr<void> RModelParser_ONNX::GetInitializedTensorData(onnx::TensorPr
throw std::runtime_error("TMVA::SOFIE - ExtractData from TP in BOOL not supported");
break;
}
- case ETensorType::UINT8: {
+ case ETensorType::UINT8: {
throw std::runtime_error("TMVA::SOFIE - ExtractData from TP in UINT8 not supported");
break;
}
--
2.54.0

View file

@ -0,0 +1,25 @@
From 58b38e29586975e714deee6ac195b286eb9a73cf Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Sun, 28 Jun 2026 16:59:36 +0200
Subject: [PATCH 2/3] [tree][df] Do not fail test on 32 bit due to mis-aligned
atomic
---
tree/dataframe/test/dataframe_hist.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/tree/dataframe/test/dataframe_hist.cxx b/tree/dataframe/test/dataframe_hist.cxx
index f5fe396b50d..7a2c6659a84 100644
--- a/tree/dataframe/test/dataframe_hist.cxx
+++ b/tree/dataframe/test/dataframe_hist.cxx
@@ -31,6 +31,7 @@ public:
RDFHist()
{
fDiag.optionalDiag(kWarning, "", "Filling RHist is experimental", /*matchFullMessage=*/false);
+ fDiag.optionalDiag(kWarning, "cling", "expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]", false);
if (GetParam())
ROOT::EnableImplicitMT(4);
}
--
2.54.0

View file

@ -0,0 +1,32 @@
From 07cbb0515e4f45808696037adce7c0f1bc5e903d Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Sun, 28 Jun 2026 17:01:40 +0200
Subject: [PATCH 3/3] [tree][nt] Compare size to the size of the struct
Do not assume it is 2 * sizeof(double), which is not true on 32 bit.
---
tree/ntuple/test/ntuple_modelext.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tree/ntuple/test/ntuple_modelext.cxx b/tree/ntuple/test/ntuple_modelext.cxx
index 8ec3886f921..ef27e844e84 100644
--- a/tree/ntuple/test/ntuple_modelext.cxx
+++ b/tree/ntuple/test/ntuple_modelext.cxx
@@ -810,12 +810,12 @@ TEST(RNTuple, ModelExtensionRecordNested)
modelUpdater->AddField(std::make_unique<RField<double>>("ptHP"), "r1.r2.r3.r4");
modelUpdater->CommitUpdate();
- EXPECT_EQ(2 * sizeof(double), writer->GetModel().GetConstField("r1").GetValueSize());
- entry = writer->CreateEntry();
struct FloatAndDouble {
float pt;
double ptHP;
};
+ EXPECT_EQ(sizeof(FloatAndDouble), writer->GetModel().GetConstField("r1").GetValueSize());
+ entry = writer->CreateEntry();
auto ptrFloatAndDouble = static_cast<FloatAndDouble *>(entry->GetPtr<void>("r1").get());
ptrFloatAndDouble->pt = 2.0;
--
2.54.0

View file

@ -1,39 +0,0 @@
diff -ur root-trunk.orig/math/unuran/Module.mk root-trunk/math/unuran/Module.mk
--- root-trunk.orig/math/unuran/Module.mk 2010-11-25 20:41:32.000000000 +0100
+++ root-trunk/math/unuran/Module.mk 2010-11-25 20:51:47.190704977 +0100
@@ -20,7 +20,7 @@
UNURANETAG := $(call stripsrc,$(UNURANDIRS)/headers.d)
UNRCFG := $(call stripsrc,$(UNURANDIRS)/$(UNRVERS)/config.h)
-UNRTARCONTENT:=$(subst $(UNRVERS),$(UNRDIRS),$(shell mkdir -p $(UNRDIR); cd $(UNRDIR); gunzip -c $(UNRSRCS) | tar tf -))
+UNRTARCONTENT:=
UNRS := $(filter %.c, \
$(filter $(UNRDIRS)/src/utils/%,$(UNRTARCONTENT)) \
$(filter $(UNRDIRS)/src/methods/%,$(UNRTARCONTENT)) \
@@ -69,10 +69,9 @@
##### local rules #####
.PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME)
-include/%.h: $(UNURANDIRI)/%.h $(UNURANETAG)
+include/%.h: $(UNURANDIRI)/%.h
cp $< $@
-$(UNURANDEP): $(UNRCFG)
$(UNRS): $(UNURANETAG)
$(UNURANETAG): $(UNRSRCS)
@@ -125,12 +124,12 @@
GNUMAKE=$(MAKE) ./configure CC="$$ACC" \
CFLAGS="$$ACFLAGS");
-$(UNURANLIB): $(UNRCFG) $(UNRO) $(UNURANO) $(UNURANDO) $(ORDER_) \
+$(UNURANLIB): $(UNURANO) $(UNURANDO) $(ORDER_) \
$(MAINLIBS) $(UNURANLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libUnuran.$(SOEXT) $@ \
"$(UNURANO) $(UNURANDO)" \
- "$(UNURANLIBEXTRA) $(UNRO)"
+ "$(UNURANLIBEXTRA) -lunuran"
$(UNURANDS): $(UNRINIT) $(UNURANDH1) $(UNURANL) $(ROOTCINTTMPDEP)
$(MAKEDIR)

View file

@ -1,809 +0,0 @@
diff -Nur root-5.32.04.orig/cmake/modules/FindXROOTD.cmake root-5.32.04/cmake/modules/FindXROOTD.cmake
--- root-5.32.04.orig/cmake/modules/FindXROOTD.cmake 2012-07-13 15:54:18.000000000 +0200
+++ root-5.32.04/cmake/modules/FindXROOTD.cmake 2013-03-08 07:23:10.891952543 +0100
@@ -28,32 +28,37 @@
)
if (XROOTD_INCLUDE_DIR)
- file(STRINGS ${XROOTD_INCLUDE_DIR}/XrdVersion.hh xrdvers REGEX "^#define XrdVERSION")
+ file(STRINGS ${XROOTD_INCLUDE_DIR}/XrdVersion.hh xrdvers REGEX "^#define XrdVERSION ")
string(REGEX REPLACE "#define[ ]+XrdVERSION[ ]+" "" xrdvers ${xrdvers})
string(REGEX REPLACE "[^v\\.]+" "" xrdversdots ${xrdvers})
if (${xrdversdots} STREQUAL "v..")
# Regular version string; parse it out
string(REGEX MATCH "[0-9\\.]+" xrdvers ${xrdvers})
- string(REGEX MATCH "[0-9]" xrdversmajor ${xrdvers})
- string(REPLACE "${xrdversmajor}." "" xrdversminor ${xrdvers})
- string(REGEX MATCH "[0-9]" xrdversminor ${xrdversminor})
- string(REPLACE "${xrdversmajor}.${xrdversminor}." "" xrdverspatch ${xrdvers})
- string(REGEX MATCH "[0-9]+" xrdverspatch ${xrdverspatch})
+ string(REGEX REPLACE "^([^.]*)\\.(.*)\\.(.*)" "\\1" xrdversmajor ${xrdvers})
+ string(REGEX REPLACE "^([^.]*)\\.(.*)\\.(.*)" "\\2" xrdversminor ${xrdvers})
+ string(REGEX REPLACE "^([^.]*)\\.(.*)\\.(.*)" "\\3" xrdverspatch ${xrdvers})
math(EXPR xrdversnum ${xrdversmajor}*100000000+${xrdversminor}*10000+${xrdverspatch})
else ()
# Old version string: we keep only the first numerics, i.e. the date
string(REGEX REPLACE "[v\"]" "" xrdvers ${xrdvers})
- message(STATUS "Found Xrootd version ${xrdvers}")
- string(REGEX REPLACE "[^0-9-]+" " " xrdvers ${xrdvers})
string(SUBSTRING ${xrdvers} 0 8 xrdversnum)
endif ()
+ if ( ${xrdversnum} EQUAL 300030000 )
+ SET(XROOTD_FOUND FALSE)
+ message(WARNING " >>> Cannot build with XRootD version 3.3.0: please install >=3.3.1 or <= 3.2.x")
+ else()
+ SET(XROOTD_FOUND TRUE)
+ endif ()
+endif()
+
+if(XROOTD_FOUND)
# This we used as a compiler macro variable
if(NOT XROOTD_FIND_QUIETLY )
- message(STATUS "Found Xrootd version num: ${xrdvers}")
+ message(STATUS "Found Xrootd version num: ${xrdvers} (setting -DROOTXRDVERS=${xrdversnum})")
endif()
SET(XROOTD_CFLAGS "-DROOTXRDVERS=${xrdversnum}")
- if ( ${xrdversnum} LESS 300010000 )
+ if ( ${xrdversnum} LESS 300010000 AND ${xrdversnum} LESS 20111022)
SET(XROOTD_OLDPACK TRUE)
message(STATUS "Setting OLDPACK TRUE")
else()
@@ -72,14 +77,16 @@
XrdOuc/XrdOucPthread.hh
XrdOuc/XrdOucSemWait.hh
XrdOuc/XrdOucTimer.hh
+ PATHS
${XROOTD_INCLUDE_DIR}
)
else()
- if ( ${xrdversnum} LESS 300010000 )
+ if ( ${xrdversnum} LESS 300010000 AND ${xrdversnum} LESS 20111022)
# DNS stuff was under XrdNet
find_path(XROOTD_INCLUDE_DIR
NAMES
XrdNet/XrdNetDNS.hh
+ PATHS
${XROOTD_INCLUDE_DIR}
)
else ()
@@ -87,6 +94,7 @@
find_path(XROOTD_INCLUDE_DIR
NAMES
XrdSys/XrdSysDNS.hh
+ PATHS
${XROOTD_INCLUDE_DIR}
)
endif ()
@@ -101,9 +109,20 @@
XrdSys/XrdSysPthread.hh
XrdSys/XrdSysSemWait.hh
XrdSys/XrdSysTimer.hh
+ PATHS
${XROOTD_INCLUDE_DIR}
)
endif()
+
+ if (XROOTD_INCLUDE_DIR)
+ # Check for additional headers in new directories
+ find_path(XROOTD_PRIVATE_INCLUDE_DIR
+ NAMES
+ XrdSys/XrdSysPriv.hh
+ PATHS
+ ${XROOTD_INCLUDE_DIR}/private
+ )
+ endif()
endif()
if (XROOTD_INCLUDE_DIR)
SET(XROOTD_FOUND TRUE)
@@ -152,7 +171,7 @@
if(XROOTD_LIBRARIES)
set(XROOTD_FOUND TRUE)
if(NOT XROOTD_FIND_QUIETLY )
- message(STATUS " include_dir: ${XROOTD_INCLUDE_DIR}")
+ message(STATUS " include_dir: ${XROOTD_INCLUDE_DIR} ${XROOTD_PRIVATE_INCLUDE_DIR}")
message(STATUS " libraries: ${XROOTD_LIBRARIES}")
endif()
else ()
@@ -160,7 +179,8 @@
endif ()
endif()
-mark_as_advanced(XROOTD_INCLUDE_DIR
+mark_as_advanced(XROOTD_INCLUDE_DIR
+ XROOTD_PRIVATE_INCLUDE_DIR
XROOTD_XrdMain_LIBRARY
XROOTD_XrdUtils_LIBRARY
XROOTD_XrdClient_LIBRARY
diff -Nur root-5.32.04.orig/config/Makefile.in root-5.32.04/config/Makefile.in
--- root-5.32.04.orig/config/Makefile.in 2012-07-13 15:55:01.000000000 +0200
+++ root-5.32.04/config/Makefile.in 2013-03-08 07:23:10.901952610 +0100
@@ -251,6 +251,7 @@
EXTRA_XRDFLAGS := @extraxrdflags@
XRDVERSION := @xrdversion@
HASXRDUTILS := @hasxrdutils@
+XRDINCPRIVATE := @xrdincprivate@
SRPLIBDIR := @srplibdir@
SRPLIB := @srplib@
diff -Nur root-5.32.04.orig/configure root-5.32.04/configure
--- root-5.32.04.orig/configure 2012-07-13 15:55:07.000000000 +0200
+++ root-5.32.04/configure 2013-03-08 07:23:10.895952570 +0100
@@ -4473,9 +4473,16 @@
fi
fi
fi
- echo "$xrdver"
+ # Protect against 3.3.0, first version with 'include/xrootd/private'
+ if [ $decver -eq 300030000 ] ; then
+ echo "Cannot build against version $xrdver (missing headers)"
+ enable_xrootd="no"
+ else
+ echo "$xrdver"
+ fi
fi
+xrdincprivate="no"
if test "x$enable_xrootd" = "xyes" ; then
extraxrdflags="-DROOTXRDVERS=$decver"
@@ -4514,14 +4521,27 @@
done
#
+ # Check also if 'include/private' exists: we need to signal this to the build modules
+ # for correct location of some headers available form the dlevel packages for version >= 3.3.x
+ if test "x$enable_xrootd" = "xyes"; then
+ if test -d "$xrdincdir/private"; then
+ xrdincprivate="yes"
+ fi
+ fi
+
+ #
# Check if bonjour is available for code potentially using it ...
if test "x$enable_xrootd" = "xyes"; then
xrdlibdir="$tmpxrdlibdir"
if test "x$enable_bonjour" = "xyes"; then
- check_symbol XrdOucBonjour "$libxrdoucbjr" "$xrdlibdir"
- if test $found_symbol -eq 0 ; then
- bonjourcppflags=
- fi
+ # This check is broken. The xrootd libraries are C++ hence their
+ # symbol names are mangled. The check_symbol macro is designed
+ # to check for unmangled symbol names in C libraries.
+ # check_symbol XrdOucBonjour "$libxrdoucbjr" "$xrdlibdir"
+ # if test $found_symbol -eq 0 ; then
+ # bonjourcppflags=
+ # fi
+ bonjourcppflags=
fi
fi
fi
@@ -6667,6 +6687,7 @@
-e "s|@xpmlibdir@|$xpmlibdir|" \
-e "s|@xrdlibdir@|$xrdlibdir|" \
-e "s|@xrdincdir@|$xrdincdir|" \
+ -e "s|@xrdincprivate@|$xrdincprivate|" \
-e "s|@xrdversion@|$decver|" \
-e "s|@hasxrdutils@|$hasxrdutils|" \
-e "s|@cfitsioincdir@|$cfitsioincdir|" \
diff -Nur root-5.32.04.orig/net/netx/CMakeLists.txt root-5.32.04/net/netx/CMakeLists.txt
--- root-5.32.04.orig/net/netx/CMakeLists.txt 2012-07-13 15:54:54.000000000 +0200
+++ root-5.32.04/net/netx/CMakeLists.txt 2013-03-08 07:23:10.901952610 +0100
@@ -6,7 +6,7 @@
ROOT_USE_PACKAGE(net/net)
ROOT_USE_PACKAGE(proof/proofd)
-include_directories(${XROOTD_INCLUDE_DIR})
+include_directories(${XROOTD_INCLUDE_DIR} ${XROOTD_PRIVATE_INCLUDE_DIR})
add_definitions(${XROOTD_CFLAGS})
#---------------------------------------------------------------------------
diff -Nur root-5.32.04.orig/net/netx/Module.mk root-5.32.04/net/netx/Module.mk
--- root-5.32.04.orig/net/netx/Module.mk 2012-07-13 15:54:54.000000000 +0200
+++ root-5.32.04/net/netx/Module.mk 2013-03-08 07:23:10.900952603 +0100
@@ -55,6 +55,9 @@
ifneq ($(EXTRA_XRDFLAGS),)
NETXINCEXTRA += -I$(ROOT_SRCDIR)/proof/proofd/inc
endif
+ifeq ($(XRDINCPRIVATE),yes)
+NETXINCEXTRA += -I$(XRDINCDIR)/private
+endif
# Xrootd client libs
ifeq ($(PLATFORM),win32)
diff -Nur root-5.32.04.orig/net/netx/src/TXNetFile.cxx root-5.32.04/net/netx/src/TXNetFile.cxx
--- root-5.32.04.orig/net/netx/src/TXNetFile.cxx 2012-07-13 15:54:54.000000000 +0200
+++ root-5.32.04/net/netx/src/TXNetFile.cxx 2013-03-08 07:27:48.977933665 +0100
@@ -56,6 +56,7 @@
#include "TVirtualPerfStats.h"
#include <XrdClient/XrdClient.hh>
+#include <XrdClient/XrdClientConn.hh>
#include <XrdClient/XrdClientConst.hh>
#include <XrdClient/XrdClientEnv.hh>
#include <XProtocol/XProtocol.hh>
diff -Nur root-5.32.04.orig/proof/proofd/CMakeLists.txt root-5.32.04/proof/proofd/CMakeLists.txt
--- root-5.32.04.orig/proof/proofd/CMakeLists.txt 2012-07-13 15:54:19.000000000 +0200
+++ root-5.32.04/proof/proofd/CMakeLists.txt 2013-03-08 07:23:10.899952597 +0100
@@ -7,7 +7,7 @@
ROOT_USE_PACKAGE(net/rpdutils)
ROOT_USE_PACKAGE(net/auth)
-include_directories(${XROOTD_INCLUDE_DIR})
+include_directories(${XROOTD_INCLUDE_DIR} ${XROOTD_PRIVATE_INCLUDE_DIR})
add_definitions(${XROOTD_CFLAGS})
if(WIN32)
diff -Nur root-5.32.04.orig/proof/proofd/inc/XpdObject.h root-5.32.04/proof/proofd/inc/XpdObject.h
--- root-5.32.04.orig/proof/proofd/inc/XpdObject.h 1970-01-01 01:00:00.000000000 +0100
+++ root-5.32.04/proof/proofd/inc/XpdObject.h 2013-03-08 07:23:10.898952590 +0100
@@ -0,0 +1,100 @@
+// @(#)root/proofd:$Id$
+// Author: Gerardo Ganis Feb 2013
+
+/*************************************************************************
+ * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
+ * All rights reserved. *
+ * *
+ * For the licensing terms see $ROOTSYS/LICENSE. *
+ * For the list of contributors see $ROOTSYS/README/CREDITS. *
+ *************************************************************************/
+
+//////////////////////////////////////////////////////////////////////////
+// //
+// XpdObject //
+// //
+// Authors: G. Ganis, CERN, 2013 //
+// //
+// Auxilliary class to stack protocols. //
+// Adapted version of XrdObject. //
+// //
+//////////////////////////////////////////////////////////////////////////
+
+#ifndef ROOT_XpdObject
+#define ROOT_XpdObject
+
+#include <string.h>
+#include <strings.h>
+#include <time.h>
+#include <sys/types.h>
+#include "Xrd/XrdJob.hh"
+#include "XrdOuc/XrdOucTrace.hh"
+#include "XrdSys/XrdSysPthread.hh"
+
+class XpdObjectQ;
+class XrdProofdProtocol;
+class XrdScheduler;
+
+class XpdObject {
+public:
+ friend class XpdObjectQ;
+
+ // Item() supplies the item value associated with itself (used with Next()).
+ XrdProofdProtocol *objectItem() { return fItem; }
+
+ // Next() supplies the next list node.
+ XpdObject *nextObject() { return fNext; }
+
+ // Set the item pointer
+ void setItem(XrdProofdProtocol *ival) { fItem = ival; }
+
+ XpdObject(XrdProofdProtocol *ival=0) { fNext = 0; fItem = ival; fQTime = 0; }
+ ~XpdObject() {}
+
+private:
+ XpdObject *fNext;
+ XrdProofdProtocol *fItem;
+ time_t fQTime; // Only used for time-managed objects
+};
+
+/******************************************************************************/
+/* x r d _ O b j e c t Q */
+/******************************************************************************/
+
+// Note to properly cleanup this type of queue you must call Set() at least
+// once to cause the time element to be sceduled.
+
+class XrdOucTrace;
+
+class XpdObjectQ : public XrdJob {
+public:
+
+ XrdProofdProtocol *Pop();
+ void Push(XpdObject *Node);
+ void Set(int inQMax, time_t agemax=1800);
+ void Set(XrdScheduler *sp, XrdOucTrace *tp, int traceChk = 0)
+ {fSched = sp; fTrace = tp; fTraceON = traceChk;}
+ void DoIt();
+
+ XpdObjectQ(const char *id, const char *desc) : XrdJob(desc)
+ {fCurage = fCount = 0; fMaxage = 0; fTraceID = id;
+ fMaxinQ = 32; fMininQ = 16; fFirst = 0; }
+
+ ~XpdObjectQ() {}
+
+private:
+
+ XrdSysMutex fQMutex;
+ XpdObject *fFirst;
+ int fCount;
+ int fCurage;
+ int fMininQ;
+ int fMaxinQ;
+ time_t fMaxage;
+ XrdOucTrace *fTrace;
+ XrdScheduler *fSched;
+ int fTraceON;
+ const char *fTraceID;
+};
+
+#endif
diff -Nur root-5.32.04.orig/proof/proofd/inc/XrdProofdProofServMgr.h root-5.32.04/proof/proofd/inc/XrdProofdProofServMgr.h
--- root-5.32.04.orig/proof/proofd/inc/XrdProofdProofServMgr.h 2012-07-13 15:54:19.000000000 +0200
+++ root-5.32.04/proof/proofd/inc/XrdProofdProofServMgr.h 2013-03-08 07:21:22.170070457 +0100
@@ -41,6 +41,9 @@
#define PSMMAXCNTS 3
#define PSMCNTOK(t) (t >= 0 && t < PSMMAXCNTS)
+// Security handle
+typedef int (*XrdSecCredsSaver_t)(XrdSecCredentials *, const char *fn, const XrdProofUI &ui);
+
// Aux structure for session set env inputs
typedef struct {
XrdProofdProofServ *fPS;
@@ -158,6 +161,8 @@
std::list<XrdProofdProofServ *> fActiveSessions; // List of active sessions (non-idle)
std::list<XpdClientSessions *> *fRecoverClients; // List of client potentially recovering
+ XrdSecCredsSaver_t fCredsSaver; // If defined, function to be used to save the credentials
+
int DoDirectiveProofServMgr(char *, XrdOucStream *, bool);
int DoDirectivePutEnv(char *, XrdOucStream *, bool);
int DoDirectivePutRc(char *, XrdOucStream *, bool);
@@ -263,8 +268,6 @@
int SetProofServEnv(XrdProofdProtocol *p, void *in);
int SetProofServEnvOld(XrdProofdProtocol *p, void *in);
-
- int SaveAFSkey(XrdSecCredentials *c, const char *fn, XrdProofUI ui);
int SetUserEnvironment(XrdProofdProtocol *p);
static int SetProofServEnv(XrdProofdManager *m, XrdROOT *r);
diff -Nur root-5.32.04.orig/proof/proofd/inc/XrdProofdProtocol.h root-5.32.04/proof/proofd/inc/XrdProofdProtocol.h
--- root-5.32.04.orig/proof/proofd/inc/XrdProofdProtocol.h 2012-07-13 15:54:19.000000000 +0200
+++ root-5.32.04/proof/proofd/inc/XrdProofdProtocol.h 2013-03-08 07:23:10.898952590 +0100
@@ -37,10 +37,10 @@
#include "XpdSysPthread.h"
#include "Xrd/XrdLink.hh"
-#include "Xrd/XrdObject.hh"
#include "Xrd/XrdProtocol.hh"
#include "XrdOuc/XrdOucString.hh"
#include "XrdSec/XrdSecInterface.hh"
+#include "XpdObject.h"
#include "XProofProtocol.h"
class XrdBuffer;
@@ -130,7 +130,7 @@
//
// Protocol variables
- XrdObject<XrdProofdProtocol> fProtLink;
+ XpdObject fProtLink;
XrdBuffer *fArgp;
XrdLink *fLink;
@@ -175,7 +175,7 @@
//
static bool fgConfigDone;
static int fgCount;
- static XrdObjectQ<XrdProofdProtocol> fgProtStack;
+ static XpdObjectQ fgProtStack;
static XrdBuffManager *fgBPool; // Buffer manager
static int fgMaxBuffsz; // Maximum buffer size we can have
static XrdSysRecMutex fgBMutex; // Buffer management mutex
diff -Nur root-5.32.04.orig/proof/proofd/Module.mk root-5.32.04/proof/proofd/Module.mk
--- root-5.32.04.orig/proof/proofd/Module.mk 2012-07-13 15:54:19.000000000 +0200
+++ root-5.32.04/proof/proofd/Module.mk 2013-03-08 07:23:10.899952597 +0100
@@ -127,6 +127,10 @@
ifeq ($(HASXRD),yes)
XPDINCEXTRA := $(XROOTDDIRI:%=-I%)
XPDINCEXTRA += $(PROOFDDIRI:%=-I%)
+ifeq ($(XRDINCPRIVATE),yes)
+XPDINCEXTRA += -I$(XRDINCDIR)/private
+endif
+
ifeq ($(HASXRDUTILS),no)
diff -Nur root-5.32.04.orig/proof/proofd/src/XpdObject.cxx root-5.32.04/proof/proofd/src/XpdObject.cxx
--- root-5.32.04.orig/proof/proofd/src/XpdObject.cxx 1970-01-01 01:00:00.000000000 +0100
+++ root-5.32.04/proof/proofd/src/XpdObject.cxx 2013-03-08 07:23:10.896952577 +0100
@@ -0,0 +1,125 @@
+// @(#)root/proofd:$Id$
+// Author: Gerardo Ganis Feb 2013
+
+/*************************************************************************
+ * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
+ * All rights reserved. *
+ * *
+ * For the licensing terms see $ROOTSYS/LICENSE. *
+ * For the list of contributors see $ROOTSYS/README/CREDITS. *
+ *************************************************************************/
+
+//////////////////////////////////////////////////////////////////////////
+// //
+// XpdObject //
+// //
+// Authors: G. Ganis, CERN, 2013 //
+// //
+// Auxilliary class to stack protocols. //
+// //
+//////////////////////////////////////////////////////////////////////////
+
+#include "XpdObject.h"
+#include "XrdProofdAux.h"
+#include "XrdProofdProtocol.h"
+#include "Xrd/XrdScheduler.hh"
+#include "XrdOuc/XrdOucTrace.hh"
+
+//_______________________________________________________________________
+XrdProofdProtocol *XpdObjectQ::Pop()
+{
+ // Pop up a protocol object
+
+ XpdObject *node;
+ fQMutex.Lock();
+ if ((node = fFirst)) {
+ fFirst = fFirst->fNext;
+ fCount--;
+ }
+ fQMutex.UnLock();
+ if (node) return node->fItem;
+ return (XrdProofdProtocol *)0;
+}
+
+//_______________________________________________________________________
+void XpdObjectQ::Push(XpdObject *node)
+{
+ // Push back a protocol
+
+ node->fQTime = fCurage;
+ fQMutex.Lock();
+ if (fCount >= fMaxinQ) {
+ delete node->fItem;
+ } else {
+ node->fNext = fFirst;
+ fFirst = node;
+ fCount++;
+ }
+ fQMutex.UnLock();
+}
+
+//_______________________________________________________________________
+void XpdObjectQ::Set(int inQMax, time_t agemax)
+{
+ // Lock the data area and set the values
+
+ fQMutex.Lock();
+ fMaxinQ = inQMax; fMaxage = agemax;
+ if (!(fMininQ = inQMax/2)) fMininQ = 1;
+ fQMutex.UnLock();
+
+ // Schedule ourselves using the new values
+ if (agemax > 0)
+ fSched->Schedule((XrdJob *)this, agemax + time(0));
+}
+
+//_______________________________________________________________________
+void XpdObjectQ::DoIt()
+{
+ // Process method
+
+ XpdObject *pp, *p;
+ int oldcnt, agemax;
+
+ // Lock the anchor and see if we met the threshold for deletion
+ //
+ fQMutex.Lock();
+ agemax = fMaxage;
+ if ((oldcnt = fCount) > fMininQ) {
+
+ // Prepare to scan down the queue.
+ if ((pp = fFirst)) {
+ p = pp->fNext;
+ } else { p = 0; }
+
+ // Find the first object that's been idle for too long
+ while(p && (p->fQTime >= fCurage)) { pp = p; p = p->fNext;}
+
+ // Now delete half of the idle objects. The object queue element must be
+ // part of the actual object being deleted for this to properly work.
+ if (pp) {
+ while (p) {
+ pp->fNext = p->fNext;
+ delete p->fItem;
+ fCount--;
+ p = ((pp = pp->fNext) ? pp->fNext : 0);
+ }
+ }
+ }
+
+ // Increase the age and unlock the queue
+ fCurage++;
+ fQMutex.UnLock();
+
+ // Trace as needed
+ if (fTraceON && fTrace->Tracing(fTraceON))
+ {fTrace->Beg(fTraceID);
+ cerr <<Comment <<" trim done; " <<fCount <<" of " <<oldcnt <<" kept";
+ fTrace->End();
+ }
+
+ // Reschedule ourselves if we must do so
+ if (agemax > 0)
+ fSched->Schedule((XrdJob *)this, agemax+time(0));
+}
+
diff -Nur root-5.32.04.orig/proof/proofd/src/XrdProofConn.cxx root-5.32.04/proof/proofd/src/XrdProofConn.cxx
--- root-5.32.04.orig/proof/proofd/src/XrdProofConn.cxx 2012-07-13 15:54:19.000000000 +0200
+++ root-5.32.04/proof/proofd/src/XrdProofConn.cxx 2013-03-08 07:23:10.896952577 +0100
@@ -31,7 +31,6 @@
#include "XrdClient/XrdClientConnMgr.hh"
#include "XrdClient/XrdClientConst.hh"
-#include "XrdClient/XrdClientDebug.hh"
#include "XrdClient/XrdClientEnv.hh"
#include "XrdClient/XrdClientLogConnection.hh"
#include "XrdClient/XrdClientPhyConnection.hh"
@@ -40,6 +39,7 @@
#include "XrdOuc/XrdOucErrInfo.hh"
#include "XrdOuc/XrdOucString.hh"
#include "XrdSec/XrdSecInterface.hh"
+#include "XrdSys/XrdSysLogger.hh"
#include "XrdSys/XrdSysPlatform.hh"
// Dynamic libs
diff -Nur root-5.32.04.orig/proof/proofd/src/XrdProofdProofServMgr.cxx root-5.32.04/proof/proofd/src/XrdProofdProofServMgr.cxx
--- root-5.32.04.orig/proof/proofd/src/XrdProofdProofServMgr.cxx 2012-07-13 15:54:19.000000000 +0200
+++ root-5.32.04/proof/proofd/src/XrdProofdProofServMgr.cxx 2013-03-08 07:21:22.173070483 +0100
@@ -32,8 +32,7 @@
#include "XrdOuc/XrdOucRash.hh"
#include "XrdOuc/XrdOucStream.hh"
#include "XrdSys/XrdSysPriv.hh"
-#include "XrdSut/XrdSutAux.hh"
-
+#include "XrdSys/XrdSysPlugin.hh"
#include "XrdProofdClient.h"
#include "XrdProofdClientMgr.h"
#include "XrdProofdManager.h"
@@ -286,6 +285,8 @@
fCurrentSessions = 0;
fSeqSessionN = 0;
+
+ fCredsSaver = 0;
// Defaults can be changed via 'proofservmgr'
fCheckFrequency = 30;
@@ -3067,26 +3068,20 @@
putenv(ev);
TRACE(DBG, "XrdSecCREDS set");
- // If 'pwd', save AFS key, if any
- if (!strncmp(p->AuthProt()->Entity.prot, "pwd", 3)) {
+ if (fCredsSaver) {
XrdOucString credsdir = udir;
credsdir += "/.creds";
// Make sure the directory exists
if (!XrdProofdAux::AssertDir(credsdir.c_str(), p->Client()->UI(), fMgr->ChangeOwn())) {
- if (SaveAFSkey(creds, credsdir.c_str(), p->Client()->UI()) == 0) {
- ev = new char[strlen("ROOTPROOFAFSCREDS=")+credsdir.length()+strlen("/.afs")+2];
- sprintf(ev, "ROOTPROOFAFSCREDS=%s/.afs", credsdir.c_str());
- putenv(ev);
- fprintf(fenv, "ROOTPROOFAFSCREDS has been set\n");
- TRACE(DBG, ev);
- } else {
- TRACE(DBG, "problems in saving AFS key");
+ if ((*fCredsSaver)(creds, credsdir.c_str(), p->Client()->UI()) != 0) {
+ TRACE(DBG, "problems in saving authentication creds under "<<credsdir);
}
} else {
TRACE(XERR, "unable to create creds dir: "<<credsdir);
return -1;
}
}
+ fclose(fenv);
}
}
@@ -3532,26 +3527,20 @@
PutEnv(ev, in->fOld);
TRACE(DBG, "XrdSecCREDS set");
- // If 'pwd', save AFS key, if any
- if (!strncmp(p->AuthProt()->Entity.prot, "pwd", 3)) {
+ if (fCredsSaver) {
XrdOucString credsdir = p->Client()->Sandbox()->Dir();
credsdir += "/.creds";
// Make sure the directory exists
if (!XrdProofdAux::AssertDir(credsdir.c_str(), p->Client()->UI(), fMgr->ChangeOwn())) {
- if (SaveAFSkey(creds, credsdir.c_str(), p->Client()->UI()) == 0) {
- ev = new char[strlen("ROOTPROOFAFSCREDS=")+credsdir.length()+strlen("/.afs")+2];
- sprintf(ev, "ROOTPROOFAFSCREDS=%s/.afs", credsdir.c_str());
- fprintf(fenv, "ROOTPROOFAFSCREDS has been set\n");
- TRACE(DBG, ev);
- PutEnv(ev, in->fOld);
- } else {
- TRACE(DBG, "problems in saving AFS key");
+ if ((*fCredsSaver)(creds, credsdir.c_str(), p->Client()->UI()) != 0) {
+ TRACE(DBG, "problems in saving authentication creds under "<<credsdir);
}
} else {
TRACE(XERR, "unable to create creds dir: "<<credsdir);
return -1;
}
}
+ fclose(fenv);
}
}
@@ -4514,84 +4503,6 @@
return 0;
}
-//______________________________________________________________________________
-int XrdProofdProofServMgr::SaveAFSkey(XrdSecCredentials *c,
- const char *dir, XrdProofUI ui)
-{
- // Save the AFS key, if any, for usage in proofserv in file 'dir'/.afs .
- // Return 0 on success, -1 on error.
- XPDLOC(SMGR, "ProofServMgr::SaveAFSkey")
-
- // Check file name
- if (!dir || strlen(dir) <= 0) {
- TRACE(XERR, "dir name undefined");
- return -1;
- }
-
- // Check credentials
- if (!c) {
- TRACE(XERR, "credentials undefined");
- return -1;
- }
- TRACE(REQ, "dir: "<<dir);
-
- // Decode credentials
- int lout = 0;
- char *out = new char[c->size];
- if (XrdSutFromHex(c->buffer, out, lout) != 0) {
- TRACE(XERR, "problems unparsing hex string");
- delete [] out;
- return -1;
- }
-
- // Locate the key
- char *key = out + 5;
- if (strncmp(key, "afs:", 4)) {
- TRACE(DBG, "string does not contain an AFS key");
- delete [] out;
- return 0;
- }
- key += 4;
-
- // Save to file, if not existing already
- XrdOucString fn = dir;
- fn += "/.afs";
-
- int rc = 0;
- struct stat st;
- if (stat(fn.c_str(), &st) != 0 && errno == ENOENT) {
-
- // Open the file, truncating if already existing
- int fd = open(fn.c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0600);
- if (fd <= 0) {
- TRACE(XERR, "problems creating file - errno: " << errno);
- delete [] out;
- return -1;
- }
- // Write out the key
- int lkey = lout - 9;
- if (XrdProofdAux::Write(fd, key, lkey) != lkey) {
- TRACE(XERR, "problems writing to file - errno: " << errno);
- rc = -1;
- }
-
- // Cleanup
- delete [] out;
- close(fd);
- } else {
- TRACE(XERR, "cannot stat existing file "<<fn<<" - errno: " << errno);
- delete [] out;
- return -1;
- }
-
- // Make sure the file is owned by the user
- if (XrdProofdAux::ChangeOwn(fn.c_str(), ui) != 0) {
- TRACE(XERR, "can't change ownership of "<<fn);
- }
-
- return rc;
-}
-
//__________________________________________________________________________
XrdProofdProofServ *XrdProofdProofServMgr::GetActiveSession(int pid)
{
diff -Nur root-5.32.04.orig/proof/proofd/src/XrdProofdProtocol.cxx root-5.32.04/proof/proofd/src/XrdProofdProtocol.cxx
--- root-5.32.04.orig/proof/proofd/src/XrdProofdProtocol.cxx 2012-07-13 15:54:19.000000000 +0200
+++ root-5.32.04/proof/proofd/src/XrdProofdProtocol.cxx 2013-03-08 07:23:10.897952583 +0100
@@ -29,6 +29,7 @@
#include "XrdVersion.hh"
#include "Xrd/XrdBuffer.hh"
+#include "Xrd/XrdScheduler.hh"
#include "XrdProofdClient.h"
#include "XrdProofdClientMgr.h"
@@ -54,8 +55,7 @@
//
// Static area: general protocol managing section
int XrdProofdProtocol::fgCount = 0;
-XrdObjectQ<XrdProofdProtocol>
- XrdProofdProtocol::fgProtStack("ProtStack",
+XpdObjectQ XrdProofdProtocol::fgProtStack("ProtStack",
"xproofd protocol anchor");
XrdSysRecMutex XrdProofdProtocol::fgBMutex; // Buffer management mutex
XrdBuffManager *XrdProofdProtocol::fgBPool = 0;
@@ -542,8 +542,12 @@
// Schedule protocol object cleanup; the maximum number of objects
// and the max age are taken from XrdXrootdProtocol: this may need
// some optimization in the future.
+#if 1
fgProtStack.Set(pi->Sched, XrdProofdTrace, TRACE_MEM);
fgProtStack.Set((pi->ConnMax/3 ? pi->ConnMax/3 : 30), 60*60);
+#else
+ fgProtStack.Set(pi->Sched, 3600);
+#endif
// Default tracing options: always trace logins and errors for all
// domains; if the '-d' option was specified on the command line then
@@ -790,6 +794,13 @@
// Push ourselves on the stack
fgProtStack.Push(&fProtLink);
+#if 0
+ if(fgProtStack.Push(&fProtLink) != 0) {
+ XrdProofdProtocol *xp = fProtLink.objectItem();
+ fProtLink.setItem(0);
+ delete xp;
+ }
+#endif
}
//______________________________________________________________________________
diff -Nur root-5.32.04.orig/proof/proofx/CMakeLists.txt root-5.32.04/proof/proofx/CMakeLists.txt
--- root-5.32.04.orig/proof/proofx/CMakeLists.txt 2012-07-13 15:54:19.000000000 +0200
+++ root-5.32.04/proof/proofx/CMakeLists.txt 2013-03-08 07:23:10.900952603 +0100
@@ -16,7 +16,7 @@
file(GLOB sources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cxx)
endif()
-include_directories(${XROOTD_INCLUDE_DIR})
+include_directories(${XROOTD_INCLUDE_DIR} ${XROOTD_PRIVATE_INCLUDE_DIR})
link_directories(${XROOTD_LIBRARY_DIR})
add_definitions(${XROOTD_CFLAGS})
diff -Nur root-5.32.04.orig/proof/proofx/Module.mk root-5.32.04/proof/proofx/Module.mk
--- root-5.32.04.orig/proof/proofx/Module.mk 2012-07-13 15:54:19.000000000 +0200
+++ root-5.32.04/proof/proofx/Module.mk 2013-03-08 07:23:10.899952597 +0100
@@ -63,6 +63,9 @@
PROOFXINCEXTRA := $(PROOFXDIRI:%=-I%)
PROOFXINCEXTRA += $(XROOTDDIRI:%=-I%)
PROOFXINCEXTRA += $(PROOFDDIRI:%=-I%)
+ifeq ($(XRDINCPRIVATE),yes)
+PROOFXINCEXTRA += -I$(XRDINCDIR)/private
+endif
# Xrootd client libs
ifeq ($(PLATFORM),win32)

11
root.desktop Normal file
View file

@ -0,0 +1,11 @@
[Desktop Entry]
Name=Root
GenericName=Root
Comment=Numerical data analysis framework
Exec=root
Icon=root
Terminal=true
Type=Application
MimeType=application/x-root;
Categories=Utility;
Encoding=UTF-8

BIN
root.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

5362
root.spec

File diff suppressed because it is too large Load diff

15
root.xml Normal file
View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-root">
<comment>ROOT data file</comment>
<comment xml:lang="de">ROOT Datei</comment>
<comment xml:lang="fr">ROOT banque de donnees</comment>
<comment xml:lang="sv">ROOT data fil</comment>
<comment xml:lang="no">ROOT data fil</comment>
<comment xml:lang="da">ROOT data fil</comment>
<glob pattern="*.root"/>
<magic priority="80">
<match type="string" value="ROOT" offset="0:3"/>
</magic>
</mime-type>
</mime-info>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View file

@ -1 +1,3 @@
a7ab4544dc165a28a7a95f8eef1ae3d8 root-5.32.04.tar.gz
SHA512 (root-6.40.04.tar.xz) = 674ea3de3f58d3bde15637925bec80984552cb5c4f6259ec68c2f7dc566014d9a3b2ee005e0f89b5cf20d9e5188dc5c9185d886a6701e315bb4771b068939282
SHA512 (root-testfiles.tar.xz) = 4bb7f8ca00b1427ba49f6428e9cfe5908a2ffdd2ce4134d3bc169a0629198352b5500fe0cf92c121d148e5af41f7016c96038a77794a4d37d94e6ec0a9d75670
SHA512 (clad-2.3.tar.gz) = 2d7e008ad88dd9e4b44d73e3187f8b1883e475845f5ac2d3b2c8e728508422e1e60e279940fefe322995751490f61f7d4768498c3660f9afa1206cc0e83bea33