Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 557932

Summary: app-accessibility/speech-dispatcher automagic dep on libttspico (app-accessibility/svox) - pico.c:37:21: fatal error: picoapi.h: No such file or directory
Product: Gentoo Linux Reporter: cryptopsy
Component: Current packagesAssignee: William Hubbs <williamh>
Status: CONFIRMED ---    
Severity: normal CC: accessibility, bkohler, kensington, sound
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
/tmp/portage/portage/app-accessibility/speech-dispatcher-0.8.1/temp/build.log
EXTRA_ECONF="--without-svox" emerge -1 speech-dispatcher

Description cryptopsy 2015-08-16 14:57:26 UTC
pico.c:37:21: fatal error: picoapi.h: No such file or directory


Reproducible: Always

Steps to Reproduce:
1. emerge chromium ( speech-dispatcher is a dep)

Actual Results:  
chromium doesn't compile its dep

Expected Results:  
chromium compiles its deps

 [ebuild  N    ] app-accessibility/speech-dispatcher-0.8.1  USE="-alsa -ao -espeak -flite -nas -pulseaudio -python -static-libs" PYTHON_TARGETS="python3_4 -python3_3"
Comment 1 cryptopsy 2015-08-16 14:58:36 UTC
Created attachment 409168 [details]
build log
Comment 2 cryptopsy 2015-08-16 15:03:34 UTC
emerge -1 chromium -p
[ebuild  N    ] app-accessibility/speech-dispatcher-0.8.1 
[ebuild  N    ] dev-libs/jsoncpp-1.6.2-r1 
[ebuild   R   ] sys-apps/hwids-20150717-r1 
[ebuild  N    ] www-client/chromium-45.0.2454.15-r1
Comment 3 Ben Kohler gentoo-dev 2015-08-16 15:48:31 UTC
Your build log seems to be missing some information, it does not show the unpack or prepare phases, and it doesn't show the econf/configure command.  Not sure how that happened but can you try to find a more complete one?
Comment 4 cryptopsy 2015-08-18 13:38:40 UTC
(In reply to Ben Kohler from comment #3)
> Your build log seems to be missing some information, it does not show the
> unpack or prepare phases, and it doesn't show the econf/configure command. 
> Not sure how that happened but can you try to find a more complete one?

Don't know how to proceed.
Comment 5 cryptopsy 2015-08-18 13:47:12 UTC
Created attachment 409360 [details]
/tmp/portage/portage/app-accessibility/speech-dispatcher-0.8.1/temp/build.log

another build log
Comment 6 Ben Kohler gentoo-dev 2015-08-18 13:54:38 UTC
Somehow pico is getting enabled on your system:

checking for pico_initialize in -lttspico... yes

..

configure: output modules to be built are cicero dummy festival generic pico


This is not normal.  Did you do something to get/install libttspico?  I don't see it in portage anywhere.  It must either be an automagic dep on this lib or you are explicitly passing --with-pico to the build.
Comment 7 Ben Kohler gentoo-dev 2015-08-18 13:58:30 UTC
Did you possibly install app-accessibility/svox from an overlay?
Comment 8 cryptopsy 2015-08-18 18:25:56 UTC
libttspico, and svox were required for a shuffle.py , which is an ipod shuffle playlist generator (Ipod-Shuffle-4g). libttspico was DMCA'ed (taken down), so I have to manually copy it from one of my old systems. I tried to get the author of libttspico to provide the working dep for shuffle.py by some other way but was not able to.

Keeping that in mind, when I get errors like this, i ignore them; /sbin/ldconfig: /lib32/libttspico.so.0 is not a symbolic link
Comment 9 cryptopsy 2015-08-18 18:36:45 UTC
I did not imagine it would create a global conflict, perhaps I can create a standalone app from shuffle.py using pex. Pex will create the standalone shuffle.pex. Is this a good solution for that problem?
Comment 10 Ben Kohler gentoo-dev 2015-08-18 18:40:01 UTC
This is still a bug, it should not automatically enable svox support just because libttspico exists.  If you disable svox support like this:

EXTRA_ECONF="--without-svox" emerge -1 speech-dispatcher

does it work?
Comment 11 cryptopsy 2015-08-18 21:05:12 UTC
Created attachment 409390 [details]
EXTRA_ECONF="--without-svox" emerge -1 speech-dispatcher
Comment 12 Ben Kohler gentoo-dev 2015-08-18 21:10:02 UTC
Sorry about that, I meant --without-pico (not --without-svox).  Getting confused since the feature is referred to as pico in some places and svox in others =)
Comment 13 cryptopsy 2015-08-18 21:57:57 UTC
it worked
Comment 14 cryptopsy 2015-08-18 21:59:55 UTC
I had the libttspico.* files in lib32 and lib64 , and it seems nothing else from pico