[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1025823: marked as done (qt6-base FTBFS on Alpha; Unknown Q_PROCESSOR_xxx macro)



Your message dated Mon, 17 Jul 2023 19:37:03 +0000
with message-id <E1qLU1n-00G96G-Dy@fasolo.debian.org>
and subject line Bug#1025823: fixed in qt6-base 6.4.2+dfsg-13
has caused the Debian Bug report #1025823,
regarding qt6-base FTBFS on Alpha; Unknown Q_PROCESSOR_xxx macro
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 owner@bugs.debian.org
immediately.)


-- 
1025823: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025823
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: qt6-base
Version: 6.3.1+dfsg-10
Severity: important
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)

The build fails with:
/<<PKGBUILDDIR>>/src/corelib/plugin/qelfparser_p.cpp:178:4: error: #error "Unknown Q_PROCESSOR_xxx macro, please update."

Full log at:
https://buildd.debian.org/status/fetch.php?pkg=qt6-base&arch=alpha&ver=6.3.1%2Bdfsg-10&stamp=1664652510&raw=0

Attached is patch to provide the Q_PROCESSOR defines for Alpha.  With
that qt6-base builds successfully.

Cheers
Michael.

Index: qt6-base-6.3.1+dfsg/src/corelib/global/qprocessordetection.h
===================================================================
--- qt6-base-6.3.1+dfsg.orig/src/corelib/global/qprocessordetection.h
+++ qt6-base-6.3.1+dfsg/src/corelib/global/qprocessordetection.h
@@ -82,11 +82,12 @@
 /*
     Alpha family, no revisions or variants
 
-    Alpha is bi-endian, use endianness auto-detection implemented below.
+    Alpha is bi-endian; use auto-detection below.
 */
