[MacPorts] #21130: vtk5 failed to build after upgrade to gcc44 4.4.1

MacPorts noreply at macports.org
Sat Sep 5 20:34:34 PDT 2009


#21130: vtk5 failed to build after upgrade to gcc44 4.4.1
-------------------------------------------+--------------------------------
 Reporter:  sc522@…                        |       Owner:  macports-tickets@…                   
     Type:  defect                         |      Status:  new                                  
 Priority:  High                           |   Milestone:  MacPorts 1.8.1                       
Component:  ports                          |     Version:  1.8.0                                
 Keywords:  vtk5, -fpascal-strings, gcc44  |        Port:  vtk5                                 
-------------------------------------------+--------------------------------
 After I upgrade gcc44 4.4.0 to 4.4.1, I cannot get through install of the
 port vtk5 (5.2.1). The error massage is listed below:

 [  5%] Built target vtkEncodeString
 make: *** [all] Error 2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk5/work/VTK"
 && /usr/bin/make -j2 all " returned error 2
 Command output: [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/exptim.o
 [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/exptt.o
 [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/expvan.o
 [  5%] Building CXX object
 Utilities/vtkmetaio/CMakeFiles/vtkmetaio.dir/metaForm.o
 [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/expvar.o
 [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/expvnm.o
 [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/expvpa.o
 [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/expvpax.o
 [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/expvp.o
 [  5%] Building CXX object
 Utilities/vtkmetaio/CMakeFiles/vtkmetaio.dir/metaArray.o
 [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/expvpc.o
 [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/expvtt.o
 [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/expvv.o
 [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/exupda.o
 [  5%] Building C object
 Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/ex_utils.o
 Linking C shared library ../../bin/libvtkexoIIc.dylib
 [  5%] Built target vtkexoIIc
 Scanning dependencies of target vtkEncodeString
 [  5%] Building CXX object
 Utilities/EncodeString/CMakeFiles/vtkEncodeString.dir/vtkEncodeString.o
 Linking CXX shared library ../../bin/libvtkmetaio.dylib
 [  5%] Built target vtkmetaio
 Scanning dependencies of target vtkftgl
 [  5%] Building CXX object
 Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTBitmapGlyph.o

 cc1plus: error: unrecognized command line option "-fpascal-strings"

 make[2]: *** [Utilities/ftgl/CMakeFiles/vtkftgl.dir/src/FTBitmapGlyph.o]
 Error 1
 make[1]: *** [Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2
 make[1]: *** Waiting for unfinished jobs....
 Linking CXX executable ../../bin/vtkEncodeString
 [  5%] Built target vtkEncodeString
 make: *** [all] Error 2

 Warning: the following items did not execute (for vtk5):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.

 It appears the -fpascal-strings is no longer supported by cc1. Could
 anyone point me to how to work this around. Many thanks.

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


More information about the macports-tickets mailing list