Summary: | sys-fs/udev-171-r1: 'wrong ELF class' failure using portage-multilib | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Philipp Richter <richterphilipp.pops> |
Component: | [OLD] Core system | Assignee: | Multilib team <multilib+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | udev-bugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | The build log |
Description
Philipp Richter
2011-06-15 08:44:40 UTC
Created attachment 277087 [details]
The build log
Inferior udev versions (e.g. =sys-fs/udev-164-r2, =sys-fs/udev-168-r2) compile fine in both ABIs. I am assigning this to multilib since udev works fine on official portage systems. Modify the /usr/bin/g-ir-scanner and the build should succeed. I had similar problems with at least atk-2.0.1 and pango-1.28.4. else: # This is a private directory, we don't want to pollute the global # namespace. print os.getenv('ABI') if os.getenv('ABI') == "amd64": path = os.path.join('/usr/lib64', 'gobject-introspection') else: path = os.path.join('/usr/lib32', 'gobject-introspection') sys.path.insert(0, path) (In reply to comment #4) > Modify the /usr/bin/g-ir-scanner and the build should succeed. > I had similar problems with at least atk-2.0.1 and pango-1.28.4. > > else: > # This is a private directory, we don't want to pollute the global > # namespace. > print os.getenv('ABI') > if os.getenv('ABI') == "amd64": > path = os.path.join('/usr/lib64', 'gobject-introspection') > else: > path = os.path.join('/usr/lib32', 'gobject-introspection') > sys.path.insert(0, path) Thank you very much kind Sir! That helped. Could this patch be integrated into 'dev-libs/gobject-introspection' to avoid future errors? I have added gobject-introspection to the list of packages, where a binary for each target ABI will be created, this should help with this issue. Needed steps to do: 1. sync your overlay (now multilib-portage overlay) 2. rebuild gobject-introspection 3. see issues like this one with g-ir-scanner gone |