[MacPorts] #39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2)
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) -----------------------+-------------------------------- Reporter: william@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: texshop3 -----------------------+-------------------------------- Upon modifying the Portfile so that the checksum matches the downloaded source (see https://trac.macports.org/ticket/39061 ), the build commences but fails, since the type NSSharingServicePicker is not present. Build log attached. This is probably related to https://trac.macports.org/ticket/38981 . Is there a single variable which may be used to specify the SDK used for building? Searching within http://guide.macports.org/ doesn't mention one, with SDK being specified in various places (universal C++ and C flags, and so on). -- Ticket URL: <https://trac.macports.org/ticket/39062> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+-------------------------------- Reporter: william@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: texshop3 | ------------------------+-------------------------------- Comment (by william@…): Incidentally, I tried setting the SDK in the environment: {{{ export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk }}} … but this made no difference. -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+------------------- Reporter: william@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: TeXShop3 | ------------------------+------------------- Changes (by macsforever2000@…): * cc: jwa@…, openmaintainer@… (removed) * owner: macports-tickets@… => jwa@… * port: texshop3 => TeXShop3 Old description:
Upon modifying the Portfile so that the checksum matches the downloaded source (see https://trac.macports.org/ticket/39061 ), the build commences but fails, since the type NSSharingServicePicker is not present. Build log attached. This is probably related to https://trac.macports.org/ticket/38981 .
Is there a single variable which may be used to specify the SDK used for building? Searching within http://guide.macports.org/ doesn't mention one, with SDK being specified in various places (universal C++ and C flags, and so on).
New description: Upon modifying the Portfile so that the checksum matches the downloaded source (see ticket:39061 ), the build commences but fails, since the type NSSharingServicePicker is not present. Build log attached. This is probably related to ticket:38981 . Is there a single variable which may be used to specify the SDK used for building? Searching within http://guide.macports.org/ doesn't mention one, with SDK being specified in various places (universal C++ and C flags, and so on). -- -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+------------------- Reporter: william@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: TeXShop3 | ------------------------+------------------- Comment (by larryv@…): Replying to [comment:1 william@…]:
Incidentally, I tried setting the SDK in the environment: {{{ export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk }}}
… but this made no difference.
MacPorts ignores the user’s environment. -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+------------------- Reporter: william@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: TeXShop3 | ------------------------+------------------- Comment (by larryv@…): Have any of you reported this upstream? TeXShop 3 claims that it supports Lion. -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+------------------- Reporter: william@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: TeXShop3 | ------------------------+------------------- Comment (by jwa@…): There's a new version of the package now with a correction for a another SDK-related issue, can you try again with the new one? But looking at source code, this is in TSDocument.m still, so could stop build:( -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+------------------- Reporter: william@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: TeXShop3 | ------------------------+------------------- Comment (by and.damore@…): Replying to [comment:5 jwa@…]:
There's a new version of the package now with a correction for a another SDK-related issue, can you try again with the new one? But looking at source code, this is in TSDocument.m still, so could stop build:(
The updated tarball fixed the specific error but the port build is still broken. I got new, different errors while building, the same the OP did. Replying to [comment:4 larryv@…]:
Have any of you reported this upstream? TeXShop 3 claims that it supports Lion.
Richard Koch replied: {{{ TeXShop must be compiled on Mountain Lion because it supports sharing. […] TeXShop RUNS on Lion. }}} We should just disable the port building on 10.7 until it is confirmed to be fixed. -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+------------------- Reporter: william@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: TeXShop3 | ------------------------+------------------- Comment (by william@…): It seems odd to me that a specific OS version should be required to build! Surely that's the whole point of the SDK system, to isolate the build environment from the currently running OS. I'll have a look to see if this can be fixed by forcing the 10.8 SDK. I note that the build line includes “SDKROOT=""” … so perhaps if that can be set to the 10.8 SDK … -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+------------------- Reporter: william@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: TeXShop3 | ------------------------+------------------- Comment (by and.damore@…): I was already passing ''-sdk macosx10.8'' to build command but I just noticed the issue happens in destroot phase not in build so it was just a matter of passing the argument to both phases. I'm attaching a patch. -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+------------------- Reporter: william@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: TeXShop3 | ------------------------+------------------- Comment (by william@…): Replying to [comment:9 and.damore@…]:
I was already passing ''-sdk macosx10.8'' to build command but I just noticed the issue happens in destroot phase not in build so it was just a matter of passing the argument to both phases. I'm attaching a patch.
I was just testing with the commandline “sudo port install texshop3 configure.sdkroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk”, and can confirm that this also worked fine :) (so the statement “TeXShop must be compiled on Mountain Lion because it supports sharing.” is false, thankfully :) -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+------------------- Reporter: william@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: TeXShop3 | ------------------------+------------------- Comment (by william@…): Still broken in 3.18, as of today! Skimming the log indicates that this is still the same problem, requiring the use of the 10.8 SDK. -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+------------------- Reporter: william@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: TeXShop3 | ------------------------+------------------- Comment (by and.damore@…): Replying to [comment:12 william@…]:
Still broken in 3.18, as of today! Skimming the log indicates that this is still the same problem, requiring the use of the 10.8 SDK.
The patch has never been committed. Did you try it? '''@jwa''': any reason for not committing it? -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+------------------- Reporter: william@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: TeXShop3 | ------------------------+------------------- Comment (by jwa@…): Replying to [comment:13 and.damore@…]:
Replying to [comment:12 william@…]:
Still broken in 3.18, as of today! Skimming the log indicates that this is still the same problem, requiring the use of the 10.8 SDK.
The patch has never been committed. Did you try it?
'''@jwa''': any reason for not committing it?
None whatsoever, just had all kinds of things going on, now committed in r106673, thanks, please check and confirm, whether it works. I did not bump revision, as the existing installations don't have to be rebuilt, only those are affected that didn't build… -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#39062: TeXShop3 build failure (OS 10.7.5, Xcode 4.6.2) ------------------------+-------------------- Reporter: william@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: TeXShop3 | ------------------------+-------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: The Lion and Mountain Lion buildbots succeeded building the port. The Snow Leopard one of course still fails with the message "This version is for 10.7, Lion, and later only". -- Ticket URL: <https://trac.macports.org/ticket/39062#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts