Commit Graph

70 Commits

Author SHA1 Message Date
Artturin
c3c0444949 findutils: move {locate,updatedb} to a separate $locate output
https://github.com/NixOS/nixpkgs/issues/53925
2022-03-26 21:55:19 +02:00
Maximilian Bosch
49028fb110
findutils: fix build w/glibc-2.34
This "-D__nonnull\\(params\\)=" leads to a compilation failure in e.g.
the configure phase:

    configure:21131: gcc -c -D__nonnull\(params\)=  conftest.c >&5
    <command-line>: warning: ISO C99 requires whitespace after the macro name
    <command-line>: error: stray '\' in program
    <command-line>: error: expected ',' or ';' before '(' token
    <command-line>: error: stray '\' in program

According to the commit this isn't even needed on Linux.

I confirmed that this is an (expectable) glibc-2.34 thing by checking
that

* the issue doesn't occur with gcc 10/11 on a recent glibc-2.33 staging.
* the issue DOES occur in a docker container with Fedora rawhide (which
  has glibc 2.34 and gcc 11).
2022-02-27 10:25:34 +01:00
Lancelot SIX
c4232bf2b7 findutils: 4.8.0 -> 4.9.0
See https://mail.gnu.org/archive/html/info-gnu/2022-02/msg00003.html for
release information.
2022-02-05 11:47:20 +00:00
Ben Wolsieffer
a7dbb32253 findutils: remove upstreamed patch
The patch for 32-bit ARM was included in 4.8.0, and therefore needs to be
removed.
2021-07-31 18:25:53 -04:00
midchildan
c85ce73a2c findutils: fix darwin build 2021-03-12 17:14:56 +00:00
midchildan
5f49a8dfe8 Revert "Revert "findutils: 4.7.0 -> 4.8.0""
This reverts commit 4acf7fd6bc.
2021-03-12 17:14:56 +00:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Ben Wolsieffer
0f5235b688 findutils: fix build on 32-bit ARM
Add 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
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
Travis A. Everett
e0ac44ef45 findutils: fix undeclared xargs dep on echo
When invoked without a command parameter, xargs runs echo from PATH.
This change patches xargs to use a specific Nix-built echo.
2020-06-14 08:55:24 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Lancelot SIX
6e4e0cf44d findutils: 4.6.0 -> 4.7.0 (#67753)
See https://lists.gnu.org/archive/html/info-gnu/2019-08/msg00009.html
for release information
2019-08-31 23:03:04 -04:00
c0bw3b
0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
Jörg Thalheim
56b95ba437 findutils: specify on which kernel version the test fail 2018-09-15 19:43:11 +01:00
Dmitry Kalinkin
ef04b4f283 findutils: disable a bogus test 2018-09-14 15:53:50 -04:00
John Ericson
0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
volth
6d2857a311 [bot] treewide: remove unused 'inherit' in let blocks 2018-07-20 19:38:19 +00:00
Will Dietz
8ad9400a6c findutils: disable tests w/musl 2018-02-13 09:44:41 -06:00
John Ericson
220e3817b8 findutils: Manually specify sort's location
Run-time deps aren't necessarily on the PATH, so we cannot rely on
configure finding it.

N.B. on cross `-z` support is assumed missing, which is an incorrect
assumption.
2017-08-16 11:26:18 -04:00
Ross MacLeod
d710c2d943 findutils: modernize and fix cross 2017-06-22 17:53:54 -04:00
Vladimír Čunát
a1919db7cd
Merge branch 'master' into staging 2017-02-27 20:15:27 +01:00
Tuomas Tynkkynen
78d9414ce5 findutils: Fix cross compilation
Yes, setting crossAttrs.propagatedBuildInputs is the correct value to
set to override a buildInputs from the native drv!
2017-02-27 00:15:53 +02:00
Vladimír Čunát
f157956266
findutils: add the forgotten file (I'm sorry)
/cc #23152.
2017-02-26 09:44:27 +01:00
Vladimír Čunát
2f726fed9f
findutils: fixup sandboxed build after #23152 2017-02-26 09:26:22 +01:00
Mogria
417dbaf6a3 findutils: updatedb now uses writable database outside of /nix/store by default
updatedb could only be run by providing the --output parameter,
because it would use a path inside the nix store as it's database.
The default for --output is now /var/cache/locatedb (the same
as in the NixOS locate service)
2017-02-24 16:36:58 +01:00
Vladimír Čunát
09d02f72f6
Re-revert "Merge: glibc: 2.24 -> 2.25"
This reverts commit 55cc7700e9.
I hope most problems have been solved.  /cc #22874.
2017-02-20 21:16:41 +01:00
Vladimír Čunát
524de86db0
findutils: plug a memory leak (close #22857)
Using the upstream patch directly.  It's copied in nixpkgs, because:
 - fetchpatch isn't usable at this point in bootstrapping,
 - the upstream patch creates collisions in NEWS.
2017-02-16 19:16:51 +01:00
Vladimír Čunát
55cc7700e9
Revert "Merge: glibc: 2.24 -> 2.25"
This reverts commit 1daf2e26d2, reversing
changes made to c0c50dfcb7.

It seems this is what has been causing all the reliability problems
on Hydra.  I'm currently unable to find why it happens, so I'm forced
to revert the update for now.  Discussion: #22874.
2017-02-16 18:16:06 +01:00
Vladimír Čunát
5ed010f50b
findutils: disable tests on i686-linux
They won't work since glibc-2.25, and I don't like to spend more time on that.
2017-02-13 22:10:50 +01:00
Vladimír Čunát
ab15a62c68 Merge branch 'master' into closure-size
Beware that stdenv doesn't build. It seems something more will be needed
than just resolution of merge conflicts.
2016-04-01 10:06:01 +02:00
Eelco Dolstra
e9b408936c findutils: Disable tests on Darwin
The strftime test fails with:

NZST-12NZDT,M9.5.0,M4.1.0/3: expected "1970-01-01 13:00:00 +1300 (NZDT)", got "1970-01-01 12:00:00 +1200 (NZST)"

The source in fact marks this test as "ahistorical", so the result on
Darwin might not be incorrect.

http://hydra.nixos.org/build/32578562/nixlog/1/raw
2016-03-01 16:14:58 +01:00
Eelco Dolstra
015c7afffa findutils: 4.4.2 -> 4.6.0
The first findutils update in six years! Changes:

https://lists.gnu.org/archive/html/info-gnu/2015-12/msg00014.html
2016-02-27 23:18:50 +01:00
Vladimír Čunát
5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
Robert Scott
ad779acd3b findutils: disable test_canonicalize (close #8324)
It fails when user doesn't have permission to list all TMPDIR's parent directories.
2015-06-22 18:55:14 +02:00
Marko Durkovic
221b5a5be5 cygwin: findutils fpending and coreutils patch 2015-05-28 10:53:35 +02:00
Vladimír Čunát
bf414c9d4f Merge 'staging' into closure-size
- there were many easy merge conflicts
- cc-wrapper needed nontrivial changes

Many other problems might've been created by interaction of the branches,
but stdenv and a few other packages build fine now.
2015-04-18 11:22:20 +02:00
Eelco Dolstra
2ed5c2bd6b Set some meta.platforms
Also fix meta.platform -> meta.platforms in a few places.
2015-03-20 20:04:42 +01:00
Vladimír Čunát
a70180ba73 mutiout: make it builtin 2014-08-30 08:27:43 +02:00
Vladimír Čunát
fb59f27a43 WIP: getting good 2014-08-27 01:14:09 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Eelco Dolstra
ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Eelco Dolstra
5553546c21 Remove a bunch of unreferenced files
Plus a small number of obsolete packages (like old versions of qemu).
2012-11-29 13:43:37 +01:00
Eelco Dolstra
f04aa4fb59 Remove findutils 4.2.27
We only used this version on Darwin, but the regular findutils seems
to build fine.
2012-11-29 12:02:07 +01:00
Ludovic Courtès
99d51d0e92 Assorted GNU updates.
svn path=/nixpkgs/branches/stdenv-updates/; revision=21047
2010-04-13 08:37:54 +00:00
Lluís Batlle i Rossell
19b9811012 Making a bunch of basic programs cross-buildable.
After this, the 'bootstrap-tools' can be cross-built.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20945
2010-04-04 18:10:42 +00:00
Ludovic Courtès
a6b2ffd5f2 GNU Find Utilities 4.4.1.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15242
2009-04-22 12:11:21 +00:00
Eelco Dolstra
aa84bce64d * Get rid of all references to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=13299
2008-11-14 16:57:19 +00:00
Eelco Dolstra
a218b9b2e7 * Updated coreutils and findutils.
svn path=/nixpkgs/branches/stdenv-updates/; revision=11685
2008-04-22 13:12:45 +00:00
Eelco Dolstra
8cd1b893cf * coreutils-6.10, findutils-4.2.32.
* Added some meta attributes.

svn path=/nixpkgs/branches/stdenv-updates/; revision=10511
2008-02-06 13:18:50 +00:00
Eelco Dolstra
b37f504680 * Updated various stdenv packages (grep, gawk, tar, cpio, findutils,
pcre).

svn path=/nixpkgs/branches/stdenv-updates/; revision=9758
2007-11-19 17:39:19 +00:00