Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596444 - media-plugins/audacious-plugins-3.7.1-r1 USE=jack - jack-ng.cc:259:42: error: no matching function for call to ‘end(jack_port_t* [10])’
Summary: media-plugins/audacious-plugins-3.7.1-r1 USE=jack - jack-ng.cc:259:42: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-07 12:55 UTC by Lara Maia
Modified: 2017-05-23 20:48 UTC (History)
10 users (show)

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


Attachments
build.log (build.log,33.44 KB, text/plain)
2016-10-07 23:00 UTC, Lara Maia
Details
Patch for media-plugins/audacious-plugins-3.7.1 (audacious-plugins-3.7.1-gcc5.patch,1.12 KB, patch)
2017-04-21 06:49 UTC, Bob Johnson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lara Maia 2016-10-07 12:55:39 UTC
jack-ng.cc: In member function ‘virtual void JACKOutput::close_audio()’:
jack-ng.cc:259:42: error: no matching function for call to ‘end(jack_port_t* [10])’
     std::fill (m_ports, std::end (m_ports), nullptr);
                                          ^
In file included from /usr/include/libaudcore/audstrings.h:26:0,
                 from jack-ng.cc:22:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/initializer_list:99:5: note: candidate: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
     end(initializer_list<_Tp> __ils) noexcept
     ^
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/initializer_list:99:5: note:   template argument deduction/substitution failed:
jack-ng.cc:259:42: note:   mismatched types ‘std::initializer_list<_Tp>’ and ‘jack_port_t** {aka _jack_port**}’
     std::fill (m_ports, std::end (m_ports), nullptr);
                                          ^
Failed to compile jack-ng.cc (plugin)!
make[5]: *** [../../buildsys.mk:414: jack-ng.plugin.o] Error 1
make[4]: *** [../../buildsys.mk:118: all] Error 2
make[3]: *** [../buildsys.mk:123: jack-ng] Error 2
make[3]: *** Waiting for unfinished jobs....
Comment 1 Lara Maia 2016-10-07 12:57:14 UTC
emerge --info

Portage 2.3.1 (python 3.4.5-final-0, default/linux/amd64/13.0/systemd, gcc-5.4.0, glibc-2.23-r2, 4.7.6-1-amora x86_64)
=================================================================
System uname: Linux-4.7.6-1-amora-x86_64-AMD_A8-6600K_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.3
KiB Mem:     7160012 total,   4006024 free
KiB Swap:   14314492 total,  14314492 free
Timestamp of repository gentoo: Fri, 07 Oct 2016 11:50:25 +0000
Timestamp of repository ShyPixie: Sun, 02 Oct 2016 13:52:26 +0000
Timestamp of repository bobwya: Thu, 06 Oct 2016 14:43:57 +0000
Timestamp of repository games-overlay: Sat, 24 Sep 2016 01:51:28 +0000
Timestamp of repository proaudio: Fri, 30 Sep 2016 23:03:48 +0000
Timestamp of repository sabayon-tools: Wed, 05 Oct 2016 18:56:50 +0000
Timestamp of repository steam-overlay: Tue, 04 Oct 2016 23:13:23 +0000
Timestamp of repository x11: Sat, 24 Sep 2016 01:52:02 +0000
sh bash 4.4
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.2::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ShyPixie
    location: /var/lib/layman/ShyPixie
    masters: gentoo
    priority: 50

arduino-overlay
    location: /var/lib/layman/arduino-overlay
    masters: gentoo
    priority: 50

bobwya
    location: /var/lib/layman/bobwya
    masters: gentoo
    priority: 50

games-overlay
    location: /var/lib/layman/games-overlay
    masters: gentoo
    priority: 50

proaudio
    location: /var/lib/layman/proaudio
    masters: gentoo
    priority: 50

sabayon-tools
    location: /var/lib/layman/sabayon-tools
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

