When attempting to emerge libssh, it fails make. I added -fPIC to CFLAGS and it compiles without error. I added amd64 to keywords in net-libs/libssh/libssh-0.1.ebuild and CFLAGS=-fPIC emerge libssh Reproducible: Always Steps to Reproduce: 1.emerge libssh Actual Results: Fails emerge. Expected Results: Expected it to install :) Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 x86_64) ================================================================= System uname: 2.6.10 x86_64 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 17 2005, 03:17:54)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.9.4, 1.6.3, 1.4_p6, 1.7.9-r1, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -mtune=athlon64 -g3 -ggdb -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -mtune=athlon64 -g3 -ggdb -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks nostrip" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp http://gentoo.gg3.net/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa avi berkdb bitmap-fonts cdr crypt debug dvd dvdr encode esd evo f77 fam font-server fortran gif glx gnome gpm gstreamer gtk gtk2 imlib ipv6 ithreads jp2 jpeg ldap lzw lzw-tiff mozilla mpeg multilib ncurses nls ntpl ntplonly opengl openssl oss pam perl png pthreads python readline slang ssl tcpd threads tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xmms xpm xrandr xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
note 0.11 to be released soon.
I can't reproduce it on x86; amd64 guys, can you reproduce the failure? If so, pending the fix you guys might want to mark it ~amd64.
this package doesn't build shared objects with -fPIC, but it should (on all platform, at least on amd64 and hppa it must) adding the flag for everything is not an acceptable soloution :)
argh, forgot the most important: - net-libs/libssh-0.1 (masked by: missing keyword) we won't mark it ~amd64 unless somebody provides a patch.
as per comment #4