Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556528 - media-sound/patchage-1.0.0 : ../.../Patchage.cpp:429:46: error: class JackDriver has no member named get_max_dsp_load
Summary: media-sound/patchage-1.0.0 : ../.../Patchage.cpp:429:46: error: class JackDr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-02 19:14 UTC by waynedpj
Modified: 2020-07-17 08:14 UTC (History)
6 users (show)

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


Attachments
media-sound/patchage-1.0.0::gentoo failed (compile phase) build log (media-sound:patchage-1.0.0:20150802-185925.log,11.95 KB, text/x-log)
2015-08-02 19:15 UTC, waynedpj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description waynedpj 2015-08-02 19:14:50 UTC
compile fails on missing class member methods:

../src/Patchage.cpp: In member function ‘bool Patchage::update_load()’:
../src/Patchage.cpp:427:61: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
   snprintf(buf, sizeof(buf), "%u", _jack_driver->get_xruns());
                                                             ^
../src/Patchage.cpp:427:61: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
../src/Patchage.cpp:429:46: error: ‘class JackDriver’ has no member named ‘get_max_dsp_load’
   _xrun_progress->set_fraction(_jack_driver->get_max_dsp_load());
                                              ^
../src/Patchage.cpp: In member function ‘void Patchage::clear_load()’:
../src/Patchage.cpp:483:16: error: ‘class JackDriver’ has no member named ‘reset_max_dsp_load’
  _jack_driver->reset_max_dsp_load();


Reproducible: Always

Steps to Reproduce:
1.sudo MAKEOPTS="-j1" emerge -av1 =media-sound/patchage-1.0.0

Actual Results:  
see build log attachment


$ emerge --info
Portage 2.2.20 (python 3.4.1-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.4, glibc-2.20-r2, 3.16.5-gentoo-gnu x86_64)
=================================================================
System uname: Linux-3.16.5-gentoo-gnu-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.2
KiB Mem:     4012484 total,    411632 free
KiB Swap:    6289404 total,   5680552 free
Timestamp of repository gentoo: Sun, 02 Aug 2015 13:15:01 +0000
sh bash 4.3_p33-r2
ld ld di GNU (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

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

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

hnaparst
    location: /var/lib/layman/hnaparst
    sync-type: laymansync
    sync-uri: https://github.com/hnaparst/overlay.git
    masters: gentoo
    priority: 20

enlightenment
    location: /var/lib/layman/enlightenment
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/enlightenment.git
    masters: gentoo
    priority: 50

proaudio
    location: /var/lib/layman/proaudio
    sync-type: laymansync
    sync-uri: svn://svn.tuxfamily.org/svnroot/proaudio/proaudio/trunk/overlays/proaudio
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE CCPL-Sampling-Plus-1.0 X11 Mini-XML as-is CC-BY-NC-SA-3.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /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/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="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--color=y --fail-clean=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache clean-logs config-protect-if-modified distlocks fail-clean fixlafiles merge-sync news parallel-fetch parallel-install 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://mirror.lug.udel.edu/pub/gentoo/ http://mirrors.rit.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.osuosl.org http://gentoo.mirrors.easynews.com/linux/gentoo/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acoustid acpi afp aim alsa amd64 archive audio audiofile avahi bash-completion berkdb bluetooth btrfs bzip2 cairo caps cdda cddb cdparanoia cdr celt cli clutter consolekit cracklib crypt css cups cxx dbus deblob dirac directfb dri dssi dts dv dvd dvdr egl emacs emboss encode exif fam fbcon fdk fftw firefox flac fontconfig ftp gallium gdbm gif gimp glamor gles gles1 gles2 gmp gnutls gpg gphoto2 gpm gsm gstreamer gtk gtk3 hddtemp iconv icu idn ieee1394 imap imlib ipod iptc ipv6 jabber jack jackmidi jbig jpeg jpeg2k ladspa lame lcms libav libcanberra libnotify libsamplerate libsecret lm_sensors lock lv2 lzo mad matroska midi mime mmap mmx mmxext mng modemmanager modules mp3 mp4 mpeg mtp multilib musicbrainz ncurses networkmanager nls normalize nptl nsplugin offensive ogg opengl openmp openssl openvg opus osc oscar pam pango pch pcre pcsc-lite pdf playlist png policykit ppds pulseaudio quicktime raw readline rss samba scanner schroedinger session skey smartcard smp sndfile sound speex spell sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification suil svg taglib tcpd theora threads thunar tiff truetype udev udisks unicode upnp upnp-av upower usb v4l v4l2 vaapi vcd vdpau vhosts vnc vorbis vpx wav wavpack webm webp wifi wmf x264 xattr xcb xcomposite xdg xface xft xinerama xml xmp xpm xps xrandr xv xvid xvmc zeroconf 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="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" CURL_SSL="nss" ELIBC="glibc" ENLIGHTENMENT_MODULES="backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess start syscon systray tasks temperature tiling winlist wizard xkbswitch shot contact music-control wl-screenshot wl-desktop-shell conf-wallpaper2 bluez4 access appmenu conf-comp teamwork" 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" GRUB_PLATFORMS="pc efi-64 qemu" INPUT_DEVICES="keyboard mouse synpatics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-minimizer wiki-publisher" LINGUAS="en en_US it fr es es_ES" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5 php5-4" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="hp canon" USERLAND="GNU" VIDEO_CARDS="intel" XFCE_PLUGINS="battery brightness clock multiload-nandhp power trash" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 waynedpj 2015-08-02 19:15:56 UTC
Created attachment 408158 [details]
media-sound/patchage-1.0.0::gentoo failed (compile phase) build log
Comment 2 Karl Lindén 2017-12-05 13:06:13 UTC
This is triggered by USE="jack-dbus". With USE="-jack-dbus" it emerges fine.
Comment 3 Alexander Tsoy 2019-04-08 01:00:09 UTC
Upstream fix:
http://git.drobilla.net/cgit.cgi/patchage.git/commit/?id=b7b7be5aac1f82829a0f4cf013ab749f9e411d80

However with the above patch and with USE=jack-dbus patchage can't manage jack connections. I get errors like:

Jack: no reply from server when calling method 'ConnectPortsByName', error is 'jack_connect() failed with 17'
Jack: ConnectPortsByName() failed.
...

On the jack2 side this looks like:

Mon Apr  8 03:51:17 2019: ERROR: JackGraphManager::Connect already connected port_src = 7 port_dst = 3
Mon Apr  8 03:51:17 2019: ERROR: jack_connect() failed with 17
...
Comment 4 Miroslav Šulc gentoo-dev 2020-07-17 08:14:55 UTC
compiles fine for me with current stable patchage-1.0.2