Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50430 - baselayout-1.9.0 won't build on non-x86 arch -- Obj files need cleaning
Summary: baselayout-1.9.0 won't build on non-x86 arch -- Obj files need cleaning
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 50444 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-08 00:19 UTC by Joshua Kinard
Modified: 2004-05-10 05:59 UTC (History)
1 user (show)

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 Joshua Kinard gentoo-dev 2004-05-08 00:19:24 UTC
agriffis: minor bug in baselayout-1.9.0, seems you forgot to clean out all the .o files from rc-scripts-1.4.11 before packaging them up.  As a result, non-x86 archs won't build due to ld spitting an error, i.e.:

Calculating world dependencies ...done!
>>> emerge (1 of 1) sys-apps/baselayout-1.9.0 to /
>>> md5 src_uri ;-) sysvinit-2.84.tar.gz
>>> md5 src_uri ;-) rc-scripts-1.4.11.tar.bz2
>>> Unpacking source...
>>> Unpacking sysvinit-2.84.tar.gz to /usr/obj/portage/baselayout-1.9.0/work
>>> Unpacking rc-scripts-1.4.11.tar.bz2 to /usr/obj/portage/baselayout-1.9.0/work
>>> Source unpacked.
 * Building utilities...
gcc  -o consoletype consoletype.o
/usr/lib/gcc-lib/mips-unknown-linux-gnu/3.3.3/../../../../mips-unknown-linux-gnu/bin/ld: consoletype.o: Relocations in generic ELF (EM: 3)
consoletype.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [consoletype] Error 1

!!! ERROR: sys-apps/baselayout-1.9.0 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! problem compiling utilities


# file /usr/obj/portage/baselayout-1.9.0/work/rc-scripts-1.4.11/src/consoletype.o
/usr/obj/portage/baselayout-1.9.0/work/rc-scripts-1.4.11/src/consoletype.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped


# uname -a
Linux valinor 2.6.5-mipscvs-20040412-ip32 #1 Sat Apr 17 01:09:00 EDT 2004 mips64 R5000 V2.1  FPU V1.0 SGI IP32 GNU/Linux
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-05-08 04:28:21 UTC
Fixed in rc-scripts-1.4.11-r1.  Sorry about that.  :-(
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-05-10 05:59:28 UTC
*** Bug 50444 has been marked as a duplicate of this bug. ***