Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57858 - libevent compiles cleanly on macos
Summary: libevent compiles cleanly on macos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC All
: High enhancement (vote)
Assignee: Lina Pezzella (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 58848
Blocks:
  Show dependency tree
 
Reported: 2004-07-21 08:16 UTC by Ryan Ramsey
Modified: 2004-10-07 12:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Ramsey 2004-07-21 08:16:09 UTC
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"
Comment 1 Hasan Khalil (RETIRED) gentoo-dev 2004-07-24 01:12:10 UTC
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).
Comment 2 Hasan Khalil (RETIRED) gentoo-dev 2004-07-24 01:22:21 UTC
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.
Comment 3 Lina Pezzella (RETIRED) gentoo-dev 2004-08-23 16:54:54 UTC
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.
Comment 4 Lina Pezzella (RETIRED) gentoo-dev 2004-10-07 12:26:40 UTC
In CVS.