Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929051 - sys-apps/fakeroot multilib support
Summary: sys-apps/fakeroot multilib support
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-10 09:23 UTC by Ben Sagal
Modified: 2024-04-11 07:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Sagal 2024-04-10 09:23:12 UTC
fakeroot needs mutilib support to be able to correcly run x86_32 programs on an amd64 (x86_64) system. 

Only libfakeroot.so needs to be multilib

Reproducible: Always

Steps to Reproduce:
1.run fakeroot ./32bitprogram
Actual Results:  
The program works correctly without error

Expected Results:  
i get the following error:
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

I also see that the LD_LIBRARY_PATH is not set correctly

% env | grep LD_ || echo "No Match"
No Match
% fakeroot env | grep LD_ || echo "No Match"
LD_LIBRARY_PATH=/usr/lib64:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot
LD_PRELOAD=libfakeroot.so

There is no /usr/lib64/libfakeroot or /usr/lib32/libfakeroot directory, libfakeroot.so is in /usr/lib64
Comment 1 Ben Sagal 2024-04-10 09:27:57 UTC
I mixed up the Expected and Actual Results.
Comment 2 Viorel Munteanu gentoo-dev 2024-04-11 07:03:54 UTC
*** Bug 929052 has been marked as a duplicate of this bug. ***