asb2m10 / dexed

DX7 FM multi plaform/multi format plugin
GNU General Public License v3.0
2.76k stars 240 forks source link

CLAP plugin failed to scan on REAPER with Apple Silicon CPU #384

Closed m13253 closed 1 week ago

m13253 commented 1 year ago

Steps to reproduce:

  1. Download Dexed 0.9.7 Nightly.
  2. xattr -rd com.apple.quarantine Dexed_artefacts to make sure macOS doesn’t enforce binary signature.
  3. Copy Dexed_artefacts/Debug/CLAP/Dexed.clap to ~/Library/Audio/Plug-Ins/CLAP/.
  4. Start REAPER.
  5. Choose Options → Settings → Plug-ins → LV2/CLAP → CLAP plug-in settings → Re-scan/Info.
  6. Choose “Clear cache and re-scan CLAP paths for all plug-ins”.

What to expect:

What I observed:

Additional info:

asb2m10 commented 1 week ago

Please test this with latest dexed release :

https://github.com/asb2m10/dexed/releases/tag/v0.9.7pre4

m13253 commented 1 week ago

Thanks for the fix.

One good news & one bad news:

  1. The bug is fixed. REAPER can load Dexed as CLAP plugin now.

    Screenshot

  2. The installation reports as “failure”. (It is actually successful.)

    Screenshot

asb2m10 commented 1 week ago

Is it possible to run the installer again to see if you have the issue ? If not, you should have a better explanation in /var/log/install.log and anything useful in that log file could give us some hints.

