Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231567 - media-sound/ardour-2.5 fails to compile: libs/ardour/globals.cc:386: error: 'jack_get_time' was not declared in this scope
Summary: media-sound/ardour-2.5 fails to compile: libs/ardour/globals.cc:386: error: '...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-12 09:43 UTC by Stefan Kiesler
Modified: 2008-07-13 11:05 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Kiesler 2008-07-12 09:43:51 UTC
Latest Ardour fails to compile using scons 0.97 or 0.98.4, scons 0.98.3 failed to properly detect some boost headers.

libs/ardour/globals.cc
libs/ardour/globals.cc: In function 'ARDOUR::microseconds_t ARDOUR::get_microseconds()':
libs/ardour/globals.cc:386: error: 'jack_get_time' was not declared in this scope
scons: *** [libs/ardour/globals.os] Error 1
scons: building terminated because of errors.
 *
 * ERROR: media-sound/ardour-2.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2749:  Called die
 * The specific snippet of code:
 *       scons $(ardour_use_enable DEBUG debug) FPU_OPTIMIZATION=${FPU_OPTIMIZATION} DESTDIR="${D}" $(ardour_use_enable NLS nls) $(ardour_use_enable FREESOUND freesound) FFT_ANALYSIS=1 SYSLIBS=1 CFLAGS="${CFLAGS}" LV2=0 PREFIX=/usr || die "scons failed"
 *  The die message:
 *   scons failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/media-sound:ardour-2.5:20080712-091721.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/ardour-2.5/temp/environment'.
 *

emerge --info:
Portage 2.1.4.4 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Sat, 12 Jul 2008 07:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://212.219.56.152/sites/www.ibiblio.org/gentoo/ http://212.219.56.162/sites/www.ibiblio.org/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/knut"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib alsa amd64 berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glut gpm gstreamer gtk gtk2 gtkhtml hal iconv imagemagick ipv6 isdnlog jack joystick jpeg jpeg2k kde ladspa ldap libsamplerate lm_sensors mad midi mikmod mng mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp oss pam pcre perl png pppd python qt3 quicktime readline reflection sdl session spell spl ssl svg tcpd threads tidy tk truetype v4l vcd vorbis xine xinerama xml xml2 xorg xv xvid xvmc zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Eldad Zack 2008-07-12 12:59:27 UTC
upgrade to jack-audio-connection-kit 0.109 solves this problem for me.
Comment 2 Stefan Kiesler 2008-07-12 13:52:00 UTC
Thanks!
Solved by upgrading to jack-audio-connection-kit-0.109.2-r1.

Please add that dependency to the Ardour ebuild.
Comment 3 Alexis Ballier gentoo-dev 2008-07-13 11:05:23 UTC
fixed, thanks