[MacPorts] #40412: swig @2.0.10_0: swig-allegro, swig-mzscheme, swig-pike fail to compile

MacPorts noreply at macports.org
Sun Sep 8 00:25:33 PDT 2013


#40412: swig @2.0.10_0: swig-allegro, swig-mzscheme, swig-pike fail to compile
----------------------+---------------------
  Reporter:  mojca@…  |      Owner:  kevin@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  swig     |
----------------------+---------------------

Comment (by mojca@…):

 allegro:
 {{{
 Error: allegro uses deprecated API which has been removed as of Mac OS X
 10.7.
 Error: org.macports.fetch for port allegro returned: incompatible Mac OS X
 version
 }}}
 mzscheme:
 {{{
 /usr/bin/clang  -iquote ./include -DNO_SIGNALS -pipe -Os -arch x86_64
 -I/opt/local/include -DOS_X -D_DARWIN_UNLIMITED_SELECT   -fno-common
 -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG
 -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./os_dep.c
 In file included from ./if_mach.c:3:
 ./include/private/gcconfig.h:476:2: error: expected identifier or '('
         --> unknown machine type
         ^
 In file included from ./if_not_there.c:3:
 ./include/private/gcconfig.h:476:2: error: expected identifier or '('
         --> unknown machine type
         ^
 In file included from ./alloc.c:19:
 In file included from ./include/private/gc_priv.h:66:
 ./include/private/gcconfig.h:476:2: error: expected identifier or '('
         --> unknown machine type
         ^
 In file included from ./os_dep.c:17:
 In file included from ./include/private/gc_priv.h:66:
 ./include/private/gcconfig.h:476:2: error: expected identifier or '('
         --> unknown machine type
         ^
 In file included from ./reclaim.c:18:
 In file included from ./include/private/gc_priv.h:66:
 ./include/private/gcconfig.h:476:2: error: expected identifier or '('
         --> unknown machine type
         ^
 ./if_mach.c:14:16: error: use of undeclared identifier 'MACH_TYPE'
     if (strcmp(MACH_TYPE, argv[1]) != 0) return(0);
                ^
 ./if_mach.c:25:10: error: use of undeclared identifier 'MACH_TYPE'
             MACH_TYPE, OS_TYPE);
             ^
 3 errors generated.
 In file included from ./misc.c:25:
 In file included from ./include/private/gc_pmark.h:35:
 In file included from ./include/private/gc_priv.h:66:
 ./include/private/gcconfig.h:476:2: error: expected identifier or '('
         --> unknown machine type
         ^
 make[6]: *** [if_mach] Error 1
 make[6]: *** Waiting for unfinished jobs....
 In file included from ./allchblk.c:19:
 In file included from ./include/private/gc_priv.h:66:
 ./include/private/gcconfig.h:476:2: error: expected identifier or '('
         --> unknown machine type
         ^
 1 error generated.
 In file included from ./threadlibs.c:2:
 ./include/private/gcconfig.h:476:2: error: expected identifier or '('
         --> unknown machine type
         ^
 ./alloc.c:965:32: warning: '&&' within '||' [-Wlogical-op-parentheses]
     if (GC_last_heap_addr == 0 && !((word)space & SIGNB)
         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
 ./alloc.c:965:32: note: place parentheses around the '&&' expression to
 silence this warning
     if (GC_last_heap_addr == 0 && !((word)space & SIGNB)
         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
 make[6]: *** [if_not_there] Error 1
 1 warning and 1 error generated.
 1 error generated.
 ./misc.c:651:9: error: use of undeclared identifier 'ALIGNMENT'
     if (ALIGNMENT > GC_DS_TAGS && EXTRA_BYTES != 0) {
         ^
 make[6]: *** [alloc.o] Error 1
 ./misc.c:652:53: error: use of undeclared identifier 'ALIGNMENT'
       GC_obj_kinds[NORMAL].ok_descriptor = ((word)(-ALIGNMENT) |
 GC_DS_LENGTH);
                                                     ^
 make[6]: *** [threadlibs] Error 1
 ./misc.c:698:5: warning: expression result unused [-Wunused-value]
     GC_STATIC_ASSERT(sizeof (ptr_t) == sizeof(word));
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ./include/private/gc_priv.h:1897:33: note: expanded from macro
 'GC_STATIC_ASSERT'
 # define GC_STATIC_ASSERT(expr) sizeof(char[(expr)? 1 : -1])
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ./misc.c:699:5: warning: expression result unused [-Wunused-value]
     GC_STATIC_ASSERT(sizeof (signed_word) == sizeof(word));
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ./include/private/gc_priv.h:1897:33: note: expanded from macro
 'GC_STATIC_ASSERT'
 # define GC_STATIC_ASSERT(expr) sizeof(char[(expr)? 1 : -1])
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ./misc.c:700:5: warning: expression result unused [-Wunused-value]
     GC_STATIC_ASSERT(sizeof (struct hblk) == HBLKSIZE);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ./include/private/gc_priv.h:1897:33: note: expanded from macro
 'GC_STATIC_ASSERT'
 # define GC_STATIC_ASSERT(expr) sizeof(char[(expr)? 1 : -1])
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1 error generated.
 3 warnings and 3 errors generated.
 1 error generated.
 make[6]: *** [misc.o] Error 1
 make[6]: *** [reclaim.o] Error 1
 make[6]: *** [allchblk.o] Error 1
 ./os_dep.c:1069:10: error: use of undeclared identifier 'result'
             if (result == 0) result =
 (ptr_t)(signed_word)(-sizeof(ptr_t));
                 ^
 ./os_dep.c:1069:23: error: use of undeclared identifier 'result'
             if (result == 0) result =
 (ptr_t)(signed_word)(-sizeof(ptr_t));
                              ^
 ./os_dep.c:1071:13: error: use of undeclared identifier 'result'
         return(result);
                ^
 ./os_dep.c:1457:21: error: use of undeclared identifier 'DATASTART'
         GC_add_roots_inner(DATASTART, (char *)(DATAEND), FALSE);
                            ^
 5 errors generated.
 make[6]: *** [os_dep.o] Error 1
 make[6]: Leaving directory `/path/to/work/mz-4.1.5/src/mzscheme/gc'
 make[5]: *** [g-c] Error 2
 make[5]: Leaving directory `/path/to/work/mz-4.1.5/src/mzscheme'
 make[4]: *** [common] Error 2
 make[4]: Leaving directory `/path/to/work/mz-4.1.5/src/mzscheme'
 make[3]: *** [cgc] Error 2
 make[3]: Leaving directory `/path/to/work/mz-4.1.5/src/mzscheme'
 make[2]: *** [3m] Error 2
 make[2]: Leaving directory `/path/to/work/mz-4.1.5/src/mzscheme'
 make[1]: *** [3m] Error 2
 make[1]: Leaving directory `/path/to/work/mz-4.1.5/src'
 make: *** [all] Error 2
 make: Leaving directory `/path/to/work/mz-4.1.5/src'
 Command failed:  cd "/path/to/work/mz-4.1.5/src" && /usr/bin/make -j8 -w
 all~
 Exit code: 2
 Error: org.macports.build for port mzscheme returned: command execution
 failed
 DEBUG: Error code: CHILDSTATUS 33374 2
 DEBUG: Backtrace: command execution failed
 }}}
 pike:
 {{{
 Compiling
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/security.c
 sed: 1: "s!¤include_prefix¤!/opt ...": RE error: illegal byte sequence
 sed: 1: "s!¤share_prefix¤!/opt/l ...": RE error: illegal byte sequence
 sed: 1: "s!¤lib_prefix¤!/opt/loc ...": RE error: illegal byte sequence
 Compiling
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_cpulib.c
 ...
 Compiling
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search.c
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/signal_handler.c:
 In function ‘f_create_process’:
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/signal_handler.c:3965:
 warning: passing argument 4 of ‘ptrace’ makes integer from pointer without
 a cast
 In file included from
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search_engine.c:13,
                  from
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search.c:126:
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search_engine2.c:
 In function ‘hubbe_search00’:
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search_engine2.c:164:
 warning: pointer targets in assignment differ in signedness
 UNREACHABLE executed!
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/multiset.c:
 In function ‘count_memory_in_multisets’:
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/multiset.c:277:
 internal compiler error: Abort trap: 6
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <URL:http://developer.apple.com/bugreporter> for instructions.
 WARNING: Compiler failure! Trying without optimization!
 In file included from
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search_engine.c:13,
                  from
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search.c:130:
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search_engine2.c:
 In function ‘hubbe_search10’:
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search_engine2.c:164:
 warning: pointer targets in assignment differ in signedness
 In file included from
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search_engine.c:13,
                  from
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search.c:134:
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search_engine2.c:
 In function ‘hubbe_search20’:
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search_engine2.c:164:
 warning: pointer targets in assignment differ in signedness
 cc1: warning: -Wuninitialized is not supported without -O
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search.c:
 In function ‘my_memmem’:
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search.c:200:
 warning: pointer targets in passing argument 2 of ‘init_memsearch0’ differ
 in signedness
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search.c:201:
 warning: pointer targets in passing argument 2 of ‘tmp.mojt.vtab->func0’
 differ in signedness
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search.c:201:
 warning: pointer targets in return differ in signedness
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search.c:
 In function ‘compile_memsearcher’:
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_search.c:181:
 warning: control reaches end of non-void function
 UNREACHABLE executed!
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/multiset.c:
 In function ‘count_memory_in_multisets’:
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/multiset.c:277:
 internal compiler error: Abort trap: 6
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <URL:http://developer.apple.com/bugreporter> for instructions.
 Compiling
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/pike_types.c
 Compilation command was:
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/build/darwin-11.4.2-i386/smartlink
 gcc
 -DPIKE_SRC_ROOT=/opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112
 -I.
 -I/opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src
 -I/opt/local/include -I/usr/X11/include -I/usr/X11R6/include -g
 -I/opt/local/include -I/usr/X11/include -I/usr/X11R6/include -mdynamic-no-
 pic -W -Wall -Wno-unused -Wcomment -Wformat -Wimplicit-function-
 declaration -Wmultichar -Wswitch -Wuninitialized -Wpointer-arith -Wchar-
 subscripts -Wno-long-long   -c
 /opt/local/var/macports/build/_opt_mports_dports_lang_pike/pike/work/Pike-v7.6.112/src/multiset.c
 -o multiset.o
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/40412#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list