Uploaded image for project: 'Open Development'
  1. Open Development
  2. OPEN-65

autobuild build for 3p-ogvorbis defaults to vs2005 even though configured under a vs2010 express shell

    Details

    • Type: Bug
    • Status: Open
    • Priority: Unset
    • Resolution: Unresolved
    • Component/s: libraries
    • Environment:
      vs2010 express shell with path to cwgwin\bin
    • Acceptance Criteria:
      pick the correct environment and build

      Description

      Configuration file 'C:\Users\Bill\3p-ogvorbis\autobuild.xml'
      building in C:\Users\Bill\3p-ogvorbis\stage
      building for configuration(s) [{'default': 'true', 'configure': None, 'name': 'default', 'build': {'command': None, 'options': [], 'arguments': None}}]
      no configure executable defined; doing nothing
      executing build command bash -c ../build-cmd.sh
      + set -e
      + '[' -z 'C:\Users\Bill\lindenhg\autobuild\bin\autobuild.cmd' ']'
      + '[' cygwin = cygwin ']'
      ++ cygpath -u 'C:\Users\Bill\lindenhg\autobuild\bin\autobuild.cmd'
      + export AUTOBUILD=/cygdrive/c/Users/Bill/lindenhg/autobuild/bin/autobuild.cmd
      + AUTOBUILD=/cygdrive/c/Users/Bill/lindenhg/autobuild/bin/autobuild.cmd
      + OGG_VERSION=1.2.2
      + OGG_SOURCE_DIR=libogg-1.2.2
      + VORBIS_VERSION=1.3.2
      + VORBIS_SOURCE_DIR=libvorbis-1.3.2
      ++ /cygdrive/c/Users/Bill/lindenhg/autobuild/bin/autobuild.cmd source_environment
      ['cmd', '/Q', '/C', 'c:\\users\\bill\\appdata\\local\\temp\\tmpxifo7a.cmd']
      cmdout: 'Setting environment for using Microsoft Visual Studio 2005 x86 tools.\r\n

      {\r\n"VSPATH":"C:\\VC80\\Common7\\IDE;C:\\VC80\\VC\\BIN;C:\\VC80\\Common7\\Tools;C:\\VC80\\Common7\\Tools\\bin;C:\\VC80\\VC\\PlatformSDK\\bin;C:\\VC80\\SDK\\v2.0\\bin;C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727;C:\\VC80\\VC\\VCPackages;C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319;C:\\Windows\\Microsoft.NET\\Framework\\v3.5;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\Tools;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\Bin;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\Bin\\VCPackages;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin\\NETFX 4.0 Tools;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin;C:\\Program Files (x86)\\ATI Stream\\bin\\x86_64;C:\\Program Files (x86)\\ATI Stream\\bin\\x86;C:\\Program Files\\Common Files\\Microsoft Shared\\Windows Live;C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows Live;C:\\vc80\\vc\\bin;C:\\Python26\\Scripts;C:\\Python26;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files (x86)\\Common Files\\Roxio Shared\\DLLShared;C:\\Program Files (x86)\\Common Files\\Roxio Shared\\DLLShared;C:\\Program Files (x86)\\Common Files\\Roxio Shared\\12.0\\DLLShared;C:\\CMake 2.8\\bin;C:\\Program Files (x86)\\NSIS\\Unicode;C:\\strawberry\\c\\bin;C:\\strawberry\\perl\\site\\bin;C:\\strawberry\\perl\\bin;C:\\Program Files (x86)\\Microsoft SQL Server\\90\\Tools\\binn;C:\\Program Files\\MySQL\\MySQL Server 5.5\\bin;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\Program Files (x86)\\QuickTime\\QTSystem;C:\\Program Files\\Microsoft Windows Performance Toolkit;C:\\Program Files\\SlikSvn\\bin;C:\\Program Files (x86)\\TortoiseHg;C:\\lindenhg\\autobuild\\bin;C:\\Program Files (x86)\\Universal Extractor;C:\\Program Files (x86)\\Universal Extractor\\bin;C:\\Users\\Bill\\lindenhg\\autobuild\\bin;C:\\Program Files (x86)\\SlikSvn\\bin;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files (x86)\\TortoiseGit\\bin;C:\\Program Files\\TortoiseGit\\bin;C:\\Convert\\bin;C:\\cygwin\\bin;C:\\Users\\Bill\\lindenhg\\autobuild\\bin;C:\\Users\\Bill\\lindenhg\\autobuild\\bin;C:\\Users\\Bill\\lindenhg\\autobuild\\bin",\r\n"VSINCLUDE":"C:\\VC80\\VC\\ATLMFC\\INCLUDE;C:\\VC80\\VC\\INCLUDE;C:\\VC80\\VC\\PlatformSDK\\include;C:\\VC80\\SDK\\v2.0\\include;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\INCLUDE;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\INCLUDE\\gl;",\r\n"VSLIB":"C:\\VC80\\VC\\ATLMFC\\LIB;C:\\VC80\\VC\\LIB;C:\\VC80\\VC\\PlatformSDK\\lib;C:\\VC80\\SDK\\v2.0\\lib;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\Lib;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Lib;C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319;C:\\Windows\\Microsoft.NET\\Framework\\v3.5;;",\r\n"VSLIBPATH":"C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727;C:\\VC80\\VC\\ATLMFC\\LIB",\r\n}

      \r\n'
      VSVARS:

      {u'VSPATH': u'C:\\VC80\\Common7\\IDE;C:\\VC80\\VC\\BIN;C:\\VC80\\Common7\\Tools;C:\\VC80\\Common7\\Tools\\bin;C:\\VC80\\VC\\PlatformSDK\\bin;C:\\VC80\\SDK\\v2.0\\bin;C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727;C:\\VC80\\VC\\VCPackages;C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319;C:\\Windows\\Microsoft.NET\\Framework\\v3.5;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\Tools;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\Bin;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\Bin\\VCPackages;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin\\NETFX 4.0 Tools;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin;C:\\Program Files (x86)\\ATI Stream\\bin\\x86_64;C:\\Program Files (x86)\\ATI Stream\\bin\\x86;C:\\Program Files\\Common Files\\Microsoft Shared\\Windows Live;C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows Live;C:\\vc80\\vc\\bin;C:\\Python26\\Scripts;C:\\Python26;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files (x86)\\Common Files\\Roxio Shared\\DLLShared;C:\\Program Files (x86)\\Common Files\\Roxio Shared\\DLLShared;C:\\Program Files (x86)\\Common Files\\Roxio Shared\\12.0\\DLLShared;C:\\CMake 2.8\\bin;C:\\Program Files (x86)\\NSIS\\Unicode;C:\\strawberry\\c\\bin;C:\\strawberry\\perl\\site\\bin;C:\\strawberry\\perl\\bin;C:\\Program Files (x86)\\Microsoft SQL Server\\90\\Tools\\binn;C:\\Program Files\\MySQL\\MySQL Server 5.5\\bin;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\Program Files (x86)\\QuickTime\\QTSystem;C:\\Program Files\\Microsoft Windows Performance Toolkit;C:\\Program Files\\SlikSvn\\bin;C:\\Program Files (x86)\\TortoiseHg;C:\\lindenhg\\autobuild\\bin;C:\\Program Files (x86)\\Universal Extractor;C:\\Program Files (x86)\\Universal Extractor\\bin;C:\\Users\\Bill\\lindenhg\\autobuild\\bin;C:\\Program Files (x86)\\SlikSvn\\bin;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files (x86)\\TortoiseGit\\bin;C:\\Program Files\\TortoiseGit\\bin;C:\\Convert\\bin;C:\\cygwin\\bin;C:\\Users\\Bill\\lindenhg\\autobuild\\bin;C:\\Users\\Bill\\lindenhg\\autobuild\\bin;C:\\Users\\Bill\\lindenhg\\autobuild\\bin', u'VSLIB': u'C:\\VC80\\VC\\ATLMFC\\LIB;C:\\VC80\\VC\\LIB;C:\\VC80\\VC\\PlatformSDK\\lib;C:\\VC80\\SDK\\v2.0\\lib;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\Lib;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Lib;C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319;C:\\Windows\\Microsoft.NET\\Framework\\v3.5;;', u'VSINCLUDE': u'C:\\VC80\\VC\\ATLMFC\\INCLUDE;C:\\VC80\\VC\\INCLUDE;C:\\VC80\\VC\\PlatformSDK\\include;C:\\VC80\\SDK\\v2.0\\include;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\INCLUDE;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\INCLUDE\\gl;', u'VSLIBPATH': u'C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727;C:\\VC80\\VC\\ATLMFC\\LIB'}

      + eval '

      1. disable verbose debugging output (maybe someday we'\''ll want to make this configurable with -v ?)
        restore_xtrace="$(set +o | grep xtrace)"
        set +o xtrace

      export AUTOBUILD="$(cygpath -u '\''C:\Users\Bill\lindenhg\autobuild\bin\autobuild.cmd'\'')"
      export AUTOBUILD_VERSION_STRING="0.8"
      export AUTOBUILD_PLATFORM="windows"

      fail()

      { echo "BUILD FAILED" if [ -n "$PARABUILD_BUILD_NAME" ] ; then # if we'\''re running under parabuild then we have to clean up its stuff finalize false "$@" else exit 1 fi }

      pass()

      { echo "BUILD SUCCEEDED" succeeded=true }
      1. imported build-lindenlib functions
        fetch_archive() { local url=$1 local archive=$2 local md5=$3 if ! [ -r "$archive" ] ; then curl -L -o "$archive" "$url" || return 1 fi if [ "$AUTOBUILD_PLATFORM" = "darwin" ] ; then test "$md5 $archive" = "$(md5 -r "$archive")" else echo "$md5 *$archive" | md5sum -c fi }

        extract()

        { # Use a tar command appropriate to the extension of the filename passed as # $1. If a subsequent update of a given tarball changes compression types, # this should hopefully avoid having to go through this script to update # the tar switches to correspond to the new file type. switch="-x" # Decide whether to specify -xzvf or -xjvf based on whether the archive # name ends in .tar.gz or .tar.bz2. case "$1" in *.tar.gz|*.tgz) gzip -dc "$1" | tar -xf - ;; *.tar.bz2|*.tbz2) bzip2 -dc "$1" | tar -xf - ;; *.zip) unzip -q "$1" ;; *) echo "Do not know how to extract $1" 1>&2 return 1 ;; esac }

        calc_md5()

        { local archive=$1 local md5_cmd=md5sum if [ "$AUTOBUILD_PLATFORM" = "darwin" ] ; then md5_cmd="md5 -r" fi $md5_cmd "$archive" | cut -d '\'' '\'' -f 1 }

        fix_dylib_id()

        { local dylib=$1 local dylink="$dylib" if [ -f "$dylib" ]; then if [ -L "$dylib" ]; then dylib="$(readlink "$dylib")" fi install_name_tool -id "@executable_path/../Resources/$dylib" "$dylib" if [ "$dylib" != "$dylink" ]; then ln -svf "$dylib" "$dylink" fi fi }

      MAKEFLAGS=""
      #DISTCC_HOSTS=""

      $restore_xtrace

      1. disable verbose debugging output
        set +o xtrace

      USE_INCREDIBUILD=0
      build_vcproj()

      { local vcproj=$1 local config=$2 if ((0)) ; then BuildConsole "$vcproj" /CFG="$config" else devenv "$vcproj" /build "$config" fi }

      build_sln()

      { local solution=$1 local config=$2 local proj=$3 if ((0)) ; then if [ -z "$proj" ] ; then BuildConsole "$solution" /CFG="$config" else BuildConsole "$solution" /PRJ="$proj" /CFG="$config" fi else if [ -z "$proj" ] ; then devenv.com "$(cygpath -m "$solution")" /build "$config" else devenv.com "$(cygpath -m "$solution")" /build "$config" /project "$proj" fi fi }
      1. function for loading visual studio related env vars
        load_vsvars() { export PATH="$(cygpath -u '\''C:\VC80\Common7\IDE'\'')":"$(cygpath -u '\''C:\VC80\VC\BIN'\'')":"$(cygpath -u '\''C:\VC80\Common7\Tools'\'')":"$(cygpath -u '\''C:\VC80\Common7\Tools\bin'\'')":"$(cygpath -u '\''C:\VC80\VC\PlatformSDK\bin'\'')":"$(cygpath -u '\''C:\VC80\SDK\v2.0\bin'\'')":"$(cygpath -u '\''C:\Windows\Microsoft.NET\Framework\v2.0.50727'\'')":"$(cygpath -u '\''C:\VC80\VC\VCPackages'\'')":"$(cygpath -u '\''C:\Windows\Microsoft.NET\Framework\v4.0.30319'\'')":"$(cygpath -u '\''C:\Windows\Microsoft.NET\Framework\v3.5'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\VCPackages'\'')":"$(cygpath -u '\''C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools'\'')":"$(cygpath -u '\''C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin'\'')":"$(cygpath -u '\''C:\Program Files (x86)\ATI Stream\bin\x86_64'\'')":"$(cygpath -u '\''C:\Program Files (x86)\ATI Stream\bin\x86'\'')":"$(cygpath -u '\''C:\Program Files\Common Files\Microsoft Shared\Windows Live'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live'\'')":"$(cygpath -u '\''C:\vc80\vc\bin'\'')":"$(cygpath -u '\''C:\Python26\Scripts'\'')":"$(cygpath -u '\''C:\Python26'\'')":"$(cygpath -u '\''C:\Windows\system32'\'')":"$(cygpath -u '\''C:\Windows'\'')":"$(cygpath -u '\''C:\Windows\System32\Wbem'\'')":"$(cygpath -u '\''C:\Windows\System32\WindowsPowerShell\v1.0'\'')":"$(cygpath -u '\''C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Common Files\Roxio Shared\12.0\DLLShared'\'')":"$(cygpath -u '\''C:\CMake 2.8\bin'\'')":"$(cygpath -u '\''C:\Program Files (x86)\NSIS\Unicode'\'')":"$(cygpath -u '\''C:\strawberry\c\bin'\'')":"$(cygpath -u '\''C:\strawberry\perl\site\bin'\'')":"$(cygpath -u '\''C:\strawberry\perl\bin'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn'\'')":"$(cygpath -u '\''C:\Program Files\MySQL\MySQL Server 5.5\bin'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Windows Live\Shared'\'')":"$(cygpath -u '\''C:\Program Files (x86)\QuickTime\QTSystem'\'')":"$(cygpath -u '\''C:\Program Files\Microsoft Windows Performance Toolkit'\'')":"$(cygpath -u '\''C:\Program Files\SlikSvn\bin'\'')":"$(cygpath -u '\''C:\Program Files (x86)\TortoiseHg'\'')":"$(cygpath -u '\''C:\lindenhg\autobuild\bin'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Universal Extractor'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Universal Extractor\bin'\'')":"$(cygpath -u '\''C:\Users\Bill\lindenhg\autobuild\bin'\'')":"$(cygpath -u '\''C:\Program Files (x86)\SlikSvn\bin'\'')":"$(cygpath -u '\''C:\Program Files (x86)\Git\cmd'\'')":"$(cygpath -u '\''C:\Program Files (x86)\TortoiseGit\bin'\'')":"$(cygpath -u '\''C:\Program Files\TortoiseGit\bin'\'')":"$(cygpath -u '\''C:\Convert\bin'\'')":"$(cygpath -u '\''C:\cygwin\bin'\'')":"$(cygpath -u '\''C:\Users\Bill\lindenhg\autobuild\bin'\'')":"$(cygpath -u '\''C:\Users\Bill\lindenhg\autobuild\bin'\'')":"$(cygpath -u '\''C:\Users\Bill\lindenhg\autobuild\bin'\'')":"$PATH" export INCLUDE="C:\VC80\VC\ATLMFC\INCLUDE;C:\VC80\VC\INCLUDE;C:\VC80\VC\PlatformSDK\include;C:\VC80\SDK\v2.0\include;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v7.1\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v7.1\INCLUDE\gl;" export LIB="C:\VC80\VC\ATLMFC\LIB;C:\VC80\VC\LIB;C:\VC80\VC\PlatformSDK\lib;C:\VC80\SDK\v2.0\lib;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Lib;C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;;" export LIBPATH="C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\VC80\VC\ATLMFC\LIB" }

      if ! ((0)) ; then
      load_vsvars
      fi

      $restore_xtrace
      '
      +++ set +o
      +++ grep xtrace
      ++ restore_xtrace='set -o xtrace'
      ++ set +o xtrace
      ++ set +o xtrace
      ++ pwd
      + top=/cygdrive/c/Users/Bill/3p-ogvorbis
      ++ pwd
      + stage=/cygdrive/c/Users/Bill/3p-ogvorbis/stage
      + case "$AUTOBUILD_PLATFORM" in
      + pushd libogg-1.2.2
      /cygdrive/c/Users/Bill/3p-ogvorbis/libogg-1.2.2 /cygdrive/c/Users/Bill/3p-ogvorbis
      ++ cygpath -m /cygdrive/c/Users/Bill/3p-ogvorbis/stage/packages
      + packages=C:/Users/Bill/3p-ogvorbis/stage/packages
      + build_sln win32/ogg.sln 'Debug|Win32' ogg_static
      + local solution=win32/ogg.sln
      + local 'config=Debug|Win32'
      + local proj=ogg_static
      + (( 0 ))
      + '[' -z ogg_static ']'
      ++ cygpath -m win32/ogg.sln
      + devenv.com win32/ogg.sln /build 'Debug|Win32' /project ogg_static
      building default configuration returned 1
      Traceback (most recent call last):
      File "C:\Users\Bill\lindenhg\autobuild\autobuild\autobuild_main.py", line 201, in main
      sys.exit( Autobuild().main(sys.argv[1:]) )
      File "C:\Users\Bill\lindenhg\autobuild\autobuild\autobuild_main.py", line 189, in main
      tool_to_run.run(args)
      File "C:\Users\Bill\lindenhg\autobuild\autobuild\autobuild_tool_build.py", line 113, in run
      raise BuildError("building default configuration returned %d" % (result))
      BuildError: building default configuration returned 1
      ERROR: building default configuration returned 1
      For more information: try re-running your command with --verbose or --debug

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nicky.perian Nicky Perian
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: