Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921938 - mail-mta/proton-mail-bridge-3.6.1::gentoo fails to compile 'QStringList’ does not name a type
Summary: mail-mta/proton-mail-bridge-3.6.1::gentoo fails to compile 'QStringList’ does...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-12 15:18 UTC by bratzmeister
Modified: 2024-01-24 23:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_921938.txt,19.11 KB, text/plain)
2024-01-12 15:19 UTC, bratzmeister
Details
emerge build log (build.tar.xz,149.62 KB, application/x-xz)
2024-01-12 15:25 UTC, bratzmeister
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bratzmeister 2024-01-12 15:18:53 UTC
as requested by sam_ on #gentoo
Comment 1 bratzmeister 2024-01-12 15:19:46 UTC
Created attachment 882103 [details]
emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2024-01-12 15:23:16 UTC
Please never CC arches.
Comment 3 Andreas Sturmlechner gentoo-dev 2024-01-12 15:23:38 UTC
Missing build.log
Comment 4 bratzmeister 2024-01-12 15:25:09 UTC
Created attachment 882104 [details]
emerge build log
Comment 5 bratzmeister 2024-01-12 15:26:06 UTC
(In reply to Andreas Sturmlechner from comment #2)
> Please never CC arches.

sorry first timer
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-12 15:28:15 UTC
I think this is the PCH stuff...
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-12 15:30:09 UTC
[31mFAILED: [0mbridgepp/CMakeFiles/bridgepp.dir/bridgepp/BugReportFlow/BugReportFlow.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DPROTOBUF_USE_DLLS -DQT_CORE_LIB -DQT_NO_DEBUG -Dbridgepp_EXPORTS -I/var/tmp/portage/mail-mta/proton-mail-bridge-3.6.1/work/gui_build/bridgepp/bridgepp_autogen/include -I/var/tmp/portage/mail-mta/proton-mail-bridge-3.6.1/work/proton-bridge-3.6.1/internal/frontend/bridge-gui/bridgepp -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++  -O2 -pipe -std=gnu++20 -fPIC -fPIC -pthread -MD -MT bridgepp/CMakeFiles/bridgepp.dir/bridgepp/BugReportFlow/BugReportFlow.cpp.o -MF bridgepp/CMakeFiles/bridgepp.dir/bridgepp/BugReportFlow/BugReportFlow.cpp.o.d -o bridgepp/CMakeFiles/bridgepp.dir/bridgepp/BugReportFlow/BugReportFlow.cpp.o -c /var/tmp/portage/mail-mta/proton-mail-bridge-3.6.1/work/proton-bridge-3.6.1/internal/frontend/bridge-gui/bridgepp/bridgepp/BugReportFlow/BugReportFlow.cpp
In file included from /var/tmp/portage/mail-mta/proton-mail-bridge-3.6.1/work/proton-bridge-3.6.1/internal/frontend/bridge-gui/bridgepp/bridgepp/BugReportFlow/BugReportFlow.cpp:18:
/var/tmp/portage/mail-mta/proton-mail-bridge-3.6.1/work/proton-bridge-3.6.1/internal/frontend/bridge-gui/bridgepp/bridgepp/BugReportFlow/BugReportFlow.h:36:36: error: ‘QString’ does not name a type
   36 |     [[nodiscard]] bool parse(const QString& filepath); ///< Initialize the Bug Report Flow.
      |                                    ^~~~~~~
/var/tmp/portage/mail-mta/proton-mail-bridge-3.6.1/work/proton-bridge-3.6.1/internal/frontend/bridge-gui/bridgepp/bridgepp/BugReportFlow/BugReportFlow.h:38:19: error: ‘QVariantList’ does not name a type
   38 |     [[nodiscard]] QVariantList categories() const; ///< Getter for the 'bugCategories' property.
      |                   ^~~~~~~~~~~~

[...]

so just missing include(s)
Comment 8 bratzmeister 2024-01-12 15:33:10 UTC
also same machine https://bugs.gentoo.org/921939
Comment 9 bratzmeister 2024-01-12 17:23:37 UTC
can confirm compilation succeeds with 
MYCMAKEARGS="-DCMAKE_DISABLE_PRECOMPILE_HEADERS=OFF"
Comment 10 Larry the Git Cow gentoo-dev 2024-01-24 16:43:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=849d6b5c1efc0eb6df64c0b8cfb836d38650f136

commit 849d6b5c1efc0eb6df64c0b8cfb836d38650f136
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2024-01-24 16:37:49 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2024-01-24 16:37:49 +0000

    mail-mta/proton-mail-bridge: disable PCH for the GUI
    
    Enabled on Gentoo by default (in cmake.eclass), appears to cause
    problems for some users.
    
    Closes: https://bugs.gentoo.org/921938
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 mail-mta/proton-mail-bridge/proton-mail-bridge-3.6.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-24 23:18:30 UTC
That change is enabling PCH.