Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96037 - debianutils will not compile -- emerge system does not work
Summary: debianutils will not compile -- emerge system does not work
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-06-13 23:11 UTC by Harley
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 Harley 2005-06-13 23:11:33 UTC
I did my emerge system, though I was immediately greeted with an error message as follows:

if gcc -DPACKAGE_NAME=\"debianutils\" -DPACKAGE_TARNAME=\"debianutils\" -
DPACKAGE_VERSION=\"2.13.1\" -DPACKAGE_STRING=\"debianutils\ 2.13.1\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"debianutils\" -DVERSION=\"2.13.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_PATHS_H=1 -DHAVE_GETOPT_H=1  -I. -I.     -maltivec -fast -
mtune=7450 -MT mktemp.o -MD -MP -MF ".deps/mktemp.Tpo" -c -o mktemp.o mktemp.c; \
then mv -f ".deps/mktemp.Tpo" ".deps/mktemp.Po"; else rm -f ".deps/mktemp.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"debianutils\" -DPACKAGE_TARNAME=\"debianutils\" -
DPACKAGE_VERSION=\"2.13.1\" -DPACKAGE_STRING=\"debianutils\ 2.13.1\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"debianutils\" -DVERSION=\"2.13.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_PATHS_H=1 -DHAVE_GETOPT_H=1  -I. -I.     -maltivec -fast -
mtune=7450 -MT run-parts.o -MD -MP -MF ".deps/run-parts.Tpo" -c -o run-parts.o run-parts.c; \
then mv -f ".deps/run-parts.Tpo" ".deps/run-parts.Po"; else rm -f ".deps/run-parts.Tpo"; exit 1; fi
run-parts.c: In function 'run_parts':
run-parts.c:330: warning: passing argument 3 of 'scandir' from incompatible pointer type
if gcc -DPACKAGE_NAME=\"debianutils\" -DPACKAGE_TARNAME=\"debianutils\" -
DPACKAGE_VERSION=\"2.13.1\" -DPACKAGE_STRING=\"debianutils\ 2.13.1\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"debianutils\" -DVERSION=\"2.13.1\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_PATHS_H=1 -DHAVE_GETOPT_H=1  -I. -I.     -maltivec -fast -
mtune=7450 -MT tempfile.o -MD -MP -MF ".deps/tempfile.Tpo" -c -o tempfile.o tempfile.c; \
then mv -f ".deps/tempfile.Tpo" ".deps/tempfile.Po"; else rm -f ".deps/tempfile.Tpo"; exit 1; fi
gcc  -maltivec -fast -mtune=7450   -o mktemp  mktemp.o  
/usr/bin/ld: multiple definitions of symbol ___progname
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of ___progname in section 
(__DATA,__data)
mktemp.o definition of ___progname in section (__DATA,__common)
collect2: ld returned 1 exit status
make[1]: *** [mktemp] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all-recursive] Error 1

Reproducible: Always
Steps to Reproduce:
1. emerge system
Actual Results:  
The error message shown above.

Expected Results:  
Compilation.

Portage 2.0.51-r3 (default-darwin/macos/10.4, gcc-4.0.0, unavailable, 8.1.0 Power Macintosh)
===============================================================
==
System uname: 8.1.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
Autoconf: 
Automake: 
Binutils: 
Headers:  
Libtools: 
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-maltivec -fast -mtune=7450"
CHOST="powerpc-apple-darwin"
COMPILER=""
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="-maltivec -fast -mtune=7450"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X altivec avi bcmath berkdb bidi bzlib cdr cjk crypt cups curl curlwrappers dvd dvdr emboss 
encode exif fftw flac foomaticdb freewnn gd gif ginac gphoto2 gstreamer guile icq imagemagick jabber 
java jpeg junit libwww macos mad mng mp3 mpeg msn ncurses nls offensive oggvorbis openal opengl 
oscar pcmcia pda pdflib plotutils png pnp posix ppc-macos python readline ruby samba sdl ssl tiff 
tokenizer truetype unicode usb xine xml xml2 xpm xv xvid yahoo zlib userland_BSD kernel_Darwin 
elibc_Darwin"
Comment 1 Harley 2005-06-13 23:50:03 UTC
Sorry. My mistake. CFLAGS problem. Some problem with the '-fast' flag.