Skip to content

dev shell broken under aarch64-darwin #12756

@sielicki

Description

@sielicki

Describe the bug

for whatever reason, dbi isn't pulled in. I didn't look too closely but at first glance, I don't see where packaging/dev-shell.nix transitively references src/perl/package.nix at all.

what I did:

$ cat .envrc && echo && direnv reload
use flake .#native-ccacheStdenv

[...]
$ rm -rf build && (meson setup build 2>&1 | tail -n 5)
src/perl/meson.build:111:17: ERROR: Command `/nix/store/zi73657kywwkm9ci6d66j8apkq31syhl-perl-5.40.0/bin/perl -e 'use DBI; use DBD::SQLite;' -I/usr -I/usr` failed with status 2.

A full log can be found at ./build/meson-logs/meson-log.txt

$ tail -n8 ./build/meson-logs/meson-log.txt
--- stderr ---
Can't locate DBI.pm in @INC (you may need to install the DBI module) (@INC entries checked: /usr /usr /nix/store/zi73657kywwkm9ci6d66j8apkq31syhl-perl-5.40.0/lib/perl5/site_perl/5.40.0/darwin-thread-multi-2level /nix/store/zi73657kywwkm9ci6d66j8apkq31syhl-perl-5.40.0/lib/perl5/site_perl/5.40.0 /nix/store/zi73657kywwkm9ci6d66j8apkq31syhl-perl-5.40.0/lib/perl5/site_perl /nix/store/i7460fczrp4ac460v0gibqddj7n8w8iz-git-2.47.0/lib/perl5/site_perl/5.40.0 /nix/store/i7460fczrp4ac460v0gibqddj7n8w8iz-git-2.47.0/lib/perl5/site_perl /nix/store/zi73657kywwkm9ci6d66j8apkq31syhl-perl-5.40.0/lib/perl5/site_perl/5.40.0/darwin-thread-multi-2level /nix/store/zi73657kywwkm9ci6d66j8apkq31syhl-perl-5.40.0/lib/perl5/site_perl/5.40.0 /nix/store/zi73657kywwkm9ci6d66j8apkq31syhl-perl-5.40.0/lib/perl5/5.40.0/darwin-thread-multi-2level /nix/store/zi73657kywwkm9ci6d66j8apkq31syhl-perl-5.40.0/lib/perl5/5.40.0) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.



src/perl/meson.build:111:17: ERROR: Command `/nix/store/zi73657kywwkm9ci6d66j8apkq31syhl-perl-5.40.0/bin/perl -e 'use DBI; use DBD::SQLite;' -I/usr -I/usr` failed with status 2.

edit: should note, occurs regardless of whether I use the ccache stdenv.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions