Steps to Reproduce:
1. emerge tvtime
this is the output I get:
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. `/usr/bin/freetype-config --cflags` -Wall -pedantic -I. -DDATADIR="\"/usr/share/tvtime\"" -DCONFDIR="\"/etc/tvtime\"" -DFIFODIR="\"/tmp\"" -D_LARGEFILE64_SOURCE -DLOCALEDIR="\"/usr/share/locale\"" -I../plugins -I/usr/include/libxml2 -march=athlon64 -msse3 -pipe -O3 -fomit-frame-pointer -std=gnu99 -MT tvtime-xmltv.o -MD -MP -MF ".deps/tvtime-xmltv.Tpo" \
-c -o tvtime-xmltv.o `test -f 'xmltv.c' || echo './'`xmltv.c; \
then mv -f ".deps/tvtime-xmltv.Tpo" ".deps/tvtime-xmltv.Po"; \
else rm -f ".deps/tvtime-xmltv.Tpo"; exit 1; \
xmltv.c:121: error: conflicting types for ‘locale_t’
/usr/include/xlocale.h:43: error: previous declaration of ‘locale_t’ was here
make: *** [tvtime-xmltv.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/var/tmp/portage/media-tv/tvtime-1.0.2-r2/work/tvtime-1.0.2/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/var/tmp/portage/media-tv/tvtime-1.0.2-r2/work/tvtime-1.0.2'
make: *** [all] Error 2
* ERROR: media-tv/tvtime-1.0.2-r2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2736: Called die
* The specific snippet of code:
* emake || die "compile problem"
* The die message:
* compile problem
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-tv/tvtime-1.0.2-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-tv/tvtime-1.0.2-r2/temp/environment'.
This is what I did to check where does /usr/include/xlocale.h come from:
tesla saa7134 # equery b /usr/include/xlocale.h
* Searching for /usr/include/xlocale.h ...
Created attachment 196423 [details, diff]
lets compile with >=glibc-2.10
This patch should let you compile tvtime.
Just adjust your ebuild that tha patch will be applied.
Have you reported upstream?
the patch works for me, thanks a lot!
I didn't report upstream. Should I?
Normally you should always do that if it is a upstream problem (IMHO).
Except it is still correct in current trunk or always reported.
In this case (I have had a look now) it is still known:
*** Bug 277488 has been marked as a duplicate of this bug. ***
(In reply to comment #2)
> the patch works for me, thanks a lot!
why isn't it possible to emerge --sync it then?
08 Aug 2009; Samuli Suominen <firstname.lastname@example.org>
+ tvtime-1.0.2-r2.ebuild, +files/tvtime-1.0.2-glibc-2.10.patch:
+ Fix building with GLIBC 2.10+ wrt #275119, thanks to Markus Rathgeb for