Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587326 - media-sound/seq24-0.9.3 : src/mutex.h:47:30: error: reference to ‘mutex’ is ambiguous
Summary: media-sound/seq24-0.9.3 : src/mutex.h:47:30: error: reference to ‘mutex’ is a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: STABLEREQ
: 680070 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-27 19:03 UTC by Toralf Förster
Modified: 2019-03-19 02:06 UTC (History)
1 user (show)

See Also:
Package list:
media-sound/seq24-0.9.3-r1
Runtime testing required: ---
stable-bot: sanity-check+


Attachments
emerge-history.txt (emerge-history.txt,575.98 KB, text/plain)
2016-06-27 19:03 UTC, Toralf Förster
no flags Details
environment (environment,78.63 KB, text/plain)
2016-06-27 19:03 UTC, Toralf Förster
no flags Details
media-sound:seq24-0.9.3:20160627-172552.log (media-sound:seq24-0.9.3:20160627-172552.log,10.64 KB, text/plain)
2016-06-27 19:03 UTC, Toralf Förster
no flags Details
Patch to fix mutex build abiguity (01-mutex.patch,7.32 KB, patch)
2019-03-08 04:18 UTC, Thomas Groman
no flags Details | Diff
patch to ebuild to autoreconfigure (ebuild-autoreconf.patch,283 bytes, patch)
2019-03-10 18:17 UTC, Thomas Groman
no flags 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 2016-06-27 19:03:22 UTC
                 from src/configfile.h:23,
                 from src/configfile.cpp:21:
src/mutex.h:47:30: error: reference to ‘mutex’ is ambiguous
 class condition_var : public mutex {
                              ^
src/mutex.h:27:7: note: candidates are: class mutex


$ cat emerge-info.txt
  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named amd64-gnome-unstable_20160615-225422) at a hardened host acting as a tinderbox.

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

  make.conf: USE="pax_kernel xtpax -cdinstall -oci8 -bindist aes-ni -avcodec bzip2 cairo -cgoups -compat csc dbus emacs extra -gnome-keyring graphtft gudev icu javascript kvm -libkms libvirtd llvm mpi ncurses -ogg png printsupport pwquality python qemu qt3support sqlite ssh-askpass ssl system-jpeg thinkpad ufed -uml vdpau X xinerama xinetd xmlreader xslt zip"

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

Portage 2.3.0 (python 3.4.4-final-0, default/linux/amd64/13.0/desktop/gnome, gcc-5.4.0, glibc-2.23-r2, 4.5.7-hardened-r3 x86_64)
=================================================================
System uname: Linux-4.5.7-hardened-r3-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16157888 total,   2476084 free
KiB Swap:   16777212 total,  16705912 free
Timestamp of repository gentoo: Mon, 27 Jun 2016 16:22:23 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.5 [disabled]
app-shells/bash:          4.3_p46::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.4::gentoo, 3.5.1-r3::gentoo
dev-util/ccache:          3.2.5::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.10.3-r2::gentoo, 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 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.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 1

local
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /etc/grs/systems.conf /etc/omega.conf /etc/stunnel/stunnel.conf /opt/openfire/resources/security/ /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/qpsmtpd/plugins /var/lib/hsqldb /var/rancid/.cloginrc /var/yp/Makefile"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/games/angband/gamedata/ /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="-march=native -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--verbose-conflicts --color=n --nospinner --tree --quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/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 aes-ni alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt csc cups cxx dbus dri dts dvd dvdr eds emacs emboss encode evo exif extra fam firefox flac fortran gdbm gif glamor gnome gnome-online-accounts gpm graphtft gstreamer gtk gudev iconv icu introspection ipv6 javascript jpeg kvm lcms ldap libnotify libsecret libvirtd llvm mad mmx mmxext mng modules mp3 mp4 mpeg mpi multilib nautilus ncurses nls nptl opengl openmp pam pango pax_kernel pcre pdf png policykit ppds printsupport pulseaudio pwquality python qemu qt3support qt4 readline sdl seccomp session spell sqlite sse sse2 ssh-askpass ssl startup-notification svg system-jpeg tcpd thinkpad tiff tracker truetype udev udisks ufed unicode upower usb vdpau vorbis wxwidgets x264 xattr xcb xinerama xinetd xml xmlreader xslt xtpax xv xvid zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Toralf Förster gentoo-dev 2016-06-27 19:03:25 UTC
Created attachment 438994 [details]
emerge-history.txt
Comment 2 Toralf Förster gentoo-dev 2016-06-27 19:03:28 UTC
Created attachment 438996 [details]
environment
Comment 3 Toralf Förster gentoo-dev 2016-06-27 19:03:31 UTC
Created attachment 438998 [details]
media-sound:seq24-0.9.3:20160627-172552.log
Comment 4 Joan Ibanez 2017-12-04 12:30:50 UTC
Hi,
The patch at https://bugs.launchpad.net/seq24/+bug/1647614 (comment #2) works for me.
Comment 5 Thomas Groman 2019-03-08 04:18:50 UTC
Created attachment 568156 [details, diff]
Patch to fix mutex build abiguity
Comment 6 Thomas Groman 2019-03-08 04:20:23 UTC
This patch works, but I'm unable to apply it in Portage due to the EAPI being outdated at version 5. At least version 6 needs to be supported for userpatching.
see https://wiki.gentoo.org/wiki//etc/portage/patches
Comment 7 Larry the Git Cow gentoo-dev 2019-03-10 16:42:09 UTC
The bug has been referenced in the following commit(s):

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

