[MacPorts] #39460: tex-whizzytex @1.3.1 uses unnecessary pre-configure phase, which can cause a build failure
#39460: tex-whizzytex @1.3.1 uses unnecessary pre-configure phase, which can cause a build failure ---------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: tex-whizzytex ---------------------+-------------------------------- 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... -- Ticket URL: <https://trac.macports.org/ticket/39460> MacPorts <http://www.macports.org/> Ports system for OS X
#39460: tex-whizzytex @1.3.1 uses unnecessary pre-configure phase, which can cause a build failure ----------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tex-whizzytex | ----------------------------+-------------------------------- Comment (by egall@…): btw I just looked up the LaunchServices error code in [https://developer.apple.com/library/mac/documentation/Carbon/Reference/Launc... Apple's documentation for it]; apparently it's an unknown error: ||= Result Code =||= Value =||= Description =|| ||= kLSUnknownErr =||= -10810 ||= An unknown error has occurred. Available in OS X v10.0 and later. =|| So that neither confirms nor denies my theory that it happened because it was being run by a non-logged-in user... -- Ticket URL: <https://trac.macports.org/ticket/39460#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts