Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 59005

Summary: Porting: joe
Product: Gentoo Linux Reporter: Zachary Bedell <aramis>
Component: Current packagesAssignee: osx porters <osx>
Status: VERIFIED FIXED    
Severity: major CC: bugzilla
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Zachary Bedell 2004-07-31 10:22:47 UTC
joe-3.0-r1 fails to build on MacOS Panther.  Virgin 3.0 tarball has same problem building outside of portage, virgin 3.1 tarball works fine.  Manually adding -liconv to LIBS = ... line in Makefile of 3.0 allows portage to finish building and installing.

My knowledge of autoconf is somewhat lacking, so I'm not sure what the 'right' way is to get that library included in the build.

Odds are this should be an upstream problem for JOE to fix, but they've already fixed it.  Judging from other JOE bugs here, it looks like a 3.1 ebuild might be a ways off, so a patch to get 3.0 building under macos would be nice.

Reproducible: Always
Steps to Reproduce:
1. emerge joe
2.
3.

Actual Results:  
...
config.status: autoconf.h is unchanged
config.status: executing depfiles commands
make  all-am
gcc  -O3 -pipe -mcpu=G4 -faltivec   -o joe  b.o blocks.o bw.o cmd.o hash.o
help.o kbd.o macro.o main.o menu.o path.o poshist.o pw.o queue.o qw.o rc.o
regex.o scrn.o tab.o termcap.o tty.o tw.o ublock.o uedit.o uerror.o ufile.o
uformat.o uisrch.o umath.o undo.o usearch.o ushell.o utag.o va.o vfile.o vs.o
w.o utils.o syntax.o wcwidth.o utf8.o selinux.o  -lncurses 
ld: Undefined symbols:
_libiconv
_libiconv_open
make[1]: *** [joe] Error 1
make: *** [all] Error 2

Expected Results:  
Shiny new joe.

!!! 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 ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mcpu=G4 -faltivec"
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 -mcpu=G4 -faltivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache cvs keepwork"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.clarkson.edu/pub/distributions/gentoo/ http://gentoo.osuosl.org/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X berkdb ipv6 ldap macos mysql perl python ruby ssl"
Comment 1 Roman Dilken 2004-11-23 00:24:47 UTC
Here joe-3.1-r1 works...
Comment 2 Kito (RETIRED) gentoo-dev 2004-11-24 10:31:03 UTC
in CVS, thanks.
Comment 3 Hasan Khalil (RETIRED) gentoo-dev 2005-02-06 13:33:24 UTC
Closing out bugs that've been resolved for a while now...