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

Bug 550768

Summary: sys-apps/util-linux-2.26.2 fails install phase when cross-compiling agains uclibc
Product: Gentoo Linux Reporter: Sven E. <dark>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Sven E. 2015-05-29 19:41:47 UTC
I am trying to crosscompile util-linux-2.26.2. The build seems to work, but during the install phase the build bails out with:
unable to read soname from libmount.so.
Looking at the workdir there is no libmount.so (in contrast to blkid and so on).


Reproducible: Always

Steps to Reproduce:
1. have a cross toolchain for uclibc-amd64 at hand
2. try emerging util-linux

Actual Results:  
build bails out with mentioned error msg

Expected Results:  
clean build

Logs will follow
Comment 1 Sven E. 2015-05-29 19:55:42 UTC
Log won't probably be necessary:
configure yields a warning: scanf string alloc modifier not found, not building libmount (and a pile of other things aswell)
So, i guess I bumped in the same bug as for 2.25.2, the build just bails out at a later point.
For Reference:
https://bugs.gentoo.org/show_bug.cgi?id=531856

Question: Should 'scanf_cv_alloc_modifier=ms' go into crossdev's '/usr/share/crossdev/include/site/x86_64-linux-uclibc' file?
Comment 2 Mike Gilbert gentoo-dev 2015-05-30 00:16:49 UTC
Please attach a log anyway, or close this as a duplicate.
Comment 3 Sven E. 2015-05-30 03:19:02 UTC
Created attachment 404316 [details]
build.log

build.log
Comment 4 SpanKY gentoo-dev 2015-05-30 11:34:03 UTC

*** This bug has been marked as a duplicate of bug 531856 ***