pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: databases/mongo-tools fail due to PaX, patch included



On Wed, Jan 04, 2023 at 10:00:46AM +0100, Thomas Klausner wrote:
> Hi Paul!
> 
> On Wed, Jan 04, 2023 at 11:32:00AM +1100, Paul Ripke wrote:
> > I had reason to use these tools, and discovered they do weird magic which
> > breaks due to PaX. The attached patch fixes this for me.
> 
> I tried the following, on 10.99.2/amd64:
> 
> # make package
> # ./work/.destdir/usr/pkg/bin/mongodump
> ./work/.destdir/usr/pkg/bin/mongodump: text relocations
> ./work/.destdir/usr/pkg/bin/mongodump: Cannot write-enable text segment: Permission denied

Please don't disable PAX and deal with text relocations properly.

Joerg


Home | Main Index | Thread Index | Old Index