Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 912896

Summary: dev-cpp/cppgir-0_p20230701: error: too few template arguments for class template 'map' (libcxx)
Product: Gentoo Linux Reporter: Carlos <carana2099>
Component: Current packagesAssignee: Esteve Varela Colominas <esteve.varela>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 915992    
Bug Blocks:    
Attachments: build.log + emerge --info

Description Carlos 2023-08-23 22:28:22 UTC
A few files in the source code use the map C++ template without #include <map>, which is necessary in libcxx.

Reproducible: Always

Steps to Reproduce:
1. musl/clang(16) profile
2. emerge -1 dev-cpp/cppgir
Actual Results:  
Build fails.

Expected Results:  
Build works.

A simple `-include map' in CXXFLAGS lets the program build, that's why I have the latest version in emerge --info.

Maybe we should reinstate the portions of the FreeBSD patches that had #include <map> ?
Comment 1 Carlos 2023-08-23 22:29:35 UTC
Created attachment 868580 [details]
build.log + emerge --info
Comment 2 Esteve Varela Colominas 2023-10-14 19:58:47 UTC
Fixed as of dev-cpp/cppgir-0_p20230926, will be closed when that gets dropped.
Comment 3 Larry the Git Cow gentoo-dev 2023-12-11 13:25:50 UTC
The bug has been closed via the following commit(s):

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

commit 7497d83f469b739fcc81775878c5e59c2000e5c8
Author:     Esteve Varela Colominas <esteve.varela@gmail.com>
AuthorDate: 2023-12-10 22:30:20 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2023-12-11 13:23:32 +0000

    net-im/telegram-desktop: Drop stable
    
    The list of bugs has become untenable, the package is essentially
    unusable, and there's no clear idea of when glibmm will be bumped.
    
    Sorry for the inconveniences...
    
    Bug: https://bugs.gentoo.org/915992
    Closes: https://bugs.gentoo.org/877067
    Closes: https://bugs.gentoo.org/910544
    Closes: https://bugs.gentoo.org/911395
    Closes: https://bugs.gentoo.org/912896
    Closes: https://bugs.gentoo.org/914419
    Closes: https://bugs.gentoo.org/914902
    Closes: https://bugs.gentoo.org/915109
    Closes: https://bugs.gentoo.org/915237
    Closes: https://bugs.gentoo.org/915982
    Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 net-im/telegram-desktop/Manifest                   |   1 -
 .../files/tdesktop-4.4.1-fix-dupe-main-decl.patch  |  26 ---
 .../telegram-desktop-4.8.1-r3.ebuild               | 210 ---------------------
 3 files changed, 237 deletions(-)