# emerge basket ... x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -pipe -march=athlon64 -mtune=athlon64 -O2 -ftree-vectorize -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o item.o `test -f 'item.cpp' || echo './'`item.cpp item.cpp: In member function ‘void Item::setSelected(bool)’: item.cpp:420: error: cast from ‘Item*’ to ‘int’ loses precision item.cpp:421: error: cast from ‘Item*’ to ‘int’ loses precision make[2]: *** [item.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/basket-0.5.0/work/basket-0.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/basket-0.5.0/work/basket-0.5.0' make: *** [all] Error 2 !!! ERROR: x11-misc/basket-0.5.0 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 930: Called src_compile ebuild.sh, line 1239: Called kde_src_compile kde.eclass, line 120: Called kde_src_compile 'all' kde.eclass, line 238: Called kde_src_compile 'myconf' 'configure' 'make' kde.eclass, line 234: Called die !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, and the call stack if relevant. here is a patch to fix that
Created attachment 86638 [details, diff] fix basket compilation on amd64 with gcc4.1
Created attachment 86639 [details, diff] patch for basket-0.5.0.ebuild
Fixed.