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)