Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 777690 - net-analyzer/wireshark-3.4.4: type_traits:56:3: error: template with C linkage
Summary: net-analyzer/wireshark-3.4.4: type_traits:56:3: error: template with C linkage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: glib-2.68
  Show dependency tree
 
Reported: 2021-03-22 10:52 UTC by Kobboi
Modified: 2021-04-13 22:37 UTC (History)
3 users (show)

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


Attachments
build.log.gz (build.log.gz,105.02 KB, text/plain)
2021-03-22 10:55 UTC, Kobboi
Details
MR2051 (01-c8246c99737c7a844f45eb0e777382cc68397d17.patch,6.48 KB, patch)
2021-03-27 05:56 UTC, Andrey Volkov
Details | Diff
MR2426 (02-1e1f4e6b5f9a309cef55d4459c8bba40d6acc104.patch,9.43 KB, patch)
2021-03-27 05:57 UTC, Andrey Volkov
Details | Diff
MR2428 (03-e434d404d0db719440cc911729d225417a49b4f4.patch,4.07 KB, patch)
2021-03-27 05:57 UTC, Andrey Volkov
Details | Diff
MR2433 (04-2820156fbd4b0213ca015216d8cd97c31b503c8c.patch,15.22 KB, patch)
2021-03-27 05:58 UTC, Andrey Volkov
Details | Diff
MR2435 (05-7efb2120bc37cbb3b23682c16f5bb73e05295383.patch,1.25 KB, patch)
2021-03-27 05:58 UTC, Andrey Volkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2021-03-22 10:52:50 UTC
[1980/2446] /usr/bin/x86_64-pc-linux-gnu-g++ -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -Iui/qt/qtui
_autogen/include -I. -I/var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4 -Iui/qt -I/var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4/ui/qt -isystem /usr/include/glib-2.0 -isyste
m /usr/lib64/glib-2.0/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtNetwork -isys
tem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets  -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict
-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wextra-semi -O2 -march=znver2 -pipe -fPIC -DPIC -fmacro-prefi
x-map=/var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4_build/= -fPIC -std=c++11 -MD -MT ui/qt/CMakeFiles/
qtui.dir/layout_preferences_frame.cpp.o -MF ui/qt/CMakeFiles/qtui.dir/layout_preferences_frame.cpp.o.d -o ui/qt/CMakeFiles/qtui.dir/layout_preferences_frame.cpp.o -c /var/tmp/portage/net-analyzer/wireshark-3.4.4
/work/wireshark-3.4.4/ui/qt/layout_preferences_frame.cpp
ESC[31mFAILED: ESC[0mui/qt/CMakeFiles/qtui.dir/layout_preferences_frame.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -Iui/qt/qtui_autogen/inc
lude -I. -I/var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4 -Iui/qt -I/var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4/ui/qt -isystem /usr/include/glib-2.0 -isystem /usr/lib64
/glib-2.0/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtNetwork -isystem /usr/inc
lude/qt5/QtGui -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets  -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -W
vla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wextra-semi -O2 -march=znver2 -pipe -fPIC -DPIC -fmacro-prefix-map=/var/t
mp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4_build/= -fPIC -std=c++11 -MD -MT ui/qt/CMakeFiles/qtui.dir/lay
out_preferences_frame.cpp.o -MF ui/qt/CMakeFiles/qtui.dir/layout_preferences_frame.cpp.o.d -o ui/qt/CMakeFiles/qtui.dir/layout_preferences_frame.cpp.o -c /var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wiresh
ark-3.4.4/ui/qt/layout_preferences_frame.cpp
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
                 from /usr/include/glib-2.0/glib/gthread.h:32,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4/epan/prefs.h:18,
                 from /var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4/ui/qt/layout_preferences_frame.h:13,
                 from /var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4/ui/qt/layout_preferences_frame.cpp:12:
/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>
      |   ^~~~~~~~
In file included from /var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4/ui/qt/layout_preferences_frame.h:13,
                 from /var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4/ui/qt/layout_preferences_frame.cpp:12:
/var/tmp/portage/net-analyzer/wireshark-3.4.4/work/wireshark-3.4.4/epan/prefs.h:15:1: note: <E2><80><98>extern "C"<E2><80><99> linkage started here
   15 | extern "C" {
      | ^~~~~~~~~~


Reproducible: Always
Comment 1 Kobboi 2021-03-22 10:54:18 UTC
Portage 3.0.17 (python 3.8.8-final-0, !../../var/db/repos/kobboi-linux/profiles/kobboi/tanagra, gcc-10.2.0, glibc-2.32-r8, 5.11.6-gentoo-dist x86_64)
=================================================================
System uname: Linux-5.11.6-gentoo-dist-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.2.5
KiB Mem:    32889152 total,  15086560 free
KiB Swap:    1048572 total,    246896 free
Timestamp of repository gentoo: Sun, 21 Mar 2021 22:30:01 +0000
Head commit of repository gentoo: f68166cf02298638993e5ed8a4dddb6f352c83fc
Timestamp of repository brother-overlay: Wed, 24 Feb 2021 15:55:57 +0000
Head commit of repository brother-overlay: 1e7eb433a7da12af962e5c36b072bbf2e7c0393b

Head commit of repository kobboi-linux: 3f9d67e0e54e9d1d9fe1d36929188587333aa60b

Timestamp of repository steam-overlay: Sun, 21 Mar 2021 22:50:43 +0000
Head commit of repository steam-overlay: c6f80e9f1d943bc93e5e00ee41804bf0bfb9cad0

sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 4.2 [disabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p7::gentoo, 3.7.10::gentoo, 3.8.8::gentoo, 3.9.2::gentoo
dev-util/ccache:          4.2::gentoo
dev-util/cmake:           3.19.7::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.21::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brother-overlay.git
    masters: gentoo

kobboi-linux
    location: /var/db/repos/kobboi-linux
    sync-type: git
    sync-uri: https://github.com/kobboi/kobboi-linux
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

Installed sets: @kobboi-all-packages, @kobboi-machine-tanagra
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=znver2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=znver2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=znver2 -pipe"
GENTOO_MIRRORS="ftp://kobboi-linux:*password*@10.8.0.1/2020.11"
INSTALL_MASK="/usr/src/debug /usr/lib/debug"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="ftp://kobboi-linux:*password*@10.8.0.1/2020.11/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb bluetooth bzip2 cairo cdda cdr cli colord crypt cups dbus dist-kernel djvu dri dts dvd dvdr eds egl emboss encode evo exif facedetect ffmpeg flac fluidsynth fortran frei0r gdbm gif glade gles gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle gui iconv icu introspection ipv6 jpeg ladspa lcms libass libglvnd libnotify libsecret libtirpc lv2 lz4 lzma lzo mad midi mng modemmanager mono mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl ogg opencv opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt5 readline samba screencast sdl seccomp smartcard smp spell split-usr ssl startup-notification svg sysprof systemd tcpd tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse synaptics libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="vesa radeon nvidia intel amdgpu dummy fbdev nouveau radeonsi v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Kobboi 2021-03-22 10:55:36 UTC
Created attachment 692943 [details]
build.log.gz
Comment 3 Andrey Volkov 2021-03-27 05:56:04 UTC
Created attachment 694608 [details, diff]
MR2051
Comment 4 Andrey Volkov 2021-03-27 05:57:05 UTC
Created attachment 694611 [details, diff]
MR2426
Comment 5 Andrey Volkov 2021-03-27 05:57:36 UTC
Created attachment 694614 [details, diff]
MR2428
Comment 6 Andrey Volkov 2021-03-27 05:58:03 UTC
Created attachment 694617 [details, diff]
MR2433
Comment 7 Andrey Volkov 2021-03-27 05:58:38 UTC
Created attachment 694620 [details, diff]
MR2435
Comment 8 Andrey Volkov 2021-03-27 06:02:09 UTC
Patches from upstream bug backported to wireshark-3.4.4
Comment 9 Matt Turner gentoo-dev 2021-04-13 21:51:53 UTC
Ping
Comment 10 Larry the Git Cow gentoo-dev 2021-04-13 22:37:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae7f366c0862c08beecd2288b9a52d54456a82c

commit 5ae7f366c0862c08beecd2288b9a52d54456a82c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-04-13 22:35:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-04-13 22:37:41 +0000

    net-analyzer/wireshark: include upstream patches for glib-2.68
    
    Thanks-to: Andrey Volkov <volkov@ekb-info.ru> for the backporting work
    Closes: https://bugs.gentoo.org/777690
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/wireshark/Manifest               | 1 +
 net-analyzer/wireshark/wireshark-3.4.4.ebuild | 3 +++
 2 files changed, 4 insertions(+)