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

jack2 OS X uninstaller is very seriously broken #379

Open
eclab opened this issue Sep 15, 2018 · 18 comments
Open

jack2 OS X uninstaller is very seriously broken #379

eclab opened this issue Sep 15, 2018 · 18 comments
Labels
build un/install Related to building releases on several platforms OSX Bug or feature related to using JACK on OSX

Comments

@eclab
Copy link

eclab commented Sep 15, 2018

The uninstaller fails to remove a large portion of jack gunk.

This is a particularly serious problem because installation of jack2 breaks Java Audio applications, so with a broken uninstaller, Java Audio apps are permanently disabled after a single installation of jack2. That. Is not. Good.

To essentially exorcise jack2 from my machine and reenable Java audio, I had to dig through the jack2 installer and determine every single file it had installed, then manually delete them from my system. It wasn't fun.

@sletz
Copy link
Member

sletz commented Sep 15, 2018

The uninstalled command can be opened as a text file, here is the list of all installed files:

#!/bin/sh

TRASH="$HOME/.Trash"
MV="/bin/mv -f"
ERR=/tmp/remove_JackOSX_log

echo "Move all JackOSX ressources in the trash, put log file in /tmp/remove_jack_log"

sudo $MV "/usr/local/bin/jackd"   $TRASH 2>>$ERR
sudo $MV "/usr/local/bin/jackdmp"   $TRASH 2>>$ERR
sudo $MV "/usr/local/bin/jack_metro"   $TRASH 2>>$ERR
sudo $MV "/usr/local/bin/jack_lsp"   $TRASH 2>>$ERR
sudo $MV "/usr/local/bin/jack_disconnect"   $TRASH 2>>$ERR
sudo $MV "/usr/local/bin/jack_connect"   $TRASH 2>>$ERR
sudo $MV "/usr/local/bin/jack_load"   $TRASH 2>>$ERR
sudo $MV "/usr/local/bin/jack_unload"   $TRASH 2>>$ERR
sudo $MV "/usr/local/bin/jack_netsource"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/jackmp/jack_coreaudio.so"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/jackmp/jack_coremidi.so"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/jackmp/jack_loopback.so"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/jackmp/jack_net.so"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/jackmp/jack_netone.so"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/jackmp/netmanager.so"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/jackmp/netadapter.so"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/jackmp/audioadapter.so"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/pkgconfig/jack.pc"   $TRASH 2>>$ERR
sudo $MV "/usr/local/include/jack"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/jackmp"   $TRASH 2>>$ERR
sudo $MV "/Library/Frameworks/Jackmp.framework"   $TRASH 2>>$ERR
sudo $MV "/Library/Frameworks/Jackservermp.framework"   $TRASH 2>>$ERR
sudo $MV "/Library/Frameworks/Jacknet.framework"   $TRASH 2>>$ERR
sudo $MV "/Library/Frameworks/Panda.framework"   $TRASH 2>>$ERR
sudo $MV "/System/Library/Frameworks/Jackmp.framework"   $TRASH 2>>$ERR
sudo $MV "/System/Library/Frameworks/Jackservermp.framework"   $TRASH 2>>$ERR
sudo $MV "/System/Library/Frameworks/Jacknet.framework"   $TRASH 2>>$ERR
sudo $MV "/System/Library/Frameworks/Panda.framework"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/libjack.0.dylib"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/libjack.dylib"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/libjackserver.0.dylib"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/libjackserver.dylib"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/libjacknet.0.dylib"   $TRASH 2>>$ERR
sudo $MV "/usr/local/lib/libjacknet.dylib"   $TRASH 2>>$ERR
sudo $MV "/Library/Audio/Plug-Ins/HAL/JackRouter.plugin"   $TRASH 2>>$ERR
sudo $MV "/Library/Audio/Plug-Ins/Components/JACK-insert.component"   $TRASH 2>>$ERR
sudo $MV "/Library/Audio/Plug-Ins/VST/JACK-insert.vst"   $TRASH 2>>$ERR
sudo $MV "$HOME/Library/Preferences/JackPilot.plist"   $TRASH 2>>$ERR
sudo $MV "$HOME/Library/Preferences/JAS.jpil"   $TRASH 2>>$ERR
sudo $MV "/Applications/Jack"   "/Applications/Trashed_Jack" 2>>$ERR
sudo $MV "/Applications/Trashed_Jack"   $TRASH 2>>$ERR
sudo $MV /Library/Receipts/JackOSX.0.7*   $TRASH 2>>$ERR
sudo $MV /Library/Receipts/JackOSX.0.8*   $TRASH 2>>$ERR
sudo $MV /Library/Receipts/JackOSX.0.9*   $TRASH 2>>$ERR
sudo $MV "$HOME/Library/Preferences/gpl.elementicaotici.JackPilot.plist"   $TRASH 2>>$ERR
sudo $MV "$HOME/.jackdrc"   $TRASH 2>>$ERR
sudo $MV "/private/etc/jackd.conf"   $TRASH 2>>$ERR
sudo $MV "/private/var/db/receipts/com.grame.jackosx.bom"   $TRASH 2>>$ERR
sudo $MV "/private/var/db/receipts/com.grame.jackosx.plist"   $TRASH 2>>$ERR

@eclab
Copy link
Author

eclab commented Sep 15, 2018

Yep. But that's useful to a coder like me, not to the average user. If I was stymied by this, I can only imagine what Joe Sixpack is going through. IMHO this should be a high priority issue.

@7890
Copy link
Contributor

7890 commented Sep 20, 2018

@sletz: the only thing I could imagine is that OP has a home directory with spaces in it or similar.
$TRASH can be "$TRASH" to exclude this possibility.

@7890
Copy link
Contributor

7890 commented Sep 20, 2018

.oO sudo mv to a spaced path is pretty dangerous ;)
(most likely mv will abort. that's the good news).

@eclab
Copy link
Author

eclab commented Sep 20, 2018 via email

@sletz
Copy link
Member

sletz commented Sep 20, 2018

The situation is now: this JackOSX package was done years ago, I don't even have the source anymore. Nobody maintains JackOSX anymore. Its the curent package is considered "dangerous" then it would have to be explained clearly on the download page (like describe the exact situation..). I cannot do more.

@7890
Copy link
Contributor

7890 commented Sep 20, 2018

If the current binary can't be reproduced anymore this is indeed not a good situation. The maintainers have to decide what to do.

@falkTX
Copy link
Member

falkTX commented Sep 20, 2018

My idea for jack2 on osx is to build the code using waf first, then figure out something regarding packaging.
Perhaps initially just dont even provide packaging, we have things like macports, homebrew and fink to install most opensource related packages.
After waf based builds are known to work properly, we can see about having an osx package.

@falkTX
Copy link
Member

falkTX commented Sep 20, 2018

@sletz are you okay with me removing the jack-osx package/installer from the website?
I can do so...

@7890
Copy link
Contributor

7890 commented Sep 20, 2018

It works for others .. maybe just add a comment that it's EOL until there is a better solution?

@7890
Copy link
Contributor

7890 commented Sep 20, 2018

The uninstall file could be patched post-install if needed at all.

@sletz
Copy link
Member

sletz commented Sep 21, 2018

The JackOSX package is more than the jackd server. Its is also additional tools (like the JackRouter CoreAudio device and some others...). Adding a warning on the download site should be enough.

@jmcker
Copy link

jmcker commented Oct 18, 2018

Would anyone be able to provide more information on the whereabouts of source for JackRouter/JackPilot?

I'd like to take a look at it. I have waf builds working on High Sierra, but I can't find source to build JackPilot or JackRouter anywhere. I take it these are not in the main jack2 repo anymore/ever per the comment from @sletz.

@Elmer1995
Copy link

Que verguerio es este

@sletz
Copy link
Member

sletz commented Oct 19, 2018

The code in on SourceForge : https://sourceforge.net/projects/jackosx

@7890
Copy link
Contributor

7890 commented Oct 22, 2018

Can source really be found under https://sourceforge.net/projects/jackosx ? As far as I can see these are installation packages.

@sletz
Copy link
Member

sletz commented Oct 22, 2018

Use a cvs client and execute the commands explained here : http://jackosx.cvs.sourceforge.net

cvs -z3 -d:pserver:[email protected]:/cvsroot/jackosx co -P JackWASIO
cvs -z3 -d:pserver:[email protected]:/cvsroot/jackosx co -P jackosx

@dvzrv
Copy link
Contributor

dvzrv commented Oct 22, 2018 via email

@7890 7890 added OSX Bug or feature related to using JACK on OSX build un/install Related to building releases on several platforms labels Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build un/install Related to building releases on several platforms OSX Bug or feature related to using JACK on OSX
Projects
None yet
Development

No branches or pull requests

7 participants