×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Current MacOS Build?

  • Posts: 1957
  • Thank you received: 420
I upgraded to Big Sur and tried the current stable KStars on it with the simulators. All seems to work fine but I didn't do a very exhaustive test.
3 years 5 months ago #62854

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Current MacOS Build?

Yes, I am not expecting any issues with running KStars on Big Sur, since they haven’t announced too many changes except for UI changes, some new features in programs, and the Apple silicon support.

Also, for the time being at least, I don’t think there will be an issue at first with running KStars on Apple Silicon because Apple has built in Rosetta 2 to make sure all your intel code runs on the new systems. However, with the power pc to intel transition, eventually they took Rosetta away. So we can probably expect the same to happen here. INDI does require some driver binaries from manufacturers and these will probably need silicon versions. And for the KStars and INDI code, we can make universal binaries that will work on both systems, but they are of course larger.

Where we will run into some trouble is in the newest version of Xcode. I got some reports from folks trying to build using my script who said it wasn’t working with Xcode 12. I found that the main issue was that one of the build flags in the new clang distributed with that is by default set to treat an issue that used to be a warning as an error. This caused a bunch of problems with building open source libraries and programs needed for KStars. I am working through those issues now. I don’t think it will permanently be a problem, just a headache for awhile until I sort it out.
3 years 5 months ago #62863

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Current MacOS Build?

Loaded up Big Sur today and running KStars/Ekos now. No issues noted so far.
Last edit: 3 years 1 month ago by AirBourn. Reason: Typo
3 years 5 months ago #62874

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Current MacOS Build?

I'm seeing an issue with MacOS v3.5.0. Several times now, in the middle of an imagining sequence, I'll click on the Setup/Summary tab and Ekos IMMEDIATELY crashes and disappears. Have to start all over again. I don't think I have any logging turned on, and didn't grab the report generated (to send to Apple). I can look at the OS console logs if anyone thinks that'll help. Anyone else seeing this behavior?
3 years 5 months ago #62963

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Current MacOS Build?

Hi AirBourn,

Please don't send the reports to apple because we won't get the information at all. Try to send any crash reports to either the KStars Developers directly, post them in the forum, or send them as a KDE bug report. We can't get any information you send to apple, and honestly I don't know what apple would be able to do with it, since it's the KStars developers that would need to fix any bugs.

Also note that the 3.5.0 beta that I sent earlier was definitely in a rough draft form. We have made many changes since then. I just spent the last few days trying to make a whole bunch of changes to the KStars Mac build script to update it to work with Xcode 12. I am hoping to release another version soon, but there is still a Mac bug we need to resolve, where the File dialog disappears if you open it in the capture module while guiding.

Thanks,

Rob
3 years 5 months ago #62964

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Current MacOS Build?

I wasn't going to send to Apple at all - I can just grab them (it's a register dump, etc) if someone here wanted to see them. I've used them before.
Yes - I'm aware that 3.5.0 is Beta, and I'm the one that reported the File Dialog issue. I was just reporting this here because I thought that was the place to do it. Is there a better place? Like the GitHub page with the script that we've been discussing the XCode 12 build?

I have many many years of Mac development experience and trying to help. I have the OS crashlog of this event (three of them, actually) if someone is interested. Looks like it crashed in <code>QLabel::setPixmap(QPixmap const&) + 20</code>
Last edit: 3 years 5 months ago by AirBourn.
3 years 5 months ago #62965

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Current MacOS Build?

Yep, this place here is perfectly fine. Putting this sort of thing on the script's Github page doesn't make sense because this report is not a bug with the script it sounds like a bug in KStars.

We really need to get you to test the latest KStars code though because that build is now 2 weeks old. There are likely a number of issues that have been fixed. KStars development has been extremely active recently.

We would certainly welcome you to help out with development if you are interested. We are all volunteers who are astronomers and astrophotographers ourselves. This is definitely not our day job. My day job is a Physics and Computer Science teacher. We are all programming enthusiasts. So yes, if you have years of Mac development experience, we could use you :-). I know that I for one have not had as much time for coding recently because I'm having to reinvent everything for my lessons due to remote learning.
3 years 5 months ago #62966

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Current MacOS Build?

Great! I'll continue to place bug reports here (or similar forum), unless you think I should engage on the GitHub for KStars? Or both? The Setup/Summary tab crash is definitely a reproducible bug on this Beta build.

How do I help contribute? Dive in to the repo? I do occasionally perform git pulls to see if the build will work here on an XCode 12 machine. Haven't seen updates in a while. We're getting closer - but still fails on some Craft endgame, and I'm not familiar with Craft in the slightest.

On a 3.5.0 positive side - I had an automatic unattended meridian flip and reacquire last night!
3 years 5 months ago #62975

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Current MacOS Build?

Ha! Curiously, I notice new docs and build scripts in the repo this morning! I'll give a new build a whirl!

UPDATE: I did a build_kstars.sh -r. No joy:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Building INDI and required dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Craft               : /Users/bryan/AstroRoot/craft-root
Version             : master
ABI                 : macos-64-clang
Download directory  : /Users/bryan/AstroRoot/craft-root/download
Found an dead branch in /Users/bryan/AstroRoot/craft-root/etc/blueprints/locations/craft-blueprints-kde/kde/applications/kstars-mac/KStarsMacFiles
You might wan't to run "git clean -xdf" in that directry.
can only concatenate str (not "PosixPath") to str
Traceback (most recent call last):
  File "/Users/bryan/AstroRoot/craft-root/craft/bin/craft.py", line 274, in <module>
    success = main(timer)
  File "/Users/bryan/AstroRoot/craft-root/craft/bin/craft.py", line 264, in main
    if not CraftCommands.run(package, action, tempArgs):
  File "/Users/bryan/AstroRoot/craft-root/craft/bin/CraftCommands.py", line 365, in run
    depList = depPackage.getDependencies(depType=depType)
  File "/Users/bryan/AstroRoot/craft-root/craft/bin/Blueprints/CraftDependencyPackage.py", line 119, in getDependencies
    self.depenendencyType = depType
  File "/Users/bryan/AstroRoot/craft-root/craft/bin/Blueprints/CraftDependencyPackage.py", line 47, in depenendencyType
    self.__resolveDependencies()
  File "/Users/bryan/AstroRoot/craft-root/craft/bin/Blueprints/CraftDependencyPackage.py", line 62, in __resolveDependencies
    self.dependencies.extend(self.__readDependenciesForChildren([(x, None) for x in self.children.values()]))
  File "/Users/bryan/AstroRoot/craft-root/craft/bin/Blueprints/CraftDependencyPackage.py", line 88, in __readDependenciesForChildren
    p.depenendencyType = self.depenendencyType
  File "/Users/bryan/AstroRoot/craft-root/craft/bin/Blueprints/CraftDependencyPackage.py", line 47, in depenendencyType
    self.__resolveDependencies()
  File "/Users/bryan/AstroRoot/craft-root/craft/bin/Blueprints/CraftDependencyPackage.py", line 52, in __resolveDependencies
    subinfo = self.subinfo
  File "/Users/bryan/AstroRoot/craft-root/craft/bin/Blueprints/CraftPackageObject.py", line 328, in subinfo
    return self.instance.subinfo
  File "/Users/bryan/AstroRoot/craft-root/craft/bin/Blueprints/CraftPackageObject.py", line 311, in instance
    pack = mod.Package()
  File "/Users/bryan/AstroRoot/craft-root/etc/blueprints/locations/craft-blueprints-kde/libs/indiserver/indiserver.py", line 40, in __init__
    self.subinfo.options.configure.args = "-DCMAKE_INSTALL_PREFIX=" + root + " -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_MACOSX_RPATH=1 -DCMAKE_INSTALL_RPATH=" + craftLibDir
TypeError: can only concatenate str (not "PosixPath") to str
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Something failed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Last edit: 3 years 5 months ago by AirBourn.
3 years 5 months ago #62978

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Current MacOS Build?

I believe this is because Craft/Hannah is currently in the middle of making a big change in craft to update the formerly string path variables to posixpaths. I have sent her several emails with errors just like this in the last few days and in looking at the Craft commit log on GitHub, it looks like she has had a lot more changes related to this. I just updated a bunch of my recipes to reflect these change. In looking at your error report, I think I just fixed this one.
3 years 5 months ago #62996

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Current MacOS Build?

Ok, I have finally managed to produce a DMG after my update to Xcode 12 last Thursday. I had to make all kinds of updates to the script and the craft recipes, but I think I finally have it working (at least until something else breaks). But anyway, here is the DMG.

I did find the bug that was causing the Capture Module's File dialog window to close while guiding. I told Jasem what was causing it, and he came up with a fix. Now it seems to work great.

Please test and let me know if there is anything else.

www.indilib.org/jdownloads/kstars/beta/kstars-3.5.0-beta2.dmg
3 years 5 months ago #62998

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Current MacOS Build?

Excellent - I'll give it a shot right away.

Do you think I'll be able to build with XCode 12 now, too? I'll give that a try too. Would be great if I could get a working XCode project so I could debug and help more.
3 years 5 months ago #63001

Please Log in or Create an account to join the conversation.

Time to create page: 0.253 seconds