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

Bug 464514

Summary: x11-libs/libX11-1.5.0-r1 fails to cross compile (/src/util: No such file or directory)
Product: Gentoo Linux Reporter: thunder367 <thunder367>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: multilib+disabled, nikarul, thunder367
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 475480    
Attachments: build.log
armv7a-hardfloat-linux-gnueabi-emerge --info =x11-libs/libX11-1.5.0-r1
environment
Patch that is supposed to fix the issue

Description thunder367 2013-04-04 05:50:50 UTC
Indicates that the problem does not exist path.

Reproducible: Always

Steps to Reproduce:
1.armv7a-hardfloat-linux-gnueabi-emerge =x11-libs/libX11-1.5.0-r1
2.
3.
Actual Results:  
Error compilation process. Stop compilation.

Expected Results:  
Correct compilation process.

miheev ~ # armv7a-hardfloat-linux-gnueabi-emerge -pqv =x11-libs/libX11-1.5.0-r1
[ebuild  N    ] x11-libs/libX11-1.5.0-r1 to /usr/armv7a-hardfloat-linux-gnueabi/ USE="ipv6 -doc -static-libs {-test}" 

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 1 thunder367 2013-04-04 05:52:54 UTC
Created attachment 344330 [details]
build.log
Comment 2 thunder367 2013-04-04 05:56:01 UTC
Created attachment 344332 [details]
armv7a-hardfloat-linux-gnueabi-emerge --info =x11-libs/libX11-1.5.0-r1
Comment 3 thunder367 2013-04-04 06:01:06 UTC
Created attachment 344334 [details]
environment
Comment 4 nikarul 2013-06-09 21:34:16 UTC
I am getting this issue cross compiling libX11-1.6.0 (also on armv7a-hardfloat-linux-gnueabi).  libX11-1.5.0 (NOT -r1) builds without issue.
Comment 5 Pacho Ramos gentoo-dev 2013-06-25 16:23:48 UTC
Not sure if multilib team will know what is occurring :/
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-06-25 16:31:12 UTC
I would suspect that AUTOTOOLS_BUILD_DIR is not defined in multilib build. That can't be set since there are multiple build directories and the ebuild has to account on that.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-21 19:30:33 UTC
Created attachment 353788 [details, diff]
Patch that is supposed to fix the issue

Please try the attached patch.
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-08-22 08:11:01 UTC
We are planning to proceed with stabilization of x11 packages in bug 475480 soon, so if someone is affected by this issue, please state whether the proposed patch works for you.
Comment 9 nikarul 2013-08-29 01:12:27 UTC
I was able to build successfully with the patch applied to the ebuild for version 1.6.1
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-09-11 20:48:03 UTC
Fixed in 1.6.2