Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58089 - Porting: findutils-4.1.20-r1
Summary: Porting: findutils-4.1.20-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords: InVCS
: 73246 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-23 10:09 UTC by Andreas Schwarz
Modified: 2005-11-05 12:17 UTC (History)
3 users (show)

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


Attachments
readlink() patch (findutils-4.2.20-readlink.patch,474 bytes, patch)
2005-08-16 06:25 UTC, Mike Z.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwarz 2004-07-23 10:09:03 UTC
ACCEPT_KEYWORDS=~ppc emerge findutils
...
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gnulib/lib -I../lib -I../gnulib/lib -I../intl -DLOCALEDIR=\"/usr/share/locale\"  -O2 -mcpu=7450 -pipe  -O2 -mcpu=7450 -pipe -c `test -f 'version.c' || echo './'`version.c
gcc  -O2 -mcpu=7450 -pipe   -o find  find.o fstype.o parser.o pred.o tree.o util.o version.o ../lib/libfind.a ../gnulib/lib/libgnulib.a -lintl 
ld: warning multiple definitions of symbol _regcomp
../gnulib/lib/libgnulib.a(regex.o) definition of _regcomp in section (__TEXT,__text)
/usr/lib/libSystem.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
../gnulib/lib/libgnulib.a(regex.o) definition of _regexec in section (__TEXT,__text)
/usr/lib/libSystem.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
../gnulib/lib/libgnulib.a(regex.o) definition of _regfree in section (__TEXT,__text)
/usr/lib/libSystem.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_fstype_to_string
make[3]: *** [find] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

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




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="-O2 -mcpu=7450 -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 -mcpu=7450 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache cvs keepwork"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
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 nls perl python readline ruby"
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-12-03 18:22:38 UTC
*** Bug 73246 has been marked as a duplicate of this bug. ***
Comment 2 Mike Z. 2005-08-16 06:25:40 UTC
Created attachment 66074 [details, diff]
readlink() patch

findutils-4.2.20 compiles here with the above patch, although it'll require
"-collision-protect" for a successful merge as it collides with the provided
utils.

Portage 2.0.51.22-r2 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0,
8.2.0 Power Macintosh)
=================================================================
System uname: 8.2.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632)
[disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin"
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="autoconfig collision-protect distlocks sfperms 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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc bash-completion emboss gif nls png ppc-macos slang tiff
userland_Darwin kernel_Darwin elibc_Darwin"
Unset:	ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-07 06:31:33 UTC
FWIW, I've just tried 4.2.25 (from Gentoo/ALT overlay, as 4.2.24 doesn't built  
on non-GNU systems) and works without patches. It also install g-prefixed on  
non-GNU userlands so it won't have problems with collision-protect. 
Comment 4 Fabian Groffen gentoo-dev 2005-11-05 12:17:53 UTC
findutils-4.2.25.ebuild is now as ~ppc-macos in portage.  It compiles and
installs gfind and gxargs (that is find and xargs g-prefixed).