Skip to content

clisp: pin to readline6 to fix the build#206745

Merged
trofi merged 1 commit intoNixOS:masterfrom
trofi:clisp-fix-readline
Dec 19, 2022
Merged

clisp: pin to readline6 to fix the build#206745
trofi merged 1 commit intoNixOS:masterfrom
trofi:clisp-fix-readline

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented Dec 18, 2022

On readline8 clisp fails to find the variables and fails to build: https://hydra.nixos.org/log/rbykd92038rp80a71diyxqmbiz4m8f60-clisp-2.49.drv

*** - FFI::FIND-FOREIGN-VARIABLE: foreign variable
  #<FOREIGN-VARIABLE "rl_readline_state" #x00007FFFF7FBC640> does not have
  the required size or alignment

The pin back fixes build for me.

Noticed by Athas on libera/#nixos.

Description of changes
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Dec 18, 2022
Copy link
Contributor

@tjni tjni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for tracking this down and fixing it.

Nit on the commit messages:

fix bthe build => fix the build
the varilables => the variables

On readline8 clisp fails to find the variables and fails to build:
https://hydra.nixos.org/log/rbykd92038rp80a71diyxqmbiz4m8f60-clisp-2.49.drv

    *** - FFI::FIND-FOREIGN-VARIABLE: foreign variable
      #<FOREIGN-VARIABLE "rl_readline_state" #x00007FFFF7FBC640> does not have
      the required size or alignment

The pin back fixes build for me.

Noticed by Athas on libera/#nixos.
@trofi trofi force-pushed the clisp-fix-readline branch from d226da6 to 83f6bed Compare December 18, 2022 20:12
@trofi trofi changed the title clisp: pin to readline6 to fix bthe build clisp: pin to readline6 to fix the build Dec 18, 2022
@trofi
Copy link
Contributor Author

trofi commented Dec 18, 2022

Nit on the commit messages:

fix bthe build => fix the build
the varilables => the variables

Good catch! Attempted to fix both in commit message and PR description.

SamLukeYes added a commit to SamLukeYes/nixos that referenced this pull request Dec 19, 2022
@trofi trofi merged commit c4ae266 into NixOS:master Dec 19, 2022
@trofi trofi deleted the clisp-fix-readline branch December 19, 2022 07:46
@jboyens jboyens mentioned this pull request Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants