Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209470 - net-p2p/mldonkey breaks after prelink
Summary: net-p2p/mldonkey breaks after prelink
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
Depends on:
Reported: 2008-02-09 21:47 UTC by William Zhou
Modified: 2011-09-17 18:05 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description William Zhou 2008-02-09 21:47:03 UTC
Look like the problem in this page, but i am not sure.

# 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