lolcate-rs icon indicating copy to clipboard operation
lolcate-rs copied to clipboard

MacOS testers needed

Open ngirard opened this issue 5 years ago • 9 comments

I believe Lolcate should work gracefully on MacOS, but didn't have a chance to check it. Pre-built binaries are provided for MacOS with each release. It would be nice if someone could test them.

ngirard avatar May 19 '20 15:05 ngirard

Is there any functionality in particular you want tested? I actually just did a cargo build, and so far, just testing it out, it seems to work great.

lws4701 avatar May 20 '20 21:05 lws4701

Hey @lwsmith98, thanks for proposing ! I guess we should be good after the following:

  • could you please try the pre-compiled binary ?
  • could you create a second database and see if you can update and query it ?
  • just out of curiosity, what does lolcate --info return ?

ngirard avatar May 21 '20 04:05 ngirard

Adding a second database and updating it works successfully. Now, I haven't looked over the codebase very closely yet, but just curious, where are these dbs being stored in the fs? Attached below is the result of ./lolcate --info Screen Shot 2020-05-21 at 5 33 02 PM

lws4701 avatar May 21 '20 22:05 lws4701

Nix that one question, I found it after reading the data_dirs documentation.

lws4701 avatar May 21 '20 22:05 lws4701

I just tried using the prebuilt binary on High Sierra i.e Mac 10.13.6 and it failed immediately with several os errors and errors about Mac version

failed to access entry (/Users/myuser/Library/Application Support/Joplin/SingletonLock: No such file or directory (os error 2))
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/myuser/bin/lolcate (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/myuser/bin/lolcate (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

[1]    21367 abort      sudo lolcate --update

segunolulana avatar Jun 23 '20 07:06 segunolulana

Sorry for the late reply. @lwsmith98, thanks for your previous feedback ! @segunolulana, would you mind trying the latest release ?

ngirard avatar Nov 23 '20 11:11 ngirard

The latest prebuilt binary still fails on High Sierra (Mac 10.13.6). It however works well on Catalina (Mac 10.15.3). From the error message, it seems it might only work for Mac 10.15

➜  ~ lolcate --update --db user
Updating user...
failed to access entry (/Users/segun/Library/Saved Application State/com.aone.keka.savedState: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Saved Application State/com.apple.Notes.savedState: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Saved Application State/com.automattic.SimplenoteMac.savedState: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/Slimjet/App Shim Socket: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/Cerebro/SS: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/Cerebro/SingletonCookie: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/Cerebro/SingletonLock: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/com.operasoftware.Opera/SingletonCookie: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/com.operasoftware.Opera/SingletonLock: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/Slack/SingletonCookie: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/Slack/SingletonLock: No such file or directory (os error 2))
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/segun/bin/lolcate (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/segun/bin/lolcate (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

[1]    16458 abort      lolcate --update --db user
➜  ~ lolcate --db user info

segunolulana avatar Nov 25 '20 10:11 segunolulana

@segunolulana, thanks for reporting. Yes, the binary for MacOS is built against the latest MacOS release. Is it acceptable for you, or should I try & come up with another bonary for earlier releases ? BTW, are you using Lolcate ?

ngirard avatar Nov 26 '20 09:11 ngirard

Okay. That is fine. It might be better to state the minimum MacOS version though to prevent surprises for new users. I'm not actively using it but I just tried testing it and it works well on Mac 10.15

segunolulana avatar Nov 26 '20 14:11 segunolulana