Opened 11 years ago
Closed 9 years ago
#39460 closed defect (fixed)
tex-whizzytex @1.3.1 uses unnecessary pre-configure phase, which can cause a build failure
Reported by: | cooljeanius (Eric Gallager) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | tex-whizzytex |
Description
tex-whizzytex contains the following pre-configure block:
pre-configure { system "open /Applications/Utilities/X11.app" }
This led to the following error when I tried to install it:
---> Configuring tex-whizzytex DEBUG: Using compiler 'Mac OS X gcc 4.2' DEBUG: Can't run configure ccache on this port without elevated privileges. Escalating privileges back to root. DEBUG: euid changed to: 0. egid changed to: 0. DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 502 DEBUG: euid changed to: 502 DEBUG: Executing proc-pre-org.macports.configure-configure-0 LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Utilities/X11.app. Command failed: open /Applications/Utilities/X11.app Exit code: 1
I'm assuming this is because LaunchServices probably can't open
stuff for users that aren't actually currently logged in. Why does tex-whizzytex
need to have X11 open to configure anyways? It seems unnecessary to me, at least without a comment to explain it...
Change History (2)
comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)
comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added; phw@… removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
btw I just looked up the LaunchServices error code in Apple's documentation for it; apparently it's an unknown error:
So that neither confirms nor denies my theory that it happened because it was being run by a non-logged-in user...