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

Bug 75540

Summary: kaffeine 0.5 compilation error : file http.da not found / `VERSION' undeclared in function `http_open'
Product: Gentoo Linux Reporter: Guillaume <guill.p>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: normal CC: media-video
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Guillaume 2004-12-24 05:29:24 UTC
the latest kaffeine 0.5 ebuild fails to emerge.

Reproducible: Always
Steps to Reproduce:
1. emerge sync
(to get the kaffeine 0.5 ebuild :) )
echo "media-video/kaffeine ~x86" >> /etc/portage/packages.keywords
2. emerge kaffeine

Actual Results:  
...
make[4]: Entering directory
`/portage/tmp/portage/kaffeine-0.5/work/kaffeine-0.5/kaffeine/player-parts'
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
-I. -I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I.  -I/usr/include 
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG
-O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissing-format-attribute
-fno-exceptions -fno-check-new -fno-common  -c -o kmediapart.lo kmediapart.cpp
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I.  -I/usr/include 
-DQT_THREAD_SUPPORT  -D_REENTRANT  -ansi -W -Wall -Wchar-subscripts -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -DNDEBUG -O2  -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer
-frename-registers -malign-double -maccumulate-outgoing-args
-mno-align-stringops -fbranch-probabilities -Wformat-security
-Wmissing-format-attribute -c -o http.lo http.c
http.c:0: warning: file http.da not found, execution counts assumed to be zero
http.c: In function `http_open':
http.c:438: error: `VERSION' undeclared (first use in this function)
http.c:438: error: (Each undeclared identifier is reported only once
http.c:438: error: for each function it appears in.)
make[4]: *** [http.lo] Erreur 1
make[4]: *** Attente des t
Comment 1 Guillaume 2004-12-24 05:29:24 UTC
the latest kaffeine 0.5 ebuild fails to emerge.

Reproducible: Always
Steps to Reproduce:
1. emerge sync
(to get the kaffeine 0.5 ebuild :) )
echo "media-video/kaffeine ~x86" >> /etc/portage/packages.keywords
2. emerge kaffeine

Actual Results:  
...
make[4]: Entering directory
`/portage/tmp/portage/kaffeine-0.5/work/kaffeine-0.5/kaffeine/player-parts'
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
-I. -I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I.  -I/usr/include 
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG
-O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissing-format-attribute
-fno-exceptions -fno-check-new -fno-common  -c -o kmediapart.lo kmediapart.cpp
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I.  -I/usr/include 
-DQT_THREAD_SUPPORT  -D_REENTRANT  -ansi -W -Wall -Wchar-subscripts -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -DNDEBUG -O2  -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer
-frename-registers -malign-double -maccumulate-outgoing-args
-mno-align-stringops -fbranch-probabilities -Wformat-security
-Wmissing-format-attribute -c -o http.lo http.c
http.c:0: warning: file http.da not found, execution counts assumed to be zero
http.c: In function `http_open':
http.c:438: error: `VERSION' undeclared (first use in this function)
http.c:438: error: (Each undeclared identifier is reported only once
http.c:438: error: for each function it appears in.)
make[4]: *** [http.lo] Erreur 1
make[4]: *** Attente des tâches non terminées....
make[4]: Leaving directory
`/portage/tmp/portage/kaffeine-0.5/work/kaffeine-0.5/kaffeine/player-parts'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory
`/portage/tmp/portage/kaffeine-0.5/work/kaffeine-0.5/kaffeine/player-parts'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory
`/portage/tmp/portage/kaffeine-0.5/work/kaffeine-0.5/kaffeine'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/portage/tmp/portage/kaffeine-0.5/work/kaffeine-0.5'
make: *** [all] Erreur 2

!!! ERROR: media-video/kaffeine-0.5 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.



Expected Results:  
kaffeine 0.5 compiles properly
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2004-12-24 06:49:13 UTC
Try again without -fbranch-probabilities
Comment 3 Patrick Dawson (RETIRED) gentoo-dev 2004-12-24 08:40:18 UTC
Y'know, much as I hate to agree with ciaranm, we really do need bold red letters in our documentation saying "WE DO NOT SUPPORT CRAZY CFLAGS".
The only CFLAGS you should have on x86 are -O?, -march=*, and -fomit-frame-pointer. If you have something else, and you have _any_ problem, the very first thing you should do is remove all other CFLAGS and try recompiling.

In summary, I'm marking this INVALID. Please re-open if you still have problems after removing the unsupported CFLAGS. Thank you.