Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464514 - x11-libs/libX11-1.5.0-r1 fails to cross compile (/src/util: No such file or directory)
Summary: x11-libs/libX11-1.5.0-r1 fails to cross compile (/src/util: No such file or d...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
Depends on:
Blocks: 475480
  Show dependency tree
Reported: 2013-04-04 05:50 UTC by thunder367
Modified: 2013-09-11 20:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,18.14 KB, text/plain)
2013-04-04 05:52 UTC, thunder367
armv7a-hardfloat-linux-gnueabi-emerge --info =x11-libs/libX11-1.5.0-r1 (info,4.74 KB, text/plain)
2013-04-04 05:56 UTC, thunder367
environment (environment,138.66 KB, text/plain)
2013-04-04 06:01 UTC, thunder367
Patch that is supposed to fix the issue (0001-x11-libs-libX11-Fix-cross-compilation-in-multilib-eb.patch,1003 bytes, patch)
2013-07-21 19:30 UTC, Michał Górny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
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]
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]
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