Merge ~sergiodj/ubuntu/+source/coreutils:coreutils-merge-8.32-2 into ubuntu/+source/coreutils:debian/sid

Proposed by Sergio Durigan Junior
Status: Merged
Merge reported by: Sergio Durigan Junior
Merged at revision: 90345b5e3fdcebe38051cada1004acd81fa0c414
Proposed branch: ~sergiodj/ubuntu/+source/coreutils:coreutils-merge-8.32-2
Merge into: ubuntu/+source/coreutils:debian/sid
Diff against target: 1632 lines (+1290/-32)
16 files modified
debian/changelog (+519/-1)
debian/control (+2/-1)
debian/patches/61_whoips.patch (+10/-10)
debian/patches/63_dd-appenderrors.patch (+4/-4)
debian/patches/72_id_checkngroups.patch (+4/-4)
debian/patches/80_fedora_sysinfo.patch (+74/-0)
debian/patches/85_timer_settime.patch (+5/-5)
debian/patches/99_float_endian_detection.patch (+65/-0)
debian/patches/99_kfbsd_fstat_patch.patch (+4/-4)
debian/patches/improve-removed-directory-test.patch (+49/-0)
debian/patches/restore-ls-behavior-8.31.patch (+126/-0)
debian/patches/series (+5/-0)
debian/patches/treat-devtmpfs-and-squashfs-as-dummy-filesystems.patch (+32/-0)
debian/rules (+41/-3)
debian/tests/control (+2/-0)
debian/tests/upstream (+348/-0)
Reviewer Review Type Date Requested Status
Bryce Harrington (community) Needs Fixing
Canonical Server Pending
Review via email: mp+388088@code.launchpad.net

Description of the change

This is the merge of Debian's coreutils 8.32-3.

The merge was relatively painless. I'm keeping the delta since it has been there forever; I do think that some of it could be proposed to Debian, so I'll try to do that.

The "problematic" part of the merge was to solve the ARM64 build failure that was happening. This is a well known issue (https://lists.gnu.org/archive/html/bug-coreutils/2020-03/msg00005.html) and upstream already fixed it, so I backported the patches required to implement the solution. The first patch (restore-ls-behavior-8.31.patch) is the actual fix, but I decided to backport the other patch (improve-removed-directory-test.patch) because it improves the testing, which might fail during dep8.

The PPA with the new version of coreutils can be found here:

https://launchpad.net/~sergiodj/+archive/ubuntu/coreutils-merge

I've ran the dep8 tests from the package on amd64 and ARM64, just to make sure things are OK, and they are:

amd64:
autopkgtest [18:49:57]: test upstream: -----------------------]
autopkgtest [18:49:57]: test upstream: - - - - - - - - - - results - - - - - - - - - -
upstream PASS
autopkgtest [18:49:58]: @@@@@@@@@@@@@@@@@@@@ summary
upstream PASS

ARM64:
autopkgtest [23:23:19]: test upstream: -----------------------]
autopkgtest [23:23:20]: test upstream: - - - - - - - - - - results - - - - - - - - - -
upstream PASS
autopkgtest [23:23:21]: @@@@@@@@@@@@@@@@@@@@ summary
upstream PASS

To post a comment you must log in.
Revision history for this message
Bryce Harrington (bryce) wrote :

* Changelog:
  - [√] old content and logical tag match as expected
  - [√] changelog entry correct version and targeted codename
  - [√] changelog entries correct
  - [√] update-maintainer has been run

* Actual changes:
  - [√] no upstream changes to consider
  - [√] no further upstream version to consider
  - [√] debian changes look safe

* Old Delta:
  - [√] dropped changes are ok to be dropped
  - [√] nothing else to drop
  - [√] changes forwarded upstream/debian (if appropriate)

* New Delta:
  - [-] no new patches added
  - [√] patches match what was proposed upstream
  - [√] patches correctly included in debian/patches/series
  - [√] patches have correct DEP3 metadata

* Build/Test:
  - [√] build is ok
  - [√] verified PPA package installs/uninstalls
  - [√] autopkgtest against the PPA package passes
  - [-] sanity checks test fine

Built fine in lxc container, autopkgtests passed fine, and install/uninstall had no troubles.

Reviewed and verified the two new patches against upstream. Is there a Ubuntu bug to associate with them? If there is, make sure to mention them; if not no biggie. Only other change I'd suggest for the patches is a bit of wording, but it's a super minor nitpick:

      which is necessary to prevent using SYS_getdents which doesn't exist on
      ARM64.

If you change the second 'which' to 'that', the grammar will read a bit smoother.

The delta appears to have all been accounted for and carried forward. It sounds like you're attempting to push some upstream, which is great. There is one formatting error:

    - debian/rules:
      + Allow crossbuilding
      + Run tests
    - Ignore the cut-huge-range test failure on armhf, only seen on the
      buildds.

That second bullet should be a sub-bullet of the first. I.e.:

    - debian/rules:
      + Allow crossbuilding
      + Run tests
      + Ignore the cut-huge-range test failure on armhf, only seen on the
        buildds.

As a future note, I have generally tried to split up the distinct changes in rules (and control) as separate commits. I figure that might make it simpler to drop rules delta in the future. But since coreutils hasn't been maintained in git-ubuntu before, at least having the changes split out by file will be an improvement. But do fix up the changelog entry formatting at least, to avoid confusion.

review: Needs Fixing
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

On Monday, July 27 2020, Bryce Harrington wrote:

> Reviewed and verified the two new patches against upstream. Is there a Ubuntu bug to associate with them? If there is, make sure to mention them; if not no biggie.

No, there isn't a bug filed for this failure on Ubuntu. I looked :-).
I thought about filing one, but thought that it doesn't really make
sense, because the updated package hasn't been uploaded yet, so there is
no bug yet, pedantically speaking.

> Only other change I'd suggest for the patches is a bit of wording, but it's a super minor nitpick:
>
> which is necessary to prevent using SYS_getdents which doesn't exist on
> ARM64.
>
> If you change the second 'which' to 'that', the grammar will read a bit smoother.

Changed, thanks!

> The delta appears to have all been accounted for and carried forward. It sounds like you're attempting to push some upstream, which is great. There is one formatting error:
>
> - debian/rules:
> + Allow crossbuilding
> + Run tests
> - Ignore the cut-huge-range test failure on armhf, only seen on the
> buildds.
>
> That second bullet should be a sub-bullet of the first. I.e.:
>
> - debian/rules:
> + Allow crossbuilding
> + Run tests
> + Ignore the cut-huge-range test failure on armhf, only seen on the
> buildds.
>
> As a future note, I have generally tried to split up the distinct changes in rules (and control) as separate commits. I figure that might make it simpler to drop rules delta in the future. But since coreutils hasn't been maintained in git-ubuntu before, at least having the changes split out by file will be an improvement. But do fix up the changelog entry formatting at least, to avoid confusion.

Yeah, I agree that splitting the changes even more would be beneficial.
The changes are intertwined, and I'd have to rewrite some of the code
there in order to properly separate them, so I thought it'd be better to
leave the d/rules modifications as one single commit, at least for now
(after all, they kind of make sense together).

I've fixed the formatting, thanks for pointing it out.

I'll force-push the branch soon.

--
Sergio
GPG key ID: E92F D0B3 6B14 F1F4 D8E0 EB2F 106D A1C8 C3CB BF14

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Bryce has merged this one.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 5b0dad9..879d94d 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,36 @@
6+coreutils (8.32-3ubuntu1) groovy; urgency=medium
7+
8+ * Merge with Debian unstable (LP: #1888046). Remaining changes:
9+ - debian/rules:
10+ + Allow crossbuilding
11+ + Run tests
12+ + Ignore the cut-huge-range test failure on armhf, only seen on
13+ the buildds.
14+ - debian/tests:
15+ + Add dep8 tests
16+ - debian/patches/80_fedora_sysinfo.patch
17+ + Make 'uname -i -p' return the real processor/hardware,
18+ instead of unknown.
19+ - debian/patches/99_float_endian_detection.patch:
20+ + Fix detection of floating point endianness.
21+ - d/p/treat-devtmpfs-and-squashfs-as-dummy-filesystems.patch:
22+ + Avoid displaying snaps in output from df and other tools, by
23+ excluding display of squashfs filesystems.
24+ (LP #1219529, #1756595)
25+ + Exclude devtmpfs filesystems in output from df and other tools
26+ since it is a dummy filesystem.
27+ (LP #1219529)
28+ * Refresh d/patches/.
29+ * Fix FTBFS on ARM64.
30+ - d/p/restore-ls-behavior-8.31.patch: Upstream patch to restore
31+ coreutils ls' 8.31 behavior on removed directories, which is
32+ necessary to prevent using SYS_getdents that doesn't exist on
33+ ARM64.
34+ - d/p/improve-removed-directory-test.patch: Upstream patch to
35+ improve ls' removed-directory test.
36+
37+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Fri, 24 Jul 2020 15:01:15 -0400
38+
39 coreutils (8.32-3) unstable; urgency=low
40
41 * build with libgmp now that apt pulls it in anyway (Closes: #64527)
42@@ -20,6 +53,42 @@ coreutils (8.32-1) unstable; urgency=low
43
44 -- Michael Stone <mstone@debian.org> Mon, 22 Jun 2020 14:39:28 -0400
45
46+coreutils (8.30-3ubuntu3) groovy; urgency=medium
47+
48+ * d/p/treat-devtmpfs-and-squashfs-as-dummy-filesystems.patch:
49+ - Avoid displaying snaps in output from df and other tools, by
50+ excluding display of squashfs filesystems.
51+ (LP: #1219529, #1756595)
52+ - Exclude devtmpfs filesystems in output from df and other tools
53+ since it is a dummy filesystem.
54+ (LP: #1219529)
55+
56+ -- Bryce Harrington <bryce@canonical.com> Thu, 02 Jul 2020 02:30:48 +0000
57+
58+coreutils (8.30-3ubuntu2) eoan; urgency=medium
59+
60+ * No-change upload with strops.h and sys/strops.h removed in glibc.
61+
62+ -- Matthias Klose <doko@ubuntu.com> Thu, 05 Sep 2019 10:38:40 +0000
63+
64+coreutils (8.30-3ubuntu1) eoan; urgency=low
65+
66+ * Merge from Debian unstable. Remaining changes:
67+ - debian/rules:
68+ + Allow crossbuilding
69+ + Run tests
70+ - debian/tests:
71+ + Add dep8 tests
72+ - debian/patches/80_fedora_sysinfo.patch
73+ + Make 'uname -i -p' return the real processor/hardware,
74+ instead of unknown.
75+ - debian/patches/99_float_endian_detection.patch:
76+ + Fix detection of floating point endianness.
77+ - Ignore the cut-huge-range test failure on armhf, only seen on the
78+ buildds.
79+
80+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 22 Apr 2019 11:35:09 -0700
81+
82 coreutils (8.30-3) unstable; urgency=medium
83
84 * Fix renameat2 patch (Closes: #923420)
85@@ -34,6 +103,28 @@ coreutils (8.30-2) unstable; urgency=medium
86
87 -- Michael Stone <mstone@debian.org> Tue, 26 Feb 2019 07:15:19 -0500
88
89+coreutils (8.30-1ubuntu1) disco; urgency=low
90+
91+ * Merge from Debian unstable. Remaining changes:
92+ - debian/rules:
93+ + Allow crossbuilding
94+ + Run tests
95+ - debian/tests:
96+ + Add dep8 tests
97+ - debian/patches/80_fedora_sysinfo.patch
98+ + Make 'uname -i -p' return the real processor/hardware,
99+ instead of unknown.
100+ - debian/patches/99_float_endian_detection.patch:
101+ + Fix detection of floating point endianness.
102+ - Ignore the cut-huge-range test failure on armhf, only seen on the
103+ buildds.
104+ * Dropped changes, included upstream:
105+ - debian/patches/adjust_to_glibc_2.28_libio.patch: adjust to glibc
106+ 2.28's libio.h removal: check for _IO_EOF_SEEN instead of
107+ _IO_ftrylockfile, and define _IO_IN_BACKUP for ourselves.
108+
109+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 14 Jan 2019 14:17:34 +0200
110+
111 coreutils (8.30-1) unstable; urgency=low
112
113 * New upstream version
114@@ -46,6 +137,32 @@ coreutils (8.30-1) unstable; urgency=low
115
116 -- Michael Stone <mstone@debian.org> Wed, 29 Aug 2018 16:20:06 -0400
117
118+coreutils (8.28-1ubuntu2) cosmic; urgency=medium
119+
120+ * debian/patches/adjust_to_glibc_2.28_libio.patch: adjust to glibc 2.28's
121+ libio.h removal: check for _IO_EOF_SEEN instead of _IO_ftrylockfile, and
122+ define _IO_IN_BACKUP for ourselves.
123+
124+ -- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Thu, 04 Oct 2018 19:50:13 -0400
125+
126+coreutils (8.28-1ubuntu1) bionic; urgency=low
127+
128+ * Merge from Debian unstable. Remaining changes:
129+ - debian/rules:
130+ + Allow crossbuilding
131+ + Run tests
132+ - debian/tests:
133+ + Add dep8 tests
134+ - debian/patches/80_fedora_sysinfo.patch
135+ + Make 'uname -i -p' return the real processor/hardware,
136+ instead of unknown.
137+ - debian/patches/99_float_endian_detection.patch:
138+ + Fix detection of floating point endianness.
139+ - Ignore the cut-huge-range test failure on armhf, only seen on the
140+ buildds.
141+
142+ -- Julian Andres Klode <juliank@ubuntu.com> Thu, 18 Jan 2018 10:43:49 +0100
143+
144 coreutils (8.28-1) unstable; urgency=low
145
146 * New upstream version
147@@ -68,6 +185,35 @@ coreutils (8.28-1) unstable; urgency=low
148
149 -- Michael Stone <mstone@debian.org> Mon, 02 Oct 2017 13:51:20 -0400
150
151+coreutils (8.26-3ubuntu4) artful; urgency=medium
152+
153+ * debian/patches/test-misc-date-tzdb-2017a.patch: fixes date test
154+ caused by tzdb-2017a update. LP: #1679865.
155+
156+ -- Tiago Stürmer Daitx <tiago.daitx@ubuntu.com> Wed, 04 Oct 2017 19:56:41 +0000
157+
158+coreutils (8.26-3ubuntu3) zesty; urgency=medium
159+
160+ * Ignore the cut-huge-range test failure on armhf, only seen on the buildds.
161+
162+ -- Matthias Klose <doko@ubuntu.com> Wed, 01 Mar 2017 09:33:36 +0100
163+
164+coreutils (8.26-3ubuntu1) zesty; urgency=medium
165+
166+ * Merge with Debian; remaining changes:
167+ - debian/rules:
168+ + Allow crossbuilding
169+ + Run tests
170+ - debian/tests:
171+ + Add dep8 tests
172+ - debian/patches/80_fedora_sysinfo.patch
173+ + Make 'uname -i -p' return the real processor/hardware,
174+ instead of unknown.
175+ - debian/patches/99_float_endian_detection.patch:
176+ + Fix detection of floating point endianness.
177+
178+ -- Matthias Klose <doko@ubuntu.com> Tue, 28 Feb 2017 10:10:28 +0100
179+
180 coreutils (8.26-3) unstable; urgency=medium
181
182 * Update standards version to 3.9.8.0 (no changes)
183@@ -90,6 +236,30 @@ coreutils (8.26-1) unstable; urgency=low
184
185 -- Michael Stone <mstone@debian.org> Fri, 09 Dec 2016 09:08:27 -0500
186
187+coreutils (8.25-2ubuntu2) xenial; urgency=medium
188+
189+ * debian/tests/upstream:
190+ - Whoops, drop four tests that have been removed upstream
191+
192+ -- Michael Terry <mterry@ubuntu.com> Thu, 18 Feb 2016 08:27:50 -0500
193+
194+coreutils (8.25-2ubuntu1) xenial; urgency=low
195+
196+ * Merge from Debian unstable. Remaining changes:
197+ - debian/rules:
198+ + Allow crossbuilding
199+ + Run tests
200+ - debian/tests:
201+ + Add dep8 tests
202+ - debian/patches/80_fedora_sysinfo.patch
203+ + Make 'uname -i -p' return the real processor/hardware,
204+ instead of unknown.
205+ - debian/patches/99_float_endian_detection.patch:
206+ + Fix detection of floating point endianness.
207+ * Drop 99_mountinfo.patch, it's been applied upstream
208+
209+ -- Michael Terry <mterry@ubuntu.com> Wed, 17 Feb 2016 14:52:46 -0500
210+
211 coreutils (8.25-2) unstable; urgency=medium
212
213 * Disable default ls quoting for now to get the rest of 8.25 into testing.
214@@ -121,6 +291,40 @@ coreutils (8.24-1) unstable; urgency=low
215
216 -- Michael Stone <mstone@debian.org> Mon, 18 Jan 2016 15:34:49 -0500
217
218+coreutils (8.23-4ubuntu2) wily; urgency=medium
219+
220+ * debian/patches/33_chroot_always.dpatch:
221+ - Update Debian's patch to also comment out the tests that are made
222+ obsolete by the same patch. We no longer have non-root support
223+ for "chroot /". Fixes FTBFS.
224+
225+ -- Michael Terry <mterry@ubuntu.com> Wed, 14 Oct 2015 15:44:28 -0400
226+
227+coreutils (8.23-4ubuntu1) wily; urgency=low
228+
229+ [ Michael Terry ]
230+ * Merge from Debian unstable. Remaining changes:
231+ - debian/rules: Let it cross build:
232+ + Preseed some autoconf tests.
233+ + Don't rebuild the man pages.
234+ - debian/control:
235+ + Depend on acl and strace for autopkgtests.
236+ - debian/tests/upstream:
237+ + Adjust for changed test layout in 8.20.
238+ + Update list of autopkgtest-runnable unit tests (LP: #1246805).
239+ - debian/patches/80_fedora_sysinfo.dpatch
240+ + Make 'uname -i -p' return the real processor/hardware,
241+ instead of unknown.
242+ - debian/patches/99_float_endian_detection:
243+ + Fix detection of floating point endianness.
244+
245+ [ Dave Chiluk ]
246+ * Add support for correctly processing /proc/self/mountinfo.
247+ * Fix df to prioritize mounts of the root of a device over bind mounts.
248+ (LP: #1432871)
249+
250+ -- Michael Terry <mterry@ubuntu.com> Wed, 14 Oct 2015 13:04:46 -0400
251+
252 coreutils (8.23-4) unstable; urgency=low
253
254 * [33] remove chroot optimization that avoids the actual chroot when
255@@ -134,6 +338,28 @@ coreutils (8.23-4) unstable; urgency=low
256
257 -- Michael Stone <mstone@debian.org> Sat, 14 Mar 2015 07:59:06 -0400
258
259+coreutils (8.23-3ubuntu1) vivid; urgency=low
260+
261+ * Merge from Debian unstable. Remaining changes:
262+ - debian/rules: Let it cross build:
263+ + Preseed some autoconf tests.
264+ + Don't rebuild the man pages.
265+ - debian/control:
266+ + Depend on acl and strace for autopkgtests.
267+ - debian/tests/upstream:
268+ + Adjust for changed test layout in 8.20.
269+ + Update list of autopkgtest-runnable unit tests (LP: #1246805).
270+ - debian/patches/80_fedora_sysinfo.dpatch
271+ + Make 'uname -i -p' return the real processor/hardware,
272+ instead of unknown.
273+ - debian/patches/99_float_endian_detection:
274+ + Fix detection of floating point endianness.
275+ * update "Remaining changes" to reflect current status
276+ * drop debian/patches/99_test_nohup_tty.dpatch as its upstream
277+ * remove leftover ".failed" patch files from some earlier merge
278+
279+ -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 03 Nov 2014 08:08:11 +0100
280+
281 coreutils (8.23-3) unstable; urgency=low
282
283 * Standards version 3.9.6.0
284@@ -145,6 +371,37 @@ coreutils (8.23-3) unstable; urgency=low
285
286 -- Michael Stone <mstone@debian.org> Wed, 29 Oct 2014 20:58:59 -0400
287
288+coreutils (8.23-2ubuntu3) utopic; urgency=medium
289+
290+ * Don't run tests during autopkg tests which depend on the test
291+ binaries (getlimits, ginstall).
292+
293+ -- Matthias Klose <doko@ubuntu.com> Mon, 08 Sep 2014 13:03:00 +0200
294+
295+coreutils (8.23-2ubuntu2) utopic; urgency=medium
296+
297+ * Update the list of skipped autopkg tests.
298+
299+ -- Matthias Klose <doko@ubuntu.com> Wed, 03 Sep 2014 19:36:19 +0200
300+
301+coreutils (8.23-2ubuntu1) utopic; urgency=medium
302+
303+ * Merge with Debian; remaining changes:
304+ - Make 'uname -i -p' return the real processor/hardware, instead of
305+ unknown.
306+ - debian/tests/upstream: Adjust for changed test layout in 8.20.
307+ - Configure with --disable-silent-rules.
308+ - Let it cross build:
309+ + Preseed some autoconf tests.
310+ + Don't rebuild the man pages.
311+ - Re-enable tests, except when cross-building.
312+ - Fix detection of floating point endianness.
313+ - Update list of autopkgtest-runnable unit tests (LP: #1246805).
314+ - Ignore skipped tests in autopkgtest harness.
315+ - Depend on acl and strace for autopkgtests.
316+
317+ -- Matthias Klose <doko@ubuntu.com> Tue, 02 Sep 2014 22:54:09 +0200
318+
319 coreutils (8.23-2) unstable; urgency=low
320
321 * Added missing replaces (Closes: #760233, #760234)
322@@ -179,6 +436,48 @@ coreutils (8.21-1.1) unstable; urgency=medium
323
324 -- Samuel Thibault <sthibault@debian.org> Wed, 05 Feb 2014 22:50:43 +0000
325
326+coreutils (8.21-1ubuntu5) trusty; urgency=medium
327+
328+ * Pull patch from upstream to fix nohup test with the new bash.
329+
330+ -- Adam Conrad <adconrad@ubuntu.com> Mon, 24 Mar 2014 00:42:22 -0600
331+
332+coreutils (8.21-1ubuntu4) trusty; urgency=medium
333+
334+ * Fix detection of floating point endianness.
335+
336+ -- Colin Watson <cjwatson@ubuntu.com> Wed, 18 Dec 2013 13:29:08 +0000
337+
338+coreutils (8.21-1ubuntu3) trusty; urgency=low
339+
340+ * Update list of autopkgtest-runnable unit tests (LP: #1246805).
341+ * Ignore skipped tests in autopkgtest harness.
342+ * Depend on acl and strace for autopkgtests.
343+
344+ -- Colin Watson <cjwatson@ubuntu.com> Thu, 31 Oct 2013 11:22:35 -0700
345+
346+coreutils (8.21-1ubuntu2) trusty; urgency=low
347+
348+ * Backport from gnulib upstream (Paul Eggert):
349+ - xvasprintf-tests: port to GCC with hardening flags
350+
351+ -- Colin Watson <cjwatson@ubuntu.com> Thu, 31 Oct 2013 08:33:23 -0700
352+
353+coreutils (8.21-1ubuntu1) trusty; urgency=low
354+
355+ * Resynchronise with Debian. Remaining changes:
356+ - Make 'uname -i -p' return the real processor/hardware, instead of
357+ unknown.
358+ - debian/tests/upstream: Adjust for changed test layout in 8.20.
359+ - Configure with --disable-silent-rules.
360+ - Let it cross build:
361+ + Preseed some autoconf tests.
362+ + Don't rebuild the man pages.
363+ - (aarch64): Make add_ssaaaa and sub_ddmmss actually work.
364+ * Re-enable tests, except when cross-building.
365+
366+ -- Colin Watson <cjwatson@ubuntu.com> Thu, 31 Oct 2013 07:24:28 -0700
367+
368 coreutils (8.21-1) unstable; urgency=low
369
370 * New upstream version
371@@ -190,6 +489,47 @@ coreutils (8.21-1) unstable; urgency=low
372
373 -- Michael Stone <mstone@debian.org> Sat, 20 Jul 2013 15:45:55 -0400
374
375+coreutils (8.20-3ubuntu5) raring; urgency=low
376+
377+ * Backport from gmp upstream:
378+ - (aarch64): Make add_ssaaaa and sub_ddmmss actually work.
379+
380+ -- Colin Watson <cjwatson@ubuntu.com> Thu, 17 Jan 2013 04:21:35 +0000
381+
382+coreutils (8.20-3ubuntu4) raring; urgency=low
383+
384+ * Configure with --disable-silent-rules.
385+ * Let it cross build:
386+ - Preseed some autoconf tests.
387+ - Build make-prime-list with the build compiler.
388+ - Don't rebuild the man pages.
389+
390+ -- Matthias Klose <doko@ubuntu.com> Wed, 12 Dec 2012 18:38:55 +0100
391+
392+coreutils (8.20-3ubuntu3) raring; urgency=low
393+
394+ * debian/tests/upstream: Adjust for changed test layout in 8.20.
395+
396+ -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 30 Nov 2012 22:08:22 +0100
397+
398+coreutils (8.20-3ubuntu2) raring; urgency=low
399+
400+ * Avoid PPC64 instructions unless _LP64 is defined.
401+ * Revert build-dependency from gettext:any to gettext, now that gettext is
402+ Multi-Arch: foreign.
403+
404+ -- Colin Watson <cjwatson@ubuntu.com> Thu, 29 Nov 2012 14:32:40 +0000
405+
406+coreutils (8.20-3ubuntu1) raring; urgency=low
407+
408+ * Resynchronise with Debian. Remaining changes:
409+ - Make 'uname -i -p' return the real processor/hardware, instead of
410+ unknown.
411+ - Build-depend on gettext:any instead of on gettext, so that apt-get can
412+ properly resolve build-dependencies on the tool when cross-building.
413+
414+ -- Colin Watson <cjwatson@ubuntu.com> Wed, 28 Nov 2012 03:03:42 +0000
415+
416 coreutils (8.20-3) unstable; urgency=low
417
418 * actually include autopkgtest changes
419@@ -230,6 +570,75 @@ coreutils (8.13-3.3) unstable; urgency=low
420
421 -- Jonathan Nieder <jrnieder@gmail.com> Mon, 10 Sep 2012 22:02:19 -0700
422
423+coreutils (8.13-3.2ubuntu7) raring; urgency=low
424+
425+ * Backport require_valgrind_ so that tests work better.
426+ * Make valgrind failures non-fatal; we don't have sufficiently accurate
427+ suppressions for linker startup issues on all architectures. However,
428+ do still run those tests and check for corrupted output.
429+ * Don't build-depend on valgrind on armhf, as it apparently breaks there.
430+
431+ -- Colin Watson <cjwatson@ubuntu.com> Fri, 09 Nov 2012 10:01:28 +0000
432+
433+coreutils (8.13-3.2ubuntu6) raring; urgency=low
434+
435+ * Backport upstream patch to avoid data-corrupting free-memory-read in
436+ cp/mv/install when dealing with a very fragmented and sparse input file
437+ on certain filesystems (LP: #1073514).
438+ * Build-depend on valgrind in order to be able to run the test for the
439+ above fix.
440+ * Fix 99_sort_-u_data_loss.dpatch so that the added test is actually run.
441+
442+ -- Colin Watson <cjwatson@ubuntu.com> Thu, 08 Nov 2012 16:24:07 +0000
443+
444+coreutils (8.13-3.2ubuntu5) raring; urgency=low
445+
446+ * debian/tests/upstream: Drop the three tests that fail with "skipped test:
447+ this shell lacks ulimit support" in our test environment.
448+
449+ -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 08 Nov 2012 06:01:55 +0100
450+
451+coreutils (8.13-3.2ubuntu4) raring; urgency=low
452+
453+ [ Paul Larson ]
454+ * Fix debian/tests/upstream: Make the test script count the number of test
455+ failures, declare them at the end of the test run, and exit with the
456+ number of failed tests. (LP: #1075612)
457+
458+ [ Martin Pitt ]
459+ * debian/tests/upstream: Drop du/bigtime test, does not work in our test
460+ environment.
461+
462+ -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 07 Nov 2012 15:51:30 +0100
463+
464+coreutils (8.13-3.2ubuntu3) raring; urgency=low
465+
466+ * Add debian/tests/: autopkgtest for running a subset of the upstream tests
467+ against the system installed binaries. The other upstream tests need a
468+ built tree, and are run during package build. (LP: #1073445)
469+ * Add 01_gnulib-gets.dpatch: Avoid assuming that gets is declared in bundled
470+ gnulib. Backported from upstream gnulib SVN to fix FTBFS.
471+
472+ -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 06 Nov 2012 13:21:20 +0100
473+
474+coreutils (8.13-3.2ubuntu2) quantal; urgency=low
475+
476+ * Update config.guess,sub for aarch64
477+
478+ -- Wookey <wookey@wookware.org> Mon, 01 Oct 2012 15:41:06 +0100
479+
480+coreutils (8.13-3.2ubuntu1) quantal; urgency=low
481+
482+ * Resynchronise with Debian. Remaining changes:
483+ - [80] Make 'uname -i -p' return the real processor/hardware, instead of
484+ unknown.
485+ - Build-depend on gettext:any instead of on gettext, so that apt-get can
486+ properly resolve build-dependencies on the tool when cross-building.
487+ * Backport upstream patches to fix data-loss and free-memory read bugs in
488+ 'sort -u' (LP: #1038468).
489+
490+ -- Colin Watson <cjwatson@ubuntu.com> Mon, 10 Sep 2012 14:07:50 +0100
491+
492 coreutils (8.13-3.2) unstable; urgency=low
493
494 * Non-maintainer upload.
495@@ -250,6 +659,34 @@ coreutils (8.13-3.2) unstable; urgency=low
496
497 -- Steve Langasek <vorlon@debian.org> Wed, 02 May 2012 02:27:43 +0000
498
499+coreutils (8.13-3.1ubuntu1) quantal; urgency=low
500+
501+ * Merge from Debian unstable, remaining changes:
502+ - [80] Make 'uname -i -p' return the real processor/hardware, instead of
503+ unknown.
504+ - Build-depend on gettext:any instead of on gettext, so that apt-get can
505+ properly resolve build-dependencies on the tool when cross-building.
506+ * Incorporate changes from Debian NMU to DELAYED/5-days:
507+ - Don't declare separate build-arch/build-indep targets when they just
508+ fall through to the same common build rule, since they don't have
509+ correct target dependencies themselves. Closes: #670481.
510+ - Enable hardening build flags. Thanks to Moritz Muehlenhoff for the
511+ patch. Closes: #653743.
512+ - debian/patches/99_Werror-format-string.dpatch: fix the gnulib test
513+ suite so that it doesn't fail to build with hardening flags on.
514+ - Mark coreutils Multi-Arch: foreign. Thanks to Colin Watson.
515+ Closes: #649397.
516+ - debian/patches/99_tests-misc-sort-continue-Port-to-Fedora-15.dpatch:
517+ cherry-pick from upstream to fix a build failure whenever the build
518+ system happens to be holding an fd open, as happens when running in
519+ certain environments (e.g., Lucas's test rebuild farm, or
520+ bzr-builddeb). Closes: #669555.
521+ * Dropped changes, superseded by the above NMU:
522+ - Filter out -Werror=format-security from CFLAGS when building tests, to
523+ avoid a build failure in gnulib-tests/test-xvasprintf.c.
524+
525+ -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 01 May 2012 22:07:44 -0700
526+
527 coreutils (8.13-3.1) unstable; urgency=low
528
529 * Non-maintainer upload.
530@@ -259,6 +696,29 @@ coreutils (8.13-3.1) unstable; urgency=low
531
532 -- Jakub Wilk <jwilk@debian.org> Wed, 29 Feb 2012 00:11:27 +0100
533
534+coreutils (8.13-3ubuntu3) precise; urgency=low
535+
536+ * Build-depend on gettext:any instead of on gettext, so that apt-get can
537+ properly resolve build-dependencies on the tool when cross-building.
538+
539+ -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 31 Mar 2012 14:54:13 -0700
540+
541+coreutils (8.13-3ubuntu2) precise; urgency=low
542+
543+ * Mark coreutils Multi-Arch: foreign.
544+
545+ -- Colin Watson <cjwatson@ubuntu.com> Sun, 20 Nov 2011 17:21:08 +0000
546+
547+coreutils (8.13-3ubuntu1) precise; urgency=low
548+
549+ * Resynchronise with Debian. Remaining changes:
550+ - [80] Make 'uname -i -p' return the real processor/hardware, instead of
551+ unknown.
552+ * Filter out -Werror=format-security from CFLAGS when building tests, to
553+ avoid a build failure in gnulib-tests/test-xvasprintf.c.
554+
555+ -- Colin Watson <cjwatson@ubuntu.com> Tue, 18 Oct 2011 10:59:14 +0100
556+
557 coreutils (8.13-3) unstable; urgency=low
558
559 * revert previous change to -mlong-double-64
560@@ -290,6 +750,51 @@ coreutils (8.13-1) unstable; urgency=low
561
562 -- Michael Stone <mstone@debian.org> Mon, 12 Sep 2011 17:21:19 -0400
563
564+coreutils (8.5-1ubuntu6) natty; urgency=low
565+
566+ * Backport from upstream (Jim Meyering):
567+ - tail: avoid new diagnostic when applying -f to a pipe on linux-2.6.38.
568+
569+ -- Colin Watson <cjwatson@ubuntu.com> Wed, 23 Feb 2011 13:06:43 +0000
570+
571+coreutils (8.5-1ubuntu5) natty; urgency=low
572+
573+ * debian/patches/80_fedora_sysinfo.dpatch: make 'uname -i -p' return the
574+ real processor/hardware, instead of unknown. Patch cherry-picked from
575+ Fedora 12 (original: coreutils-4.5.3-sysinfo.patch, from the
576+ coreutils-7.6-5.src.rpm). LP: #470550.
577+
578+ -- C de-Avillez <hggdh2@ubuntu.com> Tue, 10 Nov 2009 12:38:24 -0600
579+
580+coreutils (8.5-1ubuntu4) natty; urgency=low
581+
582+ * No-change upload to drop upstream changelog, and build with natty
583+ toolchain.
584+
585+ -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 03 Dec 2010 08:40:09 +0100
586+
587+coreutils (8.5-1ubuntu3) maverick; urgency=low
588+
589+ * Maybe test that the package builds first before uploading; dpatch is a
590+ picky one, isn't it?
591+
592+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 11 Jun 2010 06:49:02 +0000
593+
594+coreutils (8.5-1ubuntu2) maverick; urgency=low
595+
596+ [ John Rigby ]
597+ * debian/patches/99_stat_prototype_for_linkat.dpatch: Add missing header
598+ include for stat() prototype. LP: #591968.
599+
600+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 11 Jun 2010 06:03:58 +0000
601+
602+coreutils (8.5-1ubuntu1) maverick; urgency=low
603+
604+ * Merge from Debian unstable, remaining changes:
605+ - debian/rules: Do not install dangling LC_TIME symlinks
606+
607+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 07 Jun 2010 01:41:56 +0000
608+
609 coreutils (8.5-1) unstable; urgency=low
610
611 * New upstream version
612@@ -386,6 +891,20 @@ coreutils (7.5-1) unstable; urgency=low
613
614 -- Michael Stone <mstone@debian.org> Wed, 02 Sep 2009 20:50:02 -0400
615
616+coreutils (7.4-2ubuntu2) lucid; urgency=low
617+
618+ * rebuild rest of main for armel armv7/thumb2 optimization;
619+ UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2
620+
621+ -- Alexander Sack <asac@ubuntu.com> Fri, 05 Mar 2010 04:06:08 +0100
622+
623+coreutils (7.4-2ubuntu1) karmic; urgency=low
624+
625+ * debian/rules: Do not install dangling LC_TIME symlinks, they are not
626+ needed. (LP: #42293)
627+
628+ -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 06 Oct 2009 12:22:48 +0200
629+
630 coreutils (7.4-2) unstable; urgency=low
631
632 * move mktemp to /bin instead of /usr/bin (Closes: #531842)
633@@ -1132,4 +1651,3 @@ coreutils (4.5.1-1) unstable; urgency=low
634
635 -- Michael Stone <mstone@debian.org> Fri, 13 Sep 2002 21:00:15 -0400
636
637-
638diff --git a/debian/control b/debian/control
639index 32d0b2b..1bc4d4c 100644
640--- a/debian/control
641+++ b/debian/control
642@@ -1,5 +1,6 @@
643 Source: coreutils
644-Maintainer: Michael Stone <mstone@debian.org>
645+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
646+XSBC-Original-Maintainer: Michael Stone <mstone@debian.org>
647 Section: utils
648 Priority: required
649 Standards-Version: 4.5.0
650diff --git a/debian/patches/61_whoips.patch b/debian/patches/61_whoips.patch
651index 382ba4d..f6be45b 100644
652--- a/debian/patches/61_whoips.patch
653+++ b/debian/patches/61_whoips.patch
654@@ -1,10 +1,10 @@
655 Author:
656 Description:
657-Index: coreutils-8.24/src/who.c
658+Index: coreutils/src/who.c
659 ===================================================================
660---- coreutils-8.24.orig/src/who.c
661-+++ coreutils-8.24/src/who.c
662-@@ -28,6 +28,8 @@
663+--- coreutils.orig/src/who.c 2020-07-24 13:38:45.635067123 -0400
664++++ coreutils/src/who.c 2020-07-24 13:38:45.631067154 -0400
665+@@ -29,6 +29,8 @@
666 #include <assert.h>
667
668 #include <sys/types.h>
669@@ -13,7 +13,7 @@ Index: coreutils-8.24/src/who.c
670 #include "system.h"
671
672 #include "c-ctype.h"
673-@@ -101,6 +103,9 @@ char *ttyname (int);
674+@@ -101,6 +103,9 @@
675 /* If true, attempt to canonicalize hostnames via a DNS lookup. */
676 static bool do_lookup;
677
678@@ -23,7 +23,7 @@ Index: coreutils-8.24/src/who.c
679 /* If true, display only a list of usernames and count of
680 the users logged on.
681 Ignored for 'who am i'. */
682-@@ -156,7 +161,8 @@ static int time_format_width;
683+@@ -156,7 +161,8 @@
684 /* for long options with no corresponding short option, use enum */
685 enum
686 {
687@@ -33,7 +33,7 @@ Index: coreutils-8.24/src/who.c
688 };
689
690 static struct option const longopts[] =
691-@@ -166,6 +172,7 @@ static struct option const longopts[] =
692+@@ -166,6 +172,7 @@
693 {"count", no_argument, NULL, 'q'},
694 {"dead", no_argument, NULL, 'd'},
695 {"heading", no_argument, NULL, 'H'},
696@@ -41,7 +41,7 @@ Index: coreutils-8.24/src/who.c
697 {"login", no_argument, NULL, 'l'},
698 {"lookup", no_argument, NULL, LOOKUP_OPTION},
699 {"message", no_argument, NULL, 'T'},
700-@@ -428,6 +435,63 @@ print_user (const STRUCT_UTMP *utmp_ent,
701+@@ -431,6 +438,63 @@
702 }
703 #endif
704
705@@ -105,7 +105,7 @@ Index: coreutils-8.24/src/who.c
706 print_line (sizeof UT_USER (utmp_ent), UT_USER (utmp_ent), mesg,
707 sizeof utmp_ent->ut_line, utmp_ent->ut_line,
708 time_string (utmp_ent), idlestr, pidstr,
709-@@ -649,6 +713,11 @@ Print information about users who are cu
710+@@ -653,6 +717,11 @@
711 -H, --heading print line of column headings\n\
712 "), stdout);
713 fputs (_("\
714@@ -117,7 +117,7 @@ Index: coreutils-8.24/src/who.c
715 -l, --login print system login processes\n\
716 "), stdout);
717 fputs (_("\
718-@@ -778,6 +847,10 @@ main (int argc, char **argv)
719+@@ -782,6 +851,10 @@
720 do_lookup = true;
721 break;
722
723diff --git a/debian/patches/63_dd-appenderrors.patch b/debian/patches/63_dd-appenderrors.patch
724index 502f082..b324488 100644
725--- a/debian/patches/63_dd-appenderrors.patch
726+++ b/debian/patches/63_dd-appenderrors.patch
727@@ -1,10 +1,10 @@
728 Author:
729 Description:
730-Index: coreutils-8.24/src/dd.c
731+Index: coreutils/src/dd.c
732 ===================================================================
733---- coreutils-8.24.orig/src/dd.c
734-+++ coreutils-8.24/src/dd.c
735-@@ -1525,6 +1525,9 @@ scanargs (int argc, char *const *argv)
736+--- coreutils.orig/src/dd.c 2020-07-24 13:38:45.787065917 -0400
737++++ coreutils/src/dd.c 2020-07-24 13:38:45.783065949 -0400
738+@@ -1653,6 +1653,9 @@
739 if (multiple_bits_set (input_flags & (O_DIRECT | O_NOCACHE))
740 || multiple_bits_set (output_flags & (O_DIRECT | O_NOCACHE)))
741 die (EXIT_FAILURE, 0, _("cannot combine direct and nocache"));
742diff --git a/debian/patches/72_id_checkngroups.patch b/debian/patches/72_id_checkngroups.patch
743index 8526079..857fd90 100644
744--- a/debian/patches/72_id_checkngroups.patch
745+++ b/debian/patches/72_id_checkngroups.patch
746@@ -1,10 +1,10 @@
747 Author:
748 Description:
749-Index: coreutils-8.24/src/id.c
750+Index: coreutils/src/id.c
751 ===================================================================
752---- coreutils-8.24.orig/src/id.c
753-+++ coreutils-8.24/src/id.c
754-@@ -416,6 +416,10 @@ print_full_info (const char *username)
755+--- coreutils.orig/src/id.c 2020-07-24 13:38:45.955064585 -0400
756++++ coreutils/src/id.c 2020-07-24 13:38:45.951064617 -0400
757+@@ -405,6 +405,10 @@
758 ok &= false;
759 return;
760 }
761diff --git a/debian/patches/80_fedora_sysinfo.patch b/debian/patches/80_fedora_sysinfo.patch
762new file mode 100644
763index 0000000..29738b5
764--- /dev/null
765+++ b/debian/patches/80_fedora_sysinfo.patch
766@@ -0,0 +1,74 @@
767+Index: coreutils/src/uname.c
768+===================================================================
769+--- coreutils.orig/src/uname.c 2020-07-24 13:38:46.123063253 -0400
770++++ coreutils/src/uname.c 2020-07-24 13:38:46.119063285 -0400
771+@@ -259,7 +259,7 @@
772+ int
773+ main (int argc, char **argv)
774+ {
775+- static char const unknown[] = "unknown";
776++ static char unknown[] = "unknown";
777+
778+ /* Mask indicating which elements to print. */
779+ unsigned int toprint = 0;
780+@@ -300,13 +300,35 @@
781+
782+ if (toprint & PRINT_PROCESSOR)
783+ {
784+- char const *element = unknown;
785++ char *element = unknown;
786+ #if HAVE_SYSINFO && defined SI_ARCHITECTURE
787+ {
788+ static char processor[257];
789+ if (0 <= sysinfo (SI_ARCHITECTURE, processor, sizeof processor))
790+ element = processor;
791+ }
792++#else
793++ {
794++ struct utsname u;
795++ uname(&u);
796++ element = u.machine;
797++#ifdef linux
798++ if(!strcmp(element, "i686")) { /* Check for Athlon */
799++ char cinfo[1024];
800++ FILE *f=fopen("/proc/cpuinfo", "r");
801++ if(f) {
802++ while(fgets(cinfo, 1024, f)) {
803++ if(!strncmp(cinfo, "vendor_id", 9)) {
804++ if(strstr(cinfo, "AuthenticAMD"))
805++ element="athlon";
806++ break;
807++ }
808++ }
809++ fclose(f);
810++ }
811++ }
812++#endif
813++ }
814+ #endif
815+ #ifdef UNAME_PROCESSOR
816+ if (element == unknown)
817+@@ -344,7 +366,7 @@
818+
819+ if (toprint & PRINT_HARDWARE_PLATFORM)
820+ {
821+- char const *element = unknown;
822++ char *element = unknown;
823+ #if HAVE_SYSINFO && defined SI_PLATFORM
824+ {
825+ static char hardware_platform[257];
826+@@ -352,6 +374,14 @@
827+ hardware_platform, sizeof hardware_platform))
828+ element = hardware_platform;
829+ }
830++#else
831++ {
832++ struct utsname u;
833++ uname(&u);
834++ element = u.machine;
835++ if(strlen(element)==4 && element[0]=='i' && element[2]=='8' && element[3]=='6')
836++ element[1]='3';
837++ }
838+ #endif
839+ #ifdef UNAME_HARDWARE_PLATFORM
840+ if (element == unknown)
841diff --git a/debian/patches/85_timer_settime.patch b/debian/patches/85_timer_settime.patch
842index c2b2fd1..d68937c 100644
843--- a/debian/patches/85_timer_settime.patch
844+++ b/debian/patches/85_timer_settime.patch
845@@ -2,11 +2,11 @@ Author: <mstone@debian.org>
846 Description: timeout ignores fractional part of sleep times when timeout is more
847 than 100000s (approximately 1 day) on kfbsd. prevents failure modes
848 in libc implementation when timeout approaches max(time_t)
849-Index: coreutils-8.24/src/timeout.c
850+Index: coreutils/src/timeout.c
851 ===================================================================
852---- coreutils-8.24.orig/src/timeout.c
853-+++ coreutils-8.24/src/timeout.c
854-@@ -133,6 +133,11 @@ settimeout (double duration, bool warn)
855+--- coreutils.orig/src/timeout.c 2020-07-24 13:38:46.287061953 -0400
856++++ coreutils/src/timeout.c 2020-07-24 13:38:46.283061984 -0400
857+@@ -122,6 +122,11 @@
858 resolution provided by alarm(). */
859
860 #if HAVE_TIMER_SETTIME
861@@ -18,7 +18,7 @@ Index: coreutils-8.24/src/timeout.c
862 struct timespec ts = dtotimespec (duration);
863 struct itimerspec its = { {0, 0}, ts };
864 timer_t timerid;
865-@@ -149,6 +154,7 @@ settimeout (double duration, bool warn)
866+@@ -138,6 +143,7 @@
867 }
868 else if (warn && errno != ENOSYS)
869 error (0, errno, _("warning: timer_create"));
870diff --git a/debian/patches/99_float_endian_detection.patch b/debian/patches/99_float_endian_detection.patch
871new file mode 100644
872index 0000000..7965d8e
873--- /dev/null
874+++ b/debian/patches/99_float_endian_detection.patch
875@@ -0,0 +1,65 @@
876+Author: Colin Watson <cjwatson@ubuntu.com>
877+Description: Fix detection of floating point endianness.
878+ See https://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00104.html
879+ Based on a suggestion by Alan Modra.
880+
881+Index: coreutils/gnulib-tests/test-isnanl.h
882+===================================================================
883+--- coreutils.orig/gnulib-tests/test-isnanl.h 2020-07-24 13:38:46.623059289 -0400
884++++ coreutils/gnulib-tests/test-isnanl.h 2020-07-24 13:38:46.623059289 -0400
885+@@ -24,6 +24,12 @@
886+ #include "nan.h"
887+ #include "macros.h"
888+
889++#ifdef __FLOAT_WORD_ORDER__
890++# define FLOAT_BIG_ENDIAN (__FLOAT_WORD_ORDER__ != __ORDER_LITTLE_ENDIAN__)
891++#else
892++# define FLOAT_BIG_ENDIAN (LDBL_EXPBIT0_WORD < NWORDS / 2)
893++#endif
894++
895+ int
896+ main ()
897+ {
898+@@ -65,10 +71,10 @@
899+ # if LDBL_EXPBIT0_BIT > 0
900+ m.word[LDBL_EXPBIT0_WORD] ^= (unsigned int) 1 << (LDBL_EXPBIT0_BIT - 1);
901+ # else
902+- m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)]
903++ m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)]
904+ ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1);
905+ # endif
906+- m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)]
907++ m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)]
908+ |= (unsigned int) 1 << LDBL_EXPBIT0_BIT;
909+ ASSERT (isnanl (m.value));
910+ }
911+Index: coreutils/gnulib-tests/test-signbit.c
912+===================================================================
913+--- coreutils.orig/gnulib-tests/test-signbit.c 2020-07-24 13:38:46.623059289 -0400
914++++ coreutils/gnulib-tests/test-signbit.c 2020-07-24 13:38:46.623059289 -0400
915+@@ -36,6 +36,12 @@
916+ double zerod = 0.0;
917+ long double zerol = 0.0L;
918+
919++#ifdef __FLOAT_WORD_ORDER__
920++# define FLOAT_BIG_ENDIAN (__FLOAT_WORD_ORDER__ != __ORDER_LITTLE_ENDIAN__)
921++#else
922++# define FLOAT_BIG_ENDIAN (LDBL_EXPBIT0_WORD < NWORDS / 2)
923++#endif
924++
925+ static void
926+ test_signbitf ()
927+ {
928+@@ -166,10 +172,10 @@
929+ # if LDBL_EXPBIT0_BIT > 0
930+ m.word[LDBL_EXPBIT0_WORD] ^= (unsigned int) 1 << (LDBL_EXPBIT0_BIT - 1);
931+ # else
932+- m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)]
933++ m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)]
934+ ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1);
935+ # endif
936+- m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)]
937++ m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)]
938+ |= (unsigned int) 1 << LDBL_EXPBIT0_BIT;
939+ (void) signbit (m.value);
940+ #undef NWORDS
941diff --git a/debian/patches/99_kfbsd_fstat_patch.patch b/debian/patches/99_kfbsd_fstat_patch.patch
942index fa11942..152891d 100644
943--- a/debian/patches/99_kfbsd_fstat_patch.patch
944+++ b/debian/patches/99_kfbsd_fstat_patch.patch
945@@ -1,10 +1,10 @@
946 Author: Michael Stone <mstone@debian.org>
947 Description: No description.
948-Index: coreutils-8.24/lib/fstatat.c
949+Index: coreutils/lib/fstatat.c
950 ===================================================================
951---- coreutils-8.24.orig/lib/fstatat.c
952-+++ coreutils-8.24/lib/fstatat.c
953-@@ -132,4 +132,15 @@ stat_func (char const *name, struct stat
954+--- coreutils.orig/lib/fstatat.c 2020-07-24 13:38:46.459060589 -0400
955++++ coreutils/lib/fstatat.c 2020-07-24 13:38:46.455060621 -0400
956+@@ -145,4 +145,15 @@
957 # undef AT_FUNC_POST_FILE_PARAM_DECLS
958 # undef AT_FUNC_POST_FILE_ARGS
959
960diff --git a/debian/patches/improve-removed-directory-test.patch b/debian/patches/improve-removed-directory-test.patch
961new file mode 100644
962index 0000000..50f24bc
963--- /dev/null
964+++ b/debian/patches/improve-removed-directory-test.patch
965@@ -0,0 +1,49 @@
966+From: Paul Eggert <eggert@cs.ucla.edu>
967+Date: Sat, 7 Mar 2020 10:29:51 -0800
968+Subject: ls: improve removed-directory test
969+
970+* tests/ls/removed-directory.sh: Remove host_triplet test.
971+Skip this test if one cannot remove the working directory.
972+From a suggestion by Bernhard Voelker (Bug#39929).
973+
974+Author: Paul Eggert <eggert@cs.ucla.edu>
975+Origin: upstream, https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=672819c73f2e94e61386dc0584bddf9da860cc26
976+Bug: https://lists.gnu.org/archive/html/bug-coreutils/2020-03/msg00005.html
977+Last-Updated: 2020-07-24
978+Reviewed-By: Sergio Durigan Junior <sergio.durigan@canonical.com>
979+---
980+ tests/ls/removed-directory.sh | 13 ++++---------
981+ 1 file changed, 4 insertions(+), 9 deletions(-)
982+
983+diff --git a/tests/ls/removed-directory.sh b/tests/ls/removed-directory.sh
984+index fe8f929..63b209d 100755
985+--- a/tests/ls/removed-directory.sh
986++++ b/tests/ls/removed-directory.sh
987+@@ -1,7 +1,7 @@
988+ #!/bin/sh
989+-# If ls is asked to list a removed directory (e.g. the parent process's
990+-# current working directory that has been removed by another process), it
991+-# emits an error message.
992++# If ls is asked to list a removed directory (e.g., the parent process's
993++# current working directory has been removed by another process), it
994++# should not emit an error message merely because the directory is removed.
995+
996+ # Copyright (C) 2020 Free Software Foundation, Inc.
997+
998+@@ -21,15 +21,10 @@
999+ . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
1000+ print_ver_ ls
1001+
1002+-case $host_triplet in
1003+- *linux*) ;;
1004+- *) skip_ 'non linux kernel' ;;
1005+-esac
1006+-
1007+ cwd=$(pwd)
1008+ mkdir d || framework_failure_
1009+ cd d || framework_failure_
1010+-rmdir ../d || framework_failure_
1011++rmdir ../d || skip_ "can't remove working directory on this platform"
1012+
1013+ ls >../out 2>../err || fail=1
1014+ cd "$cwd" || framework_failure_
1015diff --git a/debian/patches/restore-ls-behavior-8.31.patch b/debian/patches/restore-ls-behavior-8.31.patch
1016new file mode 100644
1017index 0000000..d889e22
1018--- /dev/null
1019+++ b/debian/patches/restore-ls-behavior-8.31.patch
1020@@ -0,0 +1,126 @@
1021+From: Paul Eggert <eggert@cs.ucla.edu>
1022+Date: Thu, 5 Mar 2020 17:25:29 -0800
1023+Subject: ls: restore 8.31 behavior on removed directories
1024+
1025+* NEWS: Mention this.
1026+* src/ls.c: Do not include <sys/sycall.h>
1027+(print_dir): Don't worry about whether the directory is removed.
1028+* tests/ls/removed-directory.sh: Adjust to match new (i.e., old)
1029+behavior.
1030+
1031+This patch is needed because coreutils 8.32 fails to build on ARM64
1032+with:
1033+
1034+src/ls.c: In function 'print_dir':
1035+src/ls.c:3026:24: error: 'SYS_getdents' undeclared (first use in this function); did you mean 'SYS_getdents64'?
1036+ 3026 | if (syscall (SYS_getdents, dirfd (dirp), NULL, 0) == -1
1037+ | ^~~~~~~~~~~~
1038+ | SYS_getdents64
1039+
1040+Author: Paul Eggert <eggert@cs.ucla.edu>
1041+Origin: upstream, https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=10fcb97bd728f09d4a027eddf8ad2900f0819b0a
1042+Bug: https://lists.gnu.org/archive/html/bug-coreutils/2020-03/msg00005.html
1043+Last-Updated: 2020-07-24
1044+Reviewed-By: Sergio Durigan Junior <sergio.durigan@canonical.com>
1045+---
1046+ NEWS | 4 ----
1047+ src/ls.c | 22 ----------------------
1048+ tests/ls/removed-directory.sh | 10 ++--------
1049+ 3 files changed, 2 insertions(+), 34 deletions(-)
1050+
1051+diff --git a/NEWS b/NEWS
1052+index 3e44c0c..3b419cb 100644
1053+--- a/NEWS
1054++++ b/NEWS
1055+@@ -65,10 +65,6 @@ GNU coreutils NEWS -*- outline -*-
1056+ [The old behavior was introduced in sh-utils 2.0.15 ca. 1999, predating
1057+ coreutils package.]
1058+
1059+- ls issues an error message on a removed directory, on GNU/Linux systems.
1060+- Previously no error and no entries were output, and so indistinguishable
1061+- from an empty directory, with default ls options.
1062+-
1063+ uniq no longer uses strcoll() to determine string equivalence,
1064+ and so will operate more efficiently and consistently.
1065+
1066+diff --git a/src/ls.c b/src/ls.c
1067+index 24b9832..4acf5f4 100644
1068+--- a/src/ls.c
1069++++ b/src/ls.c
1070+@@ -49,10 +49,6 @@
1071+ # include <sys/ptem.h>
1072+ #endif
1073+
1074+-#ifdef __linux__
1075+-# include <sys/syscall.h>
1076+-#endif
1077+-
1078+ #include <stdio.h>
1079+ #include <assert.h>
1080+ #include <setjmp.h>
1081+@@ -2896,7 +2892,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg)
1082+ struct dirent *next;
1083+ uintmax_t total_blocks = 0;
1084+ static bool first = true;
1085+- bool found_any_entries = false;
1086+
1087+ errno = 0;
1088+ dirp = opendir (name);
1089+@@ -2972,7 +2967,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg)
1090+ next = readdir (dirp);
1091+ if (next)
1092+ {
1093+- found_any_entries = true;
1094+ if (! file_ignored (next->d_name))
1095+ {
1096+ enum filetype type = unknown;
1097+@@ -3018,22 +3012,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg)
1098+ if (errno != EOVERFLOW)
1099+ break;
1100+ }
1101+-#ifdef __linux__
1102+- else if (! found_any_entries)
1103+- {
1104+- /* If readdir finds no directory entries at all, not even "." or
1105+- "..", then double check that the directory exists. */
1106+- if (syscall (SYS_getdents, dirfd (dirp), NULL, 0) == -1
1107+- && errno != EINVAL)
1108+- {
1109+- /* We exclude EINVAL as that pertains to buffer handling,
1110+- and we've passed NULL as the buffer for simplicity.
1111+- ENOENT is returned if appropriate before buffer handling. */
1112+- file_failure (command_line_arg, _("reading directory %s"), name);
1113+- }
1114+- break;
1115+- }
1116+-#endif
1117+ else
1118+ break;
1119+
1120+diff --git a/tests/ls/removed-directory.sh b/tests/ls/removed-directory.sh
1121+index e8c835d..fe8f929 100755
1122+--- a/tests/ls/removed-directory.sh
1123++++ b/tests/ls/removed-directory.sh
1124+@@ -26,20 +26,14 @@ case $host_triplet in
1125+ *) skip_ 'non linux kernel' ;;
1126+ esac
1127+
1128+-LS_FAILURE=2
1129+-
1130+-cat <<\EOF >exp-err || framework_failure_
1131+-ls: reading directory '.': No such file or directory
1132+-EOF
1133+-
1134+ cwd=$(pwd)
1135+ mkdir d || framework_failure_
1136+ cd d || framework_failure_
1137+ rmdir ../d || framework_failure_
1138+
1139+-returns_ $LS_FAILURE ls >../out 2>../err || fail=1
1140++ls >../out 2>../err || fail=1
1141+ cd "$cwd" || framework_failure_
1142+ compare /dev/null out || fail=1
1143+-compare exp-err err || fail=1
1144++compare /dev/null err || fail=1
1145+
1146+ Exit $fail
1147diff --git a/debian/patches/series b/debian/patches/series
1148index d6c4297..fb331d0 100644
1149--- a/debian/patches/series
1150+++ b/debian/patches/series
1151@@ -1,5 +1,10 @@
1152 61_whoips.patch
1153 63_dd-appenderrors.patch
1154 72_id_checkngroups.patch
1155+80_fedora_sysinfo.patch
1156 85_timer_settime.patch
1157 99_kfbsd_fstat_patch.patch
1158+99_float_endian_detection.patch
1159+treat-devtmpfs-and-squashfs-as-dummy-filesystems.patch
1160+restore-ls-behavior-8.31.patch
1161+improve-removed-directory-test.patch
1162diff --git a/debian/patches/treat-devtmpfs-and-squashfs-as-dummy-filesystems.patch b/debian/patches/treat-devtmpfs-and-squashfs-as-dummy-filesystems.patch
1163new file mode 100644
1164index 0000000..a6182d4
1165--- /dev/null
1166+++ b/debian/patches/treat-devtmpfs-and-squashfs-as-dummy-filesystems.patch
1167@@ -0,0 +1,32 @@
1168+From ee5ce3f0637d5533e6e1f68e6a7e7f846ff742c4 Mon Sep 17 00:00:00 2001
1169+From: Bryce Harrington <bryce@canonical.com>
1170+Date: Thu, 2 Jul 2020 01:50:48 +0000
1171+Subject: [PATCH] Treat devtmpfs and squashfs as dummy filesystems
1172+
1173+Avoid displaying snaps in output from df and other tools, by excluding
1174+squashfs filesystems. Exclude devtmpfs filesystems in output from df
1175+and other tools since it is a dummy filesystem.
1176+
1177+Origin: upstream, https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37702#68
1178+Bug: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37702
1179+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1756595
1180+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1219529
1181+
1182+---
1183+ lib/mountlist.c | 2 ++
1184+ 1 file changed, 2 insertions(+)
1185+
1186+Index: coreutils/lib/mountlist.c
1187+===================================================================
1188+--- coreutils.orig/lib/mountlist.c 2020-07-24 13:38:46.799057894 -0400
1189++++ coreutils/lib/mountlist.c 2020-07-24 13:38:46.795057925 -0400
1190+@@ -164,7 +164,9 @@
1191+
1192+ #define ME_DUMMY_0(Fs_name, Fs_type) \
1193+ (strcmp (Fs_type, "autofs") == 0 \
1194++ || strcmp (Fs_type, "devtmpfs") == 0 \
1195+ || strcmp (Fs_type, "proc") == 0 \
1196++ || strcmp (Fs_type, "squashfs") == 0 \
1197+ || strcmp (Fs_type, "subfs") == 0 \
1198+ /* for Linux 2.6/3.x */ \
1199+ || strcmp (Fs_type, "debugfs") == 0 \
1200diff --git a/debian/rules b/debian/rules
1201index ddb98cb..17e8784 100755
1202--- a/debian/rules
1203+++ b/debian/rules
1204@@ -13,13 +13,23 @@ ifeq ($(DEB_HOST_ARCH_CPU),sh4)
1205 DEB_CFLAGS_MAINT_APPEND += -mieee
1206 endif
1207
1208+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
1209+ cross_build := yes
1210+ CROSS_CONFIGURE_FLAGS = --cache-file=./config.cache
1211+ CROSS_BUILD_FLAGS = run_help2man=$(CURDIR)/man/dummy-man
1212+ CROSS_INSTALL_FLAGS = EXTRA_MANS=
1213+endif
1214+
1215 BIN_PROGS = cat chgrp chmod chown cp date dd df dir echo false ln ls mkdir \
1216 mknod mv pwd readlink rm rmdir vdir sleep stty sync touch true uname \
1217 mktemp
1218 d=debian/coreutils
1219
1220 override_dh_auto_configure:
1221- dh_auto_configure -- --enable-install-program=arch
1222+ifeq ($(cross_build),yes)
1223+ echo 'fu_cv_sys_stat_statfs2_bsize=yes' > config.cache
1224+endif
1225+ dh_auto_configure -- --enable-install-program=arch $(CROSS_CONFIGURE_FLAGS)
1226
1227 %:
1228 dh $@ --with autoreconf
1229@@ -27,11 +37,39 @@ override_dh_auto_configure:
1230 override_dh_auto_clean:
1231 make distclean || true
1232
1233+override_dh_auto_build:
1234+ dh_auto_build -- $(CROSS_BUILD_FLAGS)
1235+
1236 override_dh_auto_test:
1237- # tests fail a lot on the buildds
1238+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
1239+ifneq ($(cross_build),yes)
1240+ ifeq ($(DEB_HOST_ARCH),armhf)
1241+ : # on armhf, the cut-huge-range test fails on the buildds when run
1242+ : # in the test suite. Run it explicitely, and then ignore the
1243+ : # test results when run in the test suite.
1244+ : # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1245+ -$(MAKE) SHELL=/bin/dash TESTS=tests/misc/cut-huge-range.sh check
1246+ cat tests/misc/cut-huge-range.log
1247+ rm -f tests/misc/cut-huge-range.log tests/misc/cut-huge-range.trs
1248+ : # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1249+ if dh_auto_test; then \
1250+ echo "tests succeeded unexpectedly" ; \
1251+ else \
1252+ echo XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; \
1253+ echo "TEST FAILURES (log)"; \
1254+ cat tests/misc/cut-huge-range.log; \
1255+ echo "TEST FAILURES (trs)"; \
1256+ cat tests/misc/cut-huge-range.trs; \
1257+ echo "ignoring the cut-huge-range test failure" ; \
1258+ fi
1259+ else
1260+ dh_auto_test
1261+ endif
1262+endif
1263+endif
1264
1265 override_dh_auto_install:
1266- dh_auto_install --destdir=$(d)
1267+ dh_auto_install --destdir=$(d) -- $(CROSS_INSTALL_FLAGS)
1268
1269 override_dh_install-arch:
1270 dh_install -a
1271diff --git a/debian/tests/control b/debian/tests/control
1272new file mode 100644
1273index 0000000..6d4d638
1274--- /dev/null
1275+++ b/debian/tests/control
1276@@ -0,0 +1,2 @@
1277+Tests: upstream
1278+Depends: coreutils, acl, strace
1279diff --git a/debian/tests/upstream b/debian/tests/upstream
1280new file mode 100644
1281index 0000000..0da9089
1282--- /dev/null
1283+++ b/debian/tests/upstream
1284@@ -0,0 +1,348 @@
1285+#!/bin/sh
1286+# Run a subset of the upstream tests which work in an unbuilt tree against the
1287+# system installed package; these have been selected with
1288+#
1289+# for t in tests/*/*; do if env LANG= LANGUAGE= LC_ALL=C CONFIG_HEADER=/dev/null $t >/dev/null 2>&1; then echo ${t#tests/}; fi; done
1290+
1291+# plus remove all tests depending on test binaries (getlimits, ginstall).
1292+#set -e
1293+
1294+# ensure that we do not stumble over translations
1295+unset LANG
1296+unset LANGUAGE
1297+export LC_ALL=C
1298+fails=0
1299+
1300+for test in \
1301+ chgrp/basic.sh \
1302+ chgrp/default-no-deref.sh \
1303+ chgrp/deref.sh \
1304+ chgrp/no-x.sh \
1305+ chgrp/posix-H.sh \
1306+ chgrp/recurse.sh \
1307+ chmod/c-option.sh \
1308+ chmod/equal-x.sh \
1309+ chmod/equals.sh \
1310+ chmod/inaccessible.sh \
1311+ chmod/no-x.sh \
1312+ chmod/octal.sh \
1313+ chmod/setgid.sh \
1314+ chmod/silent.sh \
1315+ chmod/thru-dangling.sh \
1316+ chmod/umask-x.sh \
1317+ chmod/usage.sh \
1318+ chown/deref.sh \
1319+ chown/preserve-root.sh \
1320+ cp/abuse.sh \
1321+ cp/attr-existing.sh \
1322+ cp/backup-1.sh \
1323+ cp/backup-dir.sh \
1324+ cp/backup-is-src.sh \
1325+ cp/cp-HL.sh \
1326+ cp/cp-deref.sh \
1327+ cp/cp-i.sh \
1328+ cp/cp-mv-backup.sh \
1329+ cp/cp-parents.sh \
1330+ cp/deref-slink.sh \
1331+ cp/dir-rm-dest.sh \
1332+ cp/dir-slash.sh \
1333+ cp/dir-vs-file.sh \
1334+ cp/existing-perm-dir.sh \
1335+ cp/fail-perm.sh \
1336+ cp/into-self.sh \
1337+ cp/link-deref.sh \
1338+ cp/link-no-deref.sh \
1339+ cp/link-preserve.sh \
1340+ cp/link-symlink.sh \
1341+ cp/link.sh \
1342+ cp/no-deref-link1.sh \
1343+ cp/no-deref-link2.sh \
1344+ cp/no-deref-link3.sh \
1345+ cp/preserve-link.sh \
1346+ cp/preserve-mode.sh \
1347+ cp/proc-short-read.sh \
1348+ cp/proc-zero-len.sh \
1349+ cp/r-vs-symlink.sh \
1350+ cp/reflink-perm.sh \
1351+ cp/same-file.sh \
1352+ cp/slink-2-slink.sh \
1353+ cp/sparse-to-pipe.sh \
1354+ cp/sparse.sh \
1355+ cp/special-f.sh \
1356+ cp/src-base-dot.sh \
1357+ cp/symlink-slash.sh \
1358+ cp/thru-dangling.sh \
1359+ dd/ascii.sh \
1360+ dd/bytes.sh \
1361+ dd/direct.sh \
1362+ dd/misc.sh \
1363+ dd/no-allocate.sh \
1364+ dd/nocache.sh \
1365+ dd/not-rewound.sh \
1366+ dd/reblock.sh \
1367+ dd/skip-seek2.sh \
1368+ dd/sparse.sh \
1369+ dd/stderr.sh \
1370+ dd/unblock-sync.sh \
1371+ df/df-P.sh \
1372+ df/df-output.sh \
1373+ df/header.sh \
1374+ df/unreadable.sh \
1375+ du/8gb.sh \
1376+ du/basic.sh \
1377+ du/bigtime.sh \
1378+ du/deref-args.sh \
1379+ du/deref.sh \
1380+ du/exclude.sh \
1381+ du/files0-from-dir.sh \
1382+ du/hard-link.sh \
1383+ du/inacc-dest.sh \
1384+ du/inacc-dir.sh \
1385+ du/inodes.sh \
1386+ du/long-from-unreadable.sh \
1387+ du/long-sloop.sh \
1388+ du/max-depth.sh \
1389+ du/no-deref.sh \
1390+ du/no-x.sh \
1391+ du/restore-wd.sh \
1392+ du/slash.sh \
1393+ du/threshold.sh \
1394+ du/trailing-slash.sh \
1395+ du/two-args.sh \
1396+ fmt/goal-option.sh \
1397+ fmt/long-line.sh \
1398+ id/uid.sh \
1399+ id/zero.sh \
1400+ install/trap.sh \
1401+ ln/backup-1.sh \
1402+ ln/hard-backup.sh \
1403+ ln/hard-to-sym.sh \
1404+ ln/relative.sh \
1405+ ln/sf-1.sh \
1406+ ln/slash-decorated-nonexistent-dest.sh \
1407+ ln/target-1.sh \
1408+ ls/abmon-align.sh \
1409+ ls/block-size.sh \
1410+ ls/color-clear-to-eol.sh \
1411+ ls/color-dtype-dir.sh \
1412+ ls/color-norm.sh \
1413+ ls/color-term.sh \
1414+ ls/dangle.sh \
1415+ ls/dired.sh \
1416+ ls/file-type.sh \
1417+ ls/follow-slink.sh \
1418+ ls/infloop.sh \
1419+ ls/inode.sh \
1420+ ls/m-option.sh \
1421+ ls/multihardlink.sh \
1422+ ls/no-arg.sh \
1423+ ls/proc-selinux-segfault.sh \
1424+ ls/recursive.sh \
1425+ ls/root-rel-symlink-color.sh \
1426+ ls/rt-1.sh \
1427+ ls/slink-acl.sh \
1428+ ls/stat-dtype.sh \
1429+ ls/stat-failed.sh \
1430+ ls/stat-free-symlinks.sh \
1431+ ls/stat-vs-dirent.sh \
1432+ ls/symlink-slash.sh \
1433+ ls/time-style-diag.sh \
1434+ ls/x-option.sh \
1435+ misc/cat-proc.sh \
1436+ misc/chcon-fail.sh \
1437+ misc/csplit-1000.sh \
1438+ misc/csplit-heap.sh \
1439+ misc/csplit.sh \
1440+ misc/date-sec.sh \
1441+ misc/env-null.sh \
1442+ misc/false-status.sh \
1443+ misc/head-pos.sh \
1444+ misc/head-write-error.sh \
1445+ misc/invalid-opt.pl \
1446+ misc/ls-time.sh \
1447+ misc/md5sum-bsd.sh \
1448+ misc/md5sum-parallel.sh \
1449+ misc/mknod.sh \
1450+ misc/nice-fail.sh \
1451+ misc/nice.sh \
1452+ misc/nl.sh \
1453+ misc/nohup.sh \
1454+ misc/nproc-avail.sh \
1455+ misc/nproc-positive.sh \
1456+ misc/od-N.sh \
1457+ misc/od-endian.sh \
1458+ misc/od-float.sh \
1459+ misc/od-multiple-t.sh \
1460+ misc/od-x8.sh \
1461+ misc/pathchk1.sh \
1462+ misc/printenv.sh \
1463+ misc/printf-hex.sh \
1464+ misc/printf-surprise.sh \
1465+ misc/ptx-overrun.sh \
1466+ misc/pwd-option.sh \
1467+ misc/readlink-fp-loop.sh \
1468+ misc/readlink-root.sh \
1469+ misc/realpath.sh \
1470+ misc/runcon-no-reorder.sh \
1471+ misc/shred-exact.sh \
1472+ misc/shred-passes.sh \
1473+ misc/shred-remove.sh \
1474+ misc/sort-NaN-infloop.sh \
1475+ misc/sort-compress.sh \
1476+ misc/sort-debug-keys.sh \
1477+ misc/sort-debug-warn.sh \
1478+ misc/sort-exit-early.sh \
1479+ misc/sort-merge-fdlimit.sh \
1480+ misc/sort-month.sh \
1481+ misc/sort-rand.sh \
1482+ misc/sort-unique.sh \
1483+ misc/sort-version.sh \
1484+ misc/stat-fmt.sh \
1485+ misc/stat-hyphen.sh \
1486+ misc/stat-mount.sh \
1487+ misc/stat-nanoseconds.sh \
1488+ misc/stat-slash.sh \
1489+ misc/stty-invalid.sh \
1490+ misc/stty-row-col.sh \
1491+ misc/sum-sysv.sh \
1492+ misc/tac-2-nonseekable.sh \
1493+ misc/tee.sh \
1494+ misc/timeout-group.sh \
1495+ misc/timeout.sh \
1496+ misc/tr-case-class.sh \
1497+ misc/truncate-dangling-symlink.sh \
1498+ misc/truncate-dir-fail.sh \
1499+ misc/truncate-fail-diag.sh \
1500+ misc/truncate-fifo.sh \
1501+ misc/truncate-no-create-missing.sh \
1502+ misc/truncate-parameters.sh \
1503+ misc/truncate-relative.sh \
1504+ misc/uniq-perf.sh \
1505+ misc/wc-files0.sh \
1506+ misc/wc-parallel.sh \
1507+ mkdir/p-1.sh \
1508+ mkdir/p-2.sh \
1509+ mkdir/p-3.sh \
1510+ mkdir/p-acl.sh \
1511+ mkdir/p-slashdot.sh \
1512+ mkdir/p-thru-slink.sh \
1513+ mkdir/p-v.sh \
1514+ mkdir/parents.sh \
1515+ mkdir/perm.sh \
1516+ mkdir/special-1.sh \
1517+ mkdir/t-slash.sh \
1518+ mv/atomic.sh \
1519+ mv/atomic2.sh \
1520+ mv/backup-dir.sh \
1521+ mv/childproof.sh \
1522+ mv/diag.sh \
1523+ mv/dir-file.sh \
1524+ mv/dir2dir.sh \
1525+ mv/dup-source.sh \
1526+ mv/force.sh \
1527+ mv/hard-2.sh \
1528+ mv/hard-3.sh \
1529+ mv/hard-4.sh \
1530+ mv/i-2.sh \
1531+ mv/i-3.sh \
1532+ mv/i-4.sh \
1533+ mv/i-5.sh \
1534+ mv/i-link-no.sh \
1535+ mv/into-self-3.sh \
1536+ mv/into-self-4.sh \
1537+ mv/into-self.sh \
1538+ mv/mv-n.sh \
1539+ mv/no-target-dir.sh \
1540+ mv/perm-1.sh \
1541+ mv/symlink-onto-hardlink-to-self.sh \
1542+ mv/symlink-onto-hardlink.sh \
1543+ mv/trailing-slash.sh \
1544+ mv/update.sh \
1545+ readlink/can-e.sh \
1546+ readlink/can-f.sh \
1547+ readlink/can-m.sh \
1548+ readlink/multi.sh \
1549+ readlink/rl-1.sh \
1550+ rm/cycle.sh \
1551+ rm/d-1.sh \
1552+ rm/d-2.sh \
1553+ rm/d-3.sh \
1554+ rm/dangling-symlink.sh \
1555+ rm/deep-1.sh \
1556+ rm/deep-2.sh \
1557+ rm/dir-no-w.sh \
1558+ rm/dir-nonrecur.sh \
1559+ rm/dot-rel.sh \
1560+ rm/empty-inacc.sh \
1561+ rm/f-1.sh \
1562+ rm/fail-eacces.sh \
1563+ rm/i-1.sh \
1564+ rm/i-never.sh \
1565+ rm/i-no-r.sh \
1566+ rm/ignorable.sh \
1567+ rm/interactive-always.sh \
1568+ rm/interactive-once.sh \
1569+ rm/ir-1.sh \
1570+ rm/isatty.sh \
1571+ rm/one-file-system2.sh \
1572+ rm/r-1.sh \
1573+ rm/r-2.sh \
1574+ rm/r-3.sh \
1575+ rm/r-4.sh \
1576+ rm/readdir-bug.sh \
1577+ rm/rm1.sh \
1578+ rm/rm2.sh \
1579+ rm/rm3.sh \
1580+ rm/rm4.sh \
1581+ rm/rm5.sh \
1582+ rm/sunos-1.sh \
1583+ rm/unread2.sh \
1584+ rm/unread3.sh \
1585+ rm/v-slash.sh \
1586+ rmdir/fail-perm.sh \
1587+ rmdir/ignore.sh \
1588+ rmdir/t-slash.sh \
1589+ split/additional-suffix.sh \
1590+ split/b-chunk.sh \
1591+ split/filter.sh \
1592+ split/guard-input.sh \
1593+ split/l-chunk.sh \
1594+ split/line-bytes.sh \
1595+ split/lines.sh \
1596+ split/numeric.sh \
1597+ split/r-chunk.sh \
1598+ split/suffix-auto-length.sh \
1599+ split/suffix-length.sh \
1600+ tail-2/F-vs-rename.sh \
1601+ tail-2/flush-initial.sh \
1602+ tail-2/follow-name.sh \
1603+ tail-2/follow-stdin.sh \
1604+ tail-2/inotify-hash-abuse.sh \
1605+ tail-2/inotify-hash-abuse2.sh \
1606+ tail-2/pipe-f.sh \
1607+ tail-2/pipe-f2.sh \
1608+ tail-2/proc-ksyms.sh \
1609+ tail-2/start-middle.sh \
1610+ tail-2/tail-n0f.sh \
1611+ tail-2/wait.sh \
1612+ touch/60-seconds.sh \
1613+ touch/dangling-symlink.sh \
1614+ touch/dir-1.sh \
1615+ touch/empty-file.sh \
1616+ touch/fail-diag.sh \
1617+ touch/fifo.sh \
1618+ touch/no-create-missing.sh \
1619+ touch/no-rights.sh \
1620+ touch/not-owner.sh \
1621+ touch/obsolescent.sh \
1622+ touch/read-only.sh \
1623+ touch/relative.sh \
1624+ touch/trailing-slash.sh \
1625+; do
1626+ echo "$test"
1627+ chmod a+x "tests/$test"
1628+ OUT=$(tests/$test 2>&1 9>&1) || [ $? = 77 ] || { fails=$((fails+1)); echo "FAIL:"; echo "$OUT"; }
1629+done
1630+
1631+echo $fails tests failed
1632+exit $fails

Subscribers

People subscribed via source and target branches