Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21690 - slv2 fails to build on 64bit and fails to load when using from extra

Attached to Project: Arch Linux
Opened by William Trivett (willtriv) - Saturday, 13 November 2010, 22:27 GMT
Last edited by Ray Rashif (schivmeister) - Monday, 22 November 2010, 15:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ray Rashif (schivmeister)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When loading an app the depends on slv2 such as qtractor or ardour they both complain about a library with the wrong elf class in archlinux 64bit:
error while loading shared libraries: libslv2.so.9: wrong ELF class: ELFCLASS32



Additional info:

I tried recompiling and building slv2 from abs.... it failed on:
./waf
Traceback (most recent call last):
File "./waf", line 148, in <module>

so there is something buggy while building slv2 and someone has somehow packaged up a 32bit binary and placed it in the 64bit repo (?!)



Steps to reproduce:
run an app which depends on slv2
examples include qtractor or ardour
This task depends upon

Closed by  Ray Rashif (schivmeister)
Monday, 22 November 2010, 15:19 GMT
Reason for closing:  No response
Comment by Ionut Biru (wonder) - Saturday, 13 November 2010, 22:55 GMT
file /usr/lib/libslv2.so.9.2.0
/usr/lib/libslv2.so.9.2.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped


works for me.
Comment by Thomas Dziedzic (tomd123) - Sunday, 14 November 2010, 20:52 GMT
The following will fix building the package http://codepad.org/MJqo3577
Comment by Ray Rashif (schivmeister) - Sunday, 14 November 2010, 21:01 GMT
The changes were made but not released as the binaries are alright: http://repos.archlinux.org/wsvn/packages/slv2/trunk/

Please report the outcome of the rebuild. Chances are your system is misconfigured in part or in whole. Also do a 'file' on the lib like Ionut above and confirm that it's 64-bit ELF.
Comment by William Trivett (willtriv) - Sunday, 14 November 2010, 23:03 GMT
is anyone going to update the packagebuild for the python2/3 change?
Comment by William Trivett (willtriv) - Sunday, 14 November 2010, 23:07 GMT
I don't know how to incorporate that patch to the pkgbuild.
Comment by William Trivett (willtriv) - Sunday, 14 November 2010, 23:11 GMT
Okay, i was being lazy, i applied the patch and it builds fine now.
file output:

/usr/lib/libslv2.so.9.2.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
Comment by William Trivett (willtriv) - Sunday, 14 November 2010, 23:26 GMT
it works now. it most certainly didn't work with the one from the repo mirror when I opened the report. Someone needs to update the actual pkgbuild. Thanks for the help guys.
Comment by Ray Rashif (schivmeister) - Sunday, 14 November 2010, 23:28 GMT
You could've just gotten http://repos.archlinux.org/wsvn/packages/slv2/trunk/PKGBUILD

Anyway, I need to confirm that this is an actual bug and not just your system. Do a file on the lib from the binary package. But this time, get it from http://www.archlinux.org/packages/extra/x86_64/slv2/download/ or anonther mirror and pacman -U it. We want to make sure it's not a bad package that caused this.

Note: The python change is only a buildtime issue and is irrelevant for this matter, slv2 does in no way rely on python during runtime, if there's a "runtime" at all to begin with.

Loading...