| Summary: | crossdev failed on binutils for file collisions | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Galaxy <galaxy001> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | toolchain |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Galaxy
2009-01-02 02:31:40 UTC
ah, that's probably due to USE=nls.
@Mike: how about something like this:
Index: toolchain-binutils.eclass
===================================================================
--- toolchain-binutils.eclass (revision 36993)
+++ toolchain-binutils.eclass (working copy)
@@ -377,6 +377,10 @@
docinto opcodes
dodoc opcodes/ChangeLog*
fi
+ # Remove translations if this is cross, will collide with installed binutils
+ if is_cross ; then
+ rm -Rf "${ED}"/usr/share/locale
+ fi
# Punt all the fun stuff if user doesn't want it :)
has noinfo ${FEATURES} && rm -r "${ED}"/${DATAPATH}/info
has noman ${FEATURES} && rm -r "${ED}"/${DATAPATH}/man
umm, no ... translations are installed wrong on your system for some reason. look at how it's done in linux: $ qlist -e sys-devel/binutils-2.19 | grep mo /usr/share/binutils-data/x86_64-pc-linux-gnu/2.19/locale/de/LC_MESSAGES/gprof.mo /usr/share/binutils-data/x86_64-pc-linux-gnu/2.19/locale/de/LC_MESSAGES/opcodes.mo /usr/share/binutils-data/x86_64-pc-linux-gnu/2.19/locale/es/LC_MESSAGES/gprof.mo /usr/share/binutils-data/x86_64-pc-linux-gnu/2.19/locale/es/LC_MESSAGES/bfd.mo /usr/share/binutils-data/x86_64-pc-linux-gnu/2.19/locale/es/LC_MESSAGES/opcodes.mo /usr/share/binutils-data/x86_64-pc-linux-gnu/2.19/locale/es/LC_MESSAGES/binutils.mo /usr/share/binutils-data/x86_64-pc-linux-gnu/2.19/locale/es/LC_MESSAGES/gas.mo /usr/share/binutils-data/x86_64-pc-linux-gnu/2.19/locale/es/LC_MESSAGES/ld.mo /usr/share/binutils-data/x86_64-pc-linux-gnu/2.19/locale/ru/LC_MESSAGES/binutils.mo Just have seen that some binutils ebuilds in Prefix lack calling tc-binutils_apply_patches after tc-binutils_unpack. IMO this is the reason for wrongly installed locales. It's only binutils-2.16.1-r3.ebuild still calling tc-binutils_apply_patches. When additional patches can be applied _after_ tc-binutils_apply_patches, why don't we call toolchain-binutils_src_unpack instead of tc-binutils_unpack like in binutils-2.18-r4.ebuild? All binutils ebuilds call toolchain-binutils_src-unpack(), so patches are applied. Something else must be going on. binutils for me seems to install these .mo files into a versioned location. It's unclear to me why DATAPATH isn't respected in this case. |