Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82684 - media-video/cxfe-0.9.1* doesnt compile when $LDFLAGS is set
Summary: media-video/cxfe-0.9.1* doesnt compile when $LDFLAGS is set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 100496 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-20 07:41 UTC by Peter Beutner
Modified: 2005-07-27 11:42 UTC (History)
1 user (show)

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


Attachments
patch for cxfe-0.9.1-r1.ebuild (patch,373 bytes, patch)
2005-02-20 07:41 UTC, Peter Beutner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Beutner 2005-02-20 07:41:02 UTC
I have set LDFLAGS="-Wl,-O1" in /etc/make.conf.
Now emerge cxfe aborts with:

i686-pc-linux-gnu-gcc -Wall `xine-config --libs` -L/usr/X11R6/lib -lXext-Wl,-O1 -lxine -lncurses -lm -llirc_client -lXext -lX11  -lX11   cxfe.o post.o termio/getch2.o   -o cxfe
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXext-Wl,-O1
collect2: ld gab 1 als Ende-Status zur
Comment 1 Peter Beutner 2005-02-20 07:41:02 UTC
I have set LDFLAGS="-Wl,-O1" in /etc/make.conf.
Now emerge cxfe aborts with:

i686-pc-linux-gnu-gcc -Wall `xine-config --libs` -L/usr/X11R6/lib -lXext-Wl,-O1 -lxine -lncurses -lm -llirc_client -lXext -lX11  -lX11   cxfe.o post.o termio/getch2.o   -o cxfe
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXext-Wl,-O1
collect2: ld gab 1 als Ende-Status zurück
make: *** [cxfe] Fehler 1

Reason is a missing space in Makefile.in
This affects cxfe-0.9.1 and cxfe-0.9.1-r1.
i attached a simple patch for the cxfe-0.9.1-r1 ebuild.
I will also drop a mail to the author.

Reproducible: Always
Steps to Reproduce:
1.set LDFLAGS
2.emerge cxfe

Actual Results:  
compile aborts

Expected Results:  
compile without error.

emerge info:
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.10-custom-r3 i686)
=================================================================
System uname: 2.6.10-custom-r3 i686 Genuine Intel(R) CPU 2.40GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 14:13:15)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.6.3, 1.5, 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4  -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4  -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks parallel-fetch sandbox sf
 perms"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib alsa avi berkdb crypt dga directfb dts dvb dvd dvdread
erandom fbcon flac gdbm gif gtk gtk2 imlib java jpeg libcaca lirc lzo mad
matroska mikmod mmx mmx2 mng motif mozilla mpeg ncurses nls nptl oggvorbis
openal opengl pam perl pic png python quicktime readline real sdl sse sse2 ssl
tcltk tga tiff truetype xml xml2 xprint xv xvid zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 2 Peter Beutner 2005-02-20 07:41:57 UTC
Created attachment 51669 [details, diff]
patch for cxfe-0.9.1-r1.ebuild
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-02-24 08:42:29 UTC
thanks for your report, fixed.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-07-27 11:42:20 UTC
*** Bug 100496 has been marked as a duplicate of this bug. ***