[MacPorts] #15154: port install itk fails to build

MacPorts noreply at macports.org
Fri Aug 8 08:23:38 PDT 2008


#15154: port install itk fails to build
--------------------------------------------+-------------------------------
  Reporter:  dhoelzer at enclaveforensics.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                         |      Status:  new                                  
  Priority:  Normal                         |   Milestone:  Port Bugs                            
 Component:  ports                          |     Version:  1.6.0                                
Resolution:                                 |    Keywords:  sguil itk port build failure         
--------------------------------------------+-------------------------------
Old description:

> I'm trying to install sguil-client, which depends on itk.  itk fails to
> build with the following output:
>
> sh-3.2# port install itk
> --->  Building itk with target all
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/itk3.3"
> && make all CPPFLAGS=-I/opt/local/include " returned error 2
> Command output: /usr/bin/gcc-4.0 -pipe -DPACKAGE_NAME=\"itk\"
> -DPACKAGE_TARNAME=\"itk\" -DPACKAGE_VERSION=\"3.3\"
> -DPACKAGE_STRING=\"itk\ 3.3\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1
> -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1
> -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1
> -DUSE_TK_STUBS=1 -DUSE_ITCL_STUBS=1
> -DITK_LIBRARY=\"/opt/local/lib/itk3.3\" -DUSE_NON_CONST
> -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_itcl/work/itcl3.3/generic"
> -I"./generic"
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.2/generic
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.2/unix
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.2/generic
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.2/unix
> -I/usr/X11/include  -I/opt/local/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic
> -Os -Wall -Wno-implicit-int -fno-common -c `echo ./generic/itk_cmds.c` -o
> itk_cmds.o
> In file included from
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclInt.h:2356,
>                  from /opt/local/include/itclInt.h:52,
>                  from ./generic/itk.h:81,
>                  from ./generic/itk_cmds.c:26:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:322:
> error: syntax error before '->' token
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:326:
> error: syntax error before '->' token
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:330:
> error: syntax error before '->' token
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:333:
> error: syntax error before '->' token
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:337:
> error: syntax error before '->' token
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:341:
> error: syntax error before '->' token
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:357:
> error: syntax error before '->' token
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:360:
> error: syntax error before '->' token
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:363:
> error: syntax error before '->' token
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:367:
> error: syntax error before '->' token
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:370:
> error: syntax error before '->' token
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:377:
> error: syntax error before '->' token
> ./generic/itk_cmds.c: In function 'Itk_ConfigBodyCmd':
> ./generic/itk_cmds.c:406: warning: passing argument 2 of
> 'itclStubsPtr->itcl_EventuallyFree' from incompatible pointer type
> make: *** [itk_cmds.o] Error 1
>
> Error: Status 1 encountered during processing.

New description:

 I'm trying to install sguil-client, which depends on itk.  itk fails to
 build with the following output:

 {{{
 sh-3.2# port install itk
 --->  Building itk with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/itk3.3"
 && make all CPPFLAGS=-I/opt/local/include " returned error 2
 Command output: /usr/bin/gcc-4.0 -pipe -DPACKAGE_NAME=\"itk\"
 -DPACKAGE_TARNAME=\"itk\" -DPACKAGE_VERSION=\"3.3\"
 -DPACKAGE_STRING=\"itk\ 3.3\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1
 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long
 -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1
 -DUSE_ITCL_STUBS=1   -DITK_LIBRARY=\"/opt/local/lib/itk3.3\"
 -DUSE_NON_CONST
 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_itcl/work/itcl3.3/generic"
 -I"./generic"
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.2/generic
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.2/unix
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.2/generic
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.2/unix
 -I/usr/X11/include  -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic
 -Os -Wall -Wno-implicit-int -fno-common -c `echo ./generic/itk_cmds.c` -o
 itk_cmds.o
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclInt.h:2356,
                  from /opt/local/include/itclInt.h:52,
                  from ./generic/itk.h:81,
                  from ./generic/itk_cmds.c:26:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:322:
 error: syntax error before '->' token
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:326:
 error: syntax error before '->' token
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:330:
 error: syntax error before '->' token
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:333:
 error: syntax error before '->' token
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:337:
 error: syntax error before '->' token
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:341:
 error: syntax error before '->' token
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:357:
 error: syntax error before '->' token
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:360:
 error: syntax error before '->' token
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:363:
 error: syntax error before '->' token
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:367:
 error: syntax error before '->' token
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:370:
 error: syntax error before '->' token
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_itk/work/tcl8.4.14/generic/tclIntDecls.h:377:
 error: syntax error before '->' token
 ./generic/itk_cmds.c: In function 'Itk_ConfigBodyCmd':
 ./generic/itk_cmds.c:406: warning: passing argument 2 of
 'itclStubsPtr->itcl_EventuallyFree' from incompatible pointer type
 make: *** [itk_cmds.o] Error 1

 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/15154#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list