Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80548 - cyrus-sasl-2.1.20-r1 fails to emerge on ppc-macos
Summary: cyrus-sasl-2.1.20-r1 fails to emerge on ppc-macos
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-03 00:18 UTC by Kevin
Modified: 2007-08-01 19:12 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 Kevin 2005-02-03 00:18:59 UTC
I made a PORTDIR_OVERLAY=/usr/local/portage, copied the official portage directory and ebuilds for cyrus-sasl-2.1.20-r1 into it, modified the KEYWORDS to include ppc-macos and attempted to emerge -v cyrus-sasl.  It took awhile for me to get all the dependencies installed (autoconf, automake, texinfo, etc), but I did finally get them all.  I have nothing in my /etc/portage/profile/package.provided file.

I did have to use FEATURES="-collision-protect" to get the autoconf and texinfo packages installed, but all seemed ok afterwards.

I see the note in emerge info about gcc-config, and I have installed gcc-config, but it isn't functional without /etc/init.d/functions.sh which I see from my Gentoo Linux box is a part of the baselayout package but which I don't have in Mac OSX.

Reproducible: Always
Steps to Reproduce:
1.
2.
3. emerge -v cyrus-sasl

Actual Results:  
emerge dies with these last few lines:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../plugins -I../include
-I/usr/local/mysql/include -Wall -W -O2 -pipe -MT dlopen.lo -MD -MP -MF
.deps/dlopen.Tpo -c dlopen.c  -fno-common -DPIC -o dlopen.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../include -I../plugins -I../include  -I/usr/local/mysql/include  -Wall -W -O2
-pipe -MT plugin_common.lo -MD -MP -MF ".deps/plugin_common.Tpo" -c -o
plugin_common.lo `test -f '../plugins/plugin_common.c' || echo
'./'`../plugins/plugin_common.c; \
then mv -f ".deps/plugin_common.Tpo" ".deps/plugin_common.Plo"; else rm -f
".deps/plugin_common.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../plugins -I../include
-I/usr/local/mysql/include -Wall -W -O2 -pipe -MT plugin_common.lo -MD -MP -MF
.deps/plugin_common.Tpo -c ../plugins/plugin_common.c  -fno-common -DPIC -o
plugin_common.lo
/bin/sh ../libtool --mode=link gcc  -Wall -W -O2 -pipe   -o libsasl2.la -rpath
/usr/lib -version-info 2:20:0 auxprop.lo canonusr.lo checkpw.lo client.lo
common.lo config.lo external.lo md5.lo saslutil.lo server.lo seterror.lo
dlopen.lo plugin_common.lo   -ldl   -lresolv -lresolv 
mkdir .libs
(cd . && ln -s auxprop.lo auxprop.o)
(cd . && ln -s canonusr.lo canonusr.o)
(cd . && ln -s checkpw.lo checkpw.o)
(cd . && ln -s client.lo client.o)
(cd . && ln -s common.lo common.o)
(cd . && ln -s config.lo config.o)
(cd . && ln -s external.lo external.o)
(cd . && ln -s md5.lo md5.o)
(cd . && ln -s saslutil.lo saslutil.o)
(cd . && ln -s server.lo server.o)
(cd . && ln -s seterror.lo seterror.o)
(cd . && ln -s dlopen.lo dlopen.o)
(cd . && ln -s plugin_common.lo plugin_common.o)
gcc -dynamiclib -undefined error -o .libs/libsasl2.2.0.20.dylib  auxprop.lo
canonusr.lo checkpw.lo client.lo common.lo config.lo external.lo md5.lo
saslutil.lo server.lo seterror.lo dlopen.lo plugin_common.lo  -ldl -lresolv
-lresolv -lc  -install_name /usr/lib/libsasl2.2.dylib -compatibility_version 3
-current_version 3.20
ld: multiple definitions of symbol _global_callbacks
client.lo definition of _global_callbacks in section (__DATA,__common)
server.lo definition of _global_callbacks in section (__DATA,__common)
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libsasl2.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: dev-libs/cyrus-sasl-2.1.20-r1 failed.
!!! Function src_compile, Line 164, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

[hermes:/etc/portage] adam# 


Expected Results:  
Successful merge.

[hermes:/etc/portage] adam# emerge info
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51-r15 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.7.0
Power Macintosh)
=================================================================
System uname: 7.7.0 Power Macintosh powerpc
macos-20041118
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632)
[disabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc berkdb java kerberos ldap mysql oggvorbis pam ppc-macos readline sasl
speex ssl"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

[hermes:/etc/portage] adam#
Comment 1 Fabian Groffen gentoo-dev 2005-08-26 13:21:29 UTC
this is a bug for the progressive profile
Comment 2 Elias Pipping (RETIRED) gentoo-dev 2007-07-29 13:32:27 UTC
Does this apply for the latest version, too? Please see bug 185675.
Comment 3 Fabian Groffen gentoo-dev 2007-08-01 19:12:39 UTC
waaaaaaaaay out of date here. use prefix please.