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

Bug 777660

Summary: sci-electronics/pulseview-0.4.2 - /.../type_traits: error: template with C linkage
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 777675    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-electronics:pulseview-0.4.2:20210322-042357.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-03-22 08:27:54 UTC
                 from /usr/include/libsigrokdecode/libsigrokdecode.h:25,
                 from /var/tmp/portage/sci-electronics/pulseview-0.4.2/work/pulseview-0.4.2/pv/data/decode/annotation.cpp:21:
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/type_traits:56:3: error: template with C linkage
   56 |   template<typename _Tp, _Tp __v>
      |   ^~~~~~~~
/var/tmp/portage/sci-electronics/pulseview-0.4.2/work/pulseview-0.4.2/pv/data/decode/annotation.cpp:20:1: note: ‘extern "C"’ linkage started here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20210315-143628

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
1)	OpenJDK 8.282_p08 [openjdk-8]
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 22 03:35:52 UTC 2021

emerge -qpvO sci-electronics/pulseview
[ebuild  N    ] sci-electronics/pulseview-0.4.2  USE="decode -static" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-03-22 08:27:55 UTC
Created attachment 692901 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-22 08:27:57 UTC
Created attachment 692904 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-22 08:27:59 UTC
Created attachment 692907 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-22 08:28:00 UTC
Created attachment 692910 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-22 08:28:01 UTC
Created attachment 692913 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-22 08:28:03 UTC
Created attachment 692916 [details]
sci-electronics:pulseview-0.4.2:20210322-042357.log
Comment 7 Toralf Förster gentoo-dev 2021-03-22 08:28:04 UTC
Created attachment 692919 [details]
temp.tar.bz2
Comment 8 Matt Turner gentoo-dev 2021-04-13 21:48:51 UTC
Ping
Comment 9 Larry the Git Cow gentoo-dev 2021-04-14 00:27:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03469ef10c4f447414991a38786f0a537bd2188d

commit 03469ef10c4f447414991a38786f0a537bd2188d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-04-13 23:50:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-04-14 00:27:27 +0000

    sci-electronics/pulseview: fix build with glib 2.68
    
    Closes: https://bugs.gentoo.org/777660
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/pulseview-0.4.2-glib-2.68.patch          | 25 ++++++++++++++++++++++
 sci-electronics/pulseview/pulseview-0.4.2.ebuild   |  7 ++++--
 2 files changed, 30 insertions(+), 2 deletions(-)