Installed sets: @steam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver2 -mtune=bdver2 -O2 -pipe -fomit-frame-pointer -fstack-protector "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=bdver2 -mtune=bdver2 -O2 -pipe -fomit-frame-pointer -fstack-protector "
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nodoc noinfo preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="INSTALL.gz               TODO.gz               /etc/init.d               /etc/conf.d               /etc/runlevels"
LANG="pt_BR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS=""
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="/tmp"
USE="64bit X aac acl alsa amd64 berkdb branding bzip2 cairo caps cdr clang cli colord cracklib crypt cxx dbus dri dts egl exif fortran gdbm gif glamor gtk3 gudev highlight iconv icu introspection ipv6 jack jpeg ladspa lcms libnotify llvm lzma mad magic math mmx mmxext modules mp3 mp4 mpeg multilib ncurses nls nptl ogg openal opengl openmp pam pango pcre pdf png policykit portaudio pulseaudio python rar readline sdl seccomp session sound sqlite sse sse2 ssl startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode urandom usb vaapi vala vorbis x264 xattr xcb xcomposite xkb xml xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="pt-BR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pt_BR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4 python2_7" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" XFCE_PLUGINS="trash power clock battery" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Brian Evans (RETIRED) gentoo-dev 2016-10-07 14:14:57 UTC
Please attach the full build.log
Comment 3 Lara Maia 2016-10-07 23:00:41 UTC
Created attachment 449506 [details]
build.log
Comment 5 Brandon Penglase 2016-12-11 19:53:55 UTC
(In reply to Lara Maia from comment #4)
> Fixed by
> https://github.com/audacious-media-player/audacious-plugins/commit/
> 4a0da0b9757eb391e9af8f5b543142eabc0f276c

This also fixed the problem for me.
Comment 6 Nuno Alexandre 2016-12-16 21:09:19 UTC
Filed a pull request here:
https://github.com/gentoo/gentoo/pull/3011

Also fixes the gl-spectrum issue.
Comment 7 Paramonov Valeriy 2016-12-31 01:36:30 UTC
Hello.
Why it still unconfirmed? I confirm:

 * Package:    media-plugins/audacious-plugins-3.7.1-r1
 * Repository: gentoo
 * Maintainer: chainsaw@gentoo.org sound@gentoo.org
 * USE:        aac abi_x86_64 adplug alsa amd64 cdda cue elibc_glibc ffmpeg flac fluidsynth gtk jack kernel_linux lame libsamplerate lirc mp3 nls sdl sid sndfile userland_GNU vorbis wavpack
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
...

jack-ng.cc: In member function ‘virtual void JACKOutput::close_audio()’:
jack-ng.cc:259:42: error: no matching function for call to ‘end(jack_port_t* [10])’
     std::fill (m_ports, std::end (m_ports), nullptr);
                                          ^
In file included from /usr/include/libaudcore/audstrings.h:26:0,
                 from jack-ng.cc:22:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/initializer_list:99:5: note: candidate: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
     end(initializer_list<_Tp> __ils) noexcept
     ^
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/initializer_list:99:5: note:   template argument deduction/substitution failed:
jack-ng.cc:259:42: note:   mismatched types ‘std::initializer_list<_Tp>’ and ‘jack_port_t** {aka _jack_port**}’
     std::fill (m_ports, std::end (m_ports), nullptr);
                                          ^
Failed to compile jack-ng.cc (plugin)!
make[5]: *** [../../buildsys.mk:414: jack-ng.plugin.o] Error 1
make[4]: *** [../../buildsys.mk:118: all] Error 2
make[3]: *** [../buildsys.mk:123: jack-ng] Error 2
Comment 8 Herb Miller Jr. 2017-02-19 19:47:30 UTC
I, too, can confirm the same problem with Jack2 installed (don't know about jack1). Patch from that commit that includes header allows it to build.
Comment 9 turtle 2017-04-15 19:05:59 UTC
I can confirm the issue and confirm the fix posted (In reply to Lara Maia from comment #4)
> Fixed by
> https://github.com/audacious-media-player/audacious-plugins/commit/
> 4a0da0b9757eb391e9af8f5b543142eabc0f276c
Comment 10 Bob Johnson 2017-04-21 06:49:44 UTC
Created attachment 470534 [details, diff]
Patch for media-plugins/audacious-plugins-3.7.1

Broke on my stable amd64 box, so I created the following patch for the currently stable 3.7.1 revision on the GCC5 upgrade using the pointers from Lara et al. Thanks guys. Should work on -r1 also by just appending -r1 to the directory names in the patch file.
Comment 11 Dominique Michel 2017-05-02 18:53:00 UTC
Same issue here on an ~amd64 system. Bob's patch fixed it.
Comment 12 Rick Farina (Zero_Chaos) gentoo-dev 2017-05-23 20:47:59 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=051191a269cbf08c9ccd62dfc85ea10ff2d7effd

Tested and fixed for me