Hi @Czo - On software update fix ...
I get the following "Package Authoring errors" in my install.log. Some notifications are normal but the Syntax errors indicate (to me at least) that "broken lines" processing in Faker may be a little off. It must be removing lines and leaving open distribution xml sections, hence confusing the parser.
Check the log below. This may account for the inconsistent system update behavior some of us are experiencing. Can you check this out ? (I left you a pm about the tags we are ignoring also)
I matched my install.log with @TimothyR734 who successfully system updates on every shot and no such errors.
Others who've been unable to system update or always get the full install package every time, may want to check their install.log for errors also.
Thanks!
[doublepost=1533736798][/doublepost]Code:2018-08-07 02:47:57-04 Mac-Pro softwareupdated[575]: Package Authoring: error running installation-check script: SyntaxError: Return statements are only valid inside functions. at x-distribution:///installer-gui-script%5B1%5D ==> return false; 2018-08-07 02:47:58-04 Mac-Pro softwareupdated[575]: Package Authoring: error running installation-check script: SyntaxError: Return statements are only valid inside functions. at x-distribution:///installer-gui-script%5B1%5D ==> return (needsEFIUpdate(actualEFI, intendedEFI, actualSMC, minSMCforEFI)); 2018-08-07 02:47:59-04 Mac-Pro softwareupdated[575]: Package Authoring: error running volume-check script: SyntaxError: Unexpected keyword 'else' at x-distribution:///installer-gui-script%5B1%5D ==> else if (argv[0] == 'HP_Crossbow') { bundlePaths = ["/Library/Printers/hp/Frameworks/Crossbow.framework/Versions/D/Resources/Info.plist",]; } 2018-08-07 02:47:59-04 Mac-Pro softwareupdated[575]: IFJS: Package Authoring Error: error evaluating script visible for choice su: TypeError: null is not an object (evaluating 'my.target.mountpoint') at x-distribution:///installer-gui-script%5B1%5D/choice%5B1%5D/@visible ==> Script9(my.target.mountpoint) 2018-08-07 02:48:02-04 Mac-Pro softwareupdated[575]: Package Authoring: error running installation-check script: SyntaxError: Return statements are only valid inside functions. at x-distribution:///installer-gui-script%5B1%5D ==> return (needsEFIUpdate(actualEFI, intendedEFI, actualSMC, minSMCforEFI)); 2018-08-07 02:48:06-04 Mac-Pro softwareupdated[575]: Package Authoring: error running installation-check script: SyntaxError: Return statements are only valid inside functions. at x-distribution:///installer-gui-script%5B1%5D ==> return false; 2018-08-07 02:48:07-04 Mac-Pro softwareupdated[575]: Package Authoring: error running installation-check script: SyntaxError: Return statements are only valid inside functions. at x-distribution:///installer-gui-script%5B1%5D ==> return (needsEFIUpdate(actualEFI, intendedEFI, actualSMC, minSMCforEFI)); 2018-08-07 02:48:08-04 Mac-Pro softwareupdated[575]: Package Authoring: error running volume-check script: SyntaxError: Unexpected keyword 'else' at x-distribution:///installer-gui-script%5B1%5D ==> else if (argv[0] == 'HP_Crossbow') { bundlePaths = ["/Library/Printers/hp/Frameworks/Crossbow.framework/Versions/D/Resources/Info.plist",]; } 2018-08-07 02:48:11-04 Mac-Pro softwareupdated[575]: Package Authoring: error running installation-check script: SyntaxError: Return statements are only valid inside functions. at x-distribution:///installer-gui-script%5B1%5D ==> return (needsEFIUpdate(actualEFI, intendedEFI, actualSMC, minSMCforEFI)); 2018-08-07 03:02:51-04 Mac-Pro softwareupdated[575]: Package Authoring: error running installation-check script: SyntaxError: Return statements are only valid inside functions. at x-distribution:///installer-gui-script%5B1%5D ==> return false; 2018-08-07 03:02:52-04 Mac-Pro softwareupdated[575]: Package Authoring: error running installation-check script: SyntaxError: Return statements are only valid inside functions. at x-distribution:///installer-gui-script%5B1%5D ==> return (needsEFIUpdate(actualEFI, intendedEFI, actualSMC, minSMCforEFI)); 2018-08-07 03:02:53-04 Mac-Pro softwareupdated[575]: Package Authoring: error running volume-check script: SyntaxError: Unexpected keyword 'else' at x-distribution:///installer-gui-script%5B1%5D ==> else if (argv[0] == 'HP_Crossbow') { bundlePaths = ["/Library/Printers/hp/Frameworks/Crossbow.framework/Versions/D/Resources/Info.plist",]; } 2018-08-07 03:02:53-04 Mac-Pro softwareupdated[575]: IFJS: Package Authoring Error: error evaluating script visible for choice su: TypeError: null is not an object (evaluating 'my.target.mountpoint') at x-distribution:///installer-gui-script%5B1%5D/choice%5B1%5D/@visible ==> Script9(my.target.mountpoint) 2018-08-07 03:02:55-04 Mac-Pro softwareupdated[575]: Package Authoring: error running installation-check script: SyntaxError: Return statements are only valid inside functions. at x-distribution:///installer-gui-script%5B1%5D ==> return (needsEFIUpdate(actualEFI, intendedEFI, actualSMC, minSMCforEFI)); 2018-08-07 03:02:57-04 Mac-Pro softwareupdated[575]: Package Authoring Error: PackageInfo bundle reference found without top-level bundle definition. Bundle will be skipped: <bundle id="*"></bundle> 2018-08-07 03:02:57-04 Mac-Pro system_installd[516]: Package Authoring Error: PackageInfo bundle reference found without top-level bundle definition. Bundle will be skipped: <bundle id="*"></bundle> 2018-08-07 11:18:36-04 Mac-Pro softwareupdated[575]: Package Authoring: error running installation-check script: SyntaxError: Return statements are only valid inside functions. at x-distribution:///installer-gui-script%5B1%5D ==> return false; 2018-08-07 11:18:37-04 Mac-Pro softwareupdated[575]: Package Authoring: error running installation-check script: SyntaxError: Return statements are only valid inside functions. at x-distribution:///installer-gui-script%5B1%5D ==> return (needsEFIUpdate(actualEFI, intendedEFI, actualSMC, minSMCforEFI)); 2018-08-07 11:18:37-04 Mac-Pro softwareupdated[575]: Package Authoring: error running volume-check script: SyntaxError: Unexpected keyword 'else' at x-distribution:///installer-gui-script%5B1%5D ==> else if (argv[0] == 'HP_Crossbow') { bundlePaths = ["/Library/Printers/hp/Frameworks/Crossbow.framework/Versions/D/Resources/Info.plist",]; } 2018-08-07 11:18:40-04 Mac-Pro softwareupdated[575]: Package Authoring: error running installation-check script: SyntaxError: Return statements are only valid inside functions. at x-distribution:///installer-gui-script%5B1%5D ==> return (needsEFIUpdate(actualEFI, intendedEFI, actualSMC, minSMCforEFI)); 2018-08-07 11:22:04-04 Mac-Pro softwareupdated[575]: IFJS: Package Authoring Error: error evaluating script visible for choice su: TypeError: null is not an object (evaluating 'my.target.mountpoint') at x-distribution:///installer-gui-script%5B1%5D/choice%5B1%5D/@visible ==> Or0(my.target.mountpoint)
Hi - I did a little spelunking myself to add to others who are investigating this issue. Here are my (summarized) findings in a nutshell:
Feel free to trash/debunk or add to my theories (I don't take anything personally)
- The issue is localized to the Skylight.framework which includes the WindowServer
- A deep inspection of skylight and windowserver binaries revealed that Mojave's version leverages two new libraries compression and the latest metal performance shaders framework (compared to HS Skylight) So Apple has moved some shader processing to their framework, consistent with their bent on "full" metal everywhere and dropping support for OpenGL and OpenCL
- A drop in swap with the HS Skylight will simply not work (and risks hosing things really up)
- I also discovered two missing traditional shaders that are very conspicuously related to transparency/translucency. Why they are gone is up for debate (just a bug by omission or neglect?) but I am almost certain it accounts for our glitches on our older non-metal accelerated cards. For example my "unsupported" macpro 3,1 has a metal capable GTX 680 and does not glitch: so it's simply that Apple really dropped support for non-metal cards like exist on some our older laptops. HS still quasi supported them
- I also believe Dark mode "glitches" on non-metal cards but since it's Dark...you get the drift
- IMHO a solution to this would be extremely difficult since Skylight is ubiquitous (linked everywhere) and a binary patch may introduce unwanted side-effects system wide (skylight handles A LOT of things)
- Transparency/lucency is traditionally handled via shaders since its the best way to accelerate it, so we're definitely on the right track - how to fix this is up for strong debate
- If I had the time, I would debug this issue using Xcode gpu tracers (opengl or metal). But the setup is a little more complex since it's the windowserver: you have to remote debug the offending laptop
- We are at beta 6 and these non-metal card glitches are still not fixed, so I don't think Apple is seriously looking into this. In fact, as stated per their policy, support for non-metal cards is officially deprecated.
Hope this helps.
Thank you for your effort!
If I got it right, we can just edit driver kexts to make it use opengl shader! As far as I know, kexts are editable (I have changed my 2011 13” MBPs intel hd3000 mem to 1024Mb with no problems!