Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946812 - dev-libs/cereal-1.3.2-r2 - [llvm] tuple.hpp: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-
Summary: dev-libs/cereal-1.3.2-r2 - [llvm] tuple.hpp: error: a template argument list ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-22 10:51 UTC by Toralf Förster
Modified: 2025-03-09 17:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.21 KB, text/plain)
2024-12-22 10:51 UTC, Toralf Förster
Details
dev-libs:cereal-1.3.2-r2:20241221-220805.log (dev-libs:cereal-1.3.2-r2:20241221-220805.log,9.71 KB, text/plain)
2024-12-22 10:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,65.18 KB, text/plain)
2024-12-22 10:51 UTC, Toralf Förster
Details
environment (environment,100.30 KB, text/plain)
2024-12-22 10:51 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-12-22 10:51 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.65 KB, application/x-xz)
2024-12-22 10:51 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,18.20 KB, application/x-xz)
2024-12-22 10:52 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,155.70 KB, text/plain)
2024-12-22 10:52 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.31 KB, application/x-xz)
2024-12-22 10:52 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-12-22 10:51:53 UTC
too long lines were shrinked:

[4/11] : && /usr/lib/llvm/19/bin/clang++ -fPIC -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0   -Xlinker --dependency-file=sandbox/sandbox_shared_lib/CMakeFiles/sandbox_vs_dll.dir/link.d -sha
[5/11] : && /usr/lib/llvm/19/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0     -Xlinker --dependency-file=sandbox/CMakeFiles/sandbox_json.dir/link.d sandbox/CMakeFiles/sandbox_jso
[6/11] /usr/lib/llvm/19/bin/clang++  -I/var/tmp/portage/dev-libs/cereal-1.3.2-r2/work/cereal-1.3.2/sandbox/sandbox_shared_lib -I/var/tmp/portage/dev-libs/cereal-1.3.2-r2/work/cereal-1.3.2/include  -O2 -pipe -march=native -fno-diagnostics-color -std=gnu++11 -fno-color-diagnostics -Wall -Wextra -pedan
FAILED: sandbox/CMakeFiles/sandbox_vs.dir/sandbox_vs.cpp.o 
/usr/lib/llvm/19/bin/clang++  -I/var/tmp/portage/dev-libs/cereal-1.3.2-r2/work/cereal-1.3.2/sandbox/sandbox_shared_lib -I/var/tmp/portage/dev-libs/cereal-1.3.2-r2/work/cereal-1.3.2/include  -O2 -pipe -march=native -fno-diagnostics-color -std=gnu++11 -fno-color-diagnostics -Wall -Wextra -pedantic -Ws
In file included from /var/tmp/portage/dev-libs/cereal-1.3.2-r2/work/cereal-1.3.2/sandbox/sandbox_vs.cpp:57:
/var/tmp/portage/dev-libs/cereal-1.3.2-r2/work/cereal-1.3.2/include/cereal/types/tuple.hpp:98:41: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
   98 |         serialize<Height - 1>::template apply( ar, tuple );
      |                                         ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm_systemd-20241220-181511

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.6+libcxx
llvm-config: 19.1.6+libcxx
Python 3.12.8
go version go1.23.4 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.83.0 *

  HEAD of ::gentoo
commit e89e04ddcb66592e5ffb8a9cd3fd060f4e441e52
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 21 21:33:33 2024 +0000

    2024-12-21 21:33:33 UTC

emerge -qpvO =dev-libs/cereal-1.3.2-r2
[ebuild  N    ] dev-libs/cereal-1.3.2-r2  USE="-doc -test"
Comment 1 Toralf Förster gentoo-dev 2024-12-22 10:51:54 UTC
Created attachment 914649 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-22 10:51:55 UTC
Created attachment 914650 [details]
dev-libs:cereal-1.3.2-r2:20241221-220805.log
Comment 3 Toralf Förster gentoo-dev 2024-12-22 10:51:56 UTC
Created attachment 914651 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-12-22 10:51:58 UTC
Created attachment 914652 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-12-22 10:51:58 UTC
Created attachment 914653 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-22 10:51:59 UTC
Created attachment 914654 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-22 10:52:00 UTC
Created attachment 914655 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-12-22 10:52:01 UTC
Created attachment 914656 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-12-22 10:52:02 UTC
Created attachment 914657 [details]
temp.tar.xz
Comment 10 Sober7135 2025-03-09 17:32:31 UTC
This can fix by creating a file in `/etc/portage/env/dev-libs/cereal` and adding: 
CXXFLAGS="${CXXFLAGS} -Wno-missing-template-arg-list-after-template-kw"
and then create a file in `/etc/portage/package.env/dev-libs/cereal` and adding:
dev-libs/cereal dev-libs/cereal

:)