Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109452 - problem while emerge app-text/tree
Summary: problem while emerge app-text/tree
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-16 04:41 UTC by Dirk Schoenberger
Modified: 2008-02-07 21:59 UTC (History)
0 users

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 Dirk Schoenberger 2005-10-16 04:41:12 UTC
while trying to emerge tree-1.5.0 I ran into the following problem

Calculating dependencies ...done!
>>> emerge (1 of 1) app-text/tree-1.5.0 to /
>>> md5 files   ;-) tree-1.5.0.ebuild
>>> md5 files   ;-) files/digest-tree-1.5.0
>>> md5 files   ;-) files/tree.bashcomp
>>> md5 src_uri ;-) tree-1.5.0.tgz
>>> Unpacking source...
>>> Unpacking tree-1.5.0.tgz to /var/tmp/portage/tree-1.5.0/work
>>> Source unpacked.
gcc -O2 -pipe -DLINUX_BIGFILE   -c -o tree.o tree.c
tree.c:192: error: conflicting types for '__mb_cur_max'
/usr/include/stdlib.h:133: error: previous declaration of '__mb_cur_max' was here
tree.c: In function 'main':
tree.c:198: error: storage size of 'st' isn't known
tree.c:467: warning: pointer targets in passing argument 1 of 'printit' differ in signedness
tree.c: In function 'listdir':
tree.c:572: error: storage size of 'sb' isn't known
tree.c:709: warning: pointer targets in passing argument 1 of 'printit' differ in signedness
tree.c:722: warning: pointer targets in passing argument 1 of 'printit' differ in signedness
tree.c: In function 'read_dir':
tree.c:777: error: storage size of 'lst' isn't known
tree.c:777: error: storage size of 'st' isn't known
tree.c: In function 'printit':
tree.c:1176: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
tree.c:1177: warning: pointer targets in passing argument 2 of 'mbstowcs' differ in signedness
make: *** [tree.o] Error 1



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




Portage 2.0.51.22-r3 (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"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin8"
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 strict"
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 aalib emboss gdbm gif imagemagick libwww nls ogg opengl png ppc-macos qt sdl slang tiff 
vorbis userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Fabian Groffen gentoo-dev 2008-02-07 21:59:45 UTC
tree seems to be quite linux specific, I won't port it.