Opened 11 years ago

Closed 10 years ago

#41249 closed defect (fixed)

TeXShop3 @3.26: error: use of undeclared identifier 'NSActivityUserInitiatedAllowingIdleSystemSleep'

Reported by: watsodw Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: petrrr, gallafent, tom@…, twelvegauge59@…, pashash@…, dfox_1@…, EJFielding (Eric Fielding)
Port: TeXShop3

Description

See log.

Attachments (1)

main.log (564.9 KB) - added by watsodw 11 years ago.

Download all attachments as: .zip

Change History (23)

Changed 11 years ago by watsodw

Attachment: main.log added

comment:1 Changed 11 years ago by jyrkiwahlstedt

Owner: changed from macports-tickets@… to jwa@…
Status: newassigned

comment:2 Changed 11 years ago by jyrkiwahlstedt

You are on 10.8? What Xcode?

comment:3 Changed 11 years ago by watsodw

10.8.5, Xcode 4.6.3.

comment:4 Changed 11 years ago by petrrr

Same problem here. OS X 10.8.5, Xcode 4.6.2 Build version 4H1003

comment:5 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:6 Changed 11 years ago by gallafent

I also see this with OS 10.7.5, Xcode 4.6.2.

It looks as if TeXShop 3.26 requires the Mac OS 10.9 SDK in order to build, which is of not available unless you have Xcode 5 (and this is not available unless you have Mac OS >= 10.8).

So, for those reporting this bug using Xcode 4.6.2 on Mac OS 10.8, I would expect that an update to Xcode 5 will solve the problem. For those (like me) stuck on OS 10.7 (because I'm using older hardware), you'll need to lock in version 3.25 of the TeXShop3 port, since that is the last one which will build against the OS 10.8 SDK. That portfile available here (for reference): export:/trunk/dports/aqua/TeXShop3/Portfile@112347

Finally, I see that the current revision of the portfile includes the demand for the 10.9 SDK in the “platform darwin 13” section. I believe that this should also be added to a new “platform darwin 12” section, and also that a minimum Xcode version of 5 be enforced.

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 Changed 11 years ago by gallafent

Cc: william@… added

Cc Me!

comment:8 in reply to:  6 Changed 11 years ago by tom@…

Replying to william@…:

I am also seeing this on OS X 10.8.4 with Xcode 5.0.2.

comment:9 Changed 11 years ago by tom@…

Cc: tom@… added

Cc Me!

comment:10 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: twelvegauge59@… added; jwa@… removed
Summary: Upgrade from TeXShop3 from 3.25 to 3.26 failsTeXShop3 @3.26: error: use of undeclared identifier 'NSActivityUserInitiatedAllowingIdleSystemSleep'

Has duplicate #41386.

comment:11 Changed 11 years ago by pashash@…

I observe the same problem with Xcode 5.0.2 / OS X 10.8.5

comment:12 Changed 11 years ago by pashash@…

Cc: pashash@… added

Cc Me!

comment:13 Changed 11 years ago by pashash@…

Cc: pashash@… removed

Cc Me!

comment:14 Changed 11 years ago by pashash@…

Cc: pashash@… added

Cc Me!

comment:15 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dfox_1@… added
Port: TeXShop3 added; texshop3 removed

Has duplicate #42132.

comment:16 Changed 11 years ago by EJFielding (Eric Fielding)

Cc: Eric.J.Fielding@… added

Cc Me!

comment:17 Changed 11 years ago by EJFielding (Eric Fielding)

Is there some way to remove TeXShop3 from list of "outdated" ports so I can run "port upgrade outdated" on others and not have it get stopped by TeXShop3 failing?

comment:18 in reply to:  17 Changed 11 years ago by tom@…

Replying to Eric.J.Fielding@…:

Is there some way to remove TeXShop3 from list of "outdated" ports so I can run "port upgrade outdated" on others and not have it get stopped by TeXShop3 failing?

I uninstalled it and switched to using the MacTex distribution. http://www.tug.org/mactex/

comment:19 in reply to:  17 Changed 11 years ago by larryv (Lawrence Velázquez)

Replying to Eric.J.Fielding@…:

Is there some way to remove TeXShop3 from list of "outdated" ports so I can run "port upgrade outdated" on others and not have it get stopped by TeXShop3 failing?

Sort of:

% sudo port upgrade outdated and not TeXShop3

comment:20 Changed 10 years ago by petrrr

Hi, I see that TeXShop 3 is now at 3.36.1.

It is claimed that this version works with for for Lion, Mountain Lion, and Mavericks. So what is the background? Is it that the code was fixed to compile on these systems again. Or is it still necessary to use Xcode 5 to compile the code, but the executables would then run on Lion as well?

Would updating solve the current situation with TexShop in some way?

comment:21 Changed 10 years ago by jyrkiwahlstedt

A while ago I received info from Richard Koch, according to which he builds TeXShop with 10.7 SDK making it impossible for me to build it at all at the moment. He said he would drop support for Lion eventually. That enables updating again.

comment:22 Changed 10 years ago by jyrkiwahlstedt

Resolution: fixed
Status: assignedclosed

This should be ok now (setting a build-time environment variable helped)

Note: See TracTickets for help on using tickets.