Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[fixed] jack-audio-connection-kit compile error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jarro_2783
n00b
n00b


Joined: 08 Jun 2008
Posts: 23

PostPosted: Wed May 16, 2018 3:34 pm    Post subject: [fixed] jack-audio-connection-kit compile error Reply with quote

I'm having problems emerging jack-audio-connection-kit-0.125.0. It first fails here:
Code:

In file included from /home/portagetmp/portage/media-sound/jack-audio-connection-kit-0.125.0/work/jack-audio-connection-kit-0.125.0/tools/zalsa/jackclient.cc:23:0:
/usr/include/jack/thread.h:52:37: error: 'jack_client_t' was not declared in this scope
 int jack_client_real_time_priority (jack_client_t*) JACK_OPTIONAL_WEAK_EXPORT;
                                     ^~~~~~~~~~~~~


I can't find anyone else with the same problem, so I'm assuming it's a noob error rather than a bug. Any help would be appreciated thanks.


Last edited by jarro_2783 on Sat May 19, 2018 9:29 am; edited 1 time in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 5635
Location: Room 101

PostPosted: Wed May 16, 2018 3:55 pm    Post subject: Reply with quote

jarro_2783 ...

it's difficult to tell without first seeing the build.log, however, that header is from the currently installed jack-audio-connection-kit and so I expect you can resolve this by first uninstalling that package.

HTH & best ... khay
Back to top
View user's profile Send private message
jarro_2783
n00b
n00b


Joined: 08 Jun 2008
Posts: 23

PostPosted: Wed May 16, 2018 4:43 pm    Post subject: Reply with quote

I didn't spot that. Now I have this error instead:
Code:

/home/portagetmp/portage/media-sound/jack-audio-connection-kit-0.125.0/work/jack-audio-connection-kit-0.125.0/tools/zalsa/jackclient.h:26:23: fatal error: jack/jack.h: No such file or directory
 #include <jack/jack.h>
                       ^
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 5635
Location: Room 101

PostPosted: Wed May 16, 2018 6:02 pm    Post subject: Reply with quote

jarro_2783 ...

as I said, you need to provide the build.log (via pastebin) and the output of 'emerge --info =media-sound/jack-audio-connection-kit-0.125.0'.

best ... khay
Back to top
View user's profile Send private message
jarro_2783
n00b
n00b


Joined: 08 Jun 2008
Posts: 23

PostPosted: Wed May 16, 2018 9:28 pm    Post subject: Reply with quote

Sure will do when I next have the time.
Back to top
View user's profile Send private message
jarro_2783
n00b
n00b


Joined: 08 Jun 2008
Posts: 23

PostPosted: Wed May 16, 2018 9:32 pm    Post subject: Reply with quote

Actually turns out I have time now:

Build log: http://ix.io/1azR


Code:

$ emerge --info =media-sound/jack-audio-connection-kit-0.125.0
Portage 2.3.24 (python 3.6.5-final-0, default/linux/amd64/17.0/systemd, gcc-6.4.0, glibc-2.25-r11, 4.9.76-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.76-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.4.1
KiB Mem:     8154344 total,   4084220 free
KiB Swap:   15631240 total,  15631240 free
Timestamp of repository gentoo: Sat, 12 May 2018 07:15:01 +0000
Head commit of repository gentoo: 52baffea7ac94c13b265fa0f7916aa5ffe3f8a16
Head commit of repository obs-studio-overlay: 986b6a026efbf0cfe46d4cc0d850a80ff79766f8

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.9.6-r5::gentoo, 1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.au.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts:

obs-studio-overlay
    location: /usr/local/portage/obs-studio
    sync-type: git
    sync-uri: https://github.com/saintdev/obs-studio-overlay.git
    masters: gentoo

overlay
    location: /usr/local/portage/overlay
    masters: gentoo
    priority: 0

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

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

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x skype-4.0.0.7-copyright PUEL google-chrome NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=generic -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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="-O2 -pipe -mtune=generic -march=core2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="/home/portagetmp"
USE="X a52 aac acl acpi alsa amd64 apache2 apm bash-completion berkdb bzip2 cairo cdda cddb cdparanoia cdr cjk cli crypt css ctype cups curl cxx dbus dga directfb djvu dri dvb dvd dvdr encode ffmpeg fftw flac fontconfig fortran ftp gd gdbm gdu gimp glut gmp gnome-keyring gnuplot gnutls gphoto2 graphviz gsl gsm gstreamer gtk http2 iconv icu imagemagick ipv6 jack jpeg jpeg2k kpathsea lame latex libnotify lm_sensors lzma mad mmx mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl nsplugin ogg openal opengl openmp pam pcre pdf php png policykit python qt3support readline seccomp smp spell sqlite sqlite3 sse sse2 ssl svg systemd tcpd tiff truetype udev unicode usb v4l v4l2 vim-syntax vorbis wavpack widevine win32codecs x264 xattr xetex xinerama xinetd xml xvid zlib" ABI_X86="64" 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" 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-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 18582
Location: here

PostPosted: Thu May 17, 2018 12:09 pm    Post subject: Reply with quote

jack compile tools/zalsa/ only if you installed zita-resampler package (not present in portage).
Try to, if possible, to uninstall zita-resample and recompile jack
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
jarro_2783
n00b
n00b


Joined: 08 Jun 2008
Posts: 23

PostPosted: Sat May 19, 2018 9:29 am    Post subject: Reply with quote

That fixed it thanks. It was a dependency of guitarix from an overlay. Uninstalling worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum