Commit Graph

3711 Commits

Author SHA1 Message Date
github-actions[bot]
abccc35038
Merge master into staging-next 2024-01-03 06:01:09 +00:00
Ryan Burns
14cb8882a6
Merge pull request #254327 from r-burns/build2
build2 package suite: 0.15.0 -> 0.16.0
2024-01-02 21:51:47 -08:00
Ryan Burns
8a3fcae386 bdep: 0.15.0 -> 0.16.0 2024-01-02 21:02:51 -08:00
Ryan Burns
5909a9cb48 bpkg: 0.15.0 -> 0.16.0 2024-01-02 21:02:51 -08:00
Ryan Burns
b9ed2eb5ec build2: 0.15.0 -> 0.16.0 2024-01-02 21:02:50 -08:00
K900
887e96e875 Merge remote-tracking branch 'origin/master' into staging-next 2024-01-02 10:55:23 +03:00
Uri Baghin
dc594fa5f6
Merge pull request #262152 from layus/master
bazel_7: init at 7.0.0
2024-01-01 13:04:23 +08:00
Guillaume Maudoux
7916e168a8 fixup! bazel_7: Check-in the main lockfile 2023-12-31 15:19:12 +01:00
Guillaume Maudoux
e8e45bc82e bazel_7: Check-in the main lockfile 2023-12-31 14:04:38 +01:00
Guillaume Maudoux
87716d0622 bazel_7: fix remaining tests 2023-12-31 13:56:13 +01:00
Guillaume Maudoux
166e47c58b bazel_7: improve lockfile parsing 2023-12-31 12:27:55 +01:00
github-actions[bot]
294b981465
Merge staging-next into staging 2023-12-29 18:01:23 +00:00
github-actions[bot]
f50aae4fb1
Merge master into staging-next 2023-12-29 18:00:57 +00:00
Nick Cao
c8e074a183
Merge pull request #277399 from trofi/bazel-watcher.bazel-fix-tests-eval
bazel-watcher.bazel: fix `tests` attribute evaluation
2023-12-29 10:53:39 -05:00
Pierre Bourdon
8172273c80
Merge pull request #277024 from abl/add-jam-std-c89
jam: set std=c89
2023-12-29 15:47:31 +01:00
Sergei Trofimovich
2a84df1eca bazel-watcher.bazel: fix tests attribute evaluation
Without the change evaluation fails as:

    $ nix build --no-link -f. bazel-watcher.bazel.tests
    error:
       error: attribute 'optionalSttrs' missing
2023-12-28 20:11:53 +00:00
Guillaume Maudoux
bc3cba3845 bazel_7: Cleanup tests a bit 2023-12-28 15:00:40 +01:00
github-actions[bot]
c3c924c258
Merge staging-next into staging 2023-12-27 18:01:27 +00:00
github-actions[bot]
2a2dbf246f
Merge master into staging-next 2023-12-27 18:00:58 +00:00
Mario Rodas
b1d213c289
Merge pull request #277001 from r-ryantm/auto-update/xmake
xmake: 2.8.5 -> 2.8.6
2023-12-27 07:48:26 -05:00
R. Ryantm
24158a2cd9 moon: 1.18.2 -> 1.18.5 2023-12-27 06:00:31 +00:00
Alexander Lash
40a19c1d47
jam: set std=c89
jam relies on c89 conventions; this restores the ability to build on recent Darwin.
2023-12-26 18:32:46 -08:00
R. Ryantm
ff884b48a1 xmake: 2.8.5 -> 2.8.6 2023-12-26 23:33:42 +00:00
R. Ryantm
a2fcf95c2d turtle-build: 0.4.7 -> 0.4.8 2023-12-24 16:30:25 +00:00
github-actions[bot]
3d36e72396
Merge staging-next into staging 2023-12-24 06:01:29 +00:00
Martin Weinelt
a3e53d17b6 Merge remote-tracking branch 'origin/master' into staging-next 2023-12-24 02:39:15 +01:00
R. Ryantm
b211a4f74d shards: 0.17.3 -> 0.17.4 2023-12-23 08:36:01 +00:00
R. Ryantm
8f4d1adbf0 sbt-with-scala-native: 1.9.7 -> 1.9.8 2023-12-23 06:53:04 +00:00
Maciej Krüger
fa73b913d7
Merge pull request #270997 from atorres1985-contrib/scons-staging
scons: use github instead of sourceforge
2023-12-21 20:23:00 +01:00
Guillaume Maudoux
bfbc35e0d0 fixup! bazel_7: backport bazel_6 bash fixes for remote execution 2023-12-18 21:00:20 +01:00
Guillaume Maudoux
2a4700c48b bazel_7: Add regression test for empty lockfiles 2023-12-18 20:09:34 +01:00
Guillaume Maudoux
eaa9b99502 fixup! bazel_7: backport bazel_6 bash fixes for remote execution 2023-12-18 20:09:07 +01:00
Guillaume Maudoux
1795976a32 bazel_7: Unse runJDK for runtime 2023-12-18 17:33:28 +01:00
Guillaume Maudoux
f35225d3d6 bazel_7: backport bazel_6 bash fixes for remote execution 2023-12-18 17:32:07 +01:00
github-actions[bot]
54b5a554bf
Merge staging-next into staging 2023-12-18 06:01:32 +00:00
Mario Rodas
d6153e63e6
Merge pull request #274870 from r-ryantm/auto-update/moon
moon: 1.16.0 -> 1.18.2
2023-12-17 19:39:40 -05:00
github-actions[bot]
6ffc5a8603
Merge staging-next into staging 2023-12-18 00:03:01 +00:00
Weijia Wang
9f83f09e9e
Merge pull request #272308 from NixOS/scala-cli-110
scala-cli: 1.0.5 -> 1.1.0
2023-12-17 21:21:27 +01:00
Jakub Kozłowski
6ae04cdf6e
scala-cli: 1.0.5 -> 1.1.0 2023-12-17 18:29:56 +01:00
R. Ryantm
23b48175f5 moon: 1.16.0 -> 1.18.2 2023-12-17 02:09:43 +00:00
R. Ryantm
791414974b maven: 3.9.5 -> 3.9.6 2023-12-16 16:03:44 +00:00
Guillaume Maudoux
459e800b04 bazel_7: fix protobuf test on darwin 2023-12-14 13:11:19 +01:00
Guillaume Maudoux
a30a2c9f40 bazel_7: fix cpp-test with bzlmod, for linux 2023-12-14 12:25:19 +01:00
Guillaume Maudoux
0d222a3580 bazel_7: re-enable arc in xcode_locator command 2023-12-14 09:00:36 +01:00
Guillaume Maudoux
6d93cdd566 bazel_7: restore xcode_locator no-arc fix, still needed 2023-12-13 23:16:33 +01:00
Guillaume Maudoux
5fc2602a32 bazel_7: restore xcode_locator patch from no-arc patch 2023-12-13 22:55:00 +01:00
Guillaume Maudoux
f8eaea18b0 bazel_7: address most review comments 2023-12-13 22:48:28 +01:00
Guillaume Maudoux
2a92a2304a bazel_7: 7.0.0rc7 -> 7.0.0 2023-12-13 22:48:28 +01:00
Dmitry Ivankov
306e8eaf53 bazel_7: fix darwin compilation with CLang 16 & recent nixpkgs/master
Workaround for #166205 similar to
51451ac406

