Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 795567 - net-im/telegram-desktop-2.7.4-r1[webkit] fails to build with gcc11 (error: ‘optional’ in namespace ‘std’ does not name a template type)
Summary: net-im/telegram-desktop-2.7.4-r1[webkit] fails to build with gcc11 (error: ‘o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Esteve Varela Colominas
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-06-12 09:36 UTC by reckor
Modified: 2021-06-13 09:40 UTC (History)
3 users (show)

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


Attachments
build log (build.log,227.05 KB, text/x-log)
2021-06-12 09:36 UTC, reckor
Details
emerge info (emergeinfo.log,6.71 KB, text/x-log)
2021-06-12 10:44 UTC, reckor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description reckor 2021-06-12 09:36:19 UTC
Created attachment 715491 [details]
build log

Hello all,
Compile error for net-im/telegram-desktop-2.7.4-r1 attached.
Previous version 2.7.1-r2 working properly.
Thanks
Comment 1 Esteve Varela Colominas 2021-06-12 10:38:23 UTC
Can I get an emerge --info?
I could've sworn I had tested USE=webkit, but maybe not with gcc 11.
Comment 2 reckor 2021-06-12 10:44:36 UTC
Created attachment 715494 [details]
emerge info

Sure, pls find it attached as well
Comment 3 Esteve Varela Colominas 2021-06-12 22:19:25 UTC
Thanks a lot for your bug report. I've submitted a pull request that should fix it. In the meantime, you can either wait for it to hit the tree or build with USE=-webkit. Protip: webkit is only used for some payment processing dialogs, so you'll rarely need it if at all (though it doesn't hurt if webkit-gtk is already installed for other programs).

P.s. sorry for the spontaneous renames, "webkit" and "webview" are used interchangeably and it's confusing.
Comment 4 Larry the Git Cow gentoo-dev 2021-06-12 22:49:16 UTC
The bug has been closed via the following commit(s):

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

commit afb53f971e30a3205aa6135ff113984982380e43
Author:     Esteve Varela Colominas <esteve.varela@gmail.com>
AuthorDate: 2021-06-12 22:06:13 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2021-06-12 22:48:41 +0000

    net-im/telegram-desktop: Fix USE=webkit on GCC 11
    
    No runtime effect, no revbump.
    
    Closes: https://bugs.gentoo.org/795567
    Thanks-to: reckor@gmail.com <reckor@gmail.com>
    Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/21216
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 .../files/tdesktop-2.7.4-webview-fix-gcc11.patch               | 10 ++++++++++
 1 file changed, 10 insertions(+)
Comment 5 reckor 2021-06-13 09:40:28 UTC
Thank you very much, Esteve. New version is now working.

Best wishes