Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 209470

Summary: net-p2p/mldonkey breaks after prelink
Product: Gentoo Linux Reporter: William Zhou <william>
Component: Current packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED UPSTREAM    
Severity: normal CC: hkmaly
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description William Zhou 2008-02-09 21:47:03 UTC
Look like the problem in this page, but i am not sure.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=214121

# mlnet
No bytecode file specified.

Prelink seems to be the source of the problem. But i don't know how to add the file to the blacklist of prelink.

Reproducible: Always

Steps to Reproduce:
1. emerge -1 mldonkey
2. (mlnet runs fine)
3. /etc/cron.daily/prelink
4. (mlnet error)
Comment 1 Honza 2008-04-13 13:19:13 UTC
I don't have mldonkey, but can offer some parsing knowledge :-)

According to the debian bug, mldonkey is using ocaml (programing language compiler called objective caml) which places part of it's code into binary in some nonstandard way. Therefore, some utilities don't know how to work with resulting binaries and strip or damage that code. In debian bug case, the utility doing that is strip. In this case, its prelink.

The blacklisting can be done this way: create new file in /etc/env.d/, put PRELINK_PATH_MASK="/usr/bin/mlnet" in it and call env-update. If multiple files needs to be masked, use : as delimiter.
Comment 2 dE 2010-06-08 14:32:54 UTC
Yes, I confirm this, but this is nowhere close to a Gentoo bug. So can someone close this?
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2011-09-17 18:05:29 UTC
report to upstream