| Summary: | sys-libs/musl fails to cross compile with ERROR: sys-libs/musl-1.1.23::gentoo failed (install phase) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | tt_1 <herrtimson> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
compressed build log
output of cross emerge --info |
||
Created attachment 591858 [details]
output of cross emerge --info
I think the problem is most likely this line: https://github.com/gentoo/gentoo/blob/master/sys-libs/musl/musl-1.1.23.ebuild#L101 value for ${arch} is broken on the next line, it should be armhf honestly, I don't understand the fancy sed kungfu, and why it's causing this mess. local workaround is to go to line 102 and hard code the value of ${arch} to armhf to the time being, this makes the ebuild cross emerge just fine. whopsy, been reported more than a year ago. *** This bug has been marked as a duplicate of bug 645626 *** |
Created attachment 591856 [details] compressed build log this is from a cross-compiler chroot, set up from native musl amd64 system with: crossdev -S armv7a-unknown-linux-musleabihf --libc 1.1.23, followed by emerge-armv7a-unknown-linux-muselabihf -av =musl-1.1.23 quote from the build log: * ERROR: sys-libs/musl-1.1.23::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_install * environment, line 2305: Called die * The specific snippet of code: * [[ -e "${D}"/lib/ld-musl-${arch}.so.1 ]] || die; * compressed log is attached