@simonmichal Not quite, there are two distinct packages no matter the distro:

root@ALICE2:~# apt search uuid | grep '^uuid'

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

uuid/focal,now 1.6.2-1.5build7 amd64 [installed]
uuid-dev/focal-updates,focal-security,now 2.34-0.1ubuntu9.3 amd64 [installed]
uuid-runtime/focal-updates,focal-security,now 2.34-0.1ubuntu9.3 amd64 [installed,automatic]
uuidcdef/focal 0.3.13-7 amd64
root@ALICE2:~# apt search uuid | grep '^libuuid'

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libuuid-perl/focal 0.28-1build1 amd64
libuuid-tiny-perl/focal,focal 1.0400-2 all
libuuid-urandom-perl/focal,focal 0.001-1 all
libuuid1/focal-updates,focal-security,now 2.34-0.1ubuntu9.3 amd64 [installed]
libuuidm-ocaml-dev/focal 0.9.7-1build1 amd64

so, given that there is package building CI in place, maybe just remove the pkg_check_modules(UUID REQUIRED uuid) from cmake/XRootDFindLibs.cmake and uuid requirements from packaging/wheel/setup.py (where it should be replaced by libuuid) as well as in packaging/debian/control and let's see if CI works...

for reference:

root@issaf: ~ # rpm -ql libuuid-devel | grep -v man
/usr/include/uuid
/usr/include/uuid/uuid.h
/usr/lib64/libuuid.so
/usr/lib64/pkgconfig/uuid.pc
/usr/share/doc/libuuid-devel-2.23.2
/usr/share/doc/libuuid-devel-2.23.2/COPYING
root@issaf: ~ # rpm -ql uuid-devel | grep -v man
/usr/bin/uuid-config
/usr/bin/uuid-config.64
/usr/include/uuid.h
/usr/lib64/libossp-uuid.so
/usr/lib64/pkgconfig/ossp-uuid.pc

so, given that i get this (note the usage of uuid/uuid.h (of libuuid) and absence of uuid.h provided by uuid ):

ag uuid.h
cmake/FindLibUuid.cmake
13:#   True if libuuid has been found.
15:#   Where to find uuid/uuid.h.
27:#   where to find the uuid/uuid.h header (same as UUID_INCLUDE_DIRS).
34:  find_path(UUID_INCLUDE_DIR uuid/uuid.h)
40:  check_cxx_symbol_exists("uuid_generate_random" "uuid/uuid.h" _uuid_header_only)
43:if(NOT _uuid_header_only AND NOT UUID_LIBRARY)
52:unset(_uuid_header_only)

src/XrdMacaroons/XrdMacaroonsHandler.cc
7:#include <uuid/uuid.h>

src/XrdCl/XrdClFileStateHandler.cc
58:#include <uuid/uuid.h>

i'm pretty sure that xrootd does not use uuid package, it only use libuuid package
so the dependencies should not re{quest,quire} uuid but only libuuid ..
Maybe it's better if you can do it, so the package building CI to be able to show the problems?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1727/1170080139@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1727#issuecomment-1170080139", "url": "https://github.com/xrootd/xrootd/issues/1727#issuecomment-1170080139", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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