Your message dated Sun, 29 Oct 2023 15:06:24 +0000
with message-id <[email protected]>
and subject line Bug#1054994: fixed in xrootd 5.6.3-3
has caused the Debian Bug report #1054994,
regarding xrootd: FTBFS on hppa - open with O_CREAT or O_TMPFILE in second 
argument needs 3 arguments
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1054994: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054994
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xrootd
Version: 5.6.3-2
Severity: normal
Tags: ftbfs patch

Dear Maintainer,

Build fails here:
[ 99%] Building CXX object 
tests/XrdClTests/CMakeFiles/XrdClTests.dir/OperationsWorkflowTest.cc.o
cd /<<PKGBUILDDIR>>/obj-hppa-linux-gnu/tests/XrdClTests && /usr/bin/c++ 
-DHAVE_ATOMICS -DHAVE_CRYPT -DHAVE_CURL_MULTI_WAIT -DHAVE_DH_PADDED 
-DHAVE_ET_COM_ERR_H -DHAVE_FSTATAT -DHAVE_FUSE -DHAVE_GETHBYXR 
-DHAVE_GETIFADDRS -DHAVE_LIBZ -DHAVE_NAMEINFO -DHAVE_PROTOR -DHAVE_READLINE 
-DHAVE_SENDFILE -DHAVE_SETRESUID -DHAVE_SHADOWPW -DHAVE_SIGWTI -DHAVE_SSL 
-DHAVE_SYSTEMD -DHAVE_XML2 -DHAVE_XRDCRYPTO -DXRDPLUGIN_SOVERSION=\"5\" 
-DXrdClTests_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/obj-hppa-linux-gnu/src 
-I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/tests/XrdClTests/../common -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security 
-Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter 
-std=gnu++14 -fPIC -MD -MT 
tests/XrdClTests/CMakeFiles/XrdClTests.dir/OperationsWorkflowTest.cc.o -MF 
CMakeFiles/XrdClTests.dir/OperationsWorkflowTest.cc.o.d -o 
CMakeFiles/XrdClTests.dir/OperationsWorkflowTest.cc.o -c 
/<<PKGBUILDDIR>>/tests/XrdClTests/OperationsWorkflowTest.cc
In file included from /usr/include/fcntl.h:342,
                 from 
/<<PKGBUILDDIR>>/tests/XrdClTests/LocalFileHandlerTest.cc:25:
In function ‘int open(const char*, int, ...)’,
    inlined from ‘void LocalFileHandlerTest::WriteMkdirTest()’ at 
/<<PKGBUILDDIR>>/tests/XrdClTests/LocalFileHandlerTest.cc:210:17:
/usr/include/hppa-linux-gnu/bits/fcntl2.h:50:31: error: call to 
‘__open_missing_mode’ declared with attribute error: open with O_CREAT or 
O_TMPFILE in second argument needs 3 arguments
   50 |           __open_missing_mode ();
      |           ~~~~~~~~~~~~~~~~~~~~^~
make[4]: *** [tests/XrdClTests/CMakeFiles/XrdClTests.dir/build.make:205: 
tests/XrdClTests/CMakeFiles/XrdClTests.dir/LocalFileHandlerTest.cc.o] Error 1

Full log is here:
https://buildd.debian.org/status/fetch.php?pkg=xrootd&arch=hppa&ver=5.6.3-2&stamp=1698540721&raw=0

It's a puzzle why the package doesn't fail to build on other architectures
but adding a mode argument to LocalFileHandlerTest.cc:210 fixes build. See
attached patch. Probably, it would be better to fix flags argument.

Regards,
Dave Anglin

-- System Information:
Debian Release: trixie/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.1.60+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
--- ./tests/XrdClTests/LocalFileHandlerTest.cc.save     2023-10-29 
01:22:07.198005340 +0000
+++ ./tests/XrdClTests/LocalFileHandlerTest.cc  2023-10-29 01:22:23.998124928 
+0000
@@ -207,7 +207,7 @@
    
//----------------------------------------------------------------------------
    // Read file with POSIX calls to confirm correct write
    
