nixpkgs/pkgs/development/compilers
Thiago Kenji Okada b2f19ab3b5 graalvmXX-ce: use a patched version of zlib
The previous releases of zlib were not sensitive to incorrect CRC
inputs with bits set above the low 32. Some programs were depended on
this behavior, including GraalVM. So this commit backports a patch from
`zlib` develop that brings back the old behavior. This will probably
be included in the next release of zlib.

Before:

```
$ rm -rf ~/.babashka
$ bb -e "(babashka.pods/load-pod 'clj-kondo/clj-kondo \"2022.05.31\")"
Downloading pod clj-kondo/clj-kondo (2022.05.31)
----- Error --------------------------------------------------------------------
Type:     java.util.zip.ZipException
Message:  invalid entry CRC (expected 0x269cdf2c but got 0x13b86fd8)
Location: <expr>:1:1

----- Context ------------------------------------------------------------------
1: (babashka.pods/load-pod 'clj-kondo/clj-kondo "2022.05.31")
   ^--- invalid entry CRC (expected 0x269cdf2c but got 0x13b86fd8)

----- Stack trace --------------------------------------------------------------
babashka.pods.impl.resolver/unzip             - <built-in>
babashka.pods.impl.resolver/resolve/fn--30674 - <built-in>
clojure.core/mapv/fn--8535                    - <built-in>
clojure.core.protocols/fn--8244               - <built-in>
clojure.core.protocols/fn--8204/G--8199--8213 - <built-in>
... (run with --debug to see elided elements)
babashka.pods.sci/load-pod/fn--30887          - <built-in>
babashka.pods.sci/load-pod                    - <built-in>
clojure.core/apply                            - <built-in>
babashka.impl.pods/load-pod                   - <built-in>
user                                          - <expr>:1:1
```

After:

```
$ rm -rf ~/.babashka
$ ./result/bin/bb -e "(babashka.pods/load-pod 'clj-kondo/clj-kondo \"2022.05.31\")"
Downloading pod clj-kondo/clj-kondo (2022.05.31)
Successfully installed pod clj-kondo/clj-kondo (2022.05.31)
```

The issue should affect other programs using GraalVM, but this was the
test that I had at hand.
2022-06-16 11:27:34 +01:00
..
4th 4th: 3.62.5 -> 3.64.0 2022-03-15 17:01:21 -03:00
abcl abcl: 1.8.0 -> 1.9.0 2022-05-25 05:16:18 +00:00
acme acme: unstable-2020-12-27 -> unstable-2021-02-14 2021-06-07 21:03:01 +07:00
adoptopenjdk-bin adoptopenjdk-bin: mark meta.sourceProvenance 2022-06-13 18:55:15 +08:00
adoptopenjdk-icedtea-web adoptopenjdk-icedtea-web: 1.8.7 -> 1.8.8 2022-01-02 16:48:11 +01:00
alan alan_2: add -fcommon workaround for gcc-10 2022-05-12 08:22:23 +01:00
algol68g treewide: add meta.mainProgram to many packages 2022-04-14 10:24:01 -07:00
apache-flex-sdk treewide: use mirror URLs where available 2021-11-06 01:56:39 +00:00
arachne-pnr
armips armips: init at 0.11.0 2021-06-13 11:31:44 +02:00
as31 as31: init at 2.3.1 2021-09-05 23:22:37 -03:00
asl asl: fix the expression 2021-11-03 13:33:56 -03:00
aspectj treewide: set sourceProvenance for packages containing downloaded jars 2022-06-04 19:47:57 +01:00
atasm atasm: init at 1.09 2021-09-09 17:48:34 -03:00
ats
ats2 ats2: 0.4.1 -> 0.4.2 2022-04-26 15:04:13 -05:00
avra avra: 1.3.0 -> 1.4.2 2022-01-20 19:25:45 +01:00
bigloo bigloo: mark broken on x86_64 Darwin 2022-05-29 10:56:03 +02:00
binaryen binaryen: 101 -> 102 2021-10-29 03:20:50 +00:00
blueprint blueprint-compiler: init at 0.1.0 2022-05-28 16:21:12 +02:00
bluespec bluespec: 2021.07 -> 2022.01 2022-04-09 11:29:27 -07:00
bs-platform treewide: rename name to pname&version 2022-03-08 13:24:25 +01:00
bupc treewide: remove nativeBuildInputs that are in stdenv 2022-04-16 21:46:46 +03:00
c3c c3c: init at unstable-2021-07-30 2021-07-31 13:14:50 +02:00
cakelisp
carp carp: work around new GHC warning breaking the build 2022-02-20 13:31:42 +01:00
cc65 cc65: enable parallel building 2021-06-07 21:13:21 +07:00
ccl ccl: mark broken on x86_64-darwin 2022-05-29 10:56:04 +02:00
chez Merge branch 'master' into staging-next-2022-04-23 2022-05-01 14:26:52 +02:00
chez-racket chez-racket: Fix signing on Darwin (Thanks @Steven0351!) 2021-12-23 21:14:28 +00:00
chicken chickenPackages: recurse into attrs 2022-05-04 12:02:09 +02:00
ciao ciao: 1.20.0 -> 1.21.0-m1 2022-03-08 03:00:31 +00:00
clasp clasp: use python3 2021-07-27 20:37:04 +02:00
clean
closure Merge pull request #174450 from r-ryantm/auto-update/closure-compiler 2022-06-11 01:24:34 +03:00
cmdstan treewide: pkgs/development: mark broken for aarch64-linux 2022-05-30 13:42:59 +02:00
cmucl
colm
computecpp
cone cone: init at unstable-2021-07-25 2021-07-30 13:35:43 +02:00
copper copper: 4.4 -> 4.6 2021-12-12 14:13:58 +01:00
crystal treewide: mark broken for darwin 2022-05-30 13:42:58 +02:00
crystal2nix crystal2nix: 0.1.0 -> 0.1.1 2021-03-29 18:12:25 +08:00
cudatoolkit cudaPackages_11_6: better message on why gcc10 2022-04-21 01:25:33 +03:00
dale dale: fix build 2021-05-08 01:29:18 -07:00
dasm
dev86 dev86: explicitly disable build parallelism due to missing depends 2021-11-13 21:41:51 +00:00
dictu dictu: 0.23.0 -> 0.24.0 2022-03-07 04:08:14 +00:00
dmd treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
dotnet Mark dotnet unbroken 2022-06-02 21:52:02 +01:00
dtc treewide: update git.kernel.org/cgit homepage URLs 2022-06-10 19:46:39 +00:00
ecl treewide: move autoconf, automake to nativeBuildInputs 2022-03-30 20:17:24 -05:00
edk2 edk2: fix cross compilation 2022-05-14 12:00:00 +00:00
eli eli: add -fcommon workaround 2022-06-04 06:51:58 +01:00
elm elmPackages.elm-pages: init at 2.1.11 2022-05-30 09:56:44 -04:00
emscripten emscripten: 2.0.27 -> 3.0.0 2021-12-06 17:03:44 +00:00
eql treewide: replace '-git' packages with 'unstable-' in version (#145396) 2021-11-10 16:21:47 -05:00
factor-lang factor98: add longDescription 2021-11-26 10:22:03 -03:00
fasm fasm: 1.73.29 -> 1.73.30 2022-03-08 10:31:59 +00:00
fasmg
fennel fennel: 1.0.0 -> 1.1.0 2022-04-11 08:23:49 +00:00
firrtl firrtl: init at 1.5.3 (#171065) 2022-05-29 12:19:51 -05:00
flasm flasm: pull patch pending upstream inclusion for -fno-common toolchains 2022-05-15 10:18:31 +01:00
flutter flutter.dart: 2.16.1 -> 2.16.2 2022-05-13 17:02:03 +02:00
flux
fpc fpc: fix build on aarch64 2022-05-12 19:34:43 +00:00
fsharp treewide: move autoconf, automake to nativeBuildInputs 2022-03-30 20:17:24 -05:00
fstar ocamlPackages: rename sedlex_2 into sedlex 2022-05-29 08:48:00 +02:00
gambit treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
gavrasm gavrasm: 4.5 -> 5.1 2022-01-20 19:24:13 +01:00
gcc gdc: nicer eval failure from versions >= 12 2022-05-23 16:24:25 +02:00
gcc-arm-embedded gcc-arm-embedded-{6,7,8}: enable on aarch64-darwin 2021-12-05 23:35:52 +01:00
gcl gcl: add -fcommon workaround 2022-06-08 08:38:15 +01:00
gerbil gerbil: disable stackprotector on aarch64-darwin for now 2021-12-22 11:10:08 -05:00
gforth gforth: unmark broken on darwin 2022-06-11 19:13:40 +01:00
ghc ghc: use CXX=c++, not CXX=cxx 2022-05-29 20:02:53 +02:00
ghcjs haskell.compiler.ghcjs: fix build with aeson 2.0 2022-04-11 01:26:04 +02:00
ghdl gnat: 9 -> 11 2021-11-15 22:41:56 +01:00
gleam gleam: 0.20.1 -> 0.21.0 2022-05-26 08:26:30 -04:00
glslang Vulkan: 1.2.198.0 -> 1.3.211.0 2022-04-26 21:38:50 -04:00
gmqcc gmqcc: init at unstable-2021-07-09 2022-06-08 15:51:58 +02:00
gnatboot treewide: quote urls according to rfc 0045 (#145260) 2021-11-10 11:37:56 +01:00
gnu-cobol
gnu-smalltalk
go go: remove outdated patch 2022-06-15 08:50:32 +10:00
go-jsonnet treewide: testVersion -> testers.testVersion 2022-04-22 16:24:27 +03:00
gprolog Drop myself from meta.maintainers for most packages. 2021-10-14 11:01:27 +02:00
graalvm/community-edition graalvmXX-ce: use a patched version of zlib 2022-06-16 11:27:34 +01:00
gwt pkgs/development: rename name to pname&version 2021-11-30 21:32:28 +01:00
halide halide: Fix build 2021-05-30 14:18:57 +02:00
hare hare: run test suite 2022-05-04 09:25:09 +00:00
haxe ocamlPackages: rename sedlex_2 into sedlex 2022-05-29 08:48:00 +02:00
hip hip: 5.0.2 -> 5.1.1 2022-05-05 18:36:00 +02:00
hop hop: 3.3.0 -> 3.4.4 2021-08-14 03:34:53 +03:00
idris2 Idris2: Refactor default.nix 2022-01-10 22:01:42 +01:00
inform6 inform6: fix darwin build 2021-05-16 14:31:43 -07:00
inform7 treewide: pkgs/development: mark broken for aarch64-linux 2022-05-30 13:42:59 +02:00
inklecate Merge pull request #173304 from IvarWithoutBones/bump/dotnetmodule 2022-05-26 00:26:18 +02:00
intel-graphics-compiler intel-graphics-compiler: move substitutes to postPatch 2022-05-05 15:27:48 -07:00
intercal intercal: fix build on -fno-common toolchains 2022-05-21 10:59:28 +01:00
ios-cross-compile treewide: move autoconf, automake to nativeBuildInputs 2022-03-30 20:17:24 -05:00
ispc ispc: unstable-2021-04-02 -> 1.18.0, (co-)maintain 2022-06-02 15:01:26 +02:00
jasmin
jasmin-compiler jasmin-compiler: 21.0 → 2022.04.0 2022-05-13 14:08:29 +02:00
javacard-devkit treewide: set sourceProvenance for packages containing downloaded jars 2022-06-04 19:47:57 +01:00
jetbrains-jdk Revert "jetbrains.jdk: fix build w/glibc-2.34" 2022-02-27 18:33:24 +01:00
jrsonnet jrsonnet: mark as broken on darwin 2022-01-21 07:08:20 -05:00
jsonnet jsonnet: 0.17.0 -> 0.18.0 2022-01-06 17:02:01 +01:00
julia julia_17-bin: 1.7.2 -> 1.7.3 2022-05-26 12:38:26 +02:00
juniper juniper: init at 2.3.0 2021-04-11 14:51:54 -04:00
jwasm treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
kaitai-struct-compiler katai-struct-compiler: init at 0.9 2021-12-07 16:31:22 +01:00
koka koka: 2.3.8 -> 2.4.0 2022-06-01 10:24:15 +02:00
kotlin kotlin-native: 1.6.21 → 1.7.0 2022-06-09 09:49:28 -05:00
ldc treewide: autoPatchelfHook only on Linux 2022-03-23 21:37:39 +01:00
ligo ligo: 0.34.0 -> 0.36.0 2022-03-26 11:54:24 +01:00
lingua-franca treewide: set sourceProvenance for packages containing downloaded jars 2022-06-04 19:47:57 +01:00
llvm Merge pull request #176591 from misuzu/llvm-armv7l 2022-06-10 02:00:14 +02:00
lobster treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
manticore
marst marst: init at 2.7 2021-07-29 05:17:12 -03:00
matter-compiler
mcpp
mercury mercury: 20.06.1 -> 22.01.1 2022-05-13 08:48:16 +10:00
meta-environment/meta-build-env development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
mezzo ocamlPackages.pprint: 20171003 → 20220103 2022-02-15 07:25:24 +01:00
microscheme microscheme: fix meta.homepage 2021-12-31 11:17:07 -08:00
mint mint: 0.14.0 -> 0.15.1 2021-12-25 17:58:07 +00:00
miranda miranda: add -fcommon workaround 2022-05-22 11:21:35 +01:00
mit-scheme treewide: rename name to pname&version 2022-03-08 13:24:25 +01:00
mkcl treewide: pkgs/development: mark broken for aarch64-linux 2022-05-30 13:42:59 +02:00
mlkit mlkit: 4.5.7 -> 4.5.9 2021-09-23 04:28:19 +00:00
mlton mlton: 20180207 → 20210107 2022-06-07 13:34:26 +07:00
mono mono: fix broken mono4 build on Darwin 2022-06-01 18:30:17 -04:00
mosml mosml: switch to fetchFromGitHub 2022-01-08 15:38:10 +01:00
mozart mozart2: fix build. 2022-06-08 09:32:08 -03:00
mruby mruby: 3.0.0 -> 3.1.0 2022-05-14 01:01:08 +01:00
mrustc mrustc: fixup build 2022-04-17 10:14:55 +02:00
muonlang move muon to muonlang 2022-04-12 22:38:36 -03:00
myrddin treewide: pkgs/development: mark broken for aarch64-linux 2022-05-30 13:42:59 +02:00
nasm
neko neko: try to list applying licenses more accurately 2021-03-25 22:11:00 +01:00
nextpnr nextpnr: 2022.01.03 -> 0.3 2022-04-14 13:08:25 +02:00
nim nim: 1.6.4 -> 1.6.6 2022-05-09 13:34:07 -05:00
nvidia-cg-toolkit treewide: change some glibc to stdenv.cc.libc 2022-05-27 05:57:43 +03:00
obliv-c obliv-c: 0.0pre20180624 → 0.0pre20210621 2022-04-02 07:59:52 +02:00
ocaml ocaml-ng.ocamlPackages_4_00_1.ocaml, ocaml-ng.ocamlPackages_4_08.ocaml: add -fcommon workaround 2022-05-28 13:37:55 +01:00
odin odin: init at 0.13.0 2021-07-05 22:52:59 +02:00
opa opa: drop spurious dependency on cryptokit 2022-05-10 17:47:59 +02:00
open-watcom open-watcom-v2-unwrapped: unstable-2022-05-03 -> unstable-2022-05-04 2022-05-06 08:55:39 +00:00
opendylan treewide: remove nativeBuildInputs that are in stdenv 2022-04-16 21:46:46 +03:00
openjdk openjfx11, openjfx15: add -fcommon workaround 2022-06-03 13:48:50 +01:00
openspin
ophis ophis: fix build 2021-05-01 21:22:32 +02:00
oraclejdk oraclejdk*: remove appendToName to have a consistent package name for repology 2022-02-28 15:24:31 +01:00
orc orc: disable a benchmark test on x86_64-darwin 2022-01-22 08:26:56 +01:00
osl treewide: pkgs/development: mark broken for aarch64-linux 2022-05-30 13:42:59 +02:00
owl-lisp
paco
pakcs haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
passerine passerine: 0.9.2 → 0.9.3 2022-02-20 00:50:50 +01:00
pforth
picat
polyml polyml: remove already applied patch 2022-03-25 19:31:57 -06:00
ponyc ponyc: 0.49.0 -> 0.50.0 2022-04-30 22:35:03 -04:00
purescript purescript: update script only considers full releases 2022-05-27 13:40:36 +09:00
qbe qbe: unstable-2022-03-17 -> unstable-2022-04-11 2022-04-15 10:00:11 +02:00
rasm rasm: Fix the source URL 2021-07-21 10:23:35 +02:00
reason reason: 3.7.0 → 3.8.0 2022-03-11 16:11:08 +01:00
rgbds rgbds: 0.5.1 -> 0.5.2 2022-01-03 11:28:52 +01:00
roslyn roslyn: rename name to pname 2022-03-01 12:24:28 +01:00
rust rust: 1.60.0 -> 1.61.0 (#173631) 2022-05-22 15:51:43 +02:00
sagittarius-scheme treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
sbcl sbcl: 2.1.11 -> 2.2.4 2022-04-29 20:43:01 +02:00
scala dotty: rename to scala_3 2022-05-05 11:32:30 +02:00
scala-runners treewide: fix /bin/coursier references 2021-10-28 19:48:29 -05:00
scryer-prolog treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
sdcc sdcc: 4.1.0 -> 4.2.0 2022-03-15 12:27:21 +01:00
seexpr seexpr: fmt 2021-11-16 23:39:27 +01:00
serpent remove chris-martin from maintainer list on various crypto packages 2021-06-06 02:38:34 -06:00
shaderc libtool: add meta.platforms and make cctools Darwin only 2021-11-22 09:42:23 -08:00
sjasmplus sjasmplus: 1.18.2 -> 1.18.3 2021-09-14 23:10:43 +00:00
smlnj smlnj,smlnjBootstrap: set meta.mainProgram 2022-05-28 14:48:53 +03:00
solc solc: add darwin binary for now 2022-05-03 07:58:58 -04:00
souffle treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
spasm-ng
spirv-llvm-translator spirv-llvm-translator: fix duplicate makeFlags merge 2022-05-06 10:30:03 +02:00
squeak squeak: add -fcommon workaround 2022-06-09 21:38:39 -05:00
stalin development/{arduino/compilers/interpreters}: replace name with pname&version 2021-08-21 23:02:55 +02:00
swi-prolog swi-prolog: 8.3.9 -> 8.3.29 2021-09-07 23:09:12 -05:00
swift swift: mark broken 2022-05-30 13:42:59 +02:00
terra terra: 1.0.0-beta3 -> 1.0.0-beta5 2022-06-07 09:53:06 -07:00
teyjus teyjus: switch to fetchFromGitHub 2022-01-08 15:38:10 +01:00
tinycc treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
tinygo tinygo: 0.16.0 -> 0.23.0 2022-05-20 00:37:01 +03:00
tvm tvm: 0.7.0 -> 0.8.0 2022-02-13 11:13:22 +00:00
uasm treewide: testVersion -> testers.testVersion 2022-04-22 16:24:27 +03:00
unison unison-ucm: M2j -> M2l 2022-05-24 19:58:08 +02:00
urn treewide: rename name to pname&version 2022-03-08 13:24:25 +01:00
urweb treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
vala vala: default to vala_0_56 2022-05-12 21:28:49 +02:00
vlang vlang: 2022.19 -> 2022.20 2022-05-17 06:23:29 -05:00
vyper vyper: 0.3.1 -> 0.3.3 2022-05-11 11:21:25 -05:00
wcc
wla-dx
x11basic treewide: move autoconf, automake to nativeBuildInputs 2022-03-30 20:17:24 -05:00
xa xa: 2.3.11 -> 2.3.12 2022-01-04 01:57:33 -03:00
yap treewide: pkgs/development: mark broken for aarch64-linux 2022-05-30 13:42:59 +02:00
yasm yasm: fix cross build 2021-12-05 10:47:44 +01:00
yosys yosys: 0.15 -> 0.16 2022-04-12 08:38:25 -05:00
z88dk z88dk: 2.0 -> 2.1 2021-05-11 19:46:01 +07:00
zasm treewide: extraPostFetch -> postFetch 2022-05-23 17:18:50 +03:00
zig zig: 0.9.0 -> 0.9.1 2022-02-16 21:29:52 -03:00
zulu treewide: autoPatchelfHook only on Linux 2022-03-23 21:37:39 +01:00
zz zz: unstable-2021-03-07 -> unstable-2021-05-04 2021-10-12 12:58:26 +02:00