#28193: smartmontools 5.40_3 cannot be loaded ----------------------------------+----------------------------------------- Reporter: vinc17@… | Owner: toby@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: tiger Port: smartmontools | ----------------------------------+----------------------------------------- Comment(by vinc17@…): Replying to [comment:6 jmr@…]:
If it's not a bug, why is there a ticket?
Because launchctl succeeds (I can check it by running it manually), while MacPorts assume that it failed.
Seriously, it's probably just Tcl interpreting writing to stderr as failure.
Wow! If it is does that, it is really broken. Warnings and non-fatal error messages can be written to stderr. Fatal errors can be checked by looking at the exit status of the command (some non-zero exit status of some commands can be non-fatal, as described by the documentation, but a zero status always means OK).
Really not a big deal. By "Tiger bug", I assume Toby means "bug that only affects Tiger". In any case, there's nothing he can do about it in smartmontools. (Even if there was, he's still allowed to decide not to fix it…)
The fix is easy: look at the exit status. -- Ticket URL: <https://trac.macports.org/ticket/28193#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS