Commit Graph

212 Commits

Author SHA1 Message Date
Janne Heß
012d5bbf96
Merge pull request #180173 from lopsided98/coreutils-uptime
coreutils: enable /proc/uptime support when cross-compiling
2022-07-06 21:49:04 +02:00
Ben Wolsieffer
03d159b493 coreutils: enable /proc/uptime support when cross-compiling
/proc/uptime support can't be detected automatically when cross-compiling, so
it is disabled by default. This causes extremely large uptime values (e.g.
19167 days) on systems without RTCs because the boot time is set to the
epoch.
2022-07-05 19:53:50 -04:00
Robert Scott
c9afe80ba5 coreutils: reintroduce patch disabling SEEK_HOLE in cp for darwin x86_64
partial revert of a891659902
2022-06-25 23:24:44 +01:00
AndersonTorres
312928f0bc coreutils: refactor the expression 2022-06-19 00:46:38 -03:00
AndersonTorres
40c7edc3ab coreutils: use SRI hash format 2022-06-16 12:27:11 -03:00
Janne Heß
a9468b99ef
coreutils: Get rid of the optionalAttrs 2022-05-26 13:28:14 +02:00
Janne Heß
5de817cd3f
coreutils: NixOS.org -> nixos.org
Capitalized URLs look weird
2022-05-26 12:18:42 +02:00
Janne Heß
a891659902
coreutils: 9.0 -> 9.1 2022-05-25 22:08:30 +02:00
Alyssa Ross
661dfd8347 pkgsMusl.coreutils: fix build on aarch64
I suspect this issue is caused by the very old version of diffutils we
have in the aarch64+musl bootstrap tools, so hopefully we can
re-enable the tests once we have newer bootstrap tools.
2022-04-22 17:26:43 +00:00
Alyssa Ross
e30f0f31e8 coreutils: add debug output 2022-03-28 22:22:39 +00:00
Dmitry Kalinkin
2ddda43924
Merge branch 'staging' into staging-next
Conflicts:
	pkgs/os-specific/linux/kernel/common-config.nix
2021-12-25 17:16:26 -05:00
Patrick Meyer
373d2348be coreutils: patch for uname to show the correct arch on arm macos
Until a recent patch in coreutils, gnus uname -p returned a different
arch on apple silicon macs, compared to the uname shipped with macos.
This causes config.guess to produce incorrect build system triplets
for various projects on these systems when in a nix-shell.[23][42]

As coreutils only releases every few months/years and no release is
planned at the moment, I'm introducing the patch here. We can drop it
once the next coreutils version is released.

I made a tiny adjustment to the patch from [23]. I removed the usage
of MAYBE_UNUSED, which currently only compiles against HEAD.

[23] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52330
[42] https://github.com/NixOS/nixpkgs/issues/147914
2021-12-22 04:36:40 -05:00
Artturin
abc6924adf coreutils: add -full postfix when not minimal 2021-12-21 20:46:46 +02:00
Janne Heß
e165f73601
coreutils: Disable cut-huge-range.sh 2021-11-09 11:59:38 +01:00
Janne Heß
15c01ca722
coreutils: Enable more tests
These were tested on x86_64-linux with both the daemon and root mode and
on aarch64-linux in daemon mode.
2021-11-09 11:59:36 +01:00
Janne Heß
ea9de89376
coreutils: Remove outdated patches
The arm patch tries to modify files that are nowhere to be found in the
entire source tree. The cygwin patch also doesn't work so good anymore:

1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
1 out of 1 hunk ignored -- saving rejects to file configure.ac.rej
1 out of 1 hunk FAILED -- saving rejects to file lib/hash-triple.c.rej
2 out of 2 hunks ignored
2 out of 2 hunks FAILED -- saving rejects to file src/chroot.c.rej
1 out of 1 hunk FAILED -- saving rejects to file src/cksum.c.rej
6 out of 9 hunks FAILED -- saving rejects to file src/copy.c.rej
1 out of 4 hunks FAILED -- saving rejects to file src/dd.c.rej
1 out of 1 hunk ignored
1 out of 2 hunks FAILED -- saving rejects to file src/mv.c.rej
4 out of 7 hunks FAILED -- saving rejects to file src/stat.c.rej
2021-11-09 11:59:08 +01:00
happysalada
1f4911e267 coreutils: disable flaky test 2021-11-09 19:51:53 +09:00
github-actions[bot]
7516a2e172
Merge staging-next into staging 2021-11-04 00:02:12 +00:00
misuzu
34ceb8643c coreutils: drop upstreamed patch for armv7l 2021-11-03 22:06:48 +02:00
github-actions[bot]
37b1afa489
Merge staging-next into staging 2021-10-28 18:02:03 +00:00
Janne Heß
924ccbff80
coreutils: Disable SEEK_HOLE due to corruption
See https://github.com/openzfs/zfs/issues/11900 as an example. This only
happens on Coreutils 9.0. Reported here:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51433
2021-10-27 20:54:25 +02:00
Sergei Trofimovich
df17077dba coreutils: enable parallel builds and tests
Tested on 16-core machine with 10 rebuilds:
    $ nix build -f. coreutils --repeat 10

No failures. Original failure is probably fixed upstream
with a69e54cfdf7 ("maint: fix dependency of man/arch.1".)
2021-10-17 21:30:55 +01:00
Janne Heß
b42fa98371
coreutils: Add myself as a maintainer 2021-09-30 21:23:57 +02:00
Janne Heß
a888c0d0e4
coreutils: 8.32 -> 9.0 2021-09-30 21:23:12 +02:00
Kranium Gikos Mendoza
17a9d5926c coreutils: disable tests on armv7l 2021-08-17 16:36:22 +10:00
Sandro
1f831f0552
Merge pull request #116241 from SuperSandro2000/coreutils-sandbox 2021-06-01 18:04:51 +02:00
Sandro Jäckel
c5c951defe
coreutils: disable tests which fail in sandbox 2021-05-30 19:37:14 +02:00
Dmitry Kalinkin
2e0d0b4692
coreutils: disable df-symlink test 2021-03-09 21:52:38 -05:00
Dmitry Kalinkin
25f8e0cef9
coreutils: enable tests for non-standard store path
Tests don't fail because of a different store path, but for other reasons like
lack of sandboxing. Those tests should be disabled explicitly.
2021-03-09 21:52:38 -05:00
Jan Tojnar
e03806bc45
Merge branch 'staging-next' into staging 2021-01-15 17:47:43 +01:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Zhaofeng Li
091a4ef01e coreutils: Apply sys_getdents patch unconditionally
Also breaks build for riscv64.
2021-01-13 20:13:59 -08:00
Joachim Breitner
a00f391174 coreutils: Do not autoreconfHook on Musl
as suggested by @tobim, fixes #108661
2021-01-08 05:43:28 +00:00
Ben Wolsieffer
b70430a3dd coreutils: fix build on 32-bit ARM
Adds an upstream patch to fix failing tests. The patch actually affects gnulib,
which is included as a vendored dependency.
2020-11-15 17:17:31 -05:00
Vladimír Čunát
89023c38fc
Recover the complicated situation after my bad merge
I made a mistake merge.  Reverting it in c778945806 undid the state
on master, but now I realize it crippled the git merge mechanism.
As the merge contained a mix of commits from `master..staging-next`
and other commits from `staging-next..staging`, it got the
`staging-next` branch into a state that was difficult to recover.

I reconstructed the "desired" state of staging-next tree by:
 - checking out the last commit of the problematic range: 4effe769e2
 - `git rebase -i --preserve-merges a8a018ddc0` - dropping the mistaken
   merge commit and its revert from that range (while keeping
   reapplication from 4effe769e2)
 - merging the last unaffected staging-next commit (803ca85c20)
 - fortunately no other commits have been pushed to staging-next yet
 - applying a diff on staging-next to get it into that state
2020-10-26 09:01:04 +01:00
Vladimír Čunát
4bd836b381
Merge branch 'master' into staging-next 2020-10-25 09:46:04 +01:00
Vladimír Čunát
c778945806
Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
I'm sorry; I didn't notice it contained staging commits.

This reverts commit 17f5305b6c, reversing
changes made to a8a018ddc0.
2020-10-25 09:41:51 +01:00
Vladimír Čunát
803ca85c20
coreutils: fix aarch64 build by upstream patch
https://hydra.nixos.org/build/128781441
We can't use fetchpatch here, unfortunately.
2020-10-25 08:07:15 +01:00
Tim Steinbach
d14a910029
coreutils: 8.31 -> 8.32 2020-10-17 17:03:05 -04:00
Matthew Bauer
d0677e6d45 treewide: add warning comment to “boot” packages
This adds a warning to the top of each “boot” package that reads:

  Note: this package is used for bootstrapping fetchurl, and thus cannot
  use fetchpatch! All mutable patches (generated by GitHub or cgit) that
  are needed here should be included directly in Nixpkgs as files.

This makes it clear to maintainer that they may need to treat this
package a little differently than others. Importantly, we can’t use
fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale
hashes, we need to include patches that are subject to changing
overtime (for instance, gitweb’s patches contain a version number at
the bottom).
2020-07-31 08:56:53 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Rickard Nilsson
28f2dcc8b7 pkgs/coreutils: Disable the df skip-rootfs test
In the sandbox built for https://nixbuild.net, the coreutils build fails
because a failure in the df skip-rootfs test. The test failure is triggered by
the existance of a rootfs file system. However, I think that the test is faulty,
and I have reported it upstream in
https://lists.gnu.org/archive/html/bug-coreutils/2019-12/msg00000.html.

Disabling the test makes the coreutils build work in the nixbuild.net sandbox,
and I can't think of any negative impact disabling it can have. In normal nix
setups and in the normal nix sandbox, this test is not exercised anyway, since
there is no rootfs visible.
2020-01-29 09:05:03 +01:00
Bastian Köcher
320a4c1526 coreutils: Fix cross compilation for Android 2020-01-15 09:44:10 +01:00
Niklas Hambüchen
19b043fe84 coreutils: Patch benign test case failing with musl.
See https://github.com/NixOS/nixpkgs/pull/61250#issuecomment-491642024

Using upstream patch.
2019-08-14 19:16:43 +02:00
Niklas Hambüchen
5524dac2fe coreutils: Refactor test patching.
So that more patches can easily be added and commented.
2019-08-14 19:16:43 +02:00
Sascha Grunert
bb6c2a0c25 coreutils: Skip inotify dir-recreate test
Some target platforms, especially when building inside a container
have issues with the inotify test. I also saw issues related to that
test under macOS so I would suggest in skipping that for now.
2019-06-18 11:19:54 +02:00
Tobias Mayer
66cf1c68a6 Avoid changing of derivation for non-musl platform 2019-05-12 22:25:01 +02:00
Tobias Mayer
17c2884c70 coreutils: fix musl cross compilation 2019-05-12 22:25:01 +02:00
Will Dietz
2f7bf95f51 coreutils: 8.30 -> 8.31, touchups
Release notes:

https://savannah.gnu.org/forum/forum.php?forum_id=9394

Touchups:
* enable tests w/musl (disable 2 gnulib tests)
* improve tests we modify: use exit code 77 to
  indicate test skipped (causing it to be reportd as SKIP)

Note: Not yet on mirrors, but can be (manually) fetched from primary
2019-03-11 00:38:45 -05:00
Matthew Bauer
8a08d7e7cc
Merge pull request #56031 from matthewbauer/priorities
Add some more priorities
2019-03-09 18:02:55 -05:00