Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 800536 - sci-libs/gmsh-4.8.4 - /.../picojson.h: error: macro _serialize passed 2 arguments, but takes just 0
Summary: sci-libs/gmsh-4.8.4 - /.../picojson.h: error: macro _serialize passed 2 argum...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Matthias Maier
URL:
Whiteboard: ~arch only
Keywords: PATCH
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-07-04 19:39 UTC by Toralf Förster
Modified: 2021-10-20 13:01 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.12 KB, text/plain)
2021-07-04 19:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,183.01 KB, text/plain)
2021-07-04 19:39 UTC, Toralf Förster
Details
environment (environment,129.38 KB, text/plain)
2021-07-04 19:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.70 KB, application/x-bzip)
2021-07-04 19:39 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.67 KB, application/x-bzip)
2021-07-04 19:39 UTC, Toralf Förster
Details
sci-libs:gmsh-4.8.4:20210704-192520.log (sci-libs:gmsh-4.8.4:20210704-192520.log,97.00 KB, text/plain)
2021-07-04 19:39 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,33.20 KB, application/x-bzip)
2021-07-04 19:39 UTC, Toralf Förster
Details
patch (picojson.patch,1.95 KB, patch)
2021-08-25 21:12 UTC, Antoine Lemoine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-07-04 19:39:28 UTC
In file included from /var/tmp/portage/sci-libs/gmsh-4.8.4/work/gmsh-4.8.4-source/Common/onelab.h:42,
                 from /var/tmp/portage/sci-libs/gmsh-4.8.4/work/gmsh-4.8.4-source/Common/gmsh.cpp:93:
/var/tmp/portage/sci-libs/gmsh-4.8.4/work/gmsh-4.8.4-source/Common/picojson.h:189:63: error: macro "_serialize" passed 2 arguments, but takes just 0
  189 |   template <typename Iter> void _serialize(Iter os, int indent) const;
      |                                                               ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/immintrin.h:27,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j3-20210702-091244

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 42c08596f11058000f94df220c9cfd88ef49f3e7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jul 4 18:06:33 2021 +0000

    2021-07-04 18:06:31 UTC

emerge -qpvO sci-libs/gmsh
[ebuild  N    ] sci-libs/gmsh-4.8.4  USE="jpeg -X -blas -cgns -examples -med -metis -mpi -netgen -opencascade -petsc -png -python -zlib"
Comment 1 Toralf Förster gentoo-dev 2021-07-04 19:39:29 UTC
Created attachment 721807 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-04 19:39:31 UTC
Created attachment 721810 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-07-04 19:39:33 UTC
Created attachment 721813 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-07-04 19:39:34 UTC
Created attachment 721816 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-07-04 19:39:35 UTC
Created attachment 721819 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-04 19:39:36 UTC
Created attachment 721822 [details]
sci-libs:gmsh-4.8.4:20210704-192520.log
Comment 7 Toralf Förster gentoo-dev 2021-07-04 19:39:38 UTC
Created attachment 721825 [details]
temp.tar.bz2
Comment 8 Pli 2021-08-08 10:49:41 UTC
Compiled without problems with gcc (Gentoo 10.3.0-r2 p3) 10.3.0.
Error on same file with gcc (Gentoo 11.2.0 p1) 11.2.0.
Comment 9 Antoine Lemoine 2021-08-25 21:12:44 UTC
Created attachment 736041 [details, diff]
patch

Patch proposal from https://gitlab.onelab.info/gmsh/gmsh/-/merge_requests/434/diffs
Comment 10 Etienne Lorriaux 2021-10-20 13:01:06 UTC
Bug confirmed here since the update to gcc-11