-// #elif defined(__alpha__) || defined(_M_ALPHA)
-// #  define Q_PROCESSOR_ALPHA
-// Q_BYTE_ORDER not defined, use endianness auto-detection
+#if defined(__alpha__) || defined(_M_ALPHA)
+#  define Q_PROCESSOR_ALPHA
+#  define Q_PROCESSOR_WORDSIZE 8
+#endif
 
 /*
     ARM family, known revisions: V5, V6, V7, V8
Index: qt6-base-6.3.1+dfsg/src/corelib/plugin/qelfparser_p.cpp
===================================================================
--- qt6-base-6.3.1+dfsg.orig/src/corelib/plugin/qelfparser_p.cpp
+++ qt6-base-6.3.1+dfsg/src/corelib/plugin/qelfparser_p.cpp
@@ -141,6 +141,8 @@ struct ElfMachineCheck
     static const Elf32_Half ExpectedMachine =
 #if 0
             // nothing
+#elif defined(Q_PROCESSOR_ALPHA)
+            EM_ALPHA
 #elif defined(Q_PROCESSOR_ARM_32)
             EM_ARM
 #elif defined(Q_PROCESSOR_ARM_64)
@@ -407,6 +409,7 @@ Q_DECL_UNUSED Q_DECL_COLD_FUNCTION stati
     switch (r.machine) {
     // list definitely not exhaustive!
     case EM_NONE:       d << ", no machine"; break;
+    case EM_ALPHA:	d << ", Alpha"; break;
     case EM_ARM:        d << ", ARM"; break;
     case EM_AARCH64:    d << ", AArch64"; break;
 #ifdef EM_BLACKFIN

--- End Message ---
--- Begin Message ---
Source: qt6-base
Source-Version: 6.4.2+dfsg-13
Done: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>

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

Debian distribution maintenance software
pp.
Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org> (supplier of updated qt6-base 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 17 Jul 2023 15:52:14 -0300
Source: qt6-base
Architecture: source
Version: 6.4.2+dfsg-13
Distribution: experimental
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Closes: 1025823 1038089 1041300
Changes:
 qt6-base (6.4.2+dfsg-13) experimental; urgency=medium
 .
   * Team upload to unstable.
 .
   [ Pino Toscano ]
   * Drop the support for the dead GNU/kFreeBSD (which was never really used):
     - drop the kfreebsd-any qualifiers from the firebird-dev build dependency
     - drop the kfreebsd-any qualifiers from binary packages
     - drop the kfreebsd-any qualifiers in install files
   * Backport upstream commit eeb66b99df521c4a32b8eda1d889f615319355a6 to support
     Alpha; patch upstream_Add-enable-Alpha-detection.patch. (Closes: #1025823)
   * Mark some Linux-only examples in qt6-base-examples as such.
   * Recommend qt6-wayland in libqt6gui6, so it is installed by default.
     (Closes: #1038089)
 .
   [ Lisandro Damián Nicanor Pérez Meyer ]
   * Fix wrong Break+Replaces on qt6-base-dev against libqt6opengl6-dev
     (Closes: #1041300). Thanks Helmut Grohne for the bug report.
   * Remove libgl1-mesa-dev from build dependencies. It has been superseded by
     libgl-dev, which is already a build dependency.
Checksums-Sha1:
 762e162563fdc4b35a59a8b00c4aa33c0146c778 4817 qt6-base_6.4.2+dfsg-13.dsc
 9591bc2e2f4e0ed5c7f8b98d9e4bd6fe1af101c1 185204 qt6-base_6.4.2+dfsg-13.debian.tar.xz
 b432e7a591ae9ec944a9a25e97746d5922956add 14474 qt6-base_6.4.2+dfsg-13_source.buildinfo
Checksums-Sha256:
 0709da4358a93ab30c546bac76b1450a58eb7e6167ad4d7b15bf7739aba6a1bd 4817 qt6-base_6.4.2+dfsg-13.dsc
 01c7df92d72789ba04be5ed5758143d30c4b5a76a58dc8076ab54583c40fd871 185204 qt6-base_6.4.2+dfsg-13.debian.tar.xz
 8f3bec65c001a9fe991e5886dac805d0c58289143659186d1346d1e959da95e2 14474 qt6-base_6.4.2+dfsg-13_source.buildinfo
Files:
 f78ce548373eac8f4fe0e5743cd0f59c 4817 libs optional qt6-base_6.4.2+dfsg-13.dsc
 419ba6495da8c5eaaf4ea119d645fc13 185204 libs optional qt6-base_6.4.2+dfsg-13.debian.tar.xz
 1a2473a9fc5f743e9faa0ae020d726fc 14474 libs optional qt6-base_6.4.2+dfsg-13_source.buildinfo

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

iQJIBAEBCgAyFiEEEt36hKwjsrvwSzE8q2RfQGKGp9AFAmS1jgkUHGxpc2FuZHJv
QGRlYmlhbi5vcmcACgkQq2RfQGKGp9Cr3xAAtaASu9ArAnzV64uGIE1sRCn66G60
Rt6Zj+svSn6gfitR0kdUaiFJzp6Iy/ehRdScjySudc/lqoxBCGaBgD86iiTZSc+S
jHxjLqSyErjCy1GlAELPysHWOftIuYvVIF1KGz8ULwXjNADilUabbU92FhYQuiZh
k0w52oHBVsM7FAqAJPeZIiH7DrhfE8rH+ZZ3nZ2Guxk1vYR4QZE1TKxGWrwzUV7L
NV2iK0nO8IVxEjzbaFoAvUEbLExbIyj35SsFVCAdn8VjeAQlYuI8JEIsrwmwlkGT
a56ByB7SgSOHmDjz1abfq51Bp612xD/62mJEhKbdebjtqjezuEmG7Y1+SsL5WMjm
AfNTUv8kPkRygFDqyKM+Ct9C6gLXpDTFk1XRDjN76gGTczJYmt3ZNoX1JYvpWp/K
TccuNCgmSl117iAui+JFXCsHQtJFvzzG505KkNVPNYJN+FK/PFANZATPbDFMhXFG
/4D+4OLvGgnbhcQ5mOytAb9+y50YCOKMZAKIh54qf1e8dAfcsJBr+/u3MUB0VoMz
BXVUIUjXSrglPlXScjUTdujhUE0+oxtmaZTzH4oFiPrQjWiWSetg98cpt7J6tGoF
UDxWT183CrXyAZMfGSVsM+7nUjzTRNTE3waXujnDV3QlpFeXm2RUj7SxMm+GCX6m
DQmj+bGT/DBZTqA=
=IWCr
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: