Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110922 - Problem while emerge app-arch/lha-114i-r5
Summary: Problem while emerge app-arch/lha-114i-r5
Status: RESOLVED FIXED
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-30 11:09 UTC by Dirk Schoenberger
Modified: 2006-04-12 10:53 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-30 11:09:22 UTC
While trying to emerge app-arch/lha-114i-r5 I ran into the following problems

make all in src...
gcc -O2 -pipe -DHAVE_NO_LCHOWN -DSUPPORT_LH7 -DMKSTEMP -DNEED_INCREMENTAL_INDICATOR 
-DTMP_FILENAME_TEMPLATE="\"/tmp/lhXXXXXX\"" -DSYSTIME_HAS_NO_TM -DEUC -
DSYSV_SYSTEM_DIR -DMKTIME   -c -o lharc.o lharc.c
gcc -O2 -pipe -DHAVE_NO_LCHOWN -DSUPPORT_LH7 -DMKSTEMP -DNEED_INCREMENTAL_INDICATOR 
-DTMP_FILENAME_TEMPLATE="\"/tmp/lhXXXXXX\"" -DSYSTIME_HAS_NO_TM -DEUC -
DSYSV_SYSTEM_DIR -DMKTIME   -c -o lhadd.o lhadd.c
In file included from lhadd.c:10:
lha.h:19:20: error: malloc.h: No such file or directoryIn file included from lharc.c:45:
lha.h:19:20: error: malloc.h: No such file or directory

lharc.c: In function 'print_tiny_usage_and_exit':
lharc.c:180: warning: incompatible implicit declaration of built-in function 'exit'
lharc.c: In function 'main':
lharc.c:198: warning: incompatible implicit declaration of built-in function 'malloc'
lharc.c:210: warning: incompatible implicit declaration of built-in function 'exit'
lharc.c:346: warning: incompatible implicit declaration of built-in function 'exit'
lharc.c:373: warning: incompatible implicit declaration of built-in function 'exit'
lharc.c: In function 'fatal_error':
lharc.c:514: warning: incompatible implicit declaration of built-in function 'exit'
lharc.c: In function 'xmalloc':
lharc.c:599: warning: incompatible implicit declaration of built-in function 'malloc'
make[1]: *** [lhadd.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [lharc.o] Error 1
make all in man...
make[1]: Nothing to be done for `all'.
>>> Test phase [not enabled]: app-arch/lha-114i-r5

>>> Install lha-114i-r5 into /var/tmp/portage/lha-114i-r5/image/ category app-arch
Installing in src...
install -D -m 755 lha /var/tmp/portage/lha-114i-r5/image//usr/bin/lha
install: illegal option -- D
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
make[1]: *** [install] Error 64
Installing in man...
install -D -m 644 lha.n /var/tmp/portage/lha-114i-r5/image//usr/share/man/ja/man1/lha.1
install: illegal option -- D
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
make[1]: *** [install] Error 64
make: *** [install] Error 2





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 /usr/
share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /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 
tetex tiff vorbis userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Fabian Groffen gentoo-dev 2005-10-30 12:15:25 UTC
Fixed compilation and install issues on OSX.  There is no malloc.h and
/usr/bin/install doesn't understand -D.

Both issues could be solved by patching existing patches with added this
undesired behaviour for OSX.