Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108588 - Problem after emerging app-text/bow
Summary: Problem after emerging app-text/bow
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-09 05:24 UTC by Dirk Schoenberger
Modified: 2006-07-23 10:14 UTC (History)
0 users

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


Attachments
solve the missing malloc include in the Apple/MacOSX case (bow-malloc.patch,553 bytes, patch)
2005-11-06 03:40 UTC, Dirk Schoenberger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schoenberger 2005-10-09 05:24:15 UTC
While trying to emerge bow 20020213 I ran into the following problem

gcc -c   -Ibow -I. -I./argp -DHAVE_STRERROR=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_RANDOM=1 -
DHAVE_SRANDOM=1 -DHAVE_SETENV=1 -DHAVE_STRCHR=1 -DHAVE_STRRCHR=1 -DHAVE_LOG2F=1 
-DHAVE_SQRTF=1 -DHAVE_ALLOCA_H=1  -O2 -pipe -o array.o array.c
In file included from array.c:22:
./bow/libbow.h:40:53: error: malloc.h: No such file or directory
In file included from array.c:22:
./bow/libbow.h:2128: error: array type has incomplete element type
make: *** [array.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 Dirk Schoenberger 2005-11-06 03:40:19 UTC
Created attachment 72275 [details, diff]
solve the missing malloc include in the Apple/MacOSX case

the attached patch should solve problem 1.
Not sure about problem 2 (array type has incomplete element type)
Comment 2 Fabian Groffen gentoo-dev 2005-11-12 12:46:40 UTC
ok, I tried fixing it, but it needs more work.  GCC is more strict and hence
doesn't allow the [] array thing.  It wants just a pointer.  Resolving that
however reveals the next problem:

dv.c: In function '_bow_dv_index_for_di':
dv.c:56: error: invalid storage class for function 'grow_if_necessary'
dv.c:71: error: invalid storage class for function 'initialize_dv_index'
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-23 10:14:36 UTC
Removed from portage.