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

Bug 403055

Summary: catalyst fails with sys-libs/zlib-1.2.5-r2 error: unable to read SONAME from libz.so
Product: Gentoo Linux Reporter: b1254633 <b1254633>
Component: New packagesAssignee: Gentoo Catalyst Developers <catalyst>
Status: RESOLVED INVALID    
Severity: normal CC: base-system, blueness, livecd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description b1254633 2012-02-10 23:56:04 UTC
I would test gentoo on chost: i586-pc-linux-uclibc, but catalyst fails with this error: 
 *   ERROR: sys-libs/zlib-1.2.5-r2 failed (install phase):
 *   unable to read SONAME from libz.so

I'm using this stage1.spec:
subarch: i586
target: stage1
version_stamp: latest
rel_type: default
profile: uclibc/x86
snapshot: latest
source_subpath: default/stage3-i586-latest
chost: i586-gentoo-linux-uclibc
cflags: -O2 -march=i586 -pipe

Reproducible: Always
Comment 1 b1254633 2012-02-11 00:01:15 UTC
Created attachment 301509 [details]
build.log
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2012-02-11 01:01:48 UTC
Please do not reassign the severity of the bug yourself
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2012-02-12 14:55:50 UTC
This doesn't seem to be a catalyst bug.
Comment 4 b1254633 2012-02-12 15:36:19 UTC
with chost: i386-gentoo-linux-uclibc it compile. Is it a zlib bug or uclibc bug or other?
Comment 5 SpanKY gentoo-dev 2012-02-12 19:55:02 UTC
your system doesn't have i585-gentoo-linux-xxx wrappers.  that is the source of the problem.

Using ar
Checking for i586-gentoo-linux-uclibc-gcc...
Comment 6 b1254633 2012-02-12 20:08:13 UTC
How can I install i585-gentoo-linux-xxx wrappers? 
What is the difference between i586-gentoo-linux-uclibc and i586-pc-linux-uclibc?
Comment 7 SpanKY gentoo-dev 2012-02-12 21:14:27 UTC
changing CHOST requires manual intervention
Comment 8 b1254633 2012-02-13 09:55:29 UTC
well, how do I fix it?
Comment 9 SpanKY gentoo-dev 2012-02-13 16:10:57 UTC
 - unpack your seed stage
 - google for "gentoo change chost"
 - follow the documentation
 - create a new seed stage
 - run catalyst with new seed stage with chost matching your spec file

or just use the chost that your seed already has rather