And warning fix similar to `bazel_6` fix for
```
external/upb~0.0.0-20220923-a547704/upb/mini_table.c:634:14: error: defining a type within '__builtin_offsetof' is a Clang extension [-Werror,-Wgnu-offsetof-extensions]
  UPB_ASSERT(UPB_ALIGN_OF(upb_StringView) ==
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2023-12-13 22:48:28 +01:00
Guillaume Maudoux
4d54ca897b bazel_7: 7.0.0rc2 -> 7.0.0rc7 2023-12-13 22:48:28 +01:00
Guillaume Maudoux
207fb75488 bazel_7: darwin (sandbox) fixes 2023-12-13 22:48:28 +01:00
Guillaume Maudoux
7dd831bac7 bazel_7: rename protobuf test lockfile, part 2 2023-12-13 22:48:28 +01:00
Guillaume Maudoux
0c13686697 bazel_7: rename protobuf test lockfile 2023-12-13 22:48:27 +01:00
Guillaume Maudoux
a4cf97e415 bazel_7: cleanup unused files 2023-12-13 22:48:27 +01:00
Guillaume Maudoux
058102dd42 bazel_7: cleanup protobuf tests 2023-12-13 22:48:27 +01:00
Guillaume Maudoux
90bfff1396 bazel_7: cleanup changes made to common patches 2023-12-13 22:48:27 +01:00
Guillaume Maudoux
5151e14e2c bazel_7: cleanup changes made to common tests 2023-12-13 22:48:27 +01:00
Guillaume Maudoux
05ecc09b57 Bump to 7.0.0rc2 2023-12-13 22:48:27 +01:00
Guillaume Maudoux
622804ab5d Add 7.0.0rc2, but some patches need an update 2023-12-13 22:48:27 +01:00
Guillaume Maudoux
be69c186cc Rework repository_cache, lockfile generation, and protobuf tests as a whole 2023-12-13 22:48:27 +01:00
Guillaume Maudoux
229bce1095 bazel_7: Cleanup patchPhase 2023-12-13 22:48:26 +01:00
Guillaume Maudoux
7051773ca8 bazel_7: Separate test deps (without binaries) 2023-12-13 22:48:26 +01:00
Guillaume Maudoux
b09a742323 bazel_7: Filter bzlmod dependencies by name predicate 2023-12-13 22:48:26 +01:00
Guillaume Maudoux
022befe8ae Get bazel building on all major platforms, with tests 2023-12-13 22:48:26 +01:00
Guillaume Maudoux
30cbfd470d bazel_7: More refactors 2023-12-13 22:48:26 +01:00
Guillaume Maudoux
9b820d98a6 bazel_7: refactor and comment 2023-12-13 22:48:26 +01:00
Guillaume Maudoux
d1f60e013b bazel_7: split tests for clarity 2023-12-13 22:48:26 +01:00
Guillaume Maudoux
03f458b351 bazel_7: restrict USER hack to darwin 2023-12-13 22:48:25 +01:00
Guillaume Maudoux
e0a1a73c41 bazel_7: Simplify callBazelTest 2023-12-13 22:48:25 +01:00
Guillaume Maudoux
78dd0bafa6 bazel_7: init at 7.0.0-pre.20230917.3 2023-12-13 22:48:25 +01:00
Guillaume Maudoux
8cc99ed595 bazel_7: start by copying bazel_6 2023-12-13 22:48:25 +01:00
github-actions[bot]
688991ba84
Merge staging-next into staging 2023-12-13 12:01:48 +00:00
Olli Helenius
2e3bbf451b gradle: use SRI hashes 2023-12-13 06:57:34 +00:00
Olli Helenius
b3ff745b7b gradle: 8.4 -> 8.5 2023-12-13 06:57:34 +00:00
Anderson Torres
70b907a496 scons_4_5_2: use github instead of sourceforge direct link 2023-12-08 19:52:22 -03:00
Anderson Torres
2d13423feb scons_4_1_0: use github instead of sourceforge direct link 2023-12-08 19:52:22 -03:00
Anderson Torres
5448caf947 scons_3_1_2: use github instead of sourceforge direct link 2023-12-08 19:52:22 -03:00
Dmitry Kalinkin
025a278148 Merge remote-tracking branch 'origin/master' into staging
Conflicts:
	pkgs/tools/networking/ofono/default.nix
2023-12-08 12:27:28 -05:00
Jakub Kozłowski
ecfbff960a
bloop: 1.5.12 -> 1.5.13 2023-12-07 22:49:59 +01:00
Adam Joseph
6de0b4ce3f gn: apply disable-warnings-if-gcc13 2023-12-07 09:11:37 +00:00
Peder Bergebakken Sundt
4442ad0d64
Merge pull request #266987 from linsui/ant19
apacheAnt_1_9: remove
2023-12-07 08:47:13 +01:00
Nick Cao
bc9c6e60a3
Merge pull request #272306 from NixOS/bloop-1512
bloop: 1.5.11 -> 1.5.12
2023-12-06 09:48:59 -05:00
Rick van Schijndel
ba75066821
Merge pull request #271362 from pbsds/rm-dead-patches
treewide: remove unreferenced patch files
2023-12-06 03:28:15 +01:00
Jakub Kozłowski
75fa7ac0da
bloop: 1.5.11 -> 1.5.12 2023-12-05 18:23:47 +01:00
Peder Bergebakken Sundt
f41aba3739 treewide: remove unreferenced patch files
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2023-12-01 06:11:20 +01:00
Robert Schütz
79fb03cbd4 corrosion: 0.4.4 -> 0.4.5
Diff: https://github.com/corrosion-rs/corrosion/compare/v0.4.4...v0.4.5

Changelog: https://github.com/corrosion-rs/corrosion/blob/v0.4.5/RELEASES.md
2023-11-30 17:24:16 -08:00
tarc
a233133b1a conan: add xcrun to nativeCheckInputs on darwin
Add xcbuild.xcrun dependency to nativeCheckInputs of the conan package to fix a building failure on Darwin.

Fixes #271115
2023-11-30 21:18:37 +01:00
Arnout Engelen
3ff7fb4d94
Merge pull request #267433 from raboof/maven-buildMavenPackage-improved-offline
maven: improve buildMavenPackage offline mode
2023-11-29 19:58:01 +01:00
Peder Bergebakken Sundt
130183a87b
Merge pull request #269140 from r-ryantm/auto-update/mill
mill: 0.11.5 -> 0.11.6
2023-11-27 04:28:07 +01:00
Antoine
14caf2eb45 conan: 2.0.5 -> 2.0.14
Changelog: https://github.com/conan-io/conan/releases/tag/2.0.14
2023-11-24 20:47:33 +01:00
Uri Baghin
c3c2fe4867
Merge pull request #269481 from boltzmannrain/bazel_5_clang16
bazel_5: fix CLang 16 Werror-s on darwin
2023-11-24 21:44:50 +08:00
Dmitry Ivankov
746e394638 bazel_4: fix CLang 16 Werror-s on darwin
Fixing `bazel_4` after #234710

Error example
https://hydra.nixos.org/build/241174862/nixlog/1
```
Execution platform: //:default_host_platform
third_party/zlib/gzwrite.c:89:20: error: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            writ = write(state->fd, strm->next_in, put);
                   ^
```

Similar to #269481 and #269297
2023-11-23 20:39:38 +01:00
Dmitry Ivankov
781538c5ed bazel_5: fix CLang 16 Werror-s on darwin
Fixing `bazel_5` after #234710

Error example
https://hydra.nixos.org/build/241240612/nixlog/1
```
external/com_google_absl/absl/meta/type_traits.h:560:8: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins]
      (__has_trivial_assign(ExtentsRemoved) || !kIsCopyOrMoveAssignable) &&
```

Similar to #269297, and remaining `bazel_4` is WIP for another PR
2023-11-23 20:23:50 +01:00
Dmitry Ivankov
ed175a635e bazel_6: fix CLang 16 Werror-s on darwin
bazel_6 https://hydra.nixos.org/build/241090720/nixlog/1
```
external/upb/upb/upb.c:228:25: error: defining a type within '__builtin_offsetof' is a Clang extension [-Werror,-Wgnu-offsetof-extensions]
  n = UPB_ALIGN_DOWN(n, UPB_ALIGN_OF(upb_Arena));
                        ^~~~~~~~~~~~~~~~~~~~~~~
```
bazel_6 https://hydra.nixos.org/build/241127779/nixlog/1
```
In file included from external/com_google_absl/absl/algorithm/container.h:55:
external/com_google_absl/absl/meta/type_traits.h:560:8: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins]
      (__has_trivial_assign(ExtentsRemoved) || !kIsCopyOrMoveAssignable) &&
       ^
```

Note: `bazel_5` and `bazel_4` require more work, for some reason extra
`-Wall` in combination with `-Werror` sneaks in and overrides `-Wno-`
settings, haven't managed yet to debug where exactly are the last
flags (last one wins) come from there.

ZHF: #265948
2023-11-22 22:53:47 +01:00
sternenseemann
5c2215595f gprbuild: 23.0.0 -> 24.0.0 2023-11-22 17:23:33 +01:00
R. Ryantm
de04f54d51 mill: 0.11.5 -> 0.11.6 2023-11-22 08:39:43 +00:00
Uri Baghin
8c47608edd
Merge pull request #268614 from boltzmannrain/bazel_darwin_bash_binary
bazel_6: fix: make patched bash a native binary
2023-11-22 14:51:39 +08:00
Fabián Heredia Montiel
46060f7083
Merge pull request #259824 from spacefrogg/goredo-2.0
goredo: 1.31.0 -> 2.4.0
2023-11-21 23:28:50 +00:00
Dmitry Ivankov
dd85449211
Update pkgs/development/tools/build-managers/bazel/bazel_6/default.nix
Co-authored-by: Uri Baghin <uri@canva.com>
2023-11-20 02:13:23 +01:00
Dmitry Ivankov
7377bba1c7 bazel_6: fix: make patched bash a native binary
https://hydra.nixos.org/build/240805256/nixlog/1
https://hydra.nixos.org/build/240805170/nixlog/2
Failure is a bit obscured but long story short, a script within
bazel gets custom nixpkgs shebang which in turn makes shell run
in POSIX-compatible mode. Bazel expects bash in non-POSIX mode
and osx-specific script starts to fail due to `set -e` and subshell
interaction differences in those modes (sub-shells and functions
suddently start inheriting `set -e` and fail to produce desired
output). More debug info is available in #267670

Shell scripts aren't guaranteed to work as interpreters in shebang.
In particular thin shell wrappers aren't shebang-ready on MacOS.
It may work sometimes depending on what exactly would try to execute
a script with such shebang, but generally it's not guaranteed to work.
See #124556

Bash wrapper was introduced in #266847 and so far seems like the
issue only affects darwin builds: hydra failure is in osx-specific
script, also shebang issue is usually darwin-specific.

Let's wrap it as a native binary to make it shebang-compatible.

The wrapper is only currently added to `bazel_6` so no need for
changes in other versions.

ZHF: #265948
2023-11-20 02:02:39 +01:00