GNU bug report logs - #23371
emacs: paxctl usage on NetBSD

Previous Next

Package: emacs;

Reported by: Thomas Klausner <wiz <at> NetBSD.org>

Date: Mon, 25 Apr 2016 12:10:01 UTC

Severity: normal

Tags: patch

Found in version 25.1.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #18 received at 23371 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Thomas Klausner <wiz <at> NetBSD.org>
Cc: 23371 <at> debbugs.gnu.org
Subject: Re: emacs: paxctl usage on NetBSD
Date: Wed, 27 Apr 2016 12:38:53 -0700
On 04/27/2016 08:54 AM, Thomas Klausner wrote:
>> configure.ac says
>> that paxctl is used only when the operating system is GNU/Linux, unless one
>> manually configures by setting PAXCTL in the environment or using a
>> PAXCTL=/some/path argument to 'configure'.
> That's true, but src/Makefile.in ignores that:
> PAXCTL_if_present = $(or $(PAXCTL),: paxctl)

I guess I'm still not following. On non-GNU/Linux hosts, $(PAXCTL) 
should be empty because paxctl is not searched for, so PAXCTL_if_present 
should be ': paxctl', i.e., a no-op shell command. And yet you reported 
that your build used 'paxctl -zex' and 'paxctl -r'. Perhaps your build 
was actually using the no-ops ': paxctl -zex' and ': paxctl -r' and you 
didn't notice the colons? That is, perhaps you replaced ': paxctl -zex' 
(with a prefix colon) with 'paxctl +a' (without the colon)?

>
> My version is attached (I added some more paxctl's for the symlinks
> when the original version didn't work.) I hope I didn't break it.

Did it work with your version?

If so, does 'ln' and/or 'mv' remove the mark placed on an executable by 
'paxctl +a'? and if that happens, how does 'make install' avoid removing 
the mark in the installed Emacs?

If not, then I'm afraid I'm lost.

Also, I noticed that you removed the indenting on some of the 'ifeq' 
lines in src/Makefile.in; why was that necessary?




This bug report was last modified 9 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.