Your message dated Fri, 26 Jun 2009 15:33:18 +0000
with message-id <[email protected]>
and subject line Bug#531950: fixed in attr 1:2.4.43-3
has caused the Debian Bug report #531950,
regarding attr: FTBFS on GNU/kFreeBSD
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
531950: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531950
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: attr
Severity: important
Version: 1:2.4.43-2
Tags: patch
User: [email protected]
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
It is kind of reopen of #414232.
Please use the patch bellow instead of the patch in #414232.
It might look surprisingly, but it is correct for all architectures.
The Linux uses ENODATA and does not define ENOATTR,
the GNU/kFreeBSD uses ENOATTR and does not define ENODATA
in errno.h (similarly as original SGI code).
Therefore the code in attr mainly uses ENOATTR,
see also include/xattr.h.
It would also be nice if you can ask upstream
to include this change.
Thanks in advance
Petr
only in patch2:
unchanged:
--- attr-2.4.43.orig/getfattr/getfattr.c
+++ attr-2.4.43/getfattr/getfattr.c
@@ -93,7 +93,7 @@
const char *strerror_ea(int err)
{
- if (err == ENODATA)
+ if (err == ENOATTR)
return _("No such attribute");
return strerror(err);
}
only in patch2:
unchanged:
--- attr-2.4.43.orig/setfattr/setfattr.c
+++ attr-2.4.43/setfattr/setfattr.c
@@ -66,7 +66,7 @@
const char *strerror_ea(int err)
{
- if (err == ENODATA)
+ if (err == ENOATTR)
return _("No such attribute");
return strerror(err);
}
--- End Message ---
--- Begin Message ---
Source: attr
Source-Version: 1:2.4.43-3
We believe that the bug you reported is fixed in the latest version of
attr, which is due to be installed in the Debian FTP archive:
attr_2.4.43-3.diff.gz
to pool/main/a/attr/attr_2.4.43-3.diff.gz
attr_2.4.43-3.dsc
to pool/main/a/attr/attr_2.4.43-3.dsc
attr_2.4.43-3_amd64.deb
to pool/main/a/attr/attr_2.4.43-3_amd64.deb
libattr1-dev_2.4.43-3_amd64.deb
to pool/main/a/attr/libattr1-dev_2.4.43-3_amd64.deb
libattr1_2.4.43-3_amd64.deb
to pool/main/a/attr/libattr1_2.4.43-3_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <[email protected]> (supplier of updated attr package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 27 Jun 2009 00:29:24 +1000
Source: attr
Binary: attr libattr1-dev libattr1
Architecture: source amd64
Version: 1:2.4.43-3
Distribution: unstable
Urgency: low
Maintainer: Nathan Scott <[email protected]>
Changed-By: Anibal Monsalve Salazar <[email protected]>
Description:
attr - Utilities for manipulating filesystem extended attributes
libattr1 - Extended attribute shared library
libattr1-dev - Extended attribute static libraries and headers
Closes: 531950
Changes:
attr (1:2.4.43-3) unstable; urgency=low
.
[ Cyril Brulebois ]
* Backport the following fix by Petr Salinger from upstream to fix
FTBFS on GNU/kFreeBSD (Closes: #531950): [git commit b4636a4e9e]
On Linux, ENOATTR aliases to ENODATA. On other operating systems
like Irix and BSD*, ENOATTR is a separate error number. Therefore,
protect the check on “err == ENODATA” with “#ifdef __linux__” in
strerror_ea() in both getfattr/getfattr.c and setfattr/setfattr.c
.
[ Anibal Monsalve Salazar ]
* Standards version is 3.8.2
* DH compatibility level is 7
* Fix "incorrect-libdir-in-la-file usr/lib/libattr.la /lib != /usr/lib"
Checksums-Sha1:
fe71856c821738eacac6f401a8de4578d563298d 1106 attr_2.4.43-3.dsc
4b298cd832af6f3f8da6d265a6c11e06df53244b 1239 attr_2.4.43-3.diff.gz
ba517dec914d27c9dc8a30c5ff0ec103fb7de978 44394 attr_2.4.43-3_amd64.deb
f27317f003761c1150ac87c9efa7f8265105ed7a 32944 libattr1-dev_2.4.43-3_amd64.deb
1151b71b6ff7fe5ea6083178bdebbedb3f77e87d 12282 libattr1_2.4.43-3_amd64.deb
Checksums-Sha256:
3bc98ed29908992cac9b974fd02469209f077885679a212ec8a5a286ae4c96ca 1106
attr_2.4.43-3.dsc
45725190be296cf7a23efcf0b837d468d19ae45790a0c4d403155a5b62a01eaf 1239
attr_2.4.43-3.diff.gz
e9e498ca5f96bf0fe3c848c08259823b19917d41d336b705b4308afffa3a3d47 44394
attr_2.4.43-3_amd64.deb
ecc97bd560c42b6b488c9cc526e15d82da82f55d82129296e49bc378cfa24e03 32944
libattr1-dev_2.4.43-3_amd64.deb
f86de7e11830132744cda0a7ad51591657f9b900794548f3946476c8b143f274 12282
libattr1_2.4.43-3_amd64.deb
Files:
7b1b52c802e1cd999da0d1549742354e 1106 utils optional attr_2.4.43-3.dsc
2fe69a7de2b614f7444deaeadc6356df 1239 utils optional attr_2.4.43-3.diff.gz
697fe25f6b156a8e1677e2a0650bde67 44394 utils optional attr_2.4.43-3_amd64.deb
994b47f07e0241523ed54d00639cc814 32944 libdevel extra
libattr1-dev_2.4.43-3_amd64.deb
1d44639eed8761c99a07a63bf3bc37c9 12282 libs required
libattr1_2.4.43-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkpE5tsACgkQgY5NIXPNpFXMogCfUFWvyT67FjhUFxie6/bOw/kk
tssAnjdoHGzIyrNK2GaN0KEIV7+A97u3
=1Yrz
-----END PGP SIGNATURE-----
--- End Message ---