-
Notifications
You must be signed in to change notification settings - Fork 122
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
GHA: remove ._ files from macOS zip #379
Conversation
To get rid of these errors when starting scsynth: *** ERROR: dlopen '[...]/Extensions/sc3-plugins/SC3plugins/AYUGens/._AY_UGen.scx' err 'dlopen([...]/Extensions/sc3-plugins/SC3plugins/AYUGens/._AY_UGen.scx, 2): no suitable image found. Did find: [...]/Extensions/sc3-plugins/SC3plugins/AYUGens/._AY_UGen.scx: file too short
Thx for the PR. But isn't the existence of these files a hint to a faulty CMake file or why are they there in the first place? |
I suspect the I haven't been able to replicate the generation of the '._' files on a real macOS Catalina. By the way, I tried to test the fix on GitHub by activating Actions, and everything got built except the macOS version, because the macOS runner refused to start. |
I tried downloading the 3.13.0 release zip, unpacked it in my Downloads folder and I don't see any hidden files: % ls -al sc3-plugins/SC3plugins/AYUGens
total 624
drwxr-xr-x@ 7 marcin staff 224 Feb 24 2023 .
drwxr-xr-x@ 46 marcin staff 1472 Feb 24 2023 ..
-rw-r--r--@ 1 marcin staff 484 Feb 24 2023 AY.sc
-rw-r--r--@ 1 marcin staff 343 Feb 24 2023 AYUGens.html
-rwxr-xr-x@ 1 marcin staff 152064 Feb 24 2023 AY_UGen.scx
-rwxr-xr-x@ 1 marcin staff 152096 Feb 24 2023 AY_UGen_supernova.scx
drwxr-xr-x@ 3 marcin staff 96 Feb 24 2023 HelpSource I.e. I don't see the issue that you're reporting. Also, IF the issue indeed happens, a better solution would be to not include hidden files in the zip in the first place, instead of removing them afterwards. BTW we probably need to update the macOS runner in GHA since |
unzip -l sc3-plugins-3.13.0-macOS.zip
After unpacking using unzip sc3-plugins-3.13.0-macOS.zip
It seems that the Anyway, trying to exclude the
|
Tip:If unpacking using dot_clean sc3-plugins afterwards cleans out the |
Newer macOS runner doesn't include the |
Thanks for the update. |
To get rid of these errors when starting scsynth:
*** ERROR: dlopen '[...]/Extensions/sc3-plugins/SC3plugins/AYUGens/._AY_UGen.scx'
err 'dlopen([...]/Extensions/sc3-plugins/SC3plugins/AYUGens/._AY_UGen.scx, 2): no suitable image found.
Did find: [...]/Extensions/sc3-plugins/SC3plugins/AYUGens/._AY_UGen.scx: file too short