FS#38557 - [dart] 32-bit package in 64-bit repo

Attached to Project: Community Packages
Opened by Ollie Armstrong (oarmstrong) - Friday, 17 January 2014, 16:23 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 18 January 2014, 17:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

It would appear that the dart package in the 64-bit repo is built for 32-bit systems.


Additional info:

grawity in IRC suggested that this may be the problem.

`readelf -l /usr/bin/dart | grep interpreter` returns "[Requesting program interpreter: /lib/ld-linux.so.2]"

Steps to reproduce:

Install dart package on a 64-bit install.
Attempt to run `dart`, `/usr/bin/dart` or `/opt/dart-sdk/bin/dart` and they all fail
Installing multilib/lib32-glic and multilib/gcc-multilib fixes the issue
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Saturday, 18 January 2014, 17:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  The updated package will appear in [community] shortly (also version 1.1.1 instead of version 1.1). Thanks for reporting.
Comment by Ollie Armstrong (oarmstrong) - Friday, 17 January 2014, 16:24 GMT
Spelling error on the last line, multilib/lib32-glic should be multilib/lib32-glibc
Comment by Niklas Koep (nkoep) - Friday, 17 January 2014, 18:23 GMT
I noticed this, too, as I got random errors when trying to use a native extension library which failed to load as it linked to 64-bit libs.

$ pacman -Qo $(which dart)
/usr/bin/dart is owned by dart 1.1-1

$ ldd $(which dart)
linux-gate.so.1 (0xf7717000)
libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf76c6000)
librt.so.1 => /usr/lib32/librt.so.1 (0xf76bd000)
libdl.so.2 => /usr/lib32/libdl.so.2 (0xf76b8000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75cf000)
libm.so.6 => /usr/lib32/libm.so.6 (0xf7588000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf756e000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf73bf000)
/lib/ld-linux.so.2 (0xf7718000)

Why was the PKGBUILD changed to unconditionally fetch 32-bit binaries?
https://projects.archlinux.org/svntogit/community.git/commit/trunk?h=packages/dart&id=586a50ed99c14a8adec8d3bde50001bb2b37e6da
Comment by Alexander F. Rødseth (xyproto) - Saturday, 18 January 2014, 17:46 GMT
Sorry about this. My bad. Fixed.

Loading...