Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150984 - popt assumes lib64 on non mulitlib systems
Summary: popt assumes lib64 on non mulitlib systems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Sandro Bonazzola (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-12 02:41 UTC by Roy Marples (RETIRED)
Modified: 2006-10-12 13:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Remove MARK64 from confgiure.ac and Makefile.am (popt-lib64.patch,930 bytes, patch)
2006-10-12 02:42 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roy Marples (RETIRED) gentoo-dev 2006-10-12 02:41:09 UTC
popt tries to make a guess to install into /lib or /lib64 based on target cpu.
However, this is no guarantee of 64-bit code.

Case in point - I'm creating a new profile for FreeBSD on Sparc64 which is pure 64-bit, no multi-lib as we cannot even generate 32-bit code. The host target is sparc64-gentoo-freebsd6.2. So as it's sparc64 popt will always put 64 onto the end of libdir, which is incorrect.

Instead, lets just remove that check and let portage decide which libdir it should be installing into.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-10-12 02:42:35 UTC
Created attachment 99415 [details, diff]
Remove MARK64 from confgiure.ac and Makefile.am

This should be used instead of the current lib64 patch
Comment 2 Sandro Bonazzola (RETIRED) gentoo-dev 2006-10-12 12:01:13 UTC
On my way.
Comment 3 Sandro Bonazzola (RETIRED) gentoo-dev 2006-10-12 13:25:25 UTC
Fixed in cvs. Commit message:
lib64 patch updated with the one provided by Roy Marples fixing bug #150984. The patch solves both multilib behaviour and lib6464 previously fixed.
The patch doesn't affect already installed popt, so no bump is needed.