m13253 commented 1 week ago
2024-07-11 04:22:39+00 localhost Installer[92284]: @(#)PROGRAM:Install  PROJECT:Install-1000
2024-07-11 04:22:39+00 localhost Installer[92284]: @(#)PROGRAM:Installer  PROJECT:Installer-1210
2024-07-11 04:22:39+00 localhost Installer[92284]: Hardware: Mac13,1 @ 0 MHz (x 10), 65536 MB RAM
2024-07-11 04:22:39+00 localhost Installer[92284]: Running OS Build: macOS 14.5 (23F79)
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: USER=user
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: COMMAND_MODE=unix2003
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: __CFBundleIdentifier=com.apple.installer
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: LOGNAME=user
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.r11FuWP4uw/Listeners
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: HOME=/Users/user
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: SHELL=/opt/homebrew/bin/fish
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: TMPDIR=/var/folders/ff/y116fhps3vj4_vs_lykbv6sw0000gn/T/
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: XPC_SERVICE_NAME=application.com.apple.installer.1152921500312120477.1152921500312120482
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: XPC_FLAGS=0x0
2024-07-11 04:22:39+00 localhost Installer[92284]: Dexed 0.9.7pre4  Installation Log
2024-07-11 04:22:39+00 localhost Installer[92284]: Opened from: /Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg
2024-07-11 04:22:39+00 localhost Installer[92284]: No localized entry for Readme.rtf
2024-07-11 04:22:39+00 localhost Installer[92284]: No localized entry for License.txt
2024-07-11 04:22:39+00 localhost Installer[92284]: Failed to load specified background image
2024-07-11 04:22:39+00 localhost Installer[92284]: Product archive /Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg trustLevel=350
2024-07-11 04:22:39+00 localhost Installer[92284]: External component packages (4) trustLevel=350
2024-07-11 04:22:39+00 localhost Installer[92284]: No localized entry for Readme.rtf
2024-07-11 04:22:39+00 localhost Installer[92284]: Could not load resource readme: (null)
2024-07-11 04:22:39+00 localhost Installer[92284]: No localized entry for License.txt
2024-07-11 04:22:39+00 localhost Installer[92284]: Could not load resource license: (null)
2024-07-11 04:22:39+00 localhost Installer[92284]: Architecture Translation: Distribution failed architecture check and is about to be re-executed as Intel.
2024-07-11 04:22:39+00 localhost Installer[92284]: Architecture Translation: Process is about to get executed as Intel.
2024-07-11 04:22:39+00 localhost Installer[92284]: @(#)PROGRAM:Install  PROJECT:Install-1000
2024-07-11 04:22:39+00 localhost Installer[92284]: @(#)PROGRAM:Installer  PROJECT:Installer-1210
2024-07-11 04:22:39+00 localhost Installer[92284]: Hardware: Mac13,1 @ 2.40 GHz (x 10), 65536 MB RAM
2024-07-11 04:22:39+00 localhost Installer[92284]: Running OS Build: macOS 14.5 (23F79)
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: USER=user
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: COMMAND_MODE=unix2003
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: __CFBundleIdentifier=com.apple.installer
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: LOGNAME=user
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.r11FuWP4uw/Listeners
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: HOME=/Users/user
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: SHELL=/opt/homebrew/bin/fish
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: TMPDIR=/var/folders/ff/y116fhps3vj4_vs_lykbv6sw0000gn/T/
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: XPC_SERVICE_NAME=application.com.apple.installer.1152921500312120477.1152921500312120482
2024-07-11 04:22:39+00 localhost Installer[92284]: Env: XPC_FLAGS=0x0
2024-07-11 04:22:39+00 localhost Installer[92284]: Dexed 0.9.7pre4  Installation Log
2024-07-11 04:22:39+00 localhost Installer[92284]: Opened from: /Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg
2024-07-11 04:22:39+00 localhost Installer[92284]: No localized entry for Readme.rtf
2024-07-11 04:22:39+00 localhost Installer[92284]: No localized entry for License.txt
2024-07-11 04:22:39+00 localhost Installer[92284]: Failed to load specified background image
2024-07-11 04:22:39+00 localhost Installer[92284]: Product archive /Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg trustLevel=350
2024-07-11 04:22:39+00 localhost Installer[92284]: External component packages (4) trustLevel=350
2024-07-11 04:22:40+00 localhost Installer[92284]: No localized entry for Readme.rtf
2024-07-11 04:22:40+00 localhost Installer[92284]: Could not load resource readme: (null)
2024-07-11 04:22:40+00 localhost Installer[92284]: No localized entry for License.txt
2024-07-11 04:22:40+00 localhost Installer[92284]: Could not load resource license: (null)
2024-07-11 04:22:57+00 localhost Installer[92284]: ================================================================================
2024-07-11 04:22:57+00 localhost Installer[92284]: User picked Custom Install
2024-07-11 04:22:57+00 localhost Installer[92284]: Choices selected for installation:
2024-07-11 04:22:57+00 localhost Installer[92284]:  Install: "Dexed 0.9.7pre4"
2024-07-11 04:22:57+00 localhost Installer[92284]:  Install: "Dexed VST3"
2024-07-11 04:22:57+00 localhost Installer[92284]:      dexed-macOS-0.9.7pre4.pkg#dexed_VST3.pkg : com.digitalsuburban.dexed.vst3.pkg : 0.9.7pre4
2024-07-11 04:22:57+00 localhost Installer[92284]:  Install: "Dexed Audio Unit"
2024-07-11 04:22:57+00 localhost Installer[92284]:      dexed-macOS-0.9.7pre4.pkg#dexed_AU.pkg : com.digitalsuburban.dexed.component.pkg : 0.9.7pre4
2024-07-11 04:22:57+00 localhost Installer[92284]:  Install: "Dexed CLAP"
2024-07-11 04:22:57+00 localhost Installer[92284]:      dexed-macOS-0.9.7pre4.pkg#dexed_CLAP.pkg : com.digitalsuburban.dexed.clap.pkg : 0.9.7pre4
2024-07-11 04:22:57+00 localhost Installer[92284]:  Install: "Dexed App"
2024-07-11 04:22:57+00 localhost Installer[92284]:      dexed-macOS-0.9.7pre4.pkg#dexed_APP.pkg : com.digitalsuburban.dexed.app.pkg : 0.9.7pre4
2024-07-11 04:22:57+00 localhost Installer[92284]: ================================================================================
2024-07-11 04:22:57+00 localhost Installer[92284]: It took 0.00 seconds to summarize the package selections.
2024-07-11 04:22:58+00 localhost Installer[92284]: ================================================================================
2024-07-11 04:22:58+00 localhost Installer[92284]: User picked Standard Install
2024-07-11 04:22:58+00 localhost Installer[92284]: Choices selected for installation:
2024-07-11 04:22:58+00 localhost Installer[92284]:  Install: "Dexed 0.9.7pre4"
2024-07-11 04:22:58+00 localhost Installer[92284]:  Install: "Dexed VST3"
2024-07-11 04:22:58+00 localhost Installer[92284]:      dexed-macOS-0.9.7pre4.pkg#dexed_VST3.pkg : com.digitalsuburban.dexed.vst3.pkg : 0.9.7pre4
2024-07-11 04:22:58+00 localhost Installer[92284]:  Install: "Dexed Audio Unit"
2024-07-11 04:22:58+00 localhost Installer[92284]:      dexed-macOS-0.9.7pre4.pkg#dexed_AU.pkg : com.digitalsuburban.dexed.component.pkg : 0.9.7pre4
2024-07-11 04:22:58+00 localhost Installer[92284]:  Install: "Dexed CLAP"
2024-07-11 04:22:58+00 localhost Installer[92284]:      dexed-macOS-0.9.7pre4.pkg#dexed_CLAP.pkg : com.digitalsuburban.dexed.clap.pkg : 0.9.7pre4
2024-07-11 04:22:58+00 localhost Installer[92284]:  Install: "Dexed App"
2024-07-11 04:22:58+00 localhost Installer[92284]:      dexed-macOS-0.9.7pre4.pkg#dexed_APP.pkg : com.digitalsuburban.dexed.app.pkg : 0.9.7pre4
2024-07-11 04:22:58+00 localhost Installer[92284]: ================================================================================
2024-07-11 04:22:58+00 localhost Installer[92284]: It took 0.00 seconds to summarize the package selections.
2024-07-11 04:22:58+00 localhost Installer[92284]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
2024-07-11 04:22:58+00 localhost Installer[92284]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_VST3.pkg
2024-07-11 04:22:58+00 localhost Installer[92284]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_AU.pkg
2024-07-11 04:22:58+00 localhost Installer[92284]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_CLAP.pkg
2024-07-11 04:22:58+00 localhost Installer[92284]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_APP.pkg
2024-07-11 04:22:58+00 localhost Installer[92284]: Set authorization level to root for session
2024-07-11 04:22:58+00 localhost Installer[92284]: Authorization is being checked, waiting until authorization arrives.
2024-07-11 04:23:01+00 localhost Installer[92284]: Administrator authorization granted.
2024-07-11 04:23:01+00 localhost Installer[92284]: Packages have been authorized for installation.
2024-07-11 04:23:01+00 localhost Installer[92284]: Will use PK session
2024-07-11 04:23:01+00 localhost Installer[92284]: Using authorization level of root for IFPKInstallElement
2024-07-11 04:23:01+00 localhost Installer[92284]: Install request is requesting Rosetta translation.
2024-07-11 04:23:01+00 localhost Installer[92284]: Starting installation:
2024-07-11 04:23:01+00 localhost Installer[92284]: Configuring volume "Macintosh HD"
2024-07-11 04:23:01+00 localhost Installer[92284]: Preparing disk for local booted install.
2024-07-11 04:23:01+00 localhost Installer[92284]: Free space on "Macintosh HD": 522.4 GB (522401501184 bytes).
2024-07-11 04:23:01+00 localhost Installer[92284]: Create temporary directory "/var/folders/ff/y116fhps3vj4_vs_lykbv6sw0000gn/T//Install.92284WBbZcG"
2024-07-11 04:23:01+00 localhost Installer[92284]: IFPKInstallElement (4 packages)
2024-07-11 04:23:01+00 localhost Installer[92284]: Current Path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
2024-07-11 04:23:01+00 localhost installd[914]: PackageKit: Adding client PKInstallDaemonClient pid=92284, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
2024-07-11 04:23:01+00 localhost Installer[92284]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
2024-07-11 04:23:01+00 localhost installd[914]: PackageKit: Set reponsibility for install to 92284
2024-07-11 04:23:01+00 localhost installd[914]: PackageKit: Hosted team responsibility for install set to team:(PZ6T894W8E)
2024-07-11 04:23:01+00 localhost installd[914]: PackageKit: ----- Begin install -----
2024-07-11 04:23:01+00 localhost installd[914]: PackageKit: request=PKInstallRequest <4 packages, destination=/>
2024-07-11 04:23:01+00 localhost installd[914]: PackageKit: packages=(
        "PKLeopardPackage <id=com.digitalsuburban.dexed.vst3.pkg, version=0.9.7pre4, url=file:///Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_VST3.pkg>",
        "PKLeopardPackage <id=com.digitalsuburban.dexed.component.pkg, version=0.9.7pre4, url=file:///Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_AU.pkg>",
        "PKLeopardPackage <id=com.digitalsuburban.dexed.clap.pkg, version=0.9.7pre4, url=file:///Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_CLAP.pkg>",
        "PKLeopardPackage <id=com.digitalsuburban.dexed.app.pkg, version=0.9.7pre4, url=file:///Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_APP.pkg>"
    )
2024-07-11 04:23:01+00 localhost installd[914]: PackageKit: Extracting file:///Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_VST3.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/7E621C2F-D30D-4E56-8529-256E250934A1.activeSandbox/Root/Library/Audio/Plug-Ins/VST3, uid=0)
2024-07-11 04:23:01+00 localhost installd[914]: PackageKit: Extracting file:///Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_AU.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/7E621C2F-D30D-4E56-8529-256E250934A1.activeSandbox/Root/Library/Audio/Plug-Ins/Components, uid=0)
2024-07-11 04:23:01+00 localhost installd[914]: PackageKit: Extracting file:///Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_CLAP.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/7E621C2F-D30D-4E56-8529-256E250934A1.activeSandbox/Root/Library/Audio/Plug-Ins/CLAP, uid=0)
2024-07-11 04:23:01+00 localhost installd[914]: PackageKit: Extracting file:///Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_APP.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/7E621C2F-D30D-4E56-8529-256E250934A1.activeSandbox/Root/tmp/dsgb-install, uid=0)
2024-07-11 04:23:02+00 localhost installd[914]: PackageKit: Moving directory /Library/InstallerSandboxes/.PKInstallSandboxManager/7E621C2F-D30D-4E56-8529-256E250934A1.activeSandbox/Root/tmp to /Library/InstallerSandboxes/.PKInstallSandboxManager/7E621C2F-D30D-4E56-8529-256E250934A1.activeSandbox/Root/private/tmp in sandbox to account for symlink
2024-07-11 04:23:02+00 localhost installd[914]: PackageKit: prevent user idle system sleep
2024-07-11 04:23:02+00 localhost installd[914]: PackageKit: suspending backupd
2024-07-11 04:23:02+00 localhost installd[914]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/7E621C2F-D30D-4E56-8529-256E250934A1.sandboxTrash for sandbox /Library/InstallerSandboxes/.PKInstallSandboxManager/7E621C2F-D30D-4E56-8529-256E250934A1.activeSandbox
2024-07-11 04:23:02+00 localhost installd[914]: PackageKit: Shoving /Library/InstallerSandboxes/.PKInstallSandboxManager/7E621C2F-D30D-4E56-8529-256E250934A1.activeSandbox/Root (2 items) to /
2024-07-11 04:23:02+00 localhost install_monitor[92298]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
2024-07-11 04:23:02+00 localhost installd[914]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.IHr2i1/Scripts/com.digitalsuburban.dexed.app.pkg.kIeRuw
2024-07-11 04:23:02+00 localhost package_script_service[72315]: PackageKit: Preparing to execute script "postinstall" in /tmp/PKInstallSandbox.IHr2i1/Scripts/com.digitalsuburban.dexed.app.pkg.kIeRuw
2024-07-11 04:23:02+00 localhost package_script_service[72315]: Set responsibility to pid: 92284, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
2024-07-11 04:23:02+00 localhost package_script_service[72315]: Hosted team responsibility for script set to team:(PZ6T894W8E)
2024-07-11 04:23:02+00 localhost package_script_service[72315]: Preparing to execute with Rosetta Intel Translation: '/tmp/PKInstallSandbox.IHr2i1/Scripts/com.digitalsuburban.dexed.app.pkg.kIeRuw/postinstall'
2024-07-11 04:23:02+00 localhost package_script_service[72315]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.IHr2i1/Scripts/com.digitalsuburban.dexed.app.pkg.kIeRuw
2024-07-11 04:23:02+00 localhost package_script_service[72315]: ./postinstall: chown: asb2m10: illegal user name
2024-07-11 04:23:02+00 localhost package_script_service[72315]: PackageKit: Hosted team responsible for script has been cleared.
2024-07-11 04:23:02+00 localhost package_script_service[72315]: Responsibility set back to self.
2024-07-11 04:23:02+00 localhost install_monitor[92298]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
2024-07-11 04:23:03+00 localhost installd[914]: PackageKit: releasing backupd
2024-07-11 04:23:03+00 localhost installd[914]: PackageKit: allow user idle system sleep
2024-07-11 04:23:03+00 localhost installd[914]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “dexed-macOS-0.9.7pre4.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_APP.pkg, PKInstallPackageIdentifier=com.digitalsuburban.dexed.app.pkg, NSLocalizedDescription=An error occurred while running scripts from the package “dexed-macOS-0.9.7pre4.pkg”.} {
        NSFilePath = "./postinstall";
        NSLocalizedDescription = "An error occurred while running scripts from the package \U201cdexed-macOS-0.9.7pre4.pkg\U201d.";
        NSURL = "file:///Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_APP.pkg";
        PKInstallPackageIdentifier = "com.digitalsuburban.dexed.app.pkg";
    }
2024-07-11 04:23:03+00 localhost installd[914]: PackageKit: Cleared responsibility for install from 92284.
2024-07-11 04:23:03+00 localhost installd[914]: PackageKit: Cleared permissions on Installer.app
2024-07-11 04:23:03+00 localhost installd[914]: PackageKit: Hosted team responsible for install has been cleared.
2024-07-11 04:23:03+00 localhost installd[914]: PackageKit: Running idle tasks
2024-07-11 04:23:03+00 localhost installd[914]: PackageKit: Done with sandbox removals
2024-07-11 04:23:03+00 localhost installd[914]: PackageKit: Removing client PKInstallDaemonClient pid=92284, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
2024-07-11 04:23:03+00 localhost Installer[92284]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “dexed-macOS-0.9.7pre4.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Volumes/dexed-macOS-0.9.7pre4/dexed-macOS-0.9.7pre4.pkg#dexed_APP.pkg, PKInstallPackageIdentifier=com.digitalsuburban.dexed.app.pkg, NSLocalizedDescription=An error occurred while running scripts from the package “dexed-macOS-0.9.7pre4.pkg”.}
2024-07-11 04:23:03+00 localhost Installer[92284]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
2024-07-11 04:23:03+00 localhost Installer[92284]: IFDInstallController 117A4A0 state = 8
2024-07-11 04:23:03+00 localhost Installer[92284]: Displaying 'Install Failed' UI.
2024-07-11 04:23:03+00 localhost Installer[92284]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
2024-07-11 04:23:08+00 localhost Installer[92284]: Package Removal: User opted to keep package.
m13253 commented 1 week ago

Seems the error is here:

2024-07-11 04:23:02+00 localhost package_script_service[72315]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.IHr2i1/Scripts/com.digitalsuburban.dexed.app.pkg.kIeRuw
2024-07-11 04:23:02+00 localhost package_script_service[72315]: ./postinstall: chown: asb2m10: illegal user name

Looks like the installation script hardcoded the user name.

asb2m10 commented 1 week ago

Great catch ! The original script goes like this:

mkdir $TMPDIR/AppResourcesPackageScript
cat > $TMPDIR/AppResourcesPackageScript/postinstall << PIEND
#!/bin/bash
rsync -r -p --delete "/tmp/dsgb-install/$APP" /Applications
chown -R $USER:staff "/Applications/$APP";
#rm -rf /tmp/dsgb-install
PIEND

The $USER gets evaluated on my machine and should be escaped so it should be "evaluated" on your machine. I will see what I can do and keep you posted.

m13253 commented 1 week ago

I guess changing $USER to \$USER should fix it. (And perhaps also $APP to \$APP depending on where you want it to be evaluated.)

asb2m10 commented 1 week ago

I've update the installation: https://github.com/asb2m10/dexed/releases/download/v0.9.7pre4/dexed-0.9.7pre4-macos.zip

Please test this if it works on your end !

m13253 commented 1 week ago

Please test this if it works on your end !

It works! 🎉