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

Bug 204005

Summary: app-editors/tea-17.4.1 fails to build with default USE flags
Product: Gentoo Linux Reporter: Maarten Bressers (RETIRED) <mbres>
Component: Current packagesAssignee: Peter Weller (RETIRED) <welp>
Status: RESOLVED DUPLICATE    
Severity: major CC: bugs
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: app-editors:tea-17.4.1:20080101-221654.log

Description Maarten Bressers (RETIRED) gentoo-dev 2008-01-01 22:52:18 UTC
By default, neither the "enchant" nor the "spell" USE-flag is selected. Compilation then fails on src/callbacks.c:5589, because the #endif on line 5587 is misplaced, it should be after line 5597 (see error msg below). Activating either the "enchant" or the "spell" USE-flag leads to a succesfull emerge, however this is still an error. Looking at the src for the latest version of tea (17.5.0 as of this writing), the error is fixed because the #endif has moved to the correct line. A version bump to 17.5.0 therefore corrects the problem.

Reproducible: Always

Steps to Reproduce:
Comment 1 Maarten Bressers (RETIRED) gentoo-dev 2008-01-01 22:53:25 UTC
Created attachment 139832 [details]
app-editors:tea-17.4.1:20080101-221654.log

Build log attached.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-02 10:26:29 UTC
<snip>
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12      -march=nocona -O2 -fomit-frame-pointer -pipe -mmmx -msse3 -mfpmath=sse -w -s -pipe -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -MT tea_funx.o -MD -MP -MF .deps/tea_funx.Tpo -c -o tea_funx.o tea_funx.c
callbacks.c: In function 'make_suggestions_menu':
callbacks.c:5589: error: 'l' undeclared (first use in this function)
callbacks.c:5589: error: (Each undeclared identifier is reported only once
callbacks.c:5589: error: for each function it appears in.)
make[2]: *** [callbacks.o] Error 1
</snip>
Comment 3 Evil Compile Person 2008-04-05 22:48:01 UTC
welp: stop slacking ;)
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2008-09-03 13:57:05 UTC
Marking as duplicate, since we're doing the stabilization for the new version on bug 219907

*** This bug has been marked as a duplicate of bug 219907 ***