Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463620 - kde-base/jovie-4.10.1 with app-accessibility/speech-dispatcher-0.8* - src_configure(): Could NOT find Speechd (missing: SPEECHD_INCLUDE_DIR)
Summary: kde-base/jovie-4.10.1 with app-accessibility/speech-dispatcher-0.8* - src_con...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH
: 464868 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-28 14:46 UTC by Richard Grenville
Modified: 2013-04-09 13:59 UTC (History)
4 users (show)

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


Attachments
jovie-4.10.1-speech-dispatcher-0.8-incdir.patch (jovie-4.10.1-speech-dispatcher-0.8-incdir.patch-disabled,1.19 KB, patch)
2013-03-28 14:48 UTC, Richard Grenville
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Grenville 2013-03-28 14:46:31 UTC
kde-base/jovie-4.10.1 couldn't find app-accessibility/speech-dispatcher-0.8* during configure phase, causing errors later:

----

...

-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Could NOT find Speechd (missing:  SPEECHD_INCLUDE_DIR) 

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * speechd  <http://www.freebsoft.org/speechd>
     Speech Dispatcher provides a high-level device independent layer for speech synthesis
     Jovie requires speech dispatcher.

-----------------------------------------------------------------------------

-- <<< Gentoo configuration >>>

...

>>> Install jovie-4.10.1 into /var/tmp/portage/kde-base/jovie-4.10.1/image/ category kde-base
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/jovie-4.10.1/work/jovie-4.10.1_build"
make -j9 install 
make: *** No rule to make target `install'.  Stop.
 * ERROR: kde-base/jovie-4.10.1 failed (install phase):
 *   emake failed
 ----

I believe it's app-accessibility/speech-dispatcher-0.8 that changes its header file location from /usr/include/libspeechd.h to /usr/include/speech-dispatcher/libspeechd.h, causing jovie's `cmake/FindSpeechd.cmake` to fail to find libspeechd.h.

My ugly patch will be attached later.


Reproducible: Always




Portage 2.2.0_alpha170 (default/linux/amd64/13.0/desktop, gcc-4.7.2, glibc-2.17, 3.8.1-pf x86_64)
=================================================================
System uname: Linux-3.8.1-pf-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:     8129872 total,   4170300 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Thu, 28 Mar 2013 13:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunrise qt local_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/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"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles force-mirror merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/ http://mirrors.sohu.com/gentoo/ http://mirrors.xmu.edu.cn/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/qt /usr/local/portage"
SYNC="rsync://rsync.cn.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo caps cdda cdr cjk cli consolekit cracklib crypt cups custom-cflags cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig gdbm gif gpm gtk gtk3 gtkstyle hardened iconv icu iproute2 jit jpeg lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nvidia ogg opengl openmp optimization optimized-qmake pam pango pcre pdf pgo png ppds qt3support readline sdl session smp spell sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification svg system-jpeg system-sqlite tcpd truetype udev unicode upower usb vdpau vim-syntax vorbis wxwidgets x264 xcb xft xml xv xvid zlib zsh-completion" 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" 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="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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 ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Richard Grenville 2013-03-28 14:48:02 UTC
Created attachment 343532 [details, diff]
jovie-4.10.1-speech-dispatcher-0.8-incdir.patch

My ugly patch that corrects speech-dispatch header detection and adds the new header location to include_directories().
Comment 2 jospezial 2013-04-08 01:03:59 UTC
the same in jovie-4.10.2:
https://bugs.gentoo.org/show_bug.cgi?id=464868
Comment 3 Michael Palimaka (kensington) gentoo-dev 2013-04-09 13:52:00 UTC
*** Bug 464868 has been marked as a duplicate of this bug. ***
Comment 4 Michael Palimaka (kensington) gentoo-dev 2013-04-09 13:59:29 UTC
Thanks everyone, fixed in CVS.

+  09 Apr 2013; Michael Palimaka <kensington@gentoo.org>
+  +files/jovie-4.10.1-speechd-0.8.patch, jovie-4.10.2.ebuild:
+  Backport patch from upstream to fix build with speech-dispatcher-0.8, wrt bug
+  #463620.