Your message dated Mon, 12 Nov 2018 07:34:42 +0000
with message-id <e1gm6k6-000inn...@fasolo.debian.org>
and subject line Bug#896658: fixed in qtbase-opensource-src 5.11.2+dfsg-5
has caused the Debian Bug report #896658,
regarding qtbase-opensource-src FTBFS on alpha: ambiguous call of atime()
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 ow...@bugs.debian.org
immediately.)


-- 
896658: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896658
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: qtbase-opensource-src
Version: 5.10.1+dfsg-5
Severity: important
Justification: fails to build from source (but built in past)
User: debian-al...@lists.debian.org
Usertags: ftbfs
Tags: patch

qtbase-opensource-src FTBFS on Alpha [1] due to an ambiguous
resolution of the overloaded call to atime() with definitions of
atime() at lines 246, 254 and 299 in
src/corelib/io/qfilesystemengine_unix.cpp. The one at line 299
is declared as:

Q_DECL_UNUSED static typename std::enable_if<(&T::st_atimensec, true)
...

which I guess (I don't know C++ very well) means that if the field
st_atimensec is present then include that declaration of atime().  On
Alpha Linux this field is present in the struct stat declaration in
the header file (sys/stat.h) inside a union declaration, which looks
to be a unique definition of struct stat amongst the Linicies.  So
this definition of atime() at line 299 applies on Alpha Linux and
conflicts with one of the earlier definitions at lines 246 and 254.

I don't know if this is a bug in the header file (i.e. glibc) or
present for historical reasons (Alpha Linux being the first 64-bit
Linux does have some idiosyncrasies not repeated in later 64-bit
Linicies), nevertheless I attach a patch that disables the second
confounding definition of atime() at line 299 on Alpha only.  With
the patch qtbase-opensource-src builds to completion on Alpha.

Cheers
Michael.

[1]
https://buildd.debian.org/status/fetch.php?pkg=qtbase-opensource-src&arch=alpha&ver=5.10.1%2Bdfsg-5&stamp=1523222004&raw=0
--- a/src/corelib/io/qfilesystemengine_unix.cpp
+++ b/src/corelib/io/qfilesystemengine_unix.cpp
@@ -292,7 +292,7 @@
 { return timespecToMSecs(statBuffer.st_mtimespec); }
 #endif
 
-#ifndef st_mtimensec
+#if !defined(st_mtimensec) && !defined(__alpha__)
 // Xtimensec
 template <typename T>
 Q_DECL_UNUSED static typename std::enable_if<(&T::st_atimensec, true), qint64>::type

--- End Message ---
--- Begin Message ---
Source: qtbase-opensource-src
Source-Version: 5.11.2+dfsg-5

We believe that the bug you reported is fixed in the latest version of
qtbase-opensource-src, 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 896...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mity...@debian.org> (supplier of updated qtbase-opensource-src 
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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 12 Nov 2018 10:08:10 +0300
Source: qtbase-opensource-src
Binary: libqt5core5a libqt5gui5 qt5-gtk-platformtheme qt5-flatpak-platformtheme 
libqt5network5 libqt5opengl5 libqt5sql5 libqt5sql5-mysql libqt5sql5-odbc 
libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-tds libqt5sql5-ibase libqt5xml5 
libqt5dbus5 libqt5test5 libqt5concurrent5 libqt5widgets5 libqt5printsupport5 
qtbase5-dev qtbase5-private-dev libqt5opengl5-dev qtbase5-dev-tools 
qt5-qmake-bin qt5-qmake qtbase5-examples qt5-default qtbase5-doc 
qtbase5-doc-html
Architecture: source
Version: 5.11.2+dfsg-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-...@lists.debian.org>
Changed-By: Dmitry Shachnev <mity...@debian.org>
Description:
 libqt5concurrent5 - Qt 5 concurrent module
 libqt5core5a - Qt 5 core module
 libqt5dbus5 - Qt 5 D-Bus module
 libqt5gui5 - Qt 5 GUI module
 libqt5network5 - Qt 5 network module
 libqt5opengl5 - Qt 5 OpenGL module
 libqt5opengl5-dev - Qt 5 OpenGL library development files
 libqt5printsupport5 - Qt 5 print support module
 libqt5sql5 - Qt 5 SQL module
 libqt5sql5-ibase - Qt 5 Firebird database driver
 libqt5sql5-mysql - Qt 5 MySQL database driver
 libqt5sql5-odbc - Qt 5 ODBC database driver
 libqt5sql5-psql - Qt 5 PostgreSQL database driver
 libqt5sql5-sqlite - Qt 5 SQLite 3 database driver
 libqt5sql5-tds - Qt 5 FreeTDS database driver
 libqt5test5 - Qt 5 test module
 libqt5widgets5 - Qt 5 widgets module
 libqt5xml5 - Qt 5 XML module
 qt5-default - Qt 5 development defaults package
 qt5-flatpak-platformtheme - Qt 5 Flatpak platform theme
 qt5-gtk-platformtheme - Qt 5 GTK+ 3 platform theme
 qt5-qmake  - Qt 5 qmake Makefile generator tool
 qt5-qmake-bin - Qt 5 qmake Makefile generator tool — binary file
 qtbase5-dev - Qt 5 base development files
 qtbase5-dev-tools - Qt 5 base development programs
 qtbase5-doc - Qt 5 base documentation
 qtbase5-doc-html - Qt 5 base HTML documentation
 qtbase5-examples - Qt 5 base examples
 qtbase5-private-dev - Qt 5 base private development files
Closes: 896658 913499
Changes:
 qtbase-opensource-src (5.11.2+dfsg-5) unstable; urgency=medium
 .
   * Add a patch to use qstrncpy instead of strlcpy on GNU/kFreeBSD
     (kfreebsd_qstrncpy.diff).
   * Add a patch to fix ambiguous definition of atime/mtime/ctime
     on alpha, thanks Michael Cree (closes: #896658).
   * debian/rules: Use qmake cross wrapper in Qt5CoreConfigExtras.cmake
     (closes: #913499).
Checksums-Sha1:
 ea361fcd5607f943c9f5e437e5423db1d25cfdf9 5167 
qtbase-opensource-src_5.11.2+dfsg-5.dsc
 7e98a2e561da8015d06aaba48a74deae388f7f49 231904 
qtbase-opensource-src_5.11.2+dfsg-5.debian.tar.xz
 92b3e8cd2783dd7f29d3499b4756aa5861cf1aaa 10646 
qtbase-opensource-src_5.11.2+dfsg-5_source.buildinfo
Checksums-Sha256:
 9e18cb01bbcb5c482a803ee9fb9ab332b25a0ef160bef1a1fc41f545e2bb222e 5167 
qtbase-opensource-src_5.11.2+dfsg-5.dsc
 576443d047964bbbd7f6b81be96d3b3e5601f78d3456094fb243a56eed92dabe 231904 
qtbase-opensource-src_5.11.2+dfsg-5.debian.tar.xz
 fe699a5ff99ffb67c65f0e0b1c79890ff2a4ddffec1fd92e32ecfad7000bee29 10646 
qtbase-opensource-src_5.11.2+dfsg-5_source.buildinfo
Files:
 de839e6726c8972317c5818a6f996d69 5167 libs optional 
qtbase-opensource-src_5.11.2+dfsg-5.dsc
 25122ca580ce3c8319dfe0a178f20fb9 231904 libs optional 
qtbase-opensource-src_5.11.2+dfsg-5.debian.tar.xz
 e352809936586b53c3141ea05af52d56 10646 libs optional 
qtbase-opensource-src_5.11.2+dfsg-5_source.buildinfo

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

iQJHBAEBCgAxFiEEbEPcK+5mZmLK5jNU1v5xA2P4XdMFAlvpJ/ETHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRDW/nEDY/hd03HsD/9gwflN2K+B2G4wNP8a/gf7MlVrVJFN
zOecEK2vMJCFcFm7KalSEifWJdzXT+Vb4TIhQ7I6pVhhSKjCUI+8Zi0EFhVLi03F
929w0KHotaploS96CqxgI0HH2R2yN2HuV4ZQ9BhsGHnB5399Ttn3YKX30Rrk46Mc
xvwI41isqsWaicqsldtFpp0NYvEa+RuDpI5IdPRNunRmDKbOqr1LpjswAAu32faS
wGVu560RFEyIYaJNQ5HqlzCuztwLFqd1sPlGvJr3AjPjbZ18gUrXJwKuXYsHa6Yh
lGG9R5dDXCCkAYnj/JCzPokFC7mJY+O2WdGiB/n1AXE4AOYPLv3vq5DDQni0uswm
3eclo3ndRHtYdfF5/vaic3gtd1jMGmX2DPMlofm9C+2gXrxU+uvgon3s/teWDEwU
kuURoEdR1LSra8qi/7YsloAmBZTrxxTzoIBwHTS6/wFgAfZG1kjxSC1Nxp1D2tAc
N/SGUP3RvYbGjXk3LcHwvuGnNjPH6J2HWzUlHXpSNkHBejLVO4cIgQYhil/mBgvU
iCIAET4eVSm4Fj5Q0EnTonW40vnIJdXLu/HHWPEoAh4bo6dDGIybl1cQufsLZjXu
p3sh6vTsntyHQOlYld6/S0vNKf3LOmEln9u5w/Wwf6p1g5QHNRdMx+zkBbEmtx8Y
zUcTPXmVn/7Opw==
=U8X1
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to