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

Bug#974108: marked as done (libkf5eventviews: FTBFS with qrand undefined)



Your message dated Sun, 22 Nov 2020 14:56:27 +0000
with message-id <E1kgqmx-0009OJ-Eh@fasolo.debian.org>
and subject line Bug#974108: fixed in libkf5eventviews 4:20.08.2-3
has caused the Debian Bug report #974108,
regarding libkf5eventviews: FTBFS with qrand undefined
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.)


-- 
974108: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974108
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libkf5eventviews
Version: 4:20.08.2-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi

some changes in Qt seem to have triggered FTBFS here, as it fails with
/build/libkf5eventviews-20.08.2/src/prefs.cpp: In member function 'void EventViews::Prefs::createNewColor(QColor&, int)':
/build/libkf5eventviews-20.08.2/src/prefs.cpp:968:25: error: 'qrand' was not declared in this scope; did you mean 'srand'?
  968 |     QColor col = QColor(qrand() % 256, qrand() % 256, qrand() % 256);
      |                         ^~~~~
      |                         srand

qrand is defined in qglobal.h with

/*
  Reentrant versions of basic rand() functions for random number generation
*/
#if QT_DEPRECATED_SINCE(5, 15)
Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed);
Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
#endif

so it seems that the deprecation has actually disabled the function.

Best

Norbert



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.6+ (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Source: libkf5eventviews
Source-Version: 4:20.08.2-3
Done: Pino Toscano <pino@debian.org>

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

Debian distribution maintenance software
pp.
Pino Toscano <pino@debian.org> (supplier of updated libkf5eventviews 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: Sun, 22 Nov 2020 15:34:32 +0100
Source: libkf5eventviews
Architecture: source
Version: 4:20.08.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Pino Toscano <pino@debian.org>
Closes: 974108
Changes:
 libkf5eventviews (4:20.08.2-3) unstable; urgency=medium
 .
   * Team upload.
   * Update standards version to 4.5.1, no changes needed.
   * Port stable_abi.patch to QRandomGenerator, so it builds with Qt 5.15.
     (Closes: #974108)
   * Re-export upstream signing key without extra signatures.
Checksums-Sha1:
 4dc877024ca05dfdc94e03fd6e66ab51e7414095 3189 libkf5eventviews_20.08.2-3.dsc
 c1931dbef9921c93742fae1c3a3ddd5726e0d3d5 12652 libkf5eventviews_20.08.2-3.debian.tar.xz
 7df258882f317e7c7e105265ecc9d8f22cba1c80 16066 libkf5eventviews_20.08.2-3_source.buildinfo
Checksums-Sha256:
 4f8de3846d0c78a5d9b4f4817d2378882bcbe6349dbc3c874ceb978d2552710e 3189 libkf5eventviews_20.08.2-3.dsc
 28e17278f98262d280dd5efc14ed30ed4c5a4d2d3a921c74bab79e15637a4589 12652 libkf5eventviews_20.08.2-3.debian.tar.xz
 9ef35020a80237cbdb9f2d402e3508359c904b2f0f7c583aff38054d259662f3 16066 libkf5eventviews_20.08.2-3_source.buildinfo
Files:
 2afaf044cbb66eebef5e03c4622c125c 3189 libs optional libkf5eventviews_20.08.2-3.dsc
 2930d509385ee334619960ac59e09038 12652 libs optional libkf5eventviews_20.08.2-3.debian.tar.xz
 0df7a17d4c0134d59c04e5c020976576 16066 libs optional libkf5eventviews_20.08.2-3_source.buildinfo

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

iQIzBAEBCgAdFiEEXyqfuC+mweEHcAcHLRkciEOxP00FAl+6dyMACgkQLRkciEOx
P01PsQ//RRURkrrlH7dsZNP5jvafaKJym2qT0dtzfxhlP62bh8HuAKF5vL5heAdD
VRRw+GruWsrNkc76uYS7lhqDeaklT32bYODXAeHQLWyrTTNcO2O0IjpeyYyn12vT
0uDa5uQs/K7+uTWQezQYkg/3e24LsQlTlassCTUcG7wQU3n26Wj1Eh56HkVRWECB
iLMpkhg6PkOjkp89q1YS6AOerHLZ0AHlIKnSCK8yil1nzeOSM9Oq47iJzSWDD91m
+HDx0VX/A25uYzQRvBw3Tgo58uz6Qvb0cgf1gew9No0dWutWcILAtgwZEn3Aq3O+
L1Y5U2/V5MJqIj7KtjbckYIpMn1NvftTy5G7NzegGeJT6PGQMRCnMy0AGj1g1UAF
dyZsAX4+JC/r4BZ84k1rhzL+GT4TcbV2fP4eLj5aYRcSHh4bk70w1azf3E0hCxVQ
f8DFP/vYM7JHuo5zj4Tn/XTTmRigHDlTceGx7xddKvIWLoH9NqP79HJsc8ce+bFA
2SMU6mKhrLMFXvZOqjfoDkemswWGwmM1uDQ1BHcLfZJabARTRuOaS2XcvlDWCllF
ctWC/N6cmR5XF2xRIB/DYgr6UDvHd2Pi/rbRekpPa/Yg/FKssgdc4iEaQvfsiwFm
V9KZrrtLg9iEaaGUbUzKhttPJVw0xbts6YpY6ma35JCAFj/zGs0=
=d2XU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: