#16796: OSX App fails on 10.6
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  closed
       Priority:  blocker            |    Milestone:  sage-6.4
      Component:  packages:          |   Resolution:  fixed
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:  Karl-Dieter Crisman,
        Authors:  Ivan Andrus        |  Volker Braun
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  70f18895f3a8d310e7d6cf19daede7a0726cd41e|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by chapoton):

 * commit:  70f18895f3a8d310e7d6cf19daede7a0726cd41e =>


Old description:

> From the buildbot (this works on 10.9):
> {{{
> Analyze AppController.m
>     cd /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-app
>     setenv LANG en_US.US-ASCII
>     /Developer/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0
> -pipe -fdiagnostics-print-source-range-info -std=gnu99 -Wno-trigraphs
> -fpascal-strings -O0 -Wreturn-type -Wunused-variable -fasm-blocks -mfix-
> and-continue -mmacosx-version-min=10.4 -gdwarf-2 -iquote
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/Sage-generated-files.hmap
> -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/Sage-own-target-headers.hmap
> -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/Sage-all-target-headers.hmap
> -iquote /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/Sage-project-headers.hmap
> -F/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-app/build/Debug
> -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Debug/include
> -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/DerivedSources/i386
> -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/DerivedSources -include
> /var/folders/Sq/SqJYMP6AF4KcJqFvHjeBeU+++VY/-Caches-/com.apple.Xcode.537/SharedPrecompiledHeaders
> /Sage_Prefix-dokpneuepjvknfdgtpkznyzrxbub/Sage_Prefix.pch --analyze
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/AppController.m -o
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/StaticAnalyzer/normal/i386/AppController.plist
>
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/AppController.m:199:13: error: use of undeclared identifier
> 'NSModalResponse'
> Analyzer skipped this file due to parse errors
>              NSModalResponse resp = [alert runModal];
>              ^
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/AppController.m:200:17: error: use of undeclared identifier 'resp'
> use of undeclared identifier 'resp'
>              if (resp == NSModalResponseOK) {
>                  ^
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/AppController.m:200:25: error: use of undeclared identifier
> 'NSModalResponseOK'
> use of undeclared identifier 'NSModalResponseOK'
>              if (resp == NSModalResponseOK) {
>                          ^
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/AppController.m:362:9: error: use of undeclared identifier
> 'NSModalResponse'
> use of undeclared identifier 'NSModalResponse'
>          NSModalResponse resp = [alert runModal];
>          ^
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/AppController.m:363:13: error: use of undeclared identifier 'resp'
> use of undeclared identifier 'resp'
>          if (resp == NSModalResponseOK) {// Quit
>              ^
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/AppController.m:363:21: error: use of undeclared identifier
> 'NSModalResponseOK'
> use of undeclared identifier 'NSModalResponseOK'
>          if (resp == NSModalResponseOK) {// Quit
>                      ^
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/AppController.m:366:21: error: use of undeclared identifier 'resp'
> use of undeclared identifier 'resp'
>          } else if ( resp == NSModalResponseCancel ) { // Continue
>                      ^
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/AppController.m:366:29: error: use of undeclared identifier
> 'NSModalResponseCancel'
> use of undeclared identifier 'NSModalResponseCancel'
>          } else if ( resp == NSModalResponseCancel ) { // Continue
>                              ^
> 8 errors generated.
> CompileC build/Sage.build/Debug/Sage.build/Objects-
> normal/i386/AppDelegate.o AppDelegate.m normal i386 objective-c
> com.apple.compilers.gcc.4_2
>     cd /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-app
>     setenv LANG en_US.US-ASCII
>     /Developer/usr/bin/gcc-4.2 -x objective-c -arch i386 -fmessage-
> length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks
> -O0 -Wreturn-type -Wunused-variable -mfix-and-continue -mmacosx-version-
> min=10.4 -gdwarf-2 -iquote
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/Sage-generated-files.hmap
> -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/Sage-own-target-headers.hmap
> -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/Sage-all-target-headers.hmap
> -iquote /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/Sage-project-headers.hmap
> -F/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-app/build/Debug
> -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Debug/include
> -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/DerivedSources/i386
> -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/DerivedSources -include
> /var/folders/Sq/SqJYMP6AF4KcJqFvHjeBeU+++VY/-Caches-/com.apple.Xcode.537/SharedPrecompiledHeaders
> /Sage_Prefix-gxeuizjduvirzagieqssinllffch/Sage_Prefix.pch -c
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-app/AppDelegate.m
> -o /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/Objects-normal/i386/AppDelegate.o
>
> PhaseScriptExecution "Run Script" build/Sage.build/Debug/Sage.build
> /Script-1967A8B911D6696A00ABC39D.sh
>     cd /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-app
>     /bin/sh -c /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/build/Sage.build/Debug/Sage.build/Script-1967A8B911D6696A00ABC39D.sh
>
> ** BUILD FAILED **
>

> The following build commands failed:
> Sage:
>         CompileC build/Sage.build/Debug/Sage.build/Objects-
> normal/i386/AppController.o
> /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
> app/AppController.m normal i386 objective-c com.apple.compilers.gcc.4_2
> (1 failure)
> }}}

New description:

 From the buildbot (this works on 10.9):
 {{{
 Analyze AppController.m
     cd /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-app
     setenv LANG en_US.US-ASCII
     /Developer/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0
 -pipe -fdiagnostics-print-source-range-info -std=gnu99 -Wno-trigraphs
 -fpascal-strings -O0 -Wreturn-type -Wunused-variable -fasm-blocks -mfix-
 and-continue -mmacosx-version-min=10.4 -gdwarf-2 -iquote
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/Sage-generated-files.hmap
 -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/Sage-own-target-headers.hmap
 -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/Sage-all-target-headers.hmap -iquote
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/Sage-project-headers.hmap
 -F/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-app/build/Debug
 -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Debug/include
 -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/DerivedSources/i386
 -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/DerivedSources -include
 
/var/folders/Sq/SqJYMP6AF4KcJqFvHjeBeU+++VY/-Caches-/com.apple.Xcode.537/SharedPrecompiledHeaders
 /Sage_Prefix-dokpneuepjvknfdgtpkznyzrxbub/Sage_Prefix.pch --analyze
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/AppController.m -o /Users/buildbot/build/sage/bsd-1/sage_git/build/src
 /mac-
 
app/build/Sage.build/Debug/Sage.build/StaticAnalyzer/normal/i386/AppController.plist

 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/AppController.m:199:13: error: use of undeclared identifier
 'NSModalResponse'
 Analyzer skipped this file due to parse errors
              NSModalResponse resp = [alert runModal];
              ^
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/AppController.m:200:17: error: use of undeclared identifier 'resp'
 use of undeclared identifier 'resp'
              if (resp == NSModalResponseOK) {
                  ^
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/AppController.m:200:25: error: use of undeclared identifier
 'NSModalResponseOK'
 use of undeclared identifier 'NSModalResponseOK'
              if (resp == NSModalResponseOK) {
                          ^
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/AppController.m:362:9: error: use of undeclared identifier
 'NSModalResponse'
 use of undeclared identifier 'NSModalResponse'
          NSModalResponse resp = [alert runModal];
          ^
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/AppController.m:363:13: error: use of undeclared identifier 'resp'
 use of undeclared identifier 'resp'
          if (resp == NSModalResponseOK) {// Quit
              ^
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/AppController.m:363:21: error: use of undeclared identifier
 'NSModalResponseOK'
 use of undeclared identifier 'NSModalResponseOK'
          if (resp == NSModalResponseOK) {// Quit
                      ^
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/AppController.m:366:21: error: use of undeclared identifier 'resp'
 use of undeclared identifier 'resp'
          } else if ( resp == NSModalResponseCancel ) { // Continue
                      ^
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/AppController.m:366:29: error: use of undeclared identifier
 'NSModalResponseCancel'
 use of undeclared identifier 'NSModalResponseCancel'
          } else if ( resp == NSModalResponseCancel ) { // Continue
                              ^
 8 errors generated.
 CompileC build/Sage.build/Debug/Sage.build/Objects-
 normal/i386/AppDelegate.o AppDelegate.m normal i386 objective-c
 com.apple.compilers.gcc.4_2
     cd /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-app
     setenv LANG en_US.US-ASCII
     /Developer/usr/bin/gcc-4.2 -x objective-c -arch i386 -fmessage-
 length=0 -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0
 -Wreturn-type -Wunused-variable -mfix-and-continue -mmacosx-version-
 min=10.4 -gdwarf-2 -iquote
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/Sage-generated-files.hmap
 -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/Sage-own-target-headers.hmap
 -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/Sage-all-target-headers.hmap -iquote
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/Sage-project-headers.hmap
 -F/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-app/build/Debug
 -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Debug/include
 -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/DerivedSources/i386
 -I/Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/DerivedSources -include
 
/var/folders/Sq/SqJYMP6AF4KcJqFvHjeBeU+++VY/-Caches-/com.apple.Xcode.537/SharedPrecompiledHeaders
 /Sage_Prefix-gxeuizjduvirzagieqssinllffch/Sage_Prefix.pch -c
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-app/AppDelegate.m
 -o /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/Objects-normal/i386/AppDelegate.o

 PhaseScriptExecution "Run Script" build/Sage.build/Debug/Sage.build
 /Script-1967A8B911D6696A00ABC39D.sh
     cd /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-app
     /bin/sh -c /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/build/Sage.build/Debug/Sage.build/Script-1967A8B911D6696A00ABC39D.sh

 ** BUILD FAILED **


 The following build commands failed:
 Sage:
 CompileC build/Sage.build/Debug/Sage.build/Objects-
 normal/i386/AppController.o
 /Users/buildbot/build/sage/bsd-1/sage_git/build/src/mac-
 app/AppController.m normal i386 objective-c com.apple.compilers.gcc.4_2
 (1 failure)
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/16796#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to