commit a543b70831d746352d8f93df58d53df1ecf79020
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-03-10 15:47:53 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-03-10 16:41:48 +0000

    media-sound/seq24: Fix mutex build ambiguity
    
    Thanks-to: Thomas Groman <tgrom.automail@nuegia.net>
    Bug: https://bugs.gentoo.org/587326
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../seq24/files/seq24-0.9.3-std-mutex.patch        | 331 +++++++++++++++++++++
 media-sound/seq24/seq24-0.9.3-r1.ebuild            |   2 +
 2 files changed, 333 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bd9f2c42e3d05450e99cd4e48755d254e23d1e9

commit 8bd9f2c42e3d05450e99cd4e48755d254e23d1e9
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-03-10 15:02:12 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-03-10 16:41:48 +0000

    media-sound/seq24: EAPI-7 bump, switch to virtual/jack, fix DESCRIPTION
    
    Bug: https://bugs.gentoo.org/587326
    Closes: https://bugs.gentoo.org/645010
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-sound/seq24/seq24-0.9.3-r1.ebuild | 41 +++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
Comment 8 Andreas Sturmlechner gentoo-dev 2019-03-10 16:43:30 UTC
Arches, please stabilise.
Comment 9 Thomas Groman 2019-03-10 17:55:02 UTC
(In reply to Larry the Git Cow from comment #7)
> The bug has been referenced in the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=a543b70831d746352d8f93df58d53df1ecf79020
> 
> commit a543b70831d746352d8f93df58d53df1ecf79020
> Author:     Andreas Sturmlechner <asturm@gentoo.org>
> AuthorDate: 2019-03-10 15:47:53 +0000
> Commit:     Andreas Sturmlechner <asturm@gentoo.org>
> CommitDate: 2019-03-10 16:41:48 +0000
> 
>     media-sound/seq24: Fix mutex build ambiguity
>     
>     Thanks-to: Thomas Groman <tgrom.automail@nuegia.net>
>     Bug: https://bugs.gentoo.org/587326
>     Package-Manager: Portage-2.3.62, Repoman-2.3.12
>     Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
> 
>  .../seq24/files/seq24-0.9.3-std-mutex.patch        | 331
> +++++++++++++++++++++
>  media-sound/seq24/seq24-0.9.3-r1.ebuild            |   2 +
>  2 files changed, 333 insertions(+)
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=8bd9f2c42e3d05450e99cd4e48755d254e23d1e9
> 
> commit 8bd9f2c42e3d05450e99cd4e48755d254e23d1e9
> Author:     Andreas Sturmlechner <asturm@gentoo.org>
> AuthorDate: 2019-03-10 15:02:12 +0000
> Commit:     Andreas Sturmlechner <asturm@gentoo.org>
> CommitDate: 2019-03-10 16:41:48 +0000
> 
>     media-sound/seq24: EAPI-7 bump, switch to virtual/jack, fix DESCRIPTION
>     
>     Bug: https://bugs.gentoo.org/587326
>     Closes: https://bugs.gentoo.org/645010
>     Package-Manager: Portage-2.3.62, Repoman-2.3.12
>     Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
> 
>  media-sound/seq24/seq24-0.9.3-r1.ebuild | 41
> +++++++++++++++++++++++++++++++++
>  1 file changed, 41 insertions(+)

The source needs to be re-autoconf-ed ounce the patch is applied otherwise the ./configure process will fail.
Comment 10 Thomas Groman 2019-03-10 18:17:37 UTC
Created attachment 568476 [details, diff]
patch to ebuild to autoreconfigure

You need to run autoreconf -i after applying changes (such as patches) to the source code to get it to build. This patch adds that to the ebuild.
Comment 11 Larry the Git Cow gentoo-dev 2019-03-11 14:02:25 UTC
The bug has been referenced in the following commit(s):

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

commit fb041117c1ff838abd88f80457a9624137d0e8ae
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-03-11 14:01:50 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-03-11 14:01:58 +0000

    media-sound/seq24: Add missing eautoreconf
    
    Bug: https://bugs.gentoo.org/587326
    Reported-by: Thomas Groman <tgrom.automail@nuegia.net>
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-sound/seq24/seq24-0.9.3-r1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Comment 12 Andreas Sturmlechner gentoo-dev 2019-03-11 20:39:30 UTC
*** Bug 680070 has been marked as a duplicate of this bug. ***
Comment 13 Agostino Sarubbo gentoo-dev 2019-03-16 21:39:25 UTC
amd64 stable
Comment 14 Thomas Deutschmann (RETIRED) gentoo-dev 2019-03-19 02:06:13 UTC
x86 stable, closing