Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538712 - app-accessibility/flite-1.4-r4 - undefined reference to -lm / -lasound
Summary: app-accessibility/flite-1.4-r4 - undefined reference to -lm / -lasound
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-02-03 22:14 UTC by Daniel Santos
Modified: 2020-02-20 02:55 UTC (History)
2 users (show)

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


Attachments
proposed fix (to replace existing files/flite-1.4-ldflags.patch) (flite-1.4-ldflags.patch,4.90 KB, patch)
2015-02-03 22:14 UTC, Daniel Santos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Santos 2015-02-03 22:14:15 UTC
Created attachment 395476 [details, diff]
proposed fix (to replace existing files/flite-1.4-ldflags.patch)

It looks like the flite-1.4-ldflags.patch isn't complete.


emerge --info app-accessibility/flite
Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0/no-emul-linux-x86/desktop/kde, gcc-4.8.4, glibc-2.20-r1, 3.17.8-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.8-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P7350_@_2.00GHz-with-gentoo-2.2
KiB Mem:     4043316 total,   1404468 free
KiB Swap:    4194300 total,   4029800 free
Timestamp of tree: Wed, 28 Jan 2015 04:30:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.1 [disabled]
app-shells/bash:          4.3_p33-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.2.1-r1
dev-util/cmake:           3.1.0
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4, 4.9.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.5
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA cadsoft"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -ggdb -pipe -march=core2 -mtune=core2 -mcx16 -msahf -msse4.1 -mfxsr --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -flto"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -ggdb -pipe -march=core2 -mtune=core2 -mcx16 -msahf -msse4.1 -mfxsr --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -flto"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j2"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy cgroup compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://loudmouth http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="7zip X a52 aac aacplus aacs acl acpi aio alsa amd64 apache2 avahi bazaar berkdb bindist bluetooth bluray branding bzip2 cairo cdda cddb cdio cdr celt clang cli consolekit cracklib crypt cups cvs cxx dbus declarative development dirac directfb dot dri dts dvd dvdr emboss encode exif extraengine faac fam ffmpeg fftw firefox flac flite fluidsynth fontconfig fortran frei0r gdbm gif git glamor gme gnutls gphoto2 gpm graphviz gsm gstreamer gtk gtk3 hardened highlight iconv ipv6 java jpeg jpeg2k kate kde kdrive kipi ladspa lame lcms ldap libass libcaca libnotify libsamplerate libv4l lto lua lzma lzo mad matroska md5sum mercurial mmx mng modules mp3 mp4 mpeg mtp mudflap multicall multilib multitarget musepack natspec ncurses networkmanager nls nptl nsplugin ogg okteta omr openal opencl opengl openmp opus pam pango pch pcre pdf perl phonon plasma playlist png policykit ppds projectm qt3support qt4 qthelp quvi readline reviewboard rfc3779 sasl scanner schroedinger sdl seccomp semantic-desktop session sid smp speex spell sqlite sqlite3 sse sse2 sse3 sse4_1 ssh ssl ssse3 startup-notification static-libs subversion svg syslog taglib tcpd theora threads thumbnail tiff tk tools tremor truetype twolame udev udisks unicode upnp upnp-av upower usb utils v4l vaapi vcdx vdpau vim-syntax vlc vorbis vpx wavpack webkit webp wifi wxwidgets x264 x265 xattr xcb xcomposite xine xinerama xml xscreensaver xv xvid xvmc zeroconf zlib zvbi" ABI_X86="64 32" ALSA_CARDS="hda-intel" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hpp1006" 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 ublox ubx" GRUB_PLATFORMS="multiboot pc qemu" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Daniel Santos 2015-02-03 22:22:47 UTC
oops, I forgot the actual error:

making in main ...
../tools/make_voice_list cmu_us_kal cmu_time_awb cmu_us_kal16 cmu_us_awb cmu_us_rms cmu_us_slt
rm -f flite_voice_list.o
make flite_voice_list.o
x86_64-pc-linux-gnu-gcc -m32 -O2 -ggdb -pipe -march=core2 -mcx16 -msahf -msse4.1 -mfxsr --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=core2   -I../include  -c -o flite_voice_list.o flite_voice_list.c
x86_64-pc-linux-gnu-gcc -m32 -O2 -ggdb -pipe -march=core2 -mcx16 -msahf -msse4.1 -mfxsr --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=core2 -o ../bin/flite flite_main.o flite_voice_list.o -L../build/i386-linux-gnu/lib -lflite_cmu_us_kal -lflite_cmu_time_awb -lflite_cmu_us_kal16 -lflite_cmu_us_awb -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish -lflite_cmulex -lflite -Wl,-O1 -Wl,--as-needed
../build/i386-linux-gnu/lib/libflite.a(cst_mlsa.o): In function `c2ir':
/tmp/portage/app-accessibility/flite-1.4-r4/work/flite-1.4-release-abi_x86_32.x86/src/cg/cst_mlsa.c:589: undefined reference to `exp'

... and many more of these (all math and alsa)


Also, I have not tested with USE="oss"
Comment 2 Daniel Santos 2015-02-03 22:54:08 UTC
oh wait, the patch is no good. :( I have USE=static-libs enabled and I've only got static libs.
Comment 3 deference 2017-07-17 02:21:26 UTC
I'm experiencing the same problem.
If you need a buld log or anything just yell.
Comment 4 Daniel Santos 2017-07-17 15:48:08 UTC
(In reply to deference from comment #3)
> I'm experiencing the same problem.
> If you need a buld log or anything just yell.

OMG! Awesome email address! :)

Yeah, sorry I never put together a good patch.  I had apparently forgotten about it after I got it to work for whatever I was doing with it.  But we should get the status changed to CONFIRMED.
Comment 5 deference 2017-07-19 02:39:57 UTC
>(In reply to deference from comment #3)
>> I'm experiencing the same problem.
>> If you need a buld log or anything just yell.
>
>OMG! Awesome email address! :)

Amazingly, you're the first to notice!

> Yeah, sorry I never put together a good patch.  I had
> apparently forgotten about it after I got it to work
> for whatever I was doing with it.  But we should get
> the status changed to CONFIRMED.

Agreed, and thanks for your work in Gentoo!
Comment 6 Larry the Git Cow gentoo-dev 2020-02-20 02:55:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4c33ebe587a88c4a85c0c611cada9df3895c3c0

commit e4c33ebe587a88c4a85c0c611cada9df3895c3c0
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-02-20 02:51:01 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-02-20 02:54:39 +0000

    app-accessibility/flite: Drop IUSE=static-libs
    
    Broken and unneeded.
    
    Closes: https://bugs.gentoo.org/538712
    Closes: https://bugs.gentoo.org/539556
    Closes: https://bugs.gentoo.org/635230
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-accessibility/flite/flite-1.4-r4.ebuild | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)