Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 57852

Summary: Porting: sys-libs/libtermcap-compat-1.2.3-r1
Product: Gentoo Linux Reporter: Federico Fortini <blackfede>
Component: New packagesAssignee: osx porters <osx>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Federico Fortini 2004-07-21 07:25:37 UTC
Trying to compile, complain about missing malloc.h

>>> Source unpacked.
if [ ! -d pic ]; then mkdir pic; fi
gcc -O3 -pipe -I. -M termcap.c tparam.c version.c | \
        sed -e 's,^[    ]*\(.*\.o\)[    ]*:,\1 pic/\1:,' > .depend
gcc -O3 -pipe -I. -c termcap.c
termcap.c:23:20: malloc.h: No such file or directory
termcap.c:23:20: malloc.h: No such file or directory
In file included from termcap.c:27:
termcap.h:21:22: features.h: No such file or directory
gcc -O3 -pipe -I. -c tparam.c
In file included from termcap.c:27:
termcap.h:21:22: features.h: No such file or directory
termcap.c:43: error: conflicting types for `ospeed'
termcap.h:32: error: previous declaration of `ospeed'
make: *** [termcap.o] Error 1
make: *** Waiting for unfinished jobs....
gcc -O3 -pipe -I. -fPIC -c tparam.c -o pic/tparam.o
make: *** Waiting for unfinished jobs....


Reproducible: Always
Steps to Reproduce:




blackmac:~ blackfede$ emerge info
Password:
!!! Using `which gcc` to gcc locate version, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
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 ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -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="-O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache 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 X berkdb ldap mysql perl python ruby"
Comment 1 LiuJia 2004-12-10 18:28:09 UTC
got the same bug too:(
Comment 2 Lina Pezzella (RETIRED) gentoo-dev 2005-04-10 14:23:06 UTC
We can fix the malloc.h problem easily, unfortunately it's looking for /usr/include/features.h, which
is provided on linux systems by glibc. Apple's glibc does not provide that header.

This is just not going to work with Panther at least. If the header isn't there with the release of Tiger,
I will close this bug.
Comment 3 Lina Pezzella (RETIRED) gentoo-dev 2005-05-09 20:43:38 UTC
Not provided by Tiger. Nothing we can do for the meantime, unless we want to provide something like this with baselayout. Not likely though.