Your message dated Wed, 12 Aug 2009 22:05:11 +0000
with message-id <[email protected]>
and subject line Bug#540979: fixed in python-pyxattr 0.4.0-2
has caused the Debian Bug report #540979,
regarding python-pyxattr: 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.)


-- 
540979: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540979
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-pyxattr
Version: 0.4.0-1
Severity: important
Tags: patch
User: [email protected]
Usertags: kfreebsd

Hi,

ENODATA doesn't exist everywhere (e.g. not on GNU/kFreeBSD), so it'd be
nice if some #if defined() could be used. The attached patch is quite
awful, but hopefully, either you or upstream will find a better way to
handle it. ;)

,--[ 
https://buildd.debian.org/fetch.cgi?pkg=python-pyxattr&arch=kfreebsd-i386&ver=0.4.0-1&stamp=1246046553&file=log&as=raw
| gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -g -O2 -fPIC -D_XATTR_VERSION="0.4.0" 
-D_XATTR_AUTHOR="Iustin Pop" -D_XATTR_EMAIL="[email protected]" 
-I/usr/include/python2.4 -c xattr.c -o 
build/temp.gnukfreebsd-7.2-1-686-i686-2.4/xattr.o
| xattr.c: In function 'get_all':
| xattr.c:379: error: 'ENODATA' undeclared (first use in this function)
| xattr.c:379: error: (Each undeclared identifier is reported only once
| xattr.c:379: error: for each function it appears in.)
| error: command 'gcc' failed with exit status 1
`--

Thanks for considering.

Mraw,
KiBi.
--- python-pyxattr-0.4.0.orig/xattr.c
+++ python-pyxattr-0.4.0/xattr.c
@@ -376,11 +376,19 @@
                         goto free_list;
                     nalloc = nval;
                     continue;
-                } else if(errno == ENODATA || errno == ENOATTR) {
+                } else if(errno == ENOATTR) {
                     /* this attribute has gone away since we queried
                        the attribute list */
                     missing = 1;
                     break;
+#if defined(ENODATA)
+/* Same as the ENOATTR case, but some platforms don't have ENODATA. */
+                } else if(errno == ENODATA) {
+                    /* this attribute has gone away since we queried
+                       the attribute list */
+                    missing = 1;
+                    break;
+#endif
                 }
                 goto exit_errno;
             }

--- End Message ---
--- Begin Message ---
Source: python-pyxattr
Source-Version: 0.4.0-2

We believe that the bug you reported is fixed in the latest version of
python-pyxattr, which is due to be installed in the Debian FTP archive:

python-pyxattr_0.4.0-2.diff.gz
  to pool/main/p/python-pyxattr/python-pyxattr_0.4.0-2.diff.gz
python-pyxattr_0.4.0-2.dsc
  to pool/main/p/python-pyxattr/python-pyxattr_0.4.0-2.dsc
python-pyxattr_0.4.0-2_amd64.deb
  to pool/main/p/python-pyxattr/python-pyxattr_0.4.0-2_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.
Iustin Pop <[email protected]> (supplier of updated python-pyxattr 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: Wed, 12 Aug 2009 22:13:13 +0200
Source: python-pyxattr
Binary: python-pyxattr
Architecture: source amd64
Version: 0.4.0-2
Distribution: unstable
Urgency: low
Maintainer: Iustin Pop <[email protected]>
Changed-By: Iustin Pop <[email protected]>
Description: 
 python-pyxattr - module for manipulating filesystem extended attributes
Closes: 540979
Changes: 
 python-pyxattr (0.4.0-2) unstable; urgency=low
 .
   * Fix "FTBFS on GNU/kFreeBSD" (added a modified form of the submitted patch,
     thanks Cyril Brulebois) (Closes: #540979)
   * Update standards version (no changes needed)
Checksums-Sha1: 
 ff096b8a6cb20ce84a6c149cedbc209947c17a3a 1264 python-pyxattr_0.4.0-2.dsc
 b15a22c2809f1a12bf8356d941a6d98a2d4b928e 3000 python-pyxattr_0.4.0-2.diff.gz
 7e7f101430e072a0fd0dc3ce6b2738ad0e5a5b52 33976 python-pyxattr_0.4.0-2_amd64.deb
Checksums-Sha256: 
 f1c97f6cac2e74626ded6d9a1a87eb3544411b6c8b09328f23fee83e94d06f32 1264 
python-pyxattr_0.4.0-2.dsc
 8112e6915c1af30d2899f4e9aedb9c53e48aa09810fd68c5813d1ad0052c896d 3000 
python-pyxattr_0.4.0-2.diff.gz
 922f284212777f5f6b8dddafbb22dd953203c7a00cbd0c2f8a883b5c4529323c 33976 
python-pyxattr_0.4.0-2_amd64.deb
Files: 
 afe1200d83d4953d88a85d70f60848bc 1264 python optional 
python-pyxattr_0.4.0-2.dsc
 f010ef6e8823ced75437070320a46a11 3000 python optional 
python-pyxattr_0.4.0-2.diff.gz
 1ccfa4a9ee9f74e2e6c30238cee6b4a4 33976 python optional 
python-pyxattr_0.4.0-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqDL/QACgkQeGfVPHR5Nd1V7gCbBAPqBJNPBwdQxGzB8e8EX1pQ
HWAAnAu3glY64lUrGFYAzFzQM22ZRHjv
=bcW7
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to