dev-libs/libevent-0.8a.ebuild compiles on 10.3.4. This is used by scanssh2. Reproducible: Always Steps to Reproduce: 1. 2. 3. v3rt3x:/usr/portage/dev-libs/libevent root# emerge info libevent !!! Using `which gcc` to gcc locate version, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.51_pre13 (default-macos-10.3, gcc-3.3, unavailable, 7.4.0 Power Macintosh powerpc) ================================================================= System uname: 7.4.0 Power Macintosh powerpc cat: /etc/gentoo-release: No such file or directory distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.57 Automake: sys-devel/automake-1.6.3 Binutils: ACCEPT_KEYWORDS="macos" AUTOCLEAN="yes" CFLAGS="-O3 -pipe" CHOST="powerpc-apple-darwin" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache cvs keepwork" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="macos X berkdb ldap mysql perl python ruby"
library needs a ranlib run on it before it can be built against. What is the best way to do this? I was thinking something like: [ `use macos` ] && ranlib /usr/lib/libevent.a Fellow devs: please advise. Otherwise, this library seems to compile fine, and works fine with scanssh-1.6b (which I will mark stable on macos as soon as this bug is closed).
OOPS! Remind me never to do this late-night/early-morning dev work again... I goofed! I was unable to confirm that the library actually worked properly, because scanssh-2.0 didn't seem to be working properly. scanssh-1.6b *did* work properly, but as I have just seen, does not depend on nor use libevent. DOH! Regardless, scanssh-2.0 compiles only after the aforementioned ranlib stuff is done.
Tested with ferringb's ranlib fix. Works great. Tested with scanssh to make sure things link properly against it. Can be stabled as soon as bug #58848 is resolved.
In CVS.