Commit Graph

358160 Commits

Author SHA1 Message Date
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
Maximilian Bosch 7bc32b3e5c glibc: symlink libpthread.so -> libpthread.so.0 (same for -lrt) for backwards compatibility
Linking via `-lpthread` (or `-pthread`) is not needed anymore since
`glibc-2.34` since all the functionality is part of `libc.so.6` and
`libpthread.so.6` only exists for backwards-compatibility.

However, e.g. `gcc` (`libgomp` to be precise) expects a `libpthread.so`
to link against, otherwise the configure script will fail. As already
stated in the glibc release-notes itself, it is to expect that a lot
more applications will have issues with this, so I decided to re-add
`libpthread.so` as well.

For `librt.so.1`, the same thing is needed to make sure that Perl still
compiles:

    /nix/store/d6y5r7m93x14bmgn2p75fannz39jz66f-binutils-2.35.1/bin/ld: cannot find -lrt
    collect2: error: ld returned 1 exit status
    make[1]: *** [Makefile:490: ../../lib/auto/Time/HiRes/HiRes.so] Error 1
    make[1]: Leaving directory '/build/perl-5.34.0/dist/Time-HiRes'
2022-02-27 10:25:34 +01:00
Maximilian Bosch 7459a4021c stdenv-bootstrap: force using new libc from stage2
This fix is needed to work around linker-errors such as

    undefined reference to `__libc_csu_fini'

which I got in almost every derivation which is part of stage2. The
reasoning behind this is that the startup-code was simplified[1] and
thus `__libc_csu_fini` doesn't exist anymore.

A workable solution is to use a newer libc which properly links in
stage3. And actually this seems expected given the rationale for stage3:

    # Construct a third stdenv identical to the 2nd, except that this
    # one uses the rebuilt Glibc from stage2.  It still uses the recent
    # binutils and rest of the bootstrap tools, including GCC.

So this patch basically overrides the libraries inside `gcc-unwrapped` -
which is basically the bootstrap tools and thus also contains the libc
used in stage3 - with the shared objects from the freshly built libc
from stage2.

[1] https://sourceware.org/pipermail/libc-alpha/2021-March/123079.html
2022-02-27 10:25:33 +01:00
Maximilian Bosch 97acaf6d65 glibc: 2.33-108 -> 2.34-115
Announcement: https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html
2022-02-27 10:25:33 +01:00
Jan Tojnar 1316edc465 Merge branch 'staging-next' into staging 2022-02-27 09:24:31 +01:00
github-actions[bot] d8e4025066 Merge master into staging-next 2022-02-27 06:01:19 +00:00
Bobby Rong f23d45dcfd Merge pull request #161991 from totoroot/update/qownnotes-22.2.9
qownnotes: 22.2.7 -> 22.2.9
2022-02-27 13:22:11 +08:00
Artturi 22dc22f8ce Merge pull request #162019 from Kranzes/nextcloud-client
nextcloud-client: add xdg-utils
2022-02-27 06:46:11 +02:00
Artturi 3743b4979b Merge pull request #162022 from martinetd/logrotate
logrotate/systemd: add 'minsize = 1M' to wtmp/btmp rotation
2022-02-27 06:44:14 +02:00
Artturi 7c50d01349 Merge pull request #162031 from wentasah/libtracefs-1.3.0
libtracefs: 1.2.5 -> 1.3.0
2022-02-27 06:40:14 +02:00
Artturi f328c4f361 Merge pull request #162037 from veprbl/pr/broken_randtype
randtype: mark as broken on darwin
2022-02-27 06:38:16 +02:00
Artturi 3f6ab5a550 Merge pull request #161417 from mweinelt/cyrus-sasl
cyrus_sasl: 2.1.27 -> 2.1.28
2022-02-27 06:30:24 +02:00
Robert Scott dc23e69491 python3Packages.tensorflow: 2.7.0 -> 2.7.1 (#161589) 2022-02-26 21:18:14 -05:00
AndersonTorres 4db2ee6278 fixup patches reference on wxwidgets 2022-02-26 22:39:56 -03:00
Dmitry Kalinkin 23380df7de randtype: mark as broken on darwin 2022-02-26 20:37:04 -05:00
AndersonTorres e204eefe86 Merge branch 'master' into staging-next 2022-02-26 22:33:42 -03:00
Artturi 0b22100473 Merge pull request #157299 from magnetophon/zrythm 2022-02-27 02:45:33 +02:00
AndersonTorres ed2b1b4b90 Merge branch 'master' into staging-next 2022-02-26 21:04:25 -03:00
Michal Sojka fe73c8276a libtracefs: 1.2.5 -> 1.3.0 2022-02-27 00:36:46 +01:00
Thiago Kenji Okada 6f21ff94fc Merge pull request #162025 from bryanasdev000/pkg-velero-180
velero: 1.7.1 -> 1.8.0
2022-02-26 23:17:00 +00:00
Renaud 2970b27faf Merge pull request #161916 from jyooru/update/ghorg
ghorg: 1.5.1 -> 1.7.8
2022-02-26 23:57:10 +01:00
Bryan A. S d1418cce93 velero: 1.7.1 -> 1.8.0 2022-02-26 19:44:37 -03:00
piegames 4c7d3f9854 Merge pull request #159983: coreboot-toolchain: 4.15 -> 4.16 2022-02-26 23:41:29 +01:00
Dominique Martinet 0dadec45d8 logrotate/systemd: add 'minsize = 1M' to wtmp/btmp rotation
align with upstream logrotate which added the minsize rule at some point.
This avoids needlessly rotating the files too often as brought up in
https://github.com/NixOS/nixpkgs/pull/159187#issuecomment-1052426774
2022-02-27 07:20:26 +09:00
Renaud a178e05ae8 Merge pull request #162020 from lucasew/fix/bpycv
python3Packages.zcs: patch to fix the test
2022-02-26 23:07:44 +01:00
Felix Singer 953c9a5d6e coreboot-toolchain: 4.15 -> 4.16
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2022-02-26 23:02:27 +01:00
R. Ryantm 005a18f6bd hepmc3: 3.2.4 -> 3.2.5 2022-02-26 16:52:12 -05:00
Martin Weinelt 308403c329 Merge pull request #161663 from felixsinger/update/pkgs/mumble 2022-02-26 22:38:26 +01:00
Robert Scott f1cf74f0c4 Merge pull request #161860 from r-ryantm/auto-update/pjsip
pjsip: 2.11.1 -> 2.12
2022-02-26 21:08:44 +00:00
Felix Singer c267e9ce37 mumble,murmur: 1.3.4 -> 1.4.231
Update version to 1.4.231.

Build 231 points to a specific commit from the 1.4.x branch adding many
fixes and improvements. Since this version is an unofficial release, add
an unstable prefix to the version string in Nixpkgs.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
Signed-off-by: Franz Pletz <fpletz@fnordicwalking.de>
2022-02-26 22:08:22 +01:00
Robert Scott 25babb40a5 Merge pull request #161693 from wahjava/update-fossil
fossil: 2.17 -> 2.18
2022-02-26 21:04:16 +00:00
Martin Weinelt 4888dd78c5 Merge pull request #162017 from risicle/ris-mlflow-1.23.1 2022-02-26 21:56:47 +01:00
lucasew b438b68cb4 python3Packages.zcs: patch to fix the test
Signed-off-by: lucasew <lucas59356@gmail.com>
2022-02-26 17:10:45 -03:00
Mario Rodas 80dc2f98dc Merge pull request #161990 from r-ryantm/auto-update/shadowsocks-rust
shadowsocks-rust: 1.13.3 -> 1.13.5
2022-02-26 15:01:50 -05:00
Ilan Joselevich f29438562f nextcloud-client: add xdg-utils 2022-02-26 21:26:50 +02:00
Robert Scott 1617337b74 Merge pull request #161905 from r-ryantm/auto-update/bosh-cli
bosh-cli: 6.4.16 -> 6.4.17
2022-02-26 19:08:35 +00:00
Michael Weiss 6d6c998f99 Merge pull request #162008 from primeos/chromiumBeta
chromiumBeta: 99.0.4844.35 -> 99.0.4844.45
2022-02-26 19:57:46 +01:00
Michael Weiss cf7cb652d2 Merge pull request #162009 from primeos/chromiumDev
chromiumDev: 100.0.4892.0 -> 100.0.4896.12
2022-02-26 19:57:36 +01:00
Michael Weiss 4b967d7feb Merge pull request #162004 from primeos/mesa
mesa: Limit the devDoesNotDependOnLLVM test to Linux
2022-02-26 19:56:55 +01:00
Robert Scott 2ef8085858 Merge pull request #161909 from r-ryantm/auto-update/python3.10-zict
python310Packages.zict: 2.0.0 -> 2.1.0
2022-02-26 18:51:28 +00:00
Robert Scott cc0b1fddcd python3Packages.mlflow: 1.22.0 -> 1.23.1 2022-02-26 18:49:13 +00:00
Anderson Torres bc5cf3afe9 Merge pull request #159476 from r-ryantm/auto-update/live555
live555: 2022.01.21 -> 2022.02.07
2022-02-26 15:15:26 -03:00
github-actions[bot] 116e4c22ed Merge staging-next into staging 2022-02-26 18:01:43 +00:00
Michael Weiss 154e13a556 chromiumDev: 100.0.4892.0 -> 100.0.4896.12 2022-02-26 18:56:05 +01:00
Michael Weiss 05b2b4e3cb chromiumBeta: 99.0.4844.35 -> 99.0.4844.45 2022-02-26 18:55:34 +01:00
Michael Weiss 6431bebc93 mesa: Limit the devDoesNotDependOnLLVM test to Linux
The required modifications in the postInstall phase are only applied on
Linux and the test currently fails on Darwin:
https://github.com/NixOS/nixpkgs/runs/5344236204
> building '/nix/store/45s58pv9j6a19wr9izx49s6i0i4qshxs-mesa-dev-does-not-depend-on-llvm.drv'...
> error: output '/nix/store/czmszfcwdx87vx2wf80lhp3h9skqqcfs-mesa-dev-does-not-depend-on-llvm' is not allowed to refer to the following paths:
>          /nix/store/cwb5g57al7iizw456ah9rk49cxb47wi3-mesa-21.3.7-drivers
2022-02-26 18:48:17 +01:00
Michael Weiss f68dbdc7c3 Merge pull request #161954 from primeos/mesa
mesa: 21.3.6 -> 21.3.7
2022-02-26 18:12:17 +01:00
Brian Leung 1827d6315a uncrustify: 0.72.0 -> 0.74.0 2022-02-26 18:12:11 +01:00
Jonathan Ringer c9fa03136a or-tools: disable parallel-building
protobuf generation is not thread safe

```
       > ./ortools/scheduling/rcpsp_parser.h:24:10: fatal error: ortools/scheduling/rcpsp.pb.h: No such file or directory
       >    24 | #include "ortools/scheduling/rcpsp.pb.h"
```
2022-02-26 09:06:24 -08:00
Michael Weiss 71b7694016 Merge pull request #161955 from primeos/chromium
chromium: Suffix instead of prefix ${xdg-utils}/bin to $PATH
2022-02-26 18:04:20 +01:00