Skip to content

corretto17@17.0.14.7.1 fails to build due to missing autoconf dependency #2683

@icorbett

Description

@icorbett

Package name

corretto17@17.0.14.7.1

What changes are you requesting?

With an existing and seemingly stable devbox install using Determinate Nix, I attempted to add corretto17(@latest) along with pre-commit(@latest) to a newly initialized project. This resulted in an error that leads me to believe the 'first-pass' install is dependent on autoconf as an undeclared dependency.

% devbox add corretto17 pre-commit
Ensuring nixpkgs registry is downloaded.
Downloaded 'github:NixOS/nixpkgs/648f70160c03151bc2121d179291337ad6bc564b?narHash=sha256-FK8iq76wlacriq3u0kFCehsRYTAqjA9nfprpiSWRWIc%3D' to '/nix/store/dws72c03fld2qk763wrlpahvp53sky6b-source' (hash 'sha256-FK8iq76wlacriq3u0kFCehsRYTAqjA9nfprpiSWRWIc=').
Ensuring nixpkgs registry is downloaded: Success
Info: Adding package "corretto17@latest" to devbox.json
Info: Adding package "pre-commit@latest" to devbox.json
Info: Installing the following packages to the nix store: corretto17@latest, pre-commit@latest
warning: Nix search path entry '/Users/yt/.nix-defexpr/channels' does not exist, ignoring
warning: Nix search path entry '/Users/yt/.nix-defexpr/channels' does not exist, ignoring
warning: Nix search path entry '/Users/yt/.nix-defexpr/channels' does not exist, ignoring
error: builder for '/nix/store/a270v2pcgavyf6k1ih0fdmybqx2hgznx-corretto17-17.0.14.7.1.drv' failed with exit code 1;
       last 25 log lines:
       > Autoconf is not found on the PATH (/nix/store/08ny0l3h2ybjv9my62mbfwjf31kshlcz-unzip-6.0/bin:/nix/store/0p8aw8d9l6g0p24vpnlmyas8wr6g0agl-zulu-ca-jdk-17.0.12/bin:/nix/store/9w3gbza9v89150pfqbizv3f63hpxh6lm-gradle-7.6.6/bin:/nix/store/77pnaxap7s08d3cg3521mvf0r5g00j5b-rsync-3.4.1/bin:/nix/store/yr2068d9m3nsc3g5gbjgj1n3fbr9rb89-clang-wrapper-19.1.7/bin:/nix/store/p0y4nlhvjc8q7kgcj3w554vxg2h9mb0s-clang-19.1.7/bin:/nix/store/7712hv9svx4cf3cc5g848aa073aak0a4-coreutils-9.7/bin:/nix/store/ijx2mqm33zx8vpwhjnwh297gg5n9jf1w-cctools-binutils-darwin-wrapper-1010.6/bin:/nix/store/4ydm7j84l7daq88z74ykyxx2d73lwhvh-cctools-binutils-darwin-1010.6/bin:/nix/store/sw82lm8kl9aszbv9l8ira6s9m0nkcx1i-xcbuild-0.1.1-unstable-2019-11-20-xcrun/bin:/nix/store/lcpbdhaw5yrw96kghpq9d5z0cfq4ljq5-libiconv-109/bin:/nix/store/7712hv9svx4cf3cc5g848aa073aak0a4-coreutils-9.7/bin:/nix/store/aign8i8aq0h1bdxpby211vckabvvd1g7-findutils-4.10.0/bin:/nix/store/ibh8z1nm5y7g4s4yg85b68j1f5nbk13n-diffutils-3.12/bin:/nix/store/1299nwb4c57z3hamkfa33r1hf1cm73li-gnused-4.9/bin:/nix/store/f9mkdp2bnnbwshk9vjr4jj34md6911bp-gnugrep-3.12/bin:/nix/store/cysns6z9qhl9f0a0s1vn1v36z66ar99s-gawk-5.3.2/bin:/nix/store/8q719jjpny4yszxjk02aag9k1swjj4dn-gnutar-1.35/bin:/nix/store/l1d1mg9lrrfnf47f0nkwmc0032j89b1s-gzip-1.14/bin:/nix/store/a330fkrm3fkb1nbx1drc0r00mnx7ixiz-bzip2-1.0.8-bin/bin:/nix/store/8l8qhxbk9isvxvg22prkvqay1g7x8xh8-gnumake-4.4.1/bin:/nix/store/a6akyvyh3j60yz9gajqbm155k2c7m5fc-bash-5.3p0/bin:/nix/store/mmxsb55b1yddhjjl3lnhcx3kpsjx0sml-patch-2.8/bin:/nix/store/vmb7dz5j8hf5s5qvg6j3my4cvnq0f7kv-xz-5.8.1-bin/bin:/nix/store/22p4bpikkb8j6a51m5625gc9rnc9sz8w-file-5.45/bin), and AUTOCONF is not set.
       > You need autoconf to be able to generate a runnable configure script.
       > Error: Cannot find autoconf
       >
       > FAILURE: Build failed with an exception.
       >
       > * What went wrong:
       > Execution failed for task ':installers:mac:tar:configureBuild'.
       > > Process 'command 'bash'' finished with non-zero exit value 1
       >
       > * Try:
       > > Run with --stacktrace option to get the stack trace.
       > > Run with --info or --debug option to get more log output.
       > > Run with --scan to get full insights.
       >
       > * Get more help at https://help.gradle.org
       >
       > Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
       >
       > You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
       >
       > See https://docs.gradle.org/7.6.6/userguide/command_line_interface.html#sec:command_line_warnings
       >
       > BUILD FAILED in 1m 39s
       > 8 actionable tasks: 8 executed
       For full logs, run:
         nix log /nix/store/a270v2pcgavyf6k1ih0fdmybqx2hgznx-corretto17-17.0.14.7.1.drv

Error: There was an error installing nix packages
source: nix: command error: nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' build --impure --no-link 'github:NixOS/nixpkgs/648f70160c03151bc2121d179291337ad6bc564b#corretto17' /nix/store/awyg4wwb7w117sr32zbw453yylzy1sv5-pre-commit-4.2.0: exit code 1

A few more details:

% devbox version -v
Version:     0.14.0
Platform:    darwin_arm64
Commit:      none
Commit Time: unknown
Go Version:  go1.23.7
Launcher:
% nix profile list
Name:               devbox
Flake attribute:    legacyPackages.aarch64-darwin.devbox
Original flake URL: flake:nixpkgs
Locked flake URL:   github:NixOS/nixpkgs/9bc8a90931262245919a26f995c1f24c6c70d3fe?narHash=sha256-xlpHmgBxUnvHo8FNnju0sgnEyasb4gC607b%2BkeqjmX8%3D
Store paths:        /nix/store/5xp80483c4ia7hlzih3n8p12j5vahx4r-devbox-0.14.0
% nix --version
nix (Nix) 2.26.2
% /nix/nix-installer --version
nix-installer 0.19.0
% nix profile history
Version 1 (2024-06-21):
  flake:nixpkgs#legacyPackages.aarch64-darwin.devbox: ∅ -> 0.11.0

Version 2 (2024-07-22) <- 1:
  flake:nixpkgs#legacyPackages.aarch64-darwin.devbox: 0.11.0 -> 0.12.0

Version 3 (2024-11-08) <- 2:
  flake:nixpkgs#legacyPackages.aarch64-darwin.devbox: 0.12.0 -> 0.13.4

Version 4 (2025-03-18) <- 3:
  flake:nixpkgs#legacyPackages.aarch64-darwin.devbox: 0.13.4 -> 0.14.0

My apologies if I have left out any important details.

Nixhub link

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpackageRequest to add a package or report a problemtriageIssue needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions