Bug#674832: FTBFS: xattr test fails if /tmp on tmpfs

2012-05-28 Thread Lars Wirzenius
On Mon, May 28, 2012 at 05:46:31AM +0200, Sven Hartge wrote:
 I had to move the tmp-dir to a different directory using $TMP and $TMPDIR
 to be able to complete the build.

Ah, yes. I need to change the test so it only runs if normal users can use
extended attributes. Thanks for the report, I'll fix that in the next upload.

-- 
All my predictions will turn out to be false


signature.asc
Description: Digital signature


Bug#674832: FTBFS: xattr test fails if /tmp on tmpfs

2012-05-27 Thread Sven Hartge
Package: obnam
Version: 0.29-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi Lars,

during a rebuild of obnam I stumbled upon the following error:

FAIL: xattr-change-only: stderr diff:   
--- /dev/null   2012-05-27 23:23:24.651956320 +0200
+++ tests/xattr-change-only.stderr-actual   2012-05-28 05:33:43.0 
+0200
@@ -0,0 +1 @@
+setfattr: /tmp/tmp1RwkB9/data/data/foo: Operation not supported

FAIL: xattr-change-only: got exit code 1, expected 0
40/42 tests OK, 2 failures
ERROR: Command '['cmdtest', 'tests']' returned non-zero exit status 1

/tmp is on tmpfs on this system and tmpfs does not support user_xattr.  The
same will happen to any build system, where the FS for /tmp does not have
user_xattr support or the FS is mounted without this option (which seems to be
the case for all Debian buildds, since obnam-0.26 was the last release
successfully build).

I had to move the tmp-dir to a different directory using $TMP and $TMPDIR
to be able to complete the build.

Grüße,
Sven.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'experimental'), (400, 'testing'), (300, 
'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.3.0-trunk-amd64 (SMP w/12 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages obnam depends on:
ii  libc6 2.13-32
ii  python2.7.2-10
ii  python-cliapp 0.29-1
ii  python-larch  1.20120527-1
ii  python-paramiko   1.7.7.1-2
ii  python-tracing0.6-2
ii  python-ttystatus  0.18-1
ii  python2.6 2.6.7-4
ii  python2.7 2.7.3~rc2-2.1

obnam recommends no packages.

obnam suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org