media-sound/ardour-2.7_p4225 complains of missing alsa/asoundlib.h Reproducible: Always Steps to Reproduce: 1.emerge media-sound/ardour-2.7_p4225 2. 3. Actual Results: Checking for C header file alsa/asoundlib.h... no Checking for C header file /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h... no It appears you don't have the required MIDI libraries installed. For Linux this means you are missing the development package for ALSA libraries. * * ERROR: media-sound/ardour-2.7_p4225 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2734: 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 Expected Results: Should find alsa/asoundlib.h - which is there - and compile. # emerge --info Portage 2.1.6_rc2 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r4-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.0 Timestamp of tree: Fri, 28 Nov 2008 16:20:01 +0000 app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.6-r5 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.50.0.1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -fomit-frame-pointer -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 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://gentoo.mirrors.tds.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,--as-needed" LINGUAS="en_US en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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 /usr/local/portage/layman/java-overlay" SYNC="rsync://davinci.realcomputerguy.soho/gentoo-portage" USE="X a52 aac aalib acl acpi addressbook alsa amd64 amr apache2 audiofile avahi avi bash-completion berkdb bzip2 cairo caps cdaudio cdparanoia cdr chm cli cracklib crypt cups curl dbus designer-plugin djvu dri dts dv dvb dvd dvdr dvdread ebook encode exif fam ffmpeg flac fortran gdbm gif glitz gphoto2 gpm gps gstreamer gtk2 hal htmlhandbook iconv ieee1394 imagemagick imap imlib ipv6 isdnlog jack java jpeg jpeg2k kde kdeenablefinal kpathsea lame lcd lcms ldap mad marble midi mmap mmx mozcalendar mozilla mp3 mudflap multilib musicbrainz ncurses nepomuk nls nodrm nptl nptlonly nsplugin nvidia ofx ogg oggvorbis openexr opengl openmp pam pcre pda pdf perl png pppd pulseaudio python qt3 qt4 quicktime readline reflection samba sasl scanner sdl semantic-desktop session slp smp sndfile spell spl sse sse2 ssl subversion svg sysfs tcltk theora threads tiff tk transparency truetype unicode usb utf8 v4l v4l2 vcd vim-syntax vorbis wav wavpack wmf x264 xattr xcb xcomposite xine xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel hdsp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev vmware v4l" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
If the header is there (as you claim), what are the error messages in scons's log ?
(In reply to comment #1) > If the header is there (as you claim), > what are the error messages in scons's log ? > Where might I find that?
I do get this in the portage log: ===================================================== scons: Reading SConscript files ... SCons.Script:18: DeprecationWarning: the sets module is deprecated /usr/lib/scons-1.0.0/SCons/Platform/posix.py:38: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import popen2 /usr/lib/scons-1.0.0/SCons/Tool/msvs.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 =====================================================
emerge -pv alsa-lib It might require midi USE flag enabled; ardour is already using EAPI=2 but just to exclude a portage bug...
(In reply to comment #4) > emerge -pv alsa-lib > > It might require midi USE flag enabled; ardour is already using EAPI=2 but just > to exclude a portage bug... The midi use flag is set, I've remerged alsa-lib and scons several times. ============================================= $ emerge -pv alsa-lib These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/alsa-lib-1.0.18 USE="midi python -alisp -debug -doc" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 0 kB =============================================
Looks to be possibly a scons/python compatibility issue (I'm using python-2.6 - python 2.5 has been uninstalled). First I could not install any version of ardour without getting the error. I downgraded to scons-0.98.5 (no longer in portage - got it from sources) with still no success. I upgraded to scons-1.1.0 (not in portage, created ebuild), no success. I upgraded to scons-1.1.0_p20081125 (not in portage, created ebuild, supposed to be released soon as 1.1.1) and voila! With scons-1.1.0_p20081125 ardour emerged just fine.
Try 2.8.2; appears to be fine here.