golem-0.0.5-r1.ebuild fails to emerge on amd64 system. There are many errors like this, parseparams.c: In function `parseparams': parseparams.c:169: warning: deprecated use of label at end of compound statement gcc simple_menus.o menu.o parseparams.o -o simple_menus.so -shared /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld : simple_menus.o: relocation R_X86_64_32 can not be used when making a shared obj ect; recompile with -fPIC The following patch fixes this error. --- /usr/portage/x11-wm/golem/golem-0.0.5-r1.ebuild 2004-02-29 10:51:53.000000000 +0900 +++ golem-0.0.5-r1.ebuild 2004-03-01 19:36:35.388446920 +0900 @@ -18,6 +18,7 @@ DEPEND="virtual/glibc S="${WORKDIR}/${P}" src_compile() { + append-flags -fPIC econf \ `use_enable nls i18n` \ `use_enable esd sound` \ Reproducible: Always Steps to Reproduce: 1. 2. 3.
done. but for future reference, the added line should be: use amd64 && append-flags -fPIC So we don't stomp on any other arches...