Bug 1676813 - smokeqt-4.14.3-16.fc30: FTBFS: missing type: QImage::InvertMode in method static bool Blitz::invert(QImage&, QImage::InvertMode)
Summary: smokeqt-4.14.3-16.fc30: FTBFS: missing type: QImage::InvertMode in method sta...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: smokeqt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1676715 (view as bug list)
Depends On:
Blocks: 1744113
TreeView+ depends on / blocked
 
Reported: 2019-02-13 09:54 UTC by Petr Pisar
Modified: 2019-08-21 12:01 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-27 13:32:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2019-02-13 09:54:34 UTC
smokeqt-4.14.3-16.fc30 fails to build in F30:

BUILDSTDERR: Generating SMOKE sources... 
BUILDSTDERR: preparing SMOKE data [qimageblitz]
BUILDSTDERR: writing out smokedata.cpp [qimageblitz]
BUILDSTDERR: missing type: QImage::InvertMode in method static bool Blitz::invert(QImage&, QImage::InvertMode) (while building munged names map)
BUILDSTDERR: make[2]: *** [qimageblitz/CMakeFiles/smokeqimageblitz.dir/build.make:66: qimageblitz/smokedata.cpp] Aborted (core dumped)

A RPM versions difference is:

Removed packages:
        cmake-3.13.3
        cmake-data-3.13.3
        cmake-filesystem-3.13.3
        cmake-rpm-macros-3.13.3
        crypto-policies-20181122
        curl-7.63.0
        filesystem-3.9
        glib2-2.59.1
        hwdata-0.319
        libcurl-7.63.0
        libidn2-2.0.5
        libpkgconf-1.5.4
        mesa-khr-devel-19.0.0~rc1
        mesa-libEGL-19.0.0~rc1
        mesa-libgbm-19.0.0~rc1
        mesa-libGL-19.0.0~rc1
        mesa-libGL-devel-19.0.0~rc1
        mesa-libglapi-19.0.0~rc1
        pixman-0.36.0
        pkgconf-1.5.4
        pkgconf-m4-1.5.4
        pkgconf-pkg-config-1.5.4
        proj-4.9.3
        python-setuptools-wheel-40.7.1
        qscintilla-2.10.8
        qscintilla-devel-2.10.8
        rhash-1.3.5
        systemd-libs-240
Added packages:
        cmake-3.13.4
        cmake-data-3.13.4
        cmake-filesystem-3.13.4
        cmake-rpm-macros-3.13.4
        crypto-policies-20190211
        curl-7.64.0
        filesystem-3.10
        glib2-2.59.2
        hwdata-0.320
        libcurl-7.64.0
        libidn2-2.1.1a
        libpkgconf-1.6.0
        mesa-khr-devel-19.0.0~rc2
        mesa-libEGL-19.0.0~rc2
        mesa-libgbm-19.0.0~rc2
        mesa-libGL-19.0.0~rc2
        mesa-libGL-devel-19.0.0~rc2
        mesa-libglapi-19.0.0~rc2
        pixman-0.38.0
        pkgconf-1.6.0
        pkgconf-m4-1.6.0
        pkgconf-pkg-config-1.6.0
        proj-5.2.0
        python-setuptools-wheel-40.8.0
        qscintilla-2.11
        qscintilla-devel-2.11
        rhash-1.3.8
        systemd-libs-241~rc2

This can also be caused by using a library rebuilt with GCC 9 (it optimizes out some methods).

Comment 1 Petr Pisar 2019-05-27 12:52:07 UTC
It fails like this:

[test@fedora-31 x86_64-redhat-linux-gnu]$ cd phonon/
[test@fedora-31 phonon]$ /usr/bin/smokegen -config /home/test/fedora/smokeqt/smokeqt-4.14.3/x86_64-redhat-linux-gnu/phonon/../qtgui/config.xml -smokeconfig /home/test/fedora/smokeqt/smokeqt-4.14.3/phonon/smokeconfig.xml -I /usr/include -L /home/test/fedora/smokeqt/smokeqt-4.14.3/x86_64-redhat-linux-gnu -- /home/test/fedora/smokeqt/smokeqt-4.14.3/phonon/phonon_includes.h
using generator "/usr/bin/../lib64/smokegen/generator_smoke.so"
parsing "/home/test/fedora/smokeqt/smokeqt-4.14.3/phonon/phonon_includes.h"
Generating SMOKE sources...
preparing SMOKE data [phonon]
writing out smokedata.cpp [phonon]
missing type: const Phonon::Capture::DeviceType& in method static QDebug Phonon::operator<<(QDebug, const Phonon::Capture::DeviceType&) (while building munged names map)
Aborted (core dumped)

smokeqt is only build-requires by perl-Qt. perl-Qt is only build-required by debconf and that only by a mistake. debconf removed perl-Qt frontend in 1.5.69 as a result of Debian having the same issues <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629405>, <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887687>.

Because I don't have any use of it and I don't want to keep it dying anymore I'm going to remove smokeqt and perl-Qt from Fedora 31.

Comment 2 Sergio Basto 2019-05-27 12:58:19 UTC
*** Bug 1676715 has been marked as a duplicate of this bug. ***

Comment 3 Petr Pisar 2019-05-27 13:32:09 UTC
Removed from the distribution with this commit:

commit 449ac99a35eb93bea2c088e4b1d47f9b2f646d7d (HEAD -> master, origin/master, origin/HEAD)
Author: Petr Písař <ppisar>
Date:   Mon May 27 15:28:06 2019 +0200

    Fails to build, abandonded by upstream, Qt4 is deprecated (bug #1676813).

Comment 4 Sergio Basto 2019-05-27 15:51:06 UTC
(In reply to Petr Pisar from comment #1)
> Because I don't have any use of it and I don't want to keep it dying anymore
> I'm going to remove smokeqt and perl-Qt from Fedora 31.

Thanks Petr , I was planing the same , I saw you already fixed debconf. 
We should announce this on kde Mailing list , at least to Rex knows the good news , reference [1] .

[1]
https://lists.fedoraproject.org/archives/list/kde@lists.fedoraproject.org/thread/BNHFQ3EA4WDEGAX725RUJGXWSIXIHTB2/


Note You need to log in before you can comment on or make changes to this bug.