Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924551 - app-text/doxygen-1.10.0-r1: fails to compile (MUSL-CLANG19): implicit instantiation of undefined template 'std::char_traits<unsigned char>'
Summary: app-text/doxygen-1.10.0-r1: fails to compile (MUSL-CLANG19): implicit instant...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-14 12:45 UTC by hugegameartgd
Modified: 2024-02-18 17:54 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info.log,18.33 KB, text/x-log)
2024-02-14 12:45 UTC, hugegameartgd
Details
build.log (build.log.gz,6.32 KB, application/gzip)
2024-02-14 12:46 UTC, hugegameartgd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hugegameartgd 2024-02-14 12:45:28 UTC
Created attachment 884955 [details]
emerge --info

app-text/doxygen-1.10.0-r1 fails to compile with libc++-19 (musl/clang/merged-usr)

Steps to Reproduce:
- Compile with `emerge =app-text/doxygen-1.10.0-r1::gentoo`

[42/257] /usr/lib/ccache/bin/clang++-19  -I/var/tmp/portage/app-text/doxygen-1.10.0-r1/work/doxygen-1.10.0/src -I/var/tmp/portage/app-text/doxygen-1.10.0-r1/work/doxygen-1.10.0/vhdlparser -I/var/tmp/portage/app-text/doxygen-1.10.0-r1/work/doxygen-1.10.0_build/generated_src  -O2 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -g0 -stdlib=libc++       -DJAVACC_CHAR_TYPE="unsigned char" -std=gnu++17 -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT vhdlparser/CMakeFiles/vhdlparser.dir/CharStream.cc.o -MF vhdlparser/CMakeFiles/vhdlparser.dir/CharStream.cc.o.d -o vhdlparser/CMakeFiles/vhdlparser.dir/CharStream.cc.o -c /var/tmp/portage/app-text/doxygen-1.10.0-r1/work/doxygen-1.10.0/vhdlparser/CharStream.cc
FAILED: vhdlparser/CMakeFiles/vhdlparser.dir/CharStream.cc.o 
/usr/lib/ccache/bin/clang++-19  -I/var/tmp/portage/app-text/doxygen-1.10.0-r1/work/doxygen-1.10.0/src -I/var/tmp/portage/app-text/doxygen-1.10.0-r1/work/doxygen-1.10.0/vhdlparser -I/var/tmp/portage/app-text/doxygen-1.10.0-r1/work/doxygen-1.10.0_build/generated_src  -O2 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -g0 -stdlib=libc++       -DJAVACC_CHAR_TYPE="unsigned char" -std=gnu++17 -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT vhdlparser/CMakeFiles/vhdlparser.dir/CharStream.cc.o -MF vhdlparser/CMakeFiles/vhdlparser.dir/CharStream.cc.o.d -o vhdlparser/CMakeFiles/vhdlparser.dir/CharStream.cc.o -c /var/tmp/portage/app-text/doxygen-1.10.0-r1/work/doxygen-1.10.0/vhdlparser/CharStream.cc
In file included from /var/tmp/portage/app-text/doxygen-1.10.0-r1/work/doxygen-1.10.0/vhdlparser/CharStream.cc:3:
In file included from /var/tmp/portage/app-text/doxygen-1.10.0-r1/work/doxygen-1.10.0/vhdlparser/CharStream.h:6:
In file included from /var/tmp/portage/app-text/doxygen-1.10.0-r1/work/doxygen-1.10.0/vhdlparser/JavaCC.h:6:
/usr/include/c++/v1/string:746:43: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  746 |   static_assert((is_same<_CharT, typename traits_type::char_type>::value),
      |                                           ^
/var/tmp/portage/app-text/doxygen-1.10.0-r1/work/doxygen-1.10.0/vhdlparser/CharStream.h:129:20: note: in instantiation of template class 'std::basic_string<unsigned char>' requested here
  129 |   virtual JJString GetImage() {
      |                    ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
Comment 1 hugegameartgd 2024-02-14 12:46:07 UTC
Created attachment 884956 [details]
build.log