Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19035 - ebuild sys-apps/file-4.02 failed on compiling file apprentice.c
Summary: ebuild sys-apps/file-4.02 failed on compiling file apprentice.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-09 07:41 UTC by Cole Stanfield
Modified: 2006-02-04 06:03 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 Cole Stanfield 2003-04-09 07:41:31 UTC
I was doing an emerge -up world and updateing sys-apps/file-3.41 to
sys-apps/file-4.02 and the compile errored out on apprentice.c with the following:

<...checking...>

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/file-4.02/work/file-4.02'
Making all in src
make[2]: Entering directory `/var/tmp/portage/file-4.02/work/file-4.02/src'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-DMAGIC='"/usr/share/misc/file/magic"'   -O3 -pipe -mcpu=750 -MT magic.lo -MD
-MP -MF ".deps/magic.Tpo" \
  -c -o magic.lo `test -f 'magic.c' || echo './'`magic.c; \
then mv ".deps/magic.Tpo" ".deps/magic.Plo"; \
else rm -f ".deps/magic.Tpo"; exit 1; \
fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMAGIC=\"/usr/share/misc/file/magic\" -O3
-pipe -mcpu=750 -MT magic.lo -MD -MP -MF .deps/magic.Tpo -c magic.c  -fPIC -DPIC
-o .libs/magic.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMAGIC=\"/usr/share/misc/file/magic\" -O3
-pipe -mcpu=750 -MT magic.lo -MD -MP -MF .deps/magic.Tpo -c magic.c -o magic.o
>/dev/null 2>&1
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-DMAGIC='"/usr/share/misc/file/magic"'   -O3 -pipe -mcpu=750 -MT apprentice.lo
-MD -MP -MF ".deps/apprentice.Tpo" \
  -c -o apprentice.lo `test -f 'apprentice.c' || echo './'`apprentice.c; \
then mv ".deps/apprentice.Tpo" ".deps/apprentice.Plo"; \
else rm -f ".deps/apprentice.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMAGIC=\"/usr/share/misc/file/magic\" -O3
-pipe -mcpu=750 -MT apprentice.lo -MD -MP -MF .deps/apprentice.Tpo -c
apprentice.c  -fPIC -DPIC -o .libs/apprentice.o
apprentice.c: In function `apprentice_1':
apprentice.c:1073: internal error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [apprentice.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/file-4.02/work/file-4.02/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/file-4.02/work/file-4.02'
make: *** [all] Error 2

!!! ERROR: sys-apps/file-4.02 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. Have sys-apps/file-3.41 installed
2. Update to sys-apps/file-4.02
3. Compile Error!

Actual Results:  
Compile Error.

Expected Results:  
Program should've compiled correctly.

Compile errors out even with MAKEOPTS="-j1".

Portage 2.0.47-r10 (default-ppc-1.4, gcc-3.2.1, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.19-gentoo-ppc-r6 ppc 0
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="oss dvd xv gpm jpeg nls mitshm esd gif imlib sdl oggvorbis kde motif opengl
mozilla png truetype ppc gdbm berkdb slang readline libwww perl python tcpd pam
ssl -X -gtk -gnome -alsa -cups -arts -qt"
COMPILER="gcc3"
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mcpu=750"
CXXFLAGS="-O2 -pipe"
ACCEPT_KEYWORDS="ppc"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="ccache"
Comment 1 Cole Stanfield 2003-04-11 08:24:38 UTC
A reboot will resolve this bug. Last known emerges that may have caused this problem were autoconf and automake. Sorry for the short-sightedness.