[Pkg-utopia-maintainers] Bug#876138: ostree: FTBFS as root (with unusual umask?): "-00664 1 0 4 /baz/cow" doesn't match regexp '-00644 1 0'"
Simon McVittie
smcv at debian.org
Mon Sep 18 21:52:28 UTC 2017
Package: ostree
Version: 2017.11-1
Severity: normal
ostree fails to build from source on debomatic:
http://debomatic-amd64.debian.net/distribution#experimental/ostree/2017.11-1/buildlog
(as of "Build started Monday, 18 September 2017 15:06 - finished
Monday, 18 September 2017 15:28" - I am not aware of a more permanent
URL for that specific log)
This appears to be because debomatic runs sbuild as root, so
tests/test-basic-root.sh runs and fails (it's normally skipped). The
failure cause seems to be
> + assert_file_has_content ls.txt '-00644 1 0'
...
> + ls -al ls.txt
> -rw-rw-r-- 1 root root 27 Sep 18 14:09 ls.txt
> + sed -e 's/^/# /'
> # -00664 1 0 4 /baz/cow
...
> File 'ls.txt' doesn't match regexp '-00644 1 0'
which seems to be because that test blindly assumes umask 022:
> echo moo > baz/cow
[there is no chmod here]
This is a FTBFS, but I don't consider it to be release-critical,
because building as root is a weird thing to do. I've opened
debomatic issue <https://github.com/debomatic/debomatic/issues/36>.
Regards,
smcv
More information about the Pkg-utopia-maintainers
mailing list