upx-bin emerges fine, but forgets to disable MPROTECT on /opt/bin/upx upon installing, thus preventing upx from being functional on PaX enabled machines. Consequentialy other ebuils (like media-video/tsmuxer-1.10.6-r1) fail to emerge, because they require working upx binary. Reproducible: Always Steps to Reproduce: 1. use hardened-sources with enabled PaX and MPROTECT 2. emerge upx-bin 3. execute (in terminal): /opt/bin/upx Actual Results: upx fails with following error message: PROT_EXEC|PROT_WRITE failed. Expected Results: display of upx help page.
Created attachment 260618 [details, diff] ebuild patch implementing PaX marking of /opt/bin/upx
CCing maintainer (as I still can't assign to him) @Reporter, you may want to use upx-ucl in the mean time ;)
@matsuu, this is a completely safe patch. Can you commit it and close this bug?
Ping @matsuu
sorry for delay. 3.07-r1 in cvs.