Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133100 - basket 0.5.0 doesn't compile on amd64 with gcc4.1
Summary: basket 0.5.0 doesn't compile on amd64 with gcc4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-05-12 03:09 UTC by Panard
Modified: 2006-05-17 11:27 UTC (History)
0 users

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


Attachments
fix basket compilation on amd64 with gcc4.1 (basket-0.5.0-amd64-gcc41.patch,713 bytes, patch)
2006-05-12 03:10 UTC, Panard
Details | Diff
patch for basket-0.5.0.ebuild (basket-0.5.0.ebuild.patch,358 bytes, patch)
2006-05-12 03:12 UTC, Panard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Panard 2006-05-12 03:09:54 UTC
# 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
Comment 1 Panard 2006-05-12 03:10:38 UTC
Created attachment 86638 [details, diff]
fix basket compilation on amd64 with gcc4.1
Comment 2 Panard 2006-05-12 03:12:17 UTC
Created attachment 86639 [details, diff]
patch for basket-0.5.0.ebuild
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-05-17 11:27:16 UTC
Fixed.