ciderapp / Apple-Music-Electron

Apple Music Electron is now deprecated. See our new project Cider https://github.com/ciderapp/Cider
https://cider.sh
MIT License
840 stars 64 forks source link

[BUG] Error while building: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp #395

Closed linuxct closed 2 years ago

linuxct commented 2 years ago

Describe the bug While building from the AUR, the build throws an error, twice.

To Reproduce Steps to reproduce the behavior:

  1. Attempt to clean-build the package from the AUR 'apple-music-electron-git-3.0.0-2'.
  2. The error appears at build stage 4/4 and the build stops.

Expected behavior The application builds normally.

Environment Information

Additional context See the log attached. yarnlog-20211127.log This might be related: https://github.com/electron/electron-rebuild/issues/913

Have you followed the troubleshooting guide and checked for any outstanding/pinned issues that can help? Troubleshooting guide can be found here. Yes

Log File Attached the full yarn build log. yarnlog-20211127.log

linuxct commented 2 years ago

Also relevant: https://github.com/nodejs/node-gyp/issues/2534

linuxct commented 2 years ago

I tried manually upgrading my node-gyp install to 8.4.1 by modifying the PKGBUILD available here https://github.com/archlinux/svntogit-community/blob/packages/node-gyp/trunk/PKGBUILD. Prebuilt also attached for reference: node-gyp-8.4.1-1-any.pkg.tar.zip.

This way I got the latest node-gyp, which according to my previous comment should have fixed the issue. But the issue still remains.

Fresh logs attached. yarnlog-20211127-02.log

coredev-uk commented 2 years ago

I did comment on the AUR regarding this issue, I suggest you use your current version or use the -bin package. I will close this issue until any further developments occur.