summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Peter Michael Green [Thu, 28 Sep 2017 16:17:06 +0000 (17:17 +0100)]
Merge ostree (2017.11-2+rpi1) import into refs/heads/workingbranch
Jonathan Lebon [Wed, 20 Sep 2017 18:38:16 +0000 (18:38 +0000)]
rofiles-fuse: also pass mode for O_RDONLY
In the `O_RDONLY` case, we were calling `openat` without a mode
argument. However, it's perfectly legal (albeit unusual) to do
`open(O_RDONLY|O_CREAT)`. One such application that makes use of this is
`flock(1)`.
This was actually caught by `_FORTIFY_SOURCE=2`, and once we run
`rofiles-fuse` with `-f`, the message is clear:
```
*** invalid openat64 call: O_CREAT or O_TMPFILE without mode ***:
rofiles-fuse terminated
======= Backtrace: =========
/lib64/libc.so.6(+0x7c8dc)[0x7f36d9f188dc]
/lib64/libc.so.6(__fortify_fail+0x37)[0x7f36d9fbfaa7]
/lib64/libc.so.6(+0x10019a)[0x7f36d9f9c19a]
rofiles-fuse[0x401768]
...
```
Without `_FORTIFY_SOURCE`, the file gets created, but its mode is
completely random.
I ran into this while investigating
https://github.com/projectatomic/rpm-ostree/pull/1003.
Closes: #1200
Approved by: cgwalters
Origin: upstream, 2017.12, commit:
d4c7093e370843c57eab2f89f0c39ef449e6b32e
Gbp-Pq: Topic 2017.12
Gbp-Pq: Name rofiles-fuse-also-pass-mode-for-O_RDONLY.patch
Simon McVittie [Tue, 19 Sep 2017 17:37:58 +0000 (18:37 +0100)]
tests: Reset umask to 022 while creating test repository
In test-basic-root.sh we make assertions about the permissions
of files like baz/cow, which were created without an explicit chmod.
We can't do that unless we control the permissions.
For some reason the "debomatic" autobuilder used to do some Debian
archive rebuilds does the entire build including build-time tests
as uid 0 with umask 002, which broke those assertions. This seems
a weird thing to do, and I've opened a bug, but it also seems
reasonable to fix this test.
This also lets us remove a couple of existing workarounds for the
same issue.
Bug-Debian: https://bugs.debian.org/876138
Signed-off-by: Simon McVittie <smcv@collabora.com>
Closes: #1192
Approved by: cgwalters
Forwarded: https://github.com/ostreedev/ostree/pull/1192
Applied-upstream: 2017.12, commit:
e3c3ec5dd91492e82c79223052443d038c60f41c
Gbp-Pq: Topic 2017.12
Gbp-Pq: Name tests-Reset-umask-to-022-while-creating-test-repository.patch
Simon McVittie [Tue, 19 Sep 2017 13:41:18 +0000 (14:41 +0100)]
tests: Explicitly unset LANGUAGE after setting LC_ALL
As a GNU extension, LANGUAGE takes precedence over LC_ALL for
gettext(3) whenever the locale is not C, causing tests that grep for
specific English strings to fail when run in non-English locales.
The upstream glibc proposal for C.UTF-8 would give C.UTF-8 the same
special case as C here, but the implementation in Debian does not
currently have this, so we have to unset LANGUAGE too.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Forwarded: https://github.com/ostreedev/ostree/pull/1188
Applied-upstream: 2017.12, commit:
223c940b46a4bb335665df7436566b73cdf0effd
Gbp-Pq: Topic 2017.12
Gbp-Pq: Name tests-Explicitly-unset-LANGUAGE-after-setting-LC_ALL.patch
Simon McVittie [Fri, 15 Sep 2017 14:32:55 +0000 (15:32 +0100)]
tests: Fix JavaScript tests with gjs 1.50.0
In recent gjs, you can't declare a variable with "let" multiple times.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Closes: #1178
Approved by: cgwalters
Forwarded: https://github.com/ostreedev/ostree/pull/1178
Applied-upstream: 2017.12, commit:
1b430a776486d68be2d16a0ec53ad5512c604988
Gbp-Pq: Topic 2017.12
Gbp-Pq: Name tests-Fix-JavaScript-tests-with-gjs-1.50.0.patch
Peter Michael Green [Thu, 28 Sep 2017 16:17:06 +0000 (17:17 +0100)]
ostree (2017.11-2+rpi1) buster-staging; urgency=medium
* Disable testsuite.
[dgit import unpatched ostree 2017.11-2+rpi1]
Peter Michael Green [Thu, 28 Sep 2017 16:17:06 +0000 (17:17 +0100)]
Import ostree_2017.11-2+rpi1.debian.tar.xz
[dgit import tarball ostree 2017.11-2+rpi1 ostree_2017.11-2+rpi1.debian.tar.xz]
Simon McVittie [Fri, 22 Sep 2017 14:48:24 +0000 (15:48 +0100)]
Merge ostree (2017.11-2) import into refs/heads/workingbranch
Jonathan Lebon [Wed, 20 Sep 2017 18:38:16 +0000 (18:38 +0000)]
rofiles-fuse: also pass mode for O_RDONLY
In the `O_RDONLY` case, we were calling `openat` without a mode
argument. However, it's perfectly legal (albeit unusual) to do
`open(O_RDONLY|O_CREAT)`. One such application that makes use of this is
`flock(1)`.
This was actually caught by `_FORTIFY_SOURCE=2`, and once we run
`rofiles-fuse` with `-f`, the message is clear:
```
*** invalid openat64 call: O_CREAT or O_TMPFILE without mode ***:
rofiles-fuse terminated
======= Backtrace: =========
/lib64/libc.so.6(+0x7c8dc)[0x7f36d9f188dc]
/lib64/libc.so.6(__fortify_fail+0x37)[0x7f36d9fbfaa7]
/lib64/libc.so.6(+0x10019a)[0x7f36d9f9c19a]
rofiles-fuse[0x401768]
...
```
Without `_FORTIFY_SOURCE`, the file gets created, but its mode is
completely random.
I ran into this while investigating
https://github.com/projectatomic/rpm-ostree/pull/1003.
Closes: #1200
Approved by: cgwalters
Origin: upstream, 2017.12, commit:
d4c7093e370843c57eab2f89f0c39ef449e6b32e
Gbp-Pq: Topic 2017.12
Gbp-Pq: Name rofiles-fuse-also-pass-mode-for-O_RDONLY.patch
Simon McVittie [Tue, 19 Sep 2017 17:37:58 +0000 (18:37 +0100)]
tests: Reset umask to 022 while creating test repository
In test-basic-root.sh we make assertions about the permissions
of files like baz/cow, which were created without an explicit chmod.
We can't do that unless we control the permissions.
For some reason the "debomatic" autobuilder used to do some Debian
archive rebuilds does the entire build including build-time tests
as uid 0 with umask 002, which broke those assertions. This seems
a weird thing to do, and I've opened a bug, but it also seems
reasonable to fix this test.
This also lets us remove a couple of existing workarounds for the
same issue.
Bug-Debian: https://bugs.debian.org/876138
Signed-off-by: Simon McVittie <smcv@collabora.com>
Closes: #1192
Approved by: cgwalters
Forwarded: https://github.com/ostreedev/ostree/pull/1192
Applied-upstream: 2017.12, commit:
e3c3ec5dd91492e82c79223052443d038c60f41c
Gbp-Pq: Topic 2017.12
Gbp-Pq: Name tests-Reset-umask-to-022-while-creating-test-repository.patch
Simon McVittie [Tue, 19 Sep 2017 13:41:18 +0000 (14:41 +0100)]
tests: Explicitly unset LANGUAGE after setting LC_ALL
As a GNU extension, LANGUAGE takes precedence over LC_ALL for
gettext(3) whenever the locale is not C, causing tests that grep for
specific English strings to fail when run in non-English locales.
The upstream glibc proposal for C.UTF-8 would give C.UTF-8 the same
special case as C here, but the implementation in Debian does not
currently have this, so we have to unset LANGUAGE too.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Forwarded: https://github.com/ostreedev/ostree/pull/1188
Applied-upstream: 2017.12, commit:
223c940b46a4bb335665df7436566b73cdf0effd
Gbp-Pq: Topic 2017.12
Gbp-Pq: Name tests-Explicitly-unset-LANGUAGE-after-setting-LC_ALL.patch
Simon McVittie [Fri, 15 Sep 2017 14:32:55 +0000 (15:32 +0100)]
tests: Fix JavaScript tests with gjs 1.50.0
In recent gjs, you can't declare a variable with "let" multiple times.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Closes: #1178
Approved by: cgwalters
Forwarded: https://github.com/ostreedev/ostree/pull/1178
Applied-upstream: 2017.12, commit:
1b430a776486d68be2d16a0ec53ad5512c604988
Gbp-Pq: Topic 2017.12
Gbp-Pq: Name tests-Fix-JavaScript-tests-with-gjs-1.50.0.patch
Simon McVittie [Fri, 22 Sep 2017 14:48:24 +0000 (15:48 +0100)]
ostree (2017.11-2) unstable; urgency=medium
* Replace patch with the version applied upstream in 2017.12
* Standards-Version: 4.1.0 (no changes)
* Add a patch to fix FTBFS in non-English locales
* Add a patch to fix FTBFS if building as root with umask != 022,
which for some reason debomatic does (Closes: #876138)
* Add a patch from upstream to fix undefined behaviour with
O_RDONLY|O_CREAT in rofiles-fuse
[dgit import unpatched ostree 2017.11-2]
Simon McVittie [Fri, 22 Sep 2017 14:48:24 +0000 (15:48 +0100)]
Import ostree_2017.11-2.debian.tar.xz
[dgit import tarball ostree 2017.11-2 ostree_2017.11-2.debian.tar.xz]
Simon McVittie [Fri, 15 Sep 2017 15:58:15 +0000 (16:58 +0100)]
Import ostree_2017.11.orig.tar.xz
[dgit import orig ostree_2017.11.orig.tar.xz]
Simon McVittie [Fri, 15 Sep 2017 15:58:15 +0000 (16:58 +0100)]
Merge ostree (2017.11-1) import into refs/heads/workingbranch
Simon McVittie [Fri, 15 Sep 2017 14:32:55 +0000 (15:32 +0100)]
Fix JavaScript tests with gjs 1.50.0
In recent gjs, you can't declare a variable with "let" multiple times.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Gbp-Pq: Name Fix-JavaScript-tests-with-gjs-1.50.0.patch
Simon McVittie [Fri, 15 Sep 2017 15:58:15 +0000 (16:58 +0100)]
ostree (2017.11-1) unstable; urgency=medium
* New upstream release
- Drop all current patches, applied upstream
- Update symbols file
* Adjust Description and Upstream-Name to emphasize libostree
* Classify new ostree-tmpfiles.conf as part of ostree-boot, and so
don't install it yet
* Stop copying an old ostree-trivial-httpd.xml from debian/dist/
into source tree. Upstream distributes it again, and has since
2017.8.
* Add a patch to fix JavaScript tests with gjs 1.50.0, which is
more strict about 'let'
* Stop providing "ostree trivial-httpd" CLI, following upstream
default behaviour. flatpak used to use it in its tests, but
the version in stable no longer does.
[dgit import unpatched ostree 2017.11-1]
Simon McVittie [Fri, 15 Sep 2017 15:58:15 +0000 (16:58 +0100)]
Import ostree_2017.11-1.debian.tar.xz
[dgit import tarball ostree 2017.11-1 ostree_2017.11-1.debian.tar.xz]
Simon McVittie [Tue, 29 Aug 2017 17:18:49 +0000 (18:18 +0100)]
Merge ostree (2017.10-1) import into refs/heads/workingbranch
Simon McVittie [Tue, 29 Aug 2017 16:05:16 +0000 (17:05 +0100)]
Remove shebang from bash completions
bash completions are to be sourced. It makes little sense to
execute them.
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name Remove-shebang-from-bash-completions.patch
Simon McVittie [Tue, 29 Aug 2017 16:03:37 +0000 (17:03 +0100)]
test-basic-user-only: Skip final step if no user xattrs
We don't want to skip the entire test, because the whole point of
bare-user-only is that it works in the absence of xattrs; but we do
need to skip this last stage, which explicitly uses a bare-user
repository.
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name test-basic-user-only-Skip-final-step-if-no-user-xattrs.patch
Simon McVittie [Tue, 29 Aug 2017 16:02:43 +0000 (17:02 +0100)]
basic-test: Skip explicit uses of bare-user if no user xattrs
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name basic-test-Skip-explicit-uses-of-bare-user-if-no-user-xat.patch
Simon McVittie [Tue, 29 Aug 2017 16:02:18 +0000 (17:02 +0100)]
libtest: Allow skipping single checks without user xattrs
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name libtest-Allow-skipping-single-checks-without-user-xattrs.patch
Simon McVittie [Tue, 29 Aug 2017 16:01:41 +0000 (17:01 +0100)]
test-pull-bareuser.sh: This test uses bare-user, hence needs xattrs
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name test-pull-bareuser.sh-This-test-uses-bare-user-hence-need.patch
Simon McVittie [Tue, 29 Aug 2017 15:46:19 +0000 (16:46 +0100)]
test-libarchive-import: Skip if extended attributes are unsupported
This is the case at build-time on some (all?) Debian autobuilders.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Gbp-Pq: Name test-libarchive-import-Skip-if-extended-attributes-are-un.patch
Simon McVittie [Tue, 29 Aug 2017 17:18:49 +0000 (18:18 +0100)]
ostree (2017.10-1) unstable; urgency=medium
* New upstream release
- Update symbols file
- Install new bash completions
* Use dh_missing --fail-missing instead of dh_install --fail-missing
* Only run tests when building architecture-dependent packages.
The tests aren't so interesting that we want to run them again
when splitting -arch/-indep builds.
* Add patches to make the tests pass again when /var/tmp is on tmpfs,
which does not support user xattrs
* Add patch to remove useless #! from bash completions
* Make build-time test failures fatal again, but only if they are
reproducible (at least 3 times out of 5) for now
[dgit import unpatched ostree 2017.10-1]
Simon McVittie [Tue, 29 Aug 2017 17:18:49 +0000 (18:18 +0100)]
Import ostree_2017.10.orig.tar.xz
[dgit import orig ostree_2017.10.orig.tar.xz]
Simon McVittie [Tue, 29 Aug 2017 17:18:49 +0000 (18:18 +0100)]
Import ostree_2017.10-1.debian.tar.xz
[dgit import tarball ostree 2017.10-1 ostree_2017.10-1.debian.tar.xz]
Simon McVittie [Fri, 28 Jul 2017 13:43:30 +0000 (14:43 +0100)]
Merge ostree (2017.9-1) import into refs/heads/workingbranch
Simon McVittie [Fri, 28 Jul 2017 13:43:30 +0000 (14:43 +0100)]
ostree (2017.9-1) unstable; urgency=medium
* New upstream release
- Drop backported patch
- Update symbols file
* debian/rules: Adjust a comment to avoid Lintian thinking this is a
dh_make template
[dgit import unpatched ostree 2017.9-1]
Simon McVittie [Fri, 28 Jul 2017 13:43:30 +0000 (14:43 +0100)]
Import ostree_2017.9.orig.tar.xz
[dgit import orig ostree_2017.9.orig.tar.xz]
Simon McVittie [Fri, 28 Jul 2017 13:43:30 +0000 (14:43 +0100)]
Import ostree_2017.9-1.debian.tar.xz
[dgit import tarball ostree 2017.9-1 ostree_2017.9-1.debian.tar.xz]
Simon McVittie [Wed, 19 Jul 2017 21:18:20 +0000 (22:18 +0100)]
Merge ostree (2017.8-1) import into refs/heads/workingbranch
Colin Walters [Wed, 19 Jul 2017 13:19:16 +0000 (09:19 -0400)]
lib/commit: Fix EBADF with GENERATE_SIZES option for commit
Regression from previous tmpfile refactoring; unfortunately
the `OSTREE_REPO_COMMIT_MODIFIER_FLAGS_GENERATE_SIZES` option
only has coverage via gjs currently.
Might expose it via the cmdline in a later option, but in the big picture the
idea was that this data is better kept in static deltas.
Bug: https://github.com/ostreedev/ostree/issues/1014
Forwarded: https://github.com/ostreedev/ostree/pull/1016
Gbp-Pq: Name lib-commit-Fix-EBADF-with-GENERATE_SIZES-option-for-commi.patch
Simon McVittie [Wed, 19 Jul 2017 21:18:20 +0000 (22:18 +0100)]
ostree (2017.8-1) unstable; urgency=medium
* New upstream release
- Update symbols file
- Remove patches that are no longer needed
- Add patch from upstream PR #1016 to fix a regression
* Add a Breaks on flatpak (<< 0.8.7-2~), which rely on libostree to
download the summary and its signature when mirroring.
libostree >= 2017.7 no longer does this. On affected flatpak versions,
this breaks installation of new apps and runtimes system-wide.
* Add Build-Depends-Indep: libglib2.0-doc so gtk-doc can set up
cross-references
[dgit import unpatched ostree 2017.8-1]
Simon McVittie [Wed, 19 Jul 2017 21:18:20 +0000 (22:18 +0100)]
Import ostree_2017.8.orig.tar.xz
[dgit import orig ostree_2017.8.orig.tar.xz]
Simon McVittie [Wed, 19 Jul 2017 21:18:20 +0000 (22:18 +0100)]
Import ostree_2017.8-1.debian.tar.xz
[dgit import tarball ostree 2017.8-1 ostree_2017.8-1.debian.tar.xz]
Simon McVittie [Wed, 21 Jun 2017 12:06:54 +0000 (13:06 +0100)]
Merge ostree (2017.7-1) import into refs/heads/workingbranch
Philip Withnall [Tue, 20 Jun 2017 16:38:15 +0000 (17:38 +0100)]
build: Add ‘devel’ or ‘release’ to OSTREE_FEATURES for test-symbols.sh
test-symbols.sh was looking for the DevelBuild string, which is actually
part of the output from `ostree --version`, not $OSTREE_FEATURES.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #948
Approved by: cgwalters
Origin: upstream, 2017.8, commit:
fd50c9732231895b18cd8158726e7f77bc8dcae6
Gbp-Pq: Name build-Add-devel-or-release-to-OSTREE_FEATURES-for-test-sy.patch
Colin Walters [Mon, 19 Jun 2017 15:23:45 +0000 (11:23 -0400)]
main: DevelBuild=yes to `ostree --version` for devel builds
And use it in `test-symbols.sh`, to fix the `distcheck` case;
the previous change stopped distributing `libostree-devel.sym`
in release builds.
Closes: #944
Approved by: jlebon
Origin: upstream, 2017.8, commit:
2a082b20b8da2ffecb4f2c0e179a961c0fd26bd0
Gbp-Pq: Name main-DevelBuild-yes-to-ostree-version-for-devel-builds.patch
Simon McVittie [Wed, 21 Jun 2017 12:06:54 +0000 (13:06 +0100)]
ostree (2017.7-1) unstable; urgency=medium
* New upstream release
- Update symbols file
- Add post-release patches so test-symbols.sh passes again
- debian/dist/: Add ostree-trivial-httpd.xml, which was incorrectly
excluded from the upstream release
* Standards-Version: 4.0.0
- Use https URL for copyright-format
* Implement <nodoc> build profile
* Upload to unstable
[dgit import unpatched ostree 2017.7-1]
Simon McVittie [Wed, 21 Jun 2017 12:06:54 +0000 (13:06 +0100)]
Import ostree_2017.7.orig.tar.xz
[dgit import orig ostree_2017.7.orig.tar.xz]
Simon McVittie [Wed, 21 Jun 2017 12:06:54 +0000 (13:06 +0100)]
Import ostree_2017.7-1.debian.tar.xz
[dgit import tarball ostree 2017.7-1 ostree_2017.7-1.debian.tar.xz]
Simon McVittie [Thu, 19 Jan 2017 13:23:32 +0000 (13:23 +0000)]
Merge ostree (2016.15-3) import into refs/heads/workingbranch
Simon McVittie [Thu, 19 Jan 2017 11:34:57 +0000 (11:34 +0000)]
Make corrupt-repo-ref.js executable
Debian's Lintian packaging consistency check complains that it isn't
executable but has a #! line. In fact it's reasonable to run this
script directly, so make it executable, and put it in a _scripts
variable so it will be installed executable.
Forwarded: https://github.com/ostreedev/ostree/pull/652
Gbp-Pq: Name Make-corrupt-repo-ref.js-executable.patch
Simon McVittie [Thu, 19 Jan 2017 11:23:30 +0000 (11:23 +0000)]
Sourced test snippets: remove shebang and make non-executable
They are installed non-executable, which makes Debian's Lintian
packaging consistency check complain that #! is only useful
in executable scripts. But in fact they are not useful to execute
directly (they rely on setup being done in the script that sources
them), so just chmod them -x.
Forwarded: https://github.com/ostreedev/ostree/pull/652
Gbp-Pq: Name Sourced-test-snippets-remove-shebang-and-make-non-executa.patch
Simon McVittie [Thu, 19 Jan 2017 11:21:58 +0000 (11:21 +0000)]
Fix TAP syntax in test-basic-user.sh, and run it
In its initial commit, Alexander Larsson wrote
This works standalone, but unfortunately it breaks in
gnome-desktop-testing-runner as /tmp doesn't support
xattrs, so it is not installed atm.
but we now (a) use /var/tmp, and (b) explicitly skip the test if
xattr support is unavailable. So it should be OK to run now.
Forwarded: https://github.com/ostreedev/ostree/pull/652
Gbp-Pq: Name Fix-TAP-syntax-in-test-basic-user.sh-and-run-it.patch
Simon McVittie [Thu, 19 Jan 2017 13:23:32 +0000 (13:23 +0000)]
ostree (2016.15-3) unstable; urgency=medium
* debian/control: Don't run gjs tests on sparc64. gjs doesn't seem
to work there at all (#827815)
- d/ostree-tests.lintian-overrides: silence
missing-dep-for-interpreter error on sparc64, where we install
the script but do not attempt to run it
* debian/tests/gnome-desktop-testing: Skip test-local-pull.sh.test
which suffers from a known bug (#842606)
* debian/tests/gnome-desktop-testing: Fail if no tests were found
- debian/tests/test-local-pull: Run the unreliable test separately,
repeated 3 times to assess how often it fails
* d/p/Sourced-test-snippets-remove-shebang-and-make-non-executa.patch,
d/p/Make-corrupt-repo-ref.js-executable.patch:
Fix permissions and #! lines for some tests in the upstream build
system
* d/rules: remove workarounds for script permissions.
The upstream build system now uses the intended permissions throughout.
- Retain explicit chmod for *.js, which dh_fixperms assumes should
not be executable.
* d/p/Fix-TAP-syntax-in-test-basic-user.sh-and-run-it.patch:
Run an additional test, which was previously installed but not run
[dgit import unpatched ostree 2016.15-3]
Simon McVittie [Thu, 19 Jan 2017 13:23:32 +0000 (13:23 +0000)]
Import ostree_2016.15-3.debian.tar.xz
[dgit import tarball ostree 2016.15-3 ostree_2016.15-3.debian.tar.xz]
Simon McVittie [Tue, 20 Dec 2016 11:28:41 +0000 (11:28 +0000)]
Merge ostree (2016.15-2) import into refs/heads/workingbranch
Raspbian Automatic git importer [Thu, 22 Dec 2016 08:07:02 +0000 (08:07 +0000)]
Merge ostree (2016.14-2) import into refs/heads/workingbranch
Raspbian Automatic git importer [Thu, 22 Dec 2016 08:07:03 +0000 (08:07 +0000)]
Merge ostree (2016.13-1) import into refs/heads/workingbranch
Raspbian Automatic git importer [Thu, 22 Dec 2016 08:07:03 +0000 (08:07 +0000)]
Merge ostree (2016.12-2) import into refs/heads/workingbranch
Raspbian Automatic git importer [Thu, 22 Dec 2016 08:07:01 +0000 (08:07 +0000)]
Merge ostree (2016.11-1) import into refs/heads/workingbranch
Simon McVittie [Tue, 20 Dec 2016 11:28:41 +0000 (11:28 +0000)]
ostree (2016.15-2) unstable; urgency=medium
* Make all test failures non-fatal at build time, so that intermittent
test failures do not interfere with possible security updates during
Debian stretch-as-stable.
[dgit import unpatched ostree 2016.15-2]
Simon McVittie [Tue, 20 Dec 2016 11:28:41 +0000 (11:28 +0000)]
Import ostree_2016.15-2.debian.tar.xz
[dgit import tarball ostree 2016.15-2 ostree_2016.15-2.debian.tar.xz]
Simon McVittie [Tue, 13 Dec 2016 13:13:44 +0000 (13:13 +0000)]
Import ostree_2016.15.orig.tar.xz
[dgit import orig ostree_2016.15.orig.tar.xz]
Simon McVittie [Thu, 1 Dec 2016 11:25:33 +0000 (11:25 +0000)]
Terminate individual tests after 10 minutes
While using the Automake parallel test harness, if a test hangs for
long enough for an external watchdog to kill the entire build process
(as happens in Debian sbuild after 150 minutes with no activity on
stdout/stderr), the logs will not be shown. If we make an individual
test time out sooner, logs are more likely to be shown.
We use SIGABRT so that the process(es) under test will dump core,
allowing the point at which ostree is blocking to be analyzed.
After 1 minute, if any have not died, we kill them again with SIGKILL.
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://github.com/ostreedev/ostree/pull/607
Gbp-Pq: Name Terminate-individual-tests-after-10-minutes.patch
Colin Walters [Tue, 29 Nov 2016 03:03:53 +0000 (22:03 -0500)]
tests: Fix leaks
Just for cleaner sanitizer output.
Closes: #598
Approved by: jlebon
Gbp-Pq: Name ASAN-tests-Fix-leaks.patch
Colin Walters [Tue, 29 Nov 2016 03:03:24 +0000 (22:03 -0500)]
set-origin: Squash a leak
Just a minor leak in the commandline.
Closes: #598
Approved by: jlebon
Gbp-Pq: Name ASAN-set-origin-Squash-a-leak.patch
Colin Walters [Tue, 29 Nov 2016 03:02:42 +0000 (22:02 -0500)]
bootconfig: Drop a pointless strdup in parser
Not entirely sure how this was leaking, but anyways it showed
up in ASAN, and it's pointless to strdup here.
Closes: #598
Approved by: jlebon
Gbp-Pq: Name ASAN-bootconfig-Drop-a-pointless-strdup-in-parser.patch
Colin Walters [Tue, 29 Nov 2016 03:01:33 +0000 (22:01 -0500)]
metalink: Fix leaks of buffer
We should be religious about the "only set output variables on
success", otherwise it makes leaks more likely.
But the real leak was us simply not using autoptr in one place.
Closes: #598
Approved by: jlebon
Gbp-Pq: Name ASAN-metalink-Fix-leaks-of-buffer.patch
Colin Walters [Tue, 29 Nov 2016 03:00:01 +0000 (22:00 -0500)]
sysroot: Fix leak/double free of keyfile origin
Use autoptr rather than manual cleanup. The double free isn't a
security problem, since we trust origin files.
Closes: #598
Approved by: jlebon
Gbp-Pq: Name ASAN-sysroot-Fix-leak-double-free-of-keyfile-origin.patch
Colin Walters [Tue, 29 Nov 2016 02:14:47 +0000 (21:14 -0500)]
traverse: Use g_hash_table_add
And "move semantics" via `g_steal_pointer()`. Just a minor code
cleanup I noticed when I was hunting for a leak, which ended up being
elsewhere.
Closes: #598
Approved by: jlebon
Gbp-Pq: Name traverse-Use-g_hash_table_add.patch
Colin Walters [Tue, 29 Nov 2016 02:12:53 +0000 (21:12 -0500)]
cmdline: Fix minor leak in delta cmdline entrypoint
Small, but it's important to stay clean.
Closes: #598
Approved by: jlebon
Gbp-Pq: Name ASAN-cmdline-Fix-minor-leak-in-delta-cmdline-entrypoint.patch
Colin Walters [Tue, 29 Nov 2016 02:12:23 +0000 (21:12 -0500)]
deltas: Fix minor memory leak
We were leaking the checksum, ensure we free it in both normal and
error paths.
Closes: #598
Approved by: jlebon
Gbp-Pq: Name ASAN-deltas-Fix-minor-memory-leak.patch
Colin Walters [Tue, 29 Nov 2016 02:11:37 +0000 (21:11 -0500)]
delta compilation: More leak fixes
Now that I remembered to do `env G_SLICE=always-malloc`, lots more
leaks become apparent. Nothing major.
Closes: #598
Approved by: jlebon
Gbp-Pq: Name ASAN-delta-compilation-More-leak-fixes.patch
Alexander Larsson [Mon, 28 Nov 2016 16:21:59 +0000 (17:21 +0100)]
delta compilation: Fix leak
We need to ref-sik the new varian for g_autoptr to work
Closes: #597
Approved by: cgwalters
Origin: upstream, 2016.15, commit:
d57036f
Gbp-Pq: Name delta-compilation-Fix-leak.patch
Alexander Larsson [Mon, 28 Nov 2016 14:57:11 +0000 (15:57 +0100)]
pull: Don't leak delta superblock variants
Closes: #596
Approved by: cgwalters
Origin: upstream, 2016.15, commit:
36f7824
Gbp-Pq: Name pull-Don-t-leak-delta-superblock-variants.patch
Alexander Larsson [Mon, 28 Nov 2016 14:56:50 +0000 (15:56 +0100)]
pull_with_options: Don't leak csum_v
Closes: #596
Approved by: cgwalters
Origin: upstream, 2016.15, commit:
239cb14
Gbp-Pq: Name pull_with_options-Don-t-leak-csum_v.patch
Alexander Larsson [Mon, 28 Nov 2016 14:31:04 +0000 (15:31 +0100)]
ostree-repo-traverse: Don't leak floating GVariant
ostree_object_name_serialize returns a floating ref, so we need
to sink it before putting in the hashtable.
Closes: #595
Approved by: cgwalters
Origin: upstream, 2016.15, commit:
fc107e5
Gbp-Pq: Name ostree-repo-traverse-Don-t-leak-floating-GVariant.patch
Alexander Larsson [Mon, 28 Nov 2016 12:58:19 +0000 (13:58 +0100)]
pull: scan_commit_object() - don't load variant twice
ostree_repo_load_commit already loaded the object, no need
to load it twice.
Closes: #595
Approved by: cgwalters
Origin: upstream, 2016.15, commit:
c9b158e
Gbp-Pq: Name pull-scan_commit_object-don-t-load-variant-twice.patch
Jasper St. Pierre [Wed, 23 Nov 2016 21:52:39 +0000 (13:52 -0800)]
ostree-repo-traverse: Remove an accidental print statement
Closes: #594
Approved by: jlebon
Origin: upstream, 2016.15, commit:
70d140d
Gbp-Pq: Name ostree-repo-traverse-Remove-an-accidental-print-statement.patch
Simon McVittie [Thu, 1 Dec 2016 12:38:54 +0000 (12:38 +0000)]
ostree (2016.14-2) unstable; urgency=medium
* Make build-time test failures non-fatal, as long as at least
3 out of 5 attempts succeed.
There are several upstream bugs that cause intermittent test
failures, and can intermittently be reproduced in real use.
However, these are not regressions, so we should not FTBFS just
because we happen to have been unlucky during build.
* d/p/Terminate-individual-tests-after-10-minutes.patch:
replace d/p/debian/Terminate-individual-tests-after-half-an-hour.patch
with the version that I sent upstream, which uses SIGABRT and
terminates the tests sooner
* d/p/*.patch: import more memory leak fixes from upstream
[dgit import unpatched ostree 2016.14-2]
Simon McVittie [Thu, 1 Dec 2016 12:38:54 +0000 (12:38 +0000)]
Import ostree_2016.14-2.debian.tar.xz
[dgit import tarball ostree 2016.14-2 ostree_2016.14-2.debian.tar.xz]
Simon McVittie [Tue, 29 Nov 2016 11:05:44 +0000 (11:05 +0000)]
Import ostree_2016.14.orig.tar.xz
[dgit import orig ostree_2016.14.orig.tar.xz]
Simon McVittie [Fri, 9 Sep 2016 07:23:36 +0000 (08:23 +0100)]
Terminate individual tests after half an hour
While using the Automake parallel test harness, if a test hangs for
long enough for an external watchdog to kill the entire build process
(as happens in Debian sbuild after 150 minutes with no activity on
stdout/stderr), the logs will not be shown. If we make an individual
test time out sooner, logs are more likely to be shown.
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name Terminate-individual-tests-after-half-an-hour.patch
Simon McVittie [Sun, 20 Nov 2016 21:58:11 +0000 (21:58 +0000)]
ostree (2016.13-1) unstable; urgency=medium
* New upstream release
- d/p/dist/Retrieve-some-missing-test-files-from-upstream-git.patch:
remove, 2016.13 was released with a fixed "make dist"
- d/p/Filter-bootloader-supplied-kernel-cmdline-options.patch:
remove, merged upstream
* d/copyright: drop copyright and license stanzas for files that are
in upstream git but not in tarballs
[dgit import unpatched ostree 2016.13-1]
Simon McVittie [Sun, 20 Nov 2016 21:58:11 +0000 (21:58 +0000)]
Import ostree_2016.13.orig.tar.xz
[dgit import orig ostree_2016.13.orig.tar.xz]
Simon McVittie [Sun, 20 Nov 2016 21:58:11 +0000 (21:58 +0000)]
Import ostree_2016.13-1.debian.tar.xz
[dgit import tarball ostree 2016.13-1 ostree_2016.13-1.debian.tar.xz]
Sjoerd Simons [Sun, 30 Oct 2016 20:06:27 +0000 (21:06 +0100)]
Filter bootloader supplied kernel cmdline options
Various bootloader add kernel commandline options dynamically, filter
these out when grabbing boot options from /proc/cmdline. Specifically
grub adds BOOT_IMAGE and systemd-boot adds initrd.
Closes: #560
Approved by: cgwalters
Gbp-Pq: Name Filter-bootloader-supplied-kernel-cmdline-options.patch
Simon McVittie [Fri, 7 Oct 2016 22:14:40 +0000 (23:14 +0100)]
Retrieve some missing test files from upstream git
These were missing from "make dist".
Gbp-Pq: Topic dist
Gbp-Pq: Name Retrieve-some-missing-test-files-from-upstream-git.patch
Simon McVittie [Fri, 9 Sep 2016 07:23:36 +0000 (08:23 +0100)]
Terminate individual tests after half an hour
While using the Automake parallel test harness, if a test hangs for
long enough for an external watchdog to kill the entire build process
(as happens in Debian sbuild after 150 minutes with no activity on
stdout/stderr), the logs will not be shown. If we make an individual
test time out sooner, logs are more likely to be shown.
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name Terminate-individual-tests-after-half-an-hour.patch
Sjoerd Simons [Thu, 3 Nov 2016 21:48:01 +0000 (21:48 +0000)]
ostree (2016.12-2) unstable; urgency=medium
* d/p/Filter-bootloader-supplied-kernel-cmdline-options.patch:
- Filter out kernel command line parameters set by the bootloading when
deriving the configuration from /proc/cmdline.
* Add myself to uploaders
[dgit import unpatched ostree 2016.12-2]
Sjoerd Simons [Thu, 3 Nov 2016 21:48:01 +0000 (21:48 +0000)]
Import ostree_2016.12-2.debian.tar.xz
[dgit import tarball ostree 2016.12-2 ostree_2016.12-2.debian.tar.xz]
Simon McVittie [Wed, 26 Oct 2016 18:11:14 +0000 (18:11 +0000)]
Import ostree_2016.12.orig.tar.xz
[dgit import orig ostree_2016.12.orig.tar.xz]
Simon McVittie [Fri, 7 Oct 2016 22:14:40 +0000 (23:14 +0100)]
Retrieve some missing test files from upstream git
These were missing from "make dist".
Gbp-Pq: Topic dist
Gbp-Pq: Name Retrieve-some-missing-test-files-from-upstream-git.patch
Simon McVittie [Fri, 9 Sep 2016 07:23:36 +0000 (08:23 +0100)]
Terminate individual tests after half an hour
While using the Automake parallel test harness, if a test hangs for
long enough for an external watchdog to kill the entire build process
(as happens in Debian sbuild after 150 minutes with no activity on
stdout/stderr), the logs will not be shown. If we make an individual
test time out sooner, logs are more likely to be shown.
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name Terminate-individual-tests-after-half-an-hour.patch
Simon McVittie [Fri, 7 Oct 2016 22:39:06 +0000 (22:39 +0000)]
ostree (2016.11-1) unstable; urgency=medium
* New upstream release
* Relicense debian/ from GPL-2+ to LGPL-2+, with permission from
David King
* Install GObject-Introspection typelibs to multiarch path,
and mark gir1.2-ostree-1.0 as Multi-Arch: same
* libostree-dev: stop depending on ostree. It isn't necessary to
use the library, and would break multiarch installability
* Move to debhelper compat level 10
- stop using dh --parallel, it's the default now
- don't use autoreconf and systemd addons explicitly, they are
the default now
* d/p/dist/Retrieve-some-missing-test-files-from-upstream-git.patch:
fetch missing test files from upstream git
- debian/rules: make the missing scripts executable
[dgit import unpatched ostree 2016.11-1]
Simon McVittie [Fri, 7 Oct 2016 22:39:06 +0000 (22:39 +0000)]
Import ostree_2016.11.orig.tar.xz
[dgit import orig ostree_2016.11.orig.tar.xz]
Simon McVittie [Fri, 7 Oct 2016 22:39:06 +0000 (22:39 +0000)]
Import ostree_2016.11-1.debian.tar.xz
[dgit import tarball ostree 2016.11-1 ostree_2016.11-1.debian.tar.xz]
Simon McVittie [Fri, 9 Sep 2016 07:23:36 +0000 (08:23 +0100)]
Terminate individual tests after half an hour
While using the Automake parallel test harness, if a test hangs for
long enough for an external watchdog to kill the entire build process
(as happens in Debian sbuild after 150 minutes with no activity on
stdout/stderr), the logs will not be shown. If we make an individual
test time out sooner, logs are more likely to be shown.
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name Terminate-individual-tests-after-half-an-hour.patch
Simon McVittie [Thu, 15 Sep 2016 07:26:51 +0000 (07:26 +0000)]
ostree (2016.10-1) unstable; urgency=medium
* New upstream release
* Make libostree-dev Multi-Arch: same
* Make libostree-doc Multi-Arch: foreign
[dgit import unpatched ostree 2016.10-1]
Simon McVittie [Thu, 15 Sep 2016 07:26:51 +0000 (07:26 +0000)]
Import ostree_2016.10.orig.tar.xz
[dgit import orig ostree_2016.10.orig.tar.xz]
Simon McVittie [Thu, 15 Sep 2016 07:26:51 +0000 (07:26 +0000)]
Import ostree_2016.10-1.debian.tar.xz
[dgit import tarball ostree 2016.10-1 ostree_2016.10-1.debian.tar.xz]