Summary: | sys-devel/gdb-8.0.1 fails when using crossdev | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | m-kress |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info '=cross-armv7a-hardfloat-linux-gnueabi/gdb-8.0.1::x-portage' |
This was the orignal error: * ERROR: cross-armv7a-hardfloat-linux-gnueabi/gdb-8.0.1::x-portage failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 115: Called src_install * environment, line 3367: Called die * The specific snippet of code: * rm -r "${ED}"/usr/share/{doc,info,locale} || die; * * If you need support, post the output of `emerge --info '=cross-armv7a-hardfloat-linux-gnueabi/gdb-8.0.1 * the complete build log and the output of `emerge -pqv '=cross-armv7a-hardfloat-linux-gnueabi/gdb-8.0.1: * The complete build log is located at '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gdb-8.0.1/t * The ebuild environment file is located at '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gdb-8. * Working directory: '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gdb-8.0.1/work/gdb-8.0.1' * S: '/var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/gdb-8.0.1/work/gdb-8.0.1' Thank you for the report. Please *attach* the logfiles, https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29 and reopen this ticket (Status:unconfirmed). Apologies for long response. Was fixed a while ago as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=559cf5f4b15f024e21eab5f2458effe7806da8ad Thanks for the report! |
Created attachment 498194 [details] emerge --info '=cross-armv7a-hardfloat-linux-gnueabi/gdb-8.0.1::x-portage' The packages compiles pretty fine with crossdev. make install fails, because it wants to remove "usr/share/locale", which doesn't exist when cross compiling. Fix: In the ebuild script "sys-devel/gdb/gdb-8.0.1.ebuild" rm -r "${ED}"/usr/share/{doc,info,locale} || die add a "force" to the remove: "rm -rf ...."