Print

Print


  Branch: refs/heads/master
  Home:   https://github.com/xrootd/xrootd
  Commit: 0a5c36b1b0c0dcae6288f43b91ef546a4945d61d
      https://github.com/xrootd/xrootd/commit/0a5c36b1b0c0dcae6288f43b91ef546a4945d61d
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
    M cmake/XRootDDefaults.cmake

  Log Message:
  -----------
  [CMake] Make switches for server-only options dependent on XRCL_ONLY=FALSE

Fixes: ff67c2a0
Closes: #1804


  Commit: 4177404bd825cd64fcddb24de707dc9f4d442926
      https://github.com/xrootd/xrootd/commit/4177404bd825cd64fcddb24de707dc9f4d442926
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  [CMake] Drop setting of CMP0054 policy to OLD behavior

This does not seem to be necessary. Eventually CMake will remove
the old behavior, so it's better to switch to the new behavior.
See "cmake --help-policy CMP0054" for information on this policy.


  Commit: 180d08e1515c51ad0b684a74e89b70b3cb5e30a7
      https://github.com/xrootd/xrootd/commit/180d08e1515c51ad0b684a74e89b70b3cb5e30a7
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
    R cmake/FindCPPUnit.cmake
    A cmake/FindCppUnit.cmake
    M cmake/FindKerberos5.cmake
    R cmake/FindLibUuid.cmake
    M cmake/FindReadline.cmake
    R cmake/FindSystemd.cmake
    A cmake/Findlibuuid.cmake
    A cmake/Findsystemd.cmake
    M cmake/XRootDFindLibs.cmake

  Log Message:
  -----------
  [CMake] Fix warnings due to package name mismatches in find modules

CMake generates a warning when a find module like Find<package>.cmake
uses something other than <package> (case-sensitive) in the call to
find_package_handle_standard_args.


  Commit: 2083b95d28d268e5e070e193bb21623aad64ba95
      https://github.com/xrootd/xrootd/commit/2083b95d28d268e5e070e193bb21623aad64ba95
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
    R cmake/FindOpenSSL.cmake
    M cmake/XRootDFindLibs.cmake

  Log Message:
  -----------
  [CMake] Use upstream FindOpenSSL.cmake

XRootD's FindOpenSSL.cmake fails when OpenSSL is not found with the
following error:

CMake Error at cmake/FindOpenSSL.cmake:15 (file):
  file STRINGS file
  "/tmp/xrootd/xrootd/OPENSSL_INCLUDE_DIR-NOTFOUND/openssl/opensslv.h" cannot
  be read.
Call Stack (most recent call first):
  cmake/XRootDFindLibs.cmake:44 (find_package)
  CMakeLists.txt:26 (include)

CMake Error at cmake/FindOpenSSL.cmake:16 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  cmake/XRootDFindLibs.cmake:44 (find_package)
  CMakeLists.txt:26 (include)

Since FindOpenSSL.cmake is already provided upstream by CMake 3.1, we
can use that instead and drop our custom module.


  Commit: 957a08e13f3d806687875e6a04fc60c7de8ceedc
      https://github.com/xrootd/xrootd/commit/957a08e13f3d806687875e6a04fc60c7de8ceedc
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
    M genversion.sh
    M packaging/makesrpm.sh

  Log Message:
  -----------
  Replace usage of deprecated egrep command with grep -E

The egrep command has been deprecated since 2007. Recently
grep started to warn about it, so replace egrep usage with
grep -E. See release notes of grep at the link below for
more information.

https://savannah.gnu.org/forum/forum.php?forum_id=10227


  Commit: 915d91f8629927090637fe7e4027a8fb042b137f
      https://github.com/xrootd/xrootd/commit/915d91f8629927090637fe7e4027a8fb042b137f
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

  Changed paths:
    M .github/workflows/build.yml

  Log Message:
  -----------
  [CI] Skip step to upgrade wheel for Python 2.x

Attempting to upgrade it results in the error below.

  Complete output from command python setup.py egg_info:
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-b24Ztv/wheel/setup.py", line 1
      from __future__ import annotations
  SyntaxError: future feature annotations is not defined


  Commit: 2a8e04e5e55b797773ce6f2be331a4a6c7584dbb
      https://github.com/xrootd/xrootd/commit/2a8e04e5e55b797773ce6f2be331a4a6c7584dbb
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

  Changed paths:
    M .github/workflows/build.yml

  Log Message:
  -----------
  [CI] Explicitly set clang/clang++ as C/C++ compilers for macOS

When not setting CMAKE_{C,CXX}_COMPILER explicitly, the default
ones (cc and c++) are picked up, but are not properly setup to
find headers, which causes build failures of the Python bindings.


  Commit: a70e340816fc2ec6ef0127fe94a3615d2b9156e1
      https://github.com/xrootd/xrootd/commit/a70e340816fc2ec6ef0127fe94a3615d2b9156e1
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

  Changed paths:
    M .github/workflows/build.yml

  Log Message:
  -----------
  [CI] Use CMAKE_PREFIX_PATH to simplify finding openssl 3 on macOS


  Commit: e3d11dc1873a5706d8092732f62bffdf7b98794c
      https://github.com/xrootd/xrootd/commit/e3d11dc1873a5706d8092732f62bffdf7b98794c
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

  Changed paths:
    M .github/workflows/build.yml

  Log Message:
  -----------
  [CI] Perform a local installation of Python bindings for testing on Mac

This is required as by default the installed Python doesn't know about
XRootD which was installed into /usr/local/lib/python3.X. Using a local
installation we can work around it. Note that we cannot set --user in
PIP_OPTIONS as it conflicts with --prefix, which is added by the build
system in bindings/python/CMakeLists.txt.


  Commit: 49d1dd9292ac32798adbcd67a437f3dff4a60af4
      https://github.com/xrootd/xrootd/commit/49d1dd9292ac32798adbcd67a437f3dff4a60af4
  Author: Guilherme Amadio <[log in to unmask]>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M src/XrdTls/XrdTlsContext.cc

  Log Message:
  -----------
  [XrdTls] Replace "#ifdef HAVE_TLS" with a version-based check

This ensures that the right function is used with both shared and static
libraries, as CMake's check_symbol_exists() doesn't work with static
libraries. The release notes for OpenSSL 1.1.0 mention the deprecation
of the old function and recommends using the new TLS_method(). More
information at https://www.openssl.org/news/cl111.txt.


  Commit: 4cd7be55126c2d4841c4a1f795530d7d5b2dd46a
      https://github.com/xrootd/xrootd/commit/4cd7be55126c2d4841c4a1f795530d7d5b2dd46a
  Author: simonmichal <[log in to unmask]>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M .github/workflows/build.yml
    M CMakeLists.txt
    R cmake/FindCPPUnit.cmake
    A cmake/FindCppUnit.cmake
    M cmake/FindKerberos5.cmake
    R cmake/FindLibUuid.cmake
    R cmake/FindOpenSSL.cmake
    M cmake/FindReadline.cmake
    R cmake/FindSystemd.cmake
    A cmake/Findlibuuid.cmake
    A cmake/Findsystemd.cmake
    M cmake/XRootDDefaults.cmake
    M cmake/XRootDFindLibs.cmake
    M genversion.sh
    M packaging/makesrpm.sh
    M src/XrdTls/XrdTlsContext.cc

  Log Message:
  -----------
  Merge pull request #1823 from amadio/cmake

CMake build system updates


Compare: https://github.com/xrootd/xrootd/compare/399392cea0ae...4cd7be55126c

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1