Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339923 - app-accessibility/flite-1.4-r1 shared libraries do not link alsa correctly
Summary: app-accessibility/flite-1.4-r1 shared libraries do not link alsa correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords:
: 345011 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-06 09:24 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2013-03-10 21:18 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,7.58 KB, text/plain)
2010-10-06 09:24 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
config.log (config.log,48.03 KB, text/plain)
2010-10-07 07:31 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
/tmp/emerge.info (emerge.info,8.59 KB, text/plain)
2011-03-16 03:39 UTC, K. Posern
Details
/var/log/portage/app-accessibility:flite-1.4-r1:20110315-181934.log (app-accessibility:flite-1.4-r1:20110315-181934.log,6.07 KB, text/plain)
2011-03-16 03:42 UTC, K. Posern
Details
/var/log/portage/app-accessibility:speech-dispatcher-0.7.1-r1:20110315-153734.log (app-accessibility:speech-dispatcher-0.7.1-r1:20110315-153734.log,8.18 KB, text/plain)
2011-03-16 03:43 UTC, K. Posern
Details
Replacement for ldflags patch (flite-1.4-ldflags.patch,1.73 KB, text/plain)
2013-01-20 20:14 UTC, Andrew John Hughes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-10-06 09:24:05 UTC
checking for register_cmu_us_kal in -lflite_cmu_us_kal16... no
checking for register_cmu_us_kal16 in -lflite_cmu_us_kal16... no
checking for register_cmu_us_kal in -lflite_cmu_us_kal... no
Flite libraries missing. Compiling without Flite support!
Flite support is not available. Sorry.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-accessibility/speech-dispatcher-0.7.1/work/speech-dispatcher-0.7.1/config.log
 * ERROR: app-accessibility/speech-dispatcher-0.7.1 failed:
 *   econf failed



# emerge --info speech-dispatcher
Portage 2.2_rc89 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5-asneeded, glibc-2.11.2-r0, 2.6.32.23 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32.23-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 06 Oct 2010 06:00:20 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.7, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5_pre::poly-c
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ConsoleKit /etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bonobo-activation /etc/ca-certificates /etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/games /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gre.d /etc/gtk-2.0 /etc/hp /etc/hsqldb /etc/htdig /etc/init.d /etc/iproute2 /etc/java-config-2 /etc/lftp /etc/logrotate.d /etc/ntop /etc/opt /etc/pango /etc/polkit-1 /etc/profile.d /etc/qt4 /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sensors.d /etc/sgml /etc/sound /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/usb_modeswitch.d /etc/vbox /etc/xdg /etc/xinetd.d /etc/xml"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/var/lib/layman/poly-c /usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus dts dvd dvdr emboss encode exif fam ffmpeg firefox flac gdbm gif gmp gnutls gtk iconv idn jpeg jpeg2k kde lame lcms libnotify lzma mad midi mmap mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf png ppds pppd qt3support qt4 quicktime readline reflection schroedinger sdl session slang spell sse sse2 ssl startup-notification svg sysfs theora threads tiff truetype twolame unicode usb vcd vdpau vorbis vpx x264 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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" 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" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="de en" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-accessibility/speech-dispatcher-0.6.7-r1 was built with the following:
USE="alsa espeak flite (multilib) -nas -pulseaudio -python"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-10-06 09:24:53 UTC
Created attachment 249734 [details]
build.log
Comment 2 William Hubbs gentoo-dev 2010-10-06 23:58:04 UTC
Can you please attach the following file 
/var/tmp/portage/app-accessibility/speech-dispatcher-0.7.1/work/speech-dispatcher-0.7.1/config.log

and re-open this bug?

Thanks,

William
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-10-07 07:31:26 UTC
Created attachment 249813 [details]
config.log
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-10-07 07:32:14 UTC
# emerge -qpv flite
[ebuild   R   ] app-accessibility/flite-1.4-r1  USE="alsa -oss -static-libs"
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-11-11 09:34:35 UTC
*** Bug 345011 has been marked as a duplicate of this bug. ***
Comment 6 K. Posern 2011-03-16 03:38:52 UTC
Same here.

This should be fixed... *please*.

Anyone any idea how?
Comment 7 K. Posern 2011-03-16 03:39:04 UTC
Created attachment 266065 [details]
/tmp/emerge.info

emerge --info
Comment 8 K. Posern 2011-03-16 03:42:46 UTC
Created attachment 266067 [details]
/var/log/portage/app-accessibility:flite-1.4-r1:20110315-181934.log

emerge log
Comment 9 K. Posern 2011-03-16 03:43:37 UTC
Created attachment 266069 [details]
/var/log/portage/app-accessibility:speech-dispatcher-0.7.1-r1:20110315-153734.log

emerge log
Comment 10 Bernard Cafarelli gentoo-dev 2012-02-22 16:01:46 UTC
With bug #320119 fixed, gnustep-base/gnustep-gui now optionally depends on flite. The configure check (and linking when forced) also fail with the same error
Comment 11 Andrew John Hughes 2013-01-20 20:13:19 UTC
The problem is that the files/flite-1.4-ldflags.patch adds the options in the wrong place.  These aren't really ldflags at all (the variable is misnamed), but the libraries to link against and they should be at the end of the command line.

This is before:

# ldd /usr/lib/libflite.so
	linux-vdso.so.1 (0x00007fff4bdc0000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f23e931a000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f23e993c000)

and this is after moving them to the end:

# ldd /mnt/builder/portage.build/portage/app-accessibility/flite-1.4-r1/work/flite-1.4-release/build/x86_64-linux-gnu/lib/libflite.so
	linux-vdso.so.1 (0x00007fff2d836000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f083a2d7000)
	libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007f0839ffa000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f0839c4e000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f0839a4a000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f083982d000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f0839624000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f083a847000)
Comment 12 Andrew John Hughes 2013-01-20 20:14:18 UTC
Created attachment 336256 [details]
Replacement for ldflags patch

The attached patch replaces flite-1.4-ldflags.patch, also renaming the variable to the more appropriate LDLIBS.
Comment 13 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-03-10 21:18:33 UTC
+*flite-1.4-r2 (10 Mar 2013)
+
+  10 Mar 2013; Lars Wendler <polynomial-c@gentoo.org> -flite-1.4-r1.ebuild,
+  +flite-1.4-r2.ebuild, files/flite-1.4-ldflags.patch:
+  Non-maintainer commit: Fixed linking of shared libraries. Thanks to Andrew
+  John Hughes for providing a patch in bug #339923.
+

Fixed by adding a slightly modified version of Andrews patch.