Community Packages

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#28185 - [lib32-sdl] sdl-config (from 'sdl') provides bad libdir for multilib

Attached to Project: Community Packages
Opened by Rafael Fontenelle (josephg) - Tuesday, 31 January 2012, 01:38 GMT
Last edited by Florian Pritz (bluewind) - Thursday, 01 March 2012, 15:52 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Florian Pritz (bluewind)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Some software have the configure script set to use 'sdl-config' to get sdl folders. Currently, only the package [extra]/sdl has 'sdl-config' script, which provides a libdir variable hardcoded with '-L/usr/lib'.
So, when compiling for multilib (-m32, lib32, etc.) configure scripts will print "skip incompatible" for libs, as it have '-I/usr/lib' as sdl libs folder.

Solutions that I can think of for this issue ("my 2 cents"):
1) provide a sdl-multilib in [multilib] with sdl-config patched to not provide '-L/usr/lib' (See patch attached)
2) same for above solution, but fix in the 'sdl' of [extra]

Additional info:
* package version(s)
sdl 1.2.15
lib32-sdl 1.2.15


Steps to reproduce:
1- Compile a software that set libdir in using sdl-config (e.g. gngeo from AUR)
2- See "skipping incompatible <lib-name>" in config.log

This task depends upon

Closed by  Florian Pritz (bluewind)
Thursday, 01 March 2012, 15:52 GMT
Reason for closing:  Fixed
Comment by Florian Pritz (bluewind) - Thursday, 01 March 2012, 15:52 GMT
lib32-sdl 1.2.15-2 now provides sdl-config-32 which should return the correct paths.

Loading...