Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287428 - media-sound/kwave-0.8.4 fails to build if libsamplerate is not installed
Summary: media-sound/kwave-0.8.4 fails to build if libsamplerate is not installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-02 21:41 UTC by Lienhart Woitok
Modified: 2009-10-13 17:16 UTC (History)
0 users

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


Attachments
Patch for the ebuild to depend on libsamplerate (libsamplerate.patch,307 bytes, patch)
2009-10-02 21:44 UTC, Lienhart Woitok
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lienhart Woitok 2009-10-02 21:41:37 UTC
kwave depends on libsamplerate>=0.1.3 (according to error message) which I do not have installed and which is not automatically pulled in by emerge.

Reproducible: Always

Steps to Reproduce:
1. emerge -C libsamplerate
2. emerge kwave


Actual Results:  
CMake fails with

-- checking for module 'samplerate>=0.1.3'                                      
--   package 'samplerate>=0.1.3' not found                                      
CMake Error at /usr/share/apps/cmake/modules/FindPkgConfig.cmake:286 (message): 
  A required package was not found                                              
Call Stack (most recent call first):                                            
  /usr/share/apps/cmake/modules/FindPkgConfig.cmake:338 (_pkg_check_modules_internal)                                                                           
  cmake/KwaveLibsamplerateSupport.cmake:27 (PKG_CHECK_MODULES)                  
  CMakeLists.txt:253 (INCLUDE)                                                  


CMake Error at cmake/KwaveLibsamplerateSupport.cmake:29 (MESSAGE):
  libsamplerate not found                                         
Call Stack (most recent call first):                              
  CMakeLists.txt:253 (INCLUDE)                                    


-- Configuring incomplete, errors occurred!


Expected Results:  
The package is being built

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P7350_@_2.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 01 Oct 2009 15:15:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -msse4.1 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d"
CXXFLAGS="-march=native -msse4.1 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups dbus dell dhcpcd dri dts dvd dvdr eds emacs emboss encode esd evo exif fam fbcon ffmpeg fftw firefox flac fortran gdbm gif gimp gnuplot gnutls gpm gstreamer gzip hal handbook hddtemp iconv icq ieee1394 imap ipod ipv6 isdnlog jabber java java6 javascript jingle joystick jpeg kde kontact lame laptop latex ldap libnotify lm_sensors lzma lzo mad mikmod mmap mmx modules mp3 mp4 mpeg mudflap multilib musicbrainz mysql mysqli ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp oscar pam pcmcia pcre pda pdf perl phonon php plasma png ppds pppd python qt3 qt3support qt4 quicktime rdesktop rdp readline reflection rss samba sdl semantic-desktop session skype smartcard smp speex spell spl sse sse2 ssl startup-notification subversion svg sysfs taglib tcpd theora threads thumbnails thunar tiff timidity truetype unicode urandom usb vcd vorbis wifi wmf x264 xattr xcomposite xine xml xorg xosd xpm xulrunner xv xvid 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 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Lienhart Woitok 2009-10-02 21:44:34 UTC
Created attachment 205882 [details, diff]
Patch for the ebuild to depend on libsamplerate

This patch to the ebuild fixed the problem for me. emerge pulled in libsamplerate so kwave could compile successfully.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-10-13 17:16:41 UTC
Yep. Fixed, thank you.