-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
pulseaudio: add libintl dependency on darwin #172230
Conversation
Log of failure: https://hydra.nixos.org/build/174832426/nixlog/4 Refs: ZHF NixOS#172160 Signed-off-by: Otavio Salvador <[email protected]>
Result of 7 packages marked as broken and skipped:
11 packages failed to build:
|
❯ nix log /nix/store/jk3ya7d6i0nycwfmd4mrcnxxz2zsaanq-libpulseaudio-15.0.drv | ix |
@siraben I am on Linux so it is hard for me to debug this. Could you take a look? |
When I was looking at this earlier, I found the same issue building locally. After passing the |
Note that
which means, depending on taste, it might be preferred to include |
One thing that I found strange is that I am trying to do an investigation in my local machine right now. Don't think it is worth merging it in the current state. |
Sounds good! Let me know if I can help. I (only) have an M1 machine. |
Still doesn't succesfully build.
Now it starts to build, but it fails during compilation. I think this may be related to the compiler maybe, or something else. |
Now maybe it makes sense to merge as-is since at least it tries to build. Still not sure if we want it or not. BTW, from the looks of it, this release (15.0) seems problematic on Darwin. Both macports and homebrew are still packaging the 14.2 release. |
If
You're right that this then runs into further issues, and I agree it could be best to take it one step at a time. |
I also get compile-time errors, such as:
which looks related to being on an M1 Mac. If we want to try to continue with this version, I would advocate for committing the following:
That seems to get us past the configuration phase, and then we can try to tackle the compilation (or mark as broken if we can't figure it out). I suppose we could also continue using 14.2 on Darwin? |
++ lib.optionals (stdenv.isDarwin) [ | ||
"-Doss-output=disabled" | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++ lib.optionals (stdenv.isDarwin) [ | |
"-Doss-output=disabled" | |
]; | |
++ lib.optional (stdenv.isDarwin) "-Doss-output=disabled"; |
@tjni keep the last known working version does make sense. |
I’ve also spent some time on pulseaudio on Darwin but I don’t think I have the time to see it through at the moment. Here’s where I got to: https://github.com/NixOS/nixpkgs/compare/master...thefloweringash:libpulseaudio-darwin?expand=1 |
Ignore what I said before. Dbus is used both for Homebrew and MacPorts. I still think this is mostly unnecessary for macOS, but if it builds and works we should keep it. |
https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/pulseaudio.rb#L55 Sorry, so dbus is disabled in Homebrew and enabled in MacPorts. I think we are not really interested in |
Nice. I took your PR and did a clean-up and made it build: #172307 |
Closing in favor of yours. |
Log of failure: https://hydra.nixos.org/build/174832426/nixlog/4
Refs: ZHF #172160
Signed-off-by: Otavio Salvador [email protected]
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes