Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127850 - hk_classes 0.8.1_alpha3 fails (gcc 4.1)
Summary: hk_classes 0.8.1_alpha3 fails (gcc 4.1)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-03-28 06:01 UTC by Patrizio Bassi
Modified: 2006-08-16 16:20 UTC (History)
2 users (show)

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


Attachments
file patched (hk_font.cpp.zip,10.87 KB, application/octet-stream)
2006-04-14 04:57 UTC, Patrizio Bassi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2006-03-28 06:01:49 UTC
make[3]: Entering directory `/var/tmp/portage/hk_classes-0.8.1_alpha3/work/hk_classes-0.8.1-test3/hk_classes'
if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DHKCLASSES=\"/usr/lib/hk_classes\" -I .  -I /usr/include/fontconfig   -I .  -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -I/usr/include/python2.4 -fPIC -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -MT libhk_classes_la-hk_font.lo -MD -MP -MF ".deps/libhk_classes_la-hk_font.Tpo" -c -o libhk_classes_la-hk_font.lo `test -f 'hk_font.cpp' || echo './'`hk_font.cpp; \
then mv -f ".deps/libhk_classes_la-hk_font.Tpo" ".deps/libhk_classes_la-hk_font.Plo"; else rm -f ".deps/libhk_classes_la-hk_font.Tpo"; exit 1; fi
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DHKCLASSES=\"/usr/lib/hk_classes\" -I . -I /usr/include/fontconfig -I . -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -I/usr/include/python2.4 -fPIC -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -MT libhk_classes_la-hk_font.lo -MD -MP -MF .deps/libhk_classes_la-hk_font.Tpo -c hk_font.cpp  -fPIC -DPIC -o .libs/libhk_classes_la-hk_font.o
hk_font.cpp: In member function 'void hk_font::register_string(const hk_string&)':
hk_font.cpp:659: error: 'wstring' was not declared in this scope
hk_font.cpp:659: error: expected `;' before 'text'
hk_font.cpp:660: error: 'text' was not declared in this scope
hk_font.cpp: In member function 'bool hk_font::text2lines(int, std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, const hk_string&)':
hk_font.cpp:679: error: 'wstring' was not declared in this scope
hk_font.cpp:679: error: expected `;' before 'text'
hk_font.cpp:679: error: 'text' was not declared in this scope
hk_font.cpp:716: error: expected `;' before 'wtext'
hk_font.cpp:717: error: 'wtext' was not declared in this scope
hk_font.cpp:740: error: expected `;' before 'wtxt'
hk_font.cpp:741: error: 'wtxt' was not declared in this scope
hk_font.cpp:790: error: expected `;' before 'wtext'
hk_font.cpp:791: error: 'wtext' was not declared in this scope
make[3]: *** [libhk_classes_la-hk_font.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/hk_classes-0.8.1_alpha3/work/hk_classes-0.8.1-test3/hk_classes'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/hk_classes-0.8.1_alpha3/work/hk_classes-0.8.1-test3/hk_classes'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-03-31 06:21:23 UTC
I'd recommend filing a bug with the knoda folks (knoda.sourceforge.net).  I don't immediately see where the file a bug at on that page, but I'm sure it's there via sourceforge.
Comment 2 Patrizio Bassi 2006-03-31 23:36:18 UTC
probably you have to use the sf.net bug system

or use http://lists.sourceforge.net/mailman/listinfo/hk-classes-discuss
their ml.
Comment 3 Patrizio Bassi 2006-03-31 23:37:10 UTC
quoting:

Please send bugreports, feature requests or comments as usual to
bugreport@knoda.org or to the mailing list 
hk-classes-discuss@lists.sourceforge.net
Comment 4 Patrizio Bassi 2006-04-14 04:56:26 UTC
ok i wrote to the author and he gave me a fast patch (or better the file to change)

quoting:

"enclosed is a bugfix (actually I can't test it so I hope it works)
Copy the file into hk_classes-0.8.1-test3/hk_classes
and recompile hk_classes."

patch is by Horst Knorr, of course.

i tested and works perfectly. please apply

Comment 5 Patrizio Bassi 2006-04-14 04:57:15 UTC
Created attachment 84627 [details]
file patched
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-31 03:51:01 UTC
Please tell your USE flags...I had no problems with GCC 4.1 x86 and 

[ebuild   R   ] dev-db/hk_classes-0.8.1_alpha3  USE="-doc -firebird -mysql -odbc -postgres -sqlite -sqlite3

Has this patch been applied? I did not find a notice in the ChangeLog.
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2006-08-16 16:20:03 UTC
i can't reproduce this with any USE flag combo, and i'm not opening zip attachments.

please reopen with emerge --info if you still have this problem.