//----------------------------------------------------------------------------
-   int fd = open( targetURL.c_str(), flags );
+   int fd = open( targetURL.c_str(), flags, mode );
    int rc = read( fd, buffer, writeSize );
    CPPUNIT_ASSERT_EQUAL( rc, int( writeSize ) );
    std::string read( buffer, writeSize );

--- End Message ---
--- Begin Message ---
Source: xrootd
Source-Version: 5.6.3-3
Done: Mattias Ellert <[email protected]>

We believe that the bug you reported is fixed in the latest version of
xrootd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattias Ellert <[email protected]> (supplier of updated xrootd 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 29 Oct 2023 09:17:42 +0100
Source: xrootd
Architecture: source
Version: 5.6.3-3
Distribution: unstable
Urgency: medium
Maintainer: Mattias Ellert <[email protected]>
Changed-By: Mattias Ellert <[email protected]>
Closes: 1054994
Changes:
 xrootd (5.6.3-3) unstable; urgency=medium
 .
   * Fix test issues (Closes: #1054994)
Checksums-Sha1:
 5c04c693def7bf41c20a179be239f723fbb3e86a 4373 xrootd_5.6.3-3.dsc
 ba1123760a0c98df45a73c455531420e860ecbb2 13384 xrootd_5.6.3-3.debian.tar.xz
 2b06e6df5bc4270895a7167c9c65d2f1df7ea0f2 27778 xrootd_5.6.3-3_amd64.buildinfo
Checksums-Sha256:
 160500536f3fc68c7ed9e9f96cbacddfb0791367c8393aa6d9626ea42e411f0c 4373 
xrootd_5.6.3-3.dsc
 b1d9cbe9d63ed773c545b40dbb129c726e09716efdc758e5e7467ad2e8e71b0a 13384 
xrootd_5.6.3-3.debian.tar.xz
 508f396c650f53bd41942707eef1ecc5b65f555e68a4f9f9a507244125571a38 27778 
xrootd_5.6.3-3_amd64.buildinfo
Files:
 b140a41dd5f0ffe27786c18a45b93e6b 4373 net optional xrootd_5.6.3-3.dsc
 79362ec532a7e0513b4e31a6f2c2553e 13384 net optional 
xrootd_5.6.3-3.debian.tar.xz
 101a9115dea815cb2c7d8ad7106335c3 27778 net optional 
xrootd_5.6.3-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE6hgwr99NQxrZ4RRS6K7C/zvhqUsFAmU+JR8ACgkQ6K7C/zvh
qUvUfw/+OkNuuGNzf/6E65UrYfT5CX3OX9fN4qbAklaNgCo9JwZyMZK3xQNIA6Ty
xQAzyt3l7RhnIm5h8X+P7f/9w8M+d2z//Trg4z6zVLjQhb1wKf5lxGNT9HaDDh+u
LciymDjNTLciQf6N4oq/UhP1/VmQitwSXROuSeRDUh8jSDrrR9IDuQaHfE8C8MH0
lV35BIDbnAJz2k/GvXe1GU1KAlWLd6tNOyryq2MMW1ckuOfFJNay6ZSwwTmkaVxx
MxN7JdMRV5v8hWLZrKP76sxAaaHIuclIFYkaXGkMc+00ByAS95DjQDK880BPrpGc
s/QoN7/EXdkcQAyjAjfh1fsnnWgzBO1zUJIUaXiXraa+HXq82QGAUrNIie3HTOSK
XjuOSTxTDw7B7ANc8OhHhSYlR3o70iUYIZ8YJCBpr0On+TTIusQjOygQ3mCwBvgz
uh813WEY0zN5MD3KYCl0GZppFcTuUreXwJlQCS0r4cKIIAh3rid4kY4loIKJpYgt
9r4luXmaBAKMVE1SavReH36cTbVAiz6QfUnRz2TTB7yYqTdeJAi8ElLeC6PC5KW3
xijInDJaxNAtS0S3HvHFzo3cVYKkG70bHMsCQvgIzPR0KHiPUDG2xU5slOvDFA3T
pFus1bu7n6CLjHj1AKZ9DgrN1A8thBAdqtVn9rUrVTBQ55mp+P8=
=Xc15
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to