[MacPorts] #51700: Sunwait 0.8 Fails on MacOS 10.11.5
#51700: Sunwait 0.8 Fails on MacOS 10.11.5 ------------------------+-------------------------------- Reporter: mgnewman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: sunwait ------------------------+-------------------------------- Examples: Bleach:~ mnewman$ date Fri Jun 24 12:17:54 ICT 2016 Bleach:~ mnewman$ sunwait poll 14.966548N 102.043904E NIGHT Bleach:~ mnewman$ sunwait report 14.966548N 102.043904E Segmentation fault: 11 Bleach:~ mnewman$ sunwait list 14.966548N 102.043904E 201751737:32717, 201764716:33391 Same version works fine on Raspbian: pi@rasp ~ $ date Fri Jun 24 12:24:39 ICT 2016 pi@rasp ~ $ sunwait poll 14.966548N 102.043904E DAY pi@rasp ~ $ sunwait report 14.966548N 102.043904E Current Date and Time: 24-Jun-2016 12:25 ICT Target Information ... Location: 14.966548N, 102.043904E Date: 24-Jun-2016 Timezone: ICT Sun directly north/south: 12:14 Twilight angle: -0.83 degrees (daylight) Day with twilight: 05:43 to 18:45 It is: Day (or twilight) General Information (no offset) ... Times ... Daylight: 05:43 to 18:45 with Civil twilight: 05:20 to 19:08 with Nautical twilight: 04:53 to 19:36 with Astronomical twilight: 04:24 to 20:04 Duration ... Day length: 13:03 hours with civil twilight: 13:48 hours with nautical twilight: 14:44 hours with astronomical twilight: 15:41 hours pi@rasp ~ $ Bleach:~ mnewman$ sunwait list 14.966548N 102.043904E^C pi@rasp ~ $ sunwait list 14.966548N 102.043904E 05:43, 18:45 -- Ticket URL: <https://trac.macports.org/ticket/51700> MacPorts <https://www.macports.org/> Ports system for OS X
#51700: sunwait @0.8: Fails on MacOS 10.11.5 -------------------------+-------------------------------- Reporter: mgnewman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: sunwait | -------------------------+-------------------------------- Description changed by ryandesign@…: Old description:
Examples:
Bleach:~ mnewman$ date Fri Jun 24 12:17:54 ICT 2016 Bleach:~ mnewman$ sunwait poll 14.966548N 102.043904E NIGHT
Bleach:~ mnewman$ sunwait report 14.966548N 102.043904E Segmentation fault: 11
Bleach:~ mnewman$ sunwait list 14.966548N 102.043904E 201751737:32717, 201764716:33391
Same version works fine on Raspbian:
pi@rasp ~ $ date Fri Jun 24 12:24:39 ICT 2016 pi@rasp ~ $ sunwait poll 14.966548N 102.043904E DAY pi@rasp ~ $ sunwait report 14.966548N 102.043904E
Current Date and Time: 24-Jun-2016 12:25 ICT
Target Information ...
Location: 14.966548N, 102.043904E Date: 24-Jun-2016 Timezone: ICT Sun directly north/south: 12:14 Twilight angle: -0.83 degrees (daylight) Day with twilight: 05:43 to 18:45 It is: Day (or twilight)
General Information (no offset) ...
Times ... Daylight: 05:43 to 18:45 with Civil twilight: 05:20 to 19:08 with Nautical twilight: 04:53 to 19:36 with Astronomical twilight: 04:24 to 20:04
Duration ... Day length: 13:03 hours with civil twilight: 13:48 hours with nautical twilight: 14:44 hours with astronomical twilight: 15:41 hours
pi@rasp ~ $ Bleach:~ mnewman$ sunwait list 14.966548N 102.043904E^C pi@rasp ~ $ sunwait list 14.966548N 102.043904E 05:43, 18:45
New description: Examples: {{{ Bleach:~ mnewman$ date Fri Jun 24 12:17:54 ICT 2016 Bleach:~ mnewman$ sunwait poll 14.966548N 102.043904E NIGHT Bleach:~ mnewman$ sunwait report 14.966548N 102.043904E Segmentation fault: 11 Bleach:~ mnewman$ sunwait list 14.966548N 102.043904E 201751737:32717, 201764716:33391 }}} Same version works fine on Raspbian: {{{ pi@rasp ~ $ date Fri Jun 24 12:24:39 ICT 2016 pi@rasp ~ $ sunwait poll 14.966548N 102.043904E DAY pi@rasp ~ $ sunwait report 14.966548N 102.043904E Current Date and Time: 24-Jun-2016 12:25 ICT Target Information ... Location: 14.966548N, 102.043904E Date: 24-Jun-2016 Timezone: ICT Sun directly north/south: 12:14 Twilight angle: -0.83 degrees (daylight) Day with twilight: 05:43 to 18:45 It is: Day (or twilight) General Information (no offset) ... Times ... Daylight: 05:43 to 18:45 with Civil twilight: 05:20 to 19:08 with Nautical twilight: 04:53 to 19:36 with Astronomical twilight: 04:24 to 20:04 Duration ... Day length: 13:03 hours with civil twilight: 13:48 hours with nautical twilight: 14:44 hours with astronomical twilight: 15:41 hours pi@rasp ~ $ Bleach:~ mnewman$ sunwait list 14.966548N 102.043904E^C pi@rasp ~ $ sunwait list 14.966548N 102.043904E 05:43, 18:45 }}} -- -- Ticket URL: <https://trac.macports.org/ticket/51700#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51700: sunwait @0.8: Fails on MacOS 10.11.5 -------------------------+-------------------------------- Reporter: mgnewman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: sunwait | -------------------------+-------------------------------- Comment (by mgnewman@…): I just want to add that this happened on the two Macs that I own, a 2009 MacMini and a more recent MacBook Air. I can pinpoint that it happened on the MacBook Air when I ran port upgrade outdated on June 11th of this year. -- Ticket URL: <https://trac.macports.org/ticket/51700#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51700: sunwait @0.8: Fails on MacOS 10.11.5 -------------------------+-------------------------------- Reporter: mgnewman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: sunwait | -------------------------+-------------------------------- Comment (by ryandesign@…): I agree, it crashes for me too. You should report the problem to the developer of sunwait so that it can be fixed: https://sourceforge.net/p/sunwait4windows/discussion/general/ -- Ticket URL: <https://trac.macports.org/ticket/51700#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#51700: sunwait @0.8: Fails on MacOS 10.11.5 -------------------------+-------------------------------- Reporter: mgnewman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: sunwait | -------------------------+-------------------------------- Comment (by mgnewman@…): I don't think it's the developer's problem. The linux version 0.8 works fine for me under Raspbian. It's only the Mac version 0.8 that fails, so I think it's a Macports problem. -- Ticket URL: <https://trac.macports.org/ticket/51700#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#51700: sunwait @0.8: Fails on MacOS 10.11.5 -------------------------+-------------------------------- Reporter: mgnewman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: sunwait | -------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: It must be the developer's problem; we're not doing anything special in the portfile. We're just downloading the source code the developer provides, applying a few patches to fix compile errors, and then compiling it. The crash seems to be occurring in the operating system function `strftime`, which suggests sunwait isn't calling `strftime` correctly. The developer needs to be informed this problem exists so they can fix it. The sourceforge project is called "sunwait4windows" which may explain why it hasn't been extensively tested on the Mac. I checked the sourceforge project, and for some reason the button to create a new ticket is disabled. I emailed the developer to ask how we should report bugs. -- Ticket URL: <https://trac.macports.org/ticket/51700#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#51700: sunwait @0.8: Fails on MacOS 10.11.5 -------------------------+-------------------------------- Reporter: mgnewman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: sunwait | -------------------------+-------------------------------- Comment (by mgnewman@…): I think I understand, but I'd like to ask a question because I want to learn something here. If the sunwait source is calling strftime incorrectly, then why does sunwait 0.8 work fine when compiled for Raspbian but fail when compiled for OSX? -- Ticket URL: <https://trac.macports.org/ticket/51700#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts