Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perlPackages.XMLLibXSLT fails on M1 Mac #162390

Closed
xave opened this issue Mar 1, 2022 · 7 comments
Closed

perlPackages.XMLLibXSLT fails on M1 Mac #162390

xave opened this issue Mar 1, 2022 · 7 comments
Labels
0.kind: bug 6.topic: darwin Running or building packages on Darwin 6.topic: TeX Issues regarding texlive and TeX in general

Comments

@xave
Copy link

xave commented Mar 1, 2022

Describe the bug

Running the command nix-env -iA nixpkgs.texlive.combined.scheme-full fails with errors on M1 Mac.

See log.

Steps To Reproduce

  1. Run nix-env -iA nixpkgs.texlive.combined.scheme-full
  2. Failure.

Expected Behavior
A successful installation of the package.

nix-env --version output
nix-env (Nix) 2.6.1

Additional context
texlive-nix-log.txt

@veprbl veprbl added 6.topic: TeX Issues regarding texlive and TeX in general 6.topic: darwin Running or building packages on Darwin labels Mar 1, 2022
@hmenke
Copy link
Member

hmenke commented Mar 2, 2022

You didn't even get to building TeX Live. It's perl5.34.0-XML-LibXSLT-1.99 that failed building.

@veprbl veprbl changed the title TeXLive installation fails on M1 Mac perl5.34.0-XML-LibXSLT-1.99 fails on M1 Mac Mar 2, 2022
@veprbl veprbl changed the title perl5.34.0-XML-LibXSLT-1.99 fails on M1 Mac perlPackages.XMLLibXSLT fails on M1 Mac Mar 2, 2022
@xave
Copy link
Author

xave commented Mar 4, 2022

Good catch.

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/texlive-combined-scheme-full-fails-to-build-on-mac-m1/18287/3

@janfrode
Copy link

Hitting same issue. Here's the log from the perlPackages.XMLLibXSLT build failure:

nix-log-perl5.34.0-XML-LibXML-2.0206.txt

@janfrode
Copy link

Seems like a trivial failure (can't find -lz), but unfortunately I have no idea how to fix nix builds..

@janfrode
Copy link

As a workaround, I switched to nixpkgs-unstable, and there I can build the full texlive.combined.scheme-full:

nix-channel --add https://nixos.org/channels/nixpkgs-unstable
nix-channel --update
nix-shell -p texlive.combined.scheme-full

@wegank
Copy link
Member

wegank commented Oct 5, 2022

Seems to be fixed on both 22.05 and unstable:

nix shell github:NixOS/nixpkgs/nixpkgs-22.05-darwin#perl534Packages.XMLLibXSLT

@wegank wegank closed this as completed Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 6.topic: darwin Running or building packages on Darwin 6.topic: TeX Issues regarding texlive and TeX in general
Projects
None yet
Development

No branches or pull requests

6 participants