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#9499 - [slang-2.1.3-1] libslang.a is missing

Attached to Project: Arch Linux
Opened by Roman Kyrylych (Romashka) - Friday, 08 February 2008, 16:03 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 08 February 2008, 20:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

slang package is missing the libslang.a file which makes impossible to build some packages


Solution:

'make install' should be changed to 'make install-all'
(this will build and install the 'static' target)


Additional info:

When trying to build libnewt - it complains at 'cc ... -lslang' stage that slang cannot be found.

Though when I've tried to build jed - it builds ok, and readelf -d shows a dependency on libslang.so.2

I don't know why there is a difference. :-/


Steps to reproduce:

1) Try to build the attached PKGBUILD
2) Now rebuild slang with 'make install' changed to 'make install-all' and install it
3) Try to build the attached PKGBUILD again and see that it builds
4) see that executable and library files that were built actually depends on a shared slang library and not built with static slang built-in:
$ readelf -d pkg/usr/lib/libnewt.so | grep slang
0x00000001 (NEEDED) Shared library: [libslang.so.2]
$ readelf -d pkg/usr/bin/whiptail | grep slang
0x00000001 (NEEDED) Shared library: [libslang.so.2]
   PKGBUILD (0.8 KiB)
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Friday, 08 February 2008, 20:10 GMT
Reason for closing:  Fixed
Comment by Jürgen Hötzel (juergen) - Friday, 08 February 2008, 19:54 GMT
Looks like "test" target of libnewt is broken (because of the static switch).

Build with:

make PROGS="whiptail whiptcl.so testgrid testtree showchars showkey"

to exclude the test target works fine.
Comment by Roman Kyrylych (Romashka) - Friday, 08 February 2008, 20:05 GMT
Ah, that explains difference between libnewt and jed.
Thank you! :-)

Loading...