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

Bug 303094

Summary: app-accessibility/espeak-1.42.04: does not respect LDFLAGS
Product: Gentoo Linux Reporter: Peter Volkov (RETIRED) <pva>
Component: New packagesAssignee: William Hubbs <williamh>
Status: RESOLVED FIXED    
Severity: normal CC: accessibility, xarthisius
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: adding epatch
fixing LDFLAGS

Description Peter Volkov (RETIRED) gentoo-dev 2010-02-01 13:33:04 UTC
After emerge espeak the following message is produced:

 * QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/bin/espeak
 * /usr/lib/libespeak.so.1.1.42

Portage 2.2_rc62 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.27-openvz-briullov.1-r4 i686)
=================================================================
System uname: Linux-2.6.27-openvz-briullov.1-r4-i686-Intel-R-_Xeon-R-_CPU_E5310_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 01 Feb 2010 12:30:23 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  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.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -mtune=pentium3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=i686 -pipe -mtune=pentium3"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests buildpkg ccache collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,--as-needed,--hash-style=gnu"
LINGUAS="en ru en_GB en_US"
MAKEOPTS="-j8"
PKGDIR="/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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amr bash-completion bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cleartype cli consolekit cracklib crypt cups cxx dbus dga dirac djvu dri dvi eds encode exif faac faad fam ffmpeg flac fontconfig fortran gif gnome gnome-keyring gphoto2 gs gsm gstreamer gtk hal iconv id3tag imagemagick inotify ipv6 jbig jpeg jpeg2k laptop latex lcms libnotify libsamplerate mad matroska midi mikmod mmx mng modplug modules mp2 mp3 mpeg mtp mudflap nautilus ncurses network nls nptl nptlonly nsplugin ogg opengl openmp pam pango parport pcre pdf plotutils png policykit ppds pppd qt3support raw readline reflection schroedinger session sndfile spell spl sse sse2 ssl startup-notification svg sysfs taglib theora threads tiff timidity truetype tta unicode usb vorbis wavpack wma wmf wxwindows x264 x86 xmp xorg xpm xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" ELIBC="glibc" INPUT_DEVICES="evdev wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru en_GB en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa radeon intel sis" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-03-30 16:32:52 UTC
Created attachment 225847 [details, diff]
adding epatch

additionally exporting system CXX
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-03-30 16:33:43 UTC
Created attachment 225849 [details, diff]
fixing LDFLAGS

both patches can be applied to previous version (tested with 1.42.04)
Comment 3 William Hubbs gentoo-dev 2010-10-29 18:12:37 UTC
This is fixed in 1.44.05 which was just added to the tree.

The change for LDFLAGS was also forwarded to upstream.