GNU bug report logs - #60843
30.0.50; Build failure on old GNU/Linux system

Previous Next

Package: emacs;

Reported by: Po Lu <luangruo <at> yahoo.com>

Date: Mon, 16 Jan 2023 01:20:02 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: lux <lx <at> shellcodes.org>
Cc: 60843 <at> debbugs.gnu.org
Subject: bug#60843: 30.0.50; Build failure on old GNU/Linux system
Date: Mon, 16 Jan 2023 17:50:49 +0800
lux <lx <at> shellcodes.org> writes:

> Po Lu <luangruo <at> yahoo.com> writes:
>
>> Since the last gnulib merge, Emacs refuses to build on Fedora 9:
>>
>> qcopy-acl.c: In function ‘is_attr_permissions’:
>> qcopy-acl.c:36: warning: implicit declaration of function ‘attr_copy_action’
>> qcopy-acl.c:36: error: ‘ATTR_ACTION_PERMISSIONS’ undeclared (first use in this function)
>> qcopy-acl.c:36: error: (Each undeclared identifier is reported only once
>> qcopy-acl.c:36: error: for each function it appears in.)
>>
>> Would someone please take a look at this?  Thanks.
>
> Probably because the version of libattr in Fedora 9 is too low, Fedora 9
> using the libattr-2.4.41, `ATTR_ACTION_PERMISSIONS' is not defined.
>
> I see the `ATTR_ACTION_PERMISSIONS' first defined in 2008-05-19
> (https://git.savannah.nongnu.org/cgit/attr.git/commit/?id=467bbfa56a14c1571082cab2385d272bead78fdc)
>
> You can also disable xattr to solve the problem:
>
>     $ ./configure --disable-xattr
>
> I compiled successfully in Fedora 9:
>
>   [root <at> localhost emacs]# lsb_release -a
>   LSB Version:	:core-3.1-amd64:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-noarch
>   Distributor ID:	Fedora
>   Description:	Fedora release 9 (Sulphur)
>   Release:	9
>   Codename:	Sulphur
>   [root <at> localhost emacs]# emacs --version
>   GNU Emacs 30.0.50
>   Copyright (C) 2023 Free Software Foundation, Inc.
>   GNU Emacs comes with ABSOLUTELY NO WARRANTY.
>   You may redistribute copies of GNU Emacs
>   under the terms of the GNU General Public License.
>   For more information about these matters, see the file named COPYING.

Yes, but it should be fixed in gnulib.  Emacs should compile cleanly
without any arguments to configure.




This bug report was last modified 1 year and 254 days ago.

Previous Next


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