Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61349 - Porting: lftp build fails
Summary: Porting: lftp build fails
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-23 03:06 UTC by Ben Powers
Modified: 2005-02-06 13:33 UTC (History)
2 users (show)

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


Attachments
fixed ebuild (lftp-3.0.7.ebuild,1.81 KB, text/plain)
2004-08-23 09:35 UTC, Miguel Sousa Filipe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Powers 2004-08-23 03:06:43 UTC
lftp build fails on macos system: here's some output of emerge lftp:
iBook G4 system Mac OS 10.3.5

from the configure phase:
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h: check for missing prerequisite headers?
configure: WARNING: resolv.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##

I wish I could give better info but I dont know what to send.
If you'd like more, tell me what commands to run by email and i'll post the output

Reproducible: Always
Steps to Reproduce:
1.emerge lftp
2.emerge sync
3.emerge lftp
Actual Results:  
ld: warning -L: directory name (/usr/lib/lftp/2.6.10) does not exist
ld: Undefined symbols:
_res_9_search
make[1]: *** [lftp] Error 1
make: *** [all-recursive] Error 1

!!! ERROR: net-ftp/lftp-2.6.10 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
lftp merged

keep up the good work!
white:~ bennyp$ emerge info
!!! Using `which gcc` to gcc locate version, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.5.0 Power Macintosh powerpc)
===============================================================
==
System uname: 7.5.0 Power Macintosh powerpc
macos-20040726
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="-O2 -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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect 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 berkdb cdr ldap mysql perl python ruby"
Comment 1 Miguel Sousa Filipe 2004-08-23 09:13:51 UTC
lftp 3.0.7 and others will emerge correctly if they are compiled without readline..

just run the configure with:
"-with-included-readline"

i'll post a patch for the ebuild

miguel
Comment 2 Miguel Sousa Filipe 2004-08-23 09:35:45 UTC
Created attachment 38026 [details]
fixed ebuild 

added this:
       if [ $ARCH == macos ]; then
		myconf="${myconf} -with-included-readline"
       fi

please apply.. lftp works on macos now..
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-08-24 00:28:27 UTC
osx peoples - I'm going to add this code if you can keyword it. Also need to fix a memory leak
Comment 4 Daniel Black (RETIRED) gentoo-dev 2004-08-24 00:57:10 UTC
Second thought - can macosx people fix this and bug 61335 too (icludes solution) - my development machine is broken and I'm struggling to get stuff working on this machine.
Comment 5 Daniel Black (RETIRED) gentoo-dev 2004-08-26 14:07:42 UTC
I've added this bit of code. I'll leave it up to the macosx people to keyword it.
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-01 23:22:15 UTC
Added to CVS. Thanks!
Comment 7 Nick Dimiduk (RETIRED) gentoo-dev 2004-10-11 10:38:44 UTC
*** Bug 67025 has been marked as a duplicate of this bug. ***
Comment 8 Hasan Khalil (RETIRED) gentoo-dev 2005-02-06 13:33:24 UTC
Closing out bugs that've been resolved for a while now...