Skip to content

Python build fails on Mac #5540

@dzenanz

Description

@dzenanz

XCode says:

PhaseScriptExecution Generate\ Wrapping/Generators/Python/itk/ITKCommonBasePython.py /Users/dzenan.zukic/Documents/ITK-py2/build/ITKCommonPython.build/Debug/Script-56F9B3CA7CE80BA1073137B7.sh (in target 'ITKCommonPython' from project 'ITK')
    cd /Users/dzenan.zukic/Documents/ITK-git
    /bin/sh -c /Users/dzenan.zukic/Documents/ITK-py2/build/ITKCommonPython.build/Debug/Script-56F9B3CA7CE80BA1073137B7.sh

/Users/dzenan.zukic/Documents/ITK-py2/Wrapping/Typedefs/ITKCommonBase.i:946: Error: Syntax error in input(3).
Command PhaseScriptExecution failed with a nonzero exit code

The content of Script-56F9B3CA7CE80BA1073137B7.sh is:

#!/bin/sh
set -e
if test "$CONFIGURATION" = "Debug"; then :
  cd /Users/dzenan.zukic/Documents/ITK-py2/Wrapping/Typedefs/python
  /Users/dzenan.zukic/Documents/ITK-py2/Wrapping/Generators/SwigInterface/swigmacos-arm64-2024-03-26-master/bin/swig -c$
fi
if test "$CONFIGURATION" = "Release"; then :
  cd /Users/dzenan.zukic/Documents/ITK-py2/Wrapping/Typedefs/python
  /Users/dzenan.zukic/Documents/ITK-py2/Wrapping/Generators/SwigInterface/swigmacos-arm64-2024-03-26-master/bin/swig -c$
fi
if test "$CONFIGURATION" = "MinSizeRel"; then :
  cd /Users/dzenan.zukic/Documents/ITK-py2/Wrapping/Typedefs/python
  /Users/dzenan.zukic/Documents/ITK-py2/Wrapping/Generators/SwigInterface/swigmacos-arm64-2024-03-26-master/bin/swig -c$
fi
if test "$CONFIGURATION" = "RelWithDebInfo"; then :
  cd /Users/dzenan.zukic/Documents/ITK-py2/Wrapping/Typedefs/python
  /Users/dzenan.zukic/Documents/ITK-py2/Wrapping/Generators/SwigInterface/swigmacos-arm64-2024-03-26-master/bin/swig -c$
fi

This is also reported to the dashboard here. The build failures started on September 17th: https://open.cdash.org/builds/10685388

Looking at the git log around that time, nothing looks suspicious. There was an update of windows binaries for CastXML, as the closest thing to relevance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:CompilerCompiler support or related warnings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions