Created attachment 865626 [details] emerge --info Trying to build x11-libs/wxGTK-3.0.5.1-r1 on a clang/libcxx/llvm profile gives the following error: --- /var/tmp/portage/x11-libs/wxGTK-3.0.5.1-r1/work/wxWidgets-3.0.5.1/src/stc/scintilla/src/Editor.cxx:5709:7: error: no member named 'auto_ptr' in namespace 'std' std::auto_ptr<CaseFolder> pcf(CaseFolderForEncoding()); ~~~~~^ /var/tmp/portage/x11-libs/wxGTK-3.0.5.1-r1/work/wxWidgets-3.0.5.1/src/stc/scintilla/src/Editor.cxx:5709:16: error: 'CaseFolder' does not refer to a value std::auto_ptr<CaseFolder> pcf(CaseFolderForEncoding()); ^ /var/tmp/portage/x11-libs/wxGTK-3.0.5.1-r1/work/wxWidgets-3.0.5.1/src/stc/scintilla/src/Document.h:158:7: note: declared here class CaseFolder { ^ /var/tmp/portage/x11-libs/wxGTK-3.0.5.1-r1/work/wxWidgets-3.0.5.1/src/stc/scintilla/src/Editor.cxx:5709:28: error: use of undeclared identifier 'pcf' std::auto_ptr<CaseFolder> pcf(CaseFolderForEncoding()); ^ /var/tmp/portage/x11-libs/wxGTK-3.0.5.1-r1/work/wxWidgets-3.0.5.1/src/stc/scintilla/src/Editor.cxx:5717:4: error: use of undeclared identifier 'pcf' pcf.get()); ^ 4 errors generated. --- Since the package expects features that have been removed from C++17 and libc's stricter adherence to the standards, adding -D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES to CPPFLAGS works around this issue, albeit with many "symbol not defined" warnings from ld.lld. I'm attaching both build logs.
Created attachment 865627 [details] build log (failed)
Created attachment 865628 [details] build log (successful)
Does wxGTK:3.2 fail like this as well?
(In reply to Mart Raudsepp from comment #3) > Does wxGTK:3.2 fail like this as well? Not like this, no.
OK, the mid-term goal is to just get rid of wxGTK-3.0, so we should look at its consumers and get them over to 3.2. I hope to get to poedit and wxhexeditor soon - what do you need 3.0 for?
(In reply to Mart Raudsepp from comment #5) > OK, the mid-term goal is to just get rid of wxGTK-3.0, so we should look at > its consumers and get them over to 3.2. I hope to get to poedit and > wxhexeditor soon - what do you need 3.0 for? ~% emerge -pvc \=x11-libs/wxGTK-3.0.5.1-r1 Calculating dependencies... done! x11-libs/wxGTK-3.0.5.1-r1 pulled in by: app-arch/p7zip-16.02-r8 requires x11-libs/wxGTK:3.0-gtk3[X] >>> No packages selected for removal by depclean Packages installed: 1472 Packages in world: 96 Packages in system: 49 Required packages: 1472 Number to remove: 0 ~%
(In reply to Mart Raudsepp from comment #5) > [...] what do you need 3.0 for? I actually need it for net-p2p/amule-2.3.3-r1 which I got in heavy use. ;)
audacity-2.4.2 depends on this package... So it will live, until old audacity dies, at least.