Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108458 - problem after emerging app-text/7plus
Summary: problem after emerging app-text/7plus
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-08 01:59 UTC by Dirk Schoenberger
Modified: 2007-03-21 19:58 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-08 01:59:54 UTC
while trying to emerge 7plus 2.25 I ran into the following problem

>>> Source unpacked.
gcc -c -O2 -pipe -Wall    7plus.c
gcc -c -O2 -pipe -Wall    encode.c
encode.c: In function 'encode_file':
encode.c:18: error: 'MAXPATH' undeclared (first use in this function)
encode.c:18: error: (Each undeclared identifier is reported only once
encode.c:18: error: for each function it appears in.)
encode.c:18: error: 'MAXFNAME' undeclared (first use in this function)
encode.c:20: error: 'MAXDRIVE' undeclared (first use in this function)
encode.c:20: error: 'MAXDIR' undeclared (first use in this function)
encode.c:42: warning: implicit declaration of function 'unlink'
encode.c:116: error: 'PATHCHAR' undeclared (first use in this function)
encode.c:117: error: 'PATHSEP' undeclared (first use in this function)
7plus.c:106: error: 'MAXDRIVE' undeclared here (not in a function)
7plus.c:106: error: 'MAXDIR' undeclared here (not in a function)
7plus.c:106: error: 'MAXFILE' undeclared here (not in a function)
7plus.c:106: error: 'MAXEXT' undeclared here (not in a function)
7plus.c:110: error: 'MAXPATH' undeclared here (not in a function)
7plus.c: In function 'go_at_it':encode.c:180: warning: implicit declaration of function 'exit'
encode.c:180: warning: incompatible implicit declaration of built-in function 'exit'
encode.c:383: warning: incompatible implicit declaration of built-in function 'exit'
encode.c:22: warning: unused variable 'searchbin'
encode.c:20: warning: unused variable 'format_file'
7plus.c:604: warning: implicit declaration of function 'malloc'
7plus.c:604: warning: incompatible implicit declaration of built-in function 'malloc'
7plus.c:621: warning: incompatible implicit declaration of built-in function 'malloc'
7plus.c:694: warning: implicit declaration of function 'isatty'
7plus.c:740: warning: incompatible implicit declaration of built-in function 'malloc'
7plus.c:746: warning: implicit declaration of function 'exit'
7plus.c:746: warning: incompatible implicit declaration of built-in function 'exit'
7plus.c:751: warning: implicit declaration of function 'free'
7plus.c:759: warning: incompatible implicit declaration of built-in function 'exit'
7plus.c:484: warning: unused variable 'argname'

encode.c:20: warning: unused variable 'inpath'
encode.c:19: warning: unused variable 'orgname'
encode.c:18: warning: unused variable 'filename'
encode.c:18: warning: unused variable 'hdrname'
encode.c:18: warning: unused variable 'destname'
encode.c: In function 'top_bottom':
encode.c:848: error: 'MAXFNAME' undeclared (first use in this function)
encode.c:848: error: 'MAXEXT' undeclared (first use in this function)
make: *** [7plus.o] Error 1
make: *** Waiting for unfinished jobs....
encode.c:848: warning: unused variable '__ext'
encode.c:848: warning: unused variable '__file'
make: *** [encode.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 2007-03-21 19:58:42 UTC
I have no guts to start patching this for darwin...