Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxuFw-0005Cz-F8 for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Jan 2013 06:56:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TxuFv-0002sB-7K for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Jan 2013 06:56:19 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxuFt-0002s5-Gq for pgsql-hackers@postgresql.org; Wed, 23 Jan 2013 06:56:17 +0000 Received: from outmail148161.authsmtp.com ([62.13.148.161]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxuFo-0007Yd-1R for pgsql-hackers@postgresql.org; Wed, 23 Jan 2013 06:56:17 +0000 Received: from mail-c233.authsmtp.com (mail-c233.authsmtp.com [62.13.128.233]) by punt6.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id r0N6u8kQ024884; Wed, 23 Jan 2013 06:56:08 GMT Received: from ayaki.localdomain (124-169-78-42.dyn.iinet.net.au [124.169.78.42]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id r0N6tuRD076337 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 23 Jan 2013 06:56:00 GMT Message-ID: <50FF897B.2050603@2ndQuadrant.com> Date: Wed, 23 Jan 2013 14:55:55 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Andrew Dunstan CC: Noah Misch , Brar Piening , Heikki Linnakangas , Magnus Hagander , pgsql-hackers Subject: Re: Visual Studio 2012 RC References: <4FCA84F6.5090706@gmx.de> <4FD3F553.9060105@gmx.de> <4FEB0D39.6080108@enterprisedb.com> <50526BA6.3030103@gmx.de> <20121002011201.GC30396@tornado.leadboat.com> <507B2B0A.2030506@gmx.de> <20121015115351.GC4627@tornado.leadboat.com> <20130101025421.GA17763@tornado.leadboat.com> <50FD0B35.3020503@2ndQuadrant.com> <50FD3840.8010700@dunslane.net> <50FD3D5B.9040506@2ndQuadrant.com> <50FF7FD0.7050705@2ndQuadrant.com> In-Reply-To: <50FF7FD0.7050705@2ndQuadrant.com> X-Enigmail-Version: 1.4.6 Content-Type: multipart/alternative; boundary="------------070004060003060602000903" X-Server-Quench: f3dfb187-6529-11e2-a49c-0025907707a1 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZeVg0b BQteCiN5VAwpPBRK HVkIKg5MJUcNSQVJ NksacBtFagZbZ1hf HGQLWldEUFt7XGV/ awkfbAdZfEtIVhtt WFZNQE1QEQdtHh1P RB5gVF03FXFGf3hz ZkEsVnNaXUw0I0Up FBxVHWobY2JiYX0e URVaalJQeVBXfh9H b1l/U3QNZjQGKBg1 TUcAHxkaHhhlExEd fAAWMFsWCX0XAzI9 QFhYRWx1VXcuLwAA X-Authentic-SMTP: 61633235383639.1021:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 124.169.78.42/2525 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org This is a multi-part message in MIME format. --------------070004060003060602000903 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 01/23/2013 02:14 PM, Craig Ringer wrote: > On 01/21/2013 09:06 PM, Craig Ringer wrote: > >> It's building on my Jenkins instance at the moment, to make sure it >> doesn't break VS 2010 / Windows SDK 7.1 . I've merged it into HEAD >> and pushed to https://github.com/ringerc/postgres/tree/vs2012; the >> only conflict was a trivial one in the docs. > > A quick update: No breakage of WinSDK 7.1 / VS 2010 was found. > > I'm having to do more work than I'd hoped to set up my build env for > VS 2012 properly and update the build wrapper to handle it so VS 2012 > testing is still in progress. Expect a report in a few hours. No go on VS 2012 yet. When building a tree with your patch applied using VS 2012 Express via a command line environment set up with: "c:\program files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86 which is the same as the "32-bit build tools" Start menu entry, the build fails with: C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected. [c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\postgres.vcxproj] In case it's relevant, the Microsoft SDK for Windows 8 is installed on this machine and appears to have been detected, as WindowsSdkDir has been set to C:\Program Files (x86)\Windows Kits\8.0\ . I haven't explicitly set PlatformToolset in the environment. The machine also has Visual Studio 2010 Express SP1 and the Microsoft Windows SDK 7.1 with VS SP1 and VS SP1 compiler update on it. All work fine. "where msbuild" reports: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe c:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe and "msbuild" reports: Microsoft (R) Build Engine version 4.0.30319.17929 [Microsoft .NET Framework, version 4.0.30319.17929] Copyright (C) Microsoft Corporation. All rights reserved. "cl" reports: Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 Copyright (C) Microsoft Corporation. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ] The host is a 64-bit Windows 7 machine. Error detail: "c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\pgsql.sln" (default target) (1) -> "c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\postgres.vcxproj" (default target) (2) -> (PlatformPrepareForBuild target) -> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected. [c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\postgres.vcxproj] "c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\pgsql.sln" (default target) (1) -> "c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\libpqwalreceiver.vcxproj" (default target) (4) -> "c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\libpq.vcxproj" (default target) (5) -> "c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\libpgport.vcxproj" (default target) (6) -> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected. [c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\libpgport.vcxproj] "c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\pgsql.sln" (default target) (1) -> "c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\pgevent.vcxproj" (default target) (14) -> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected. [c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\pgevent.vcxproj] Thoughts? How have you been testing VS2012 builds? In what environment? -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --------------070004060003060602000903 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 01/23/2013 02:14 PM, Craig Ringer wrote:
On 01/21/2013 09:06 PM, Craig Ringer wrote:

It's building on my Jenkins instance at the moment, to make sure it doesn't break VS 2010 / Windows SDK 7.1 . I've merged it into HEAD and pushed to https://github.com/ringerc/postgres/tree/vs2012; the only conflict was a trivial one in the docs.

A quick update: No breakage of WinSDK 7.1 / VS 2010 was found.

I'm having to do more work than I'd hoped to set up my build env for VS 2012 properly and update the build wrapper to handle it so VS 2012 testing is still in progress. Expect a report in a few hours.
No go on VS 2012 yet.

When building a tree with your patch applied using VS 2012 Express via a command line environment set up with:

   "c:\program files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86

which is the same as the "32-bit build tools" Start menu entry, the build fails with:


  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected. [c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\postgres.vcxproj]


In case it's relevant, the Microsoft SDK for Windows 8 is installed on this machine and appears to have been detected, as WindowsSdkDir has been set to C:\Program Files (x86)\Windows Kits\8.0\ .

I haven't explicitly set PlatformToolset in the environment.

The machine also has Visual Studio 2010 Express SP1 and the Microsoft Windows SDK 7.1 with VS SP1 and VS SP1 compiler update on it. All work fine.

"where msbuild" reports:

    c:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
    c:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe

and "msbuild" reports:

    Microsoft (R) Build Engine version 4.0.30319.17929
    [Microsoft .NET Framework, version 4.0.30319.17929]
    Copyright (C) Microsoft Corporation. All rights reserved.

"cl" reports:

    Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86
    Copyright (C) Microsoft Corporation.  All rights reserved.

    usage: cl [ option... ] filename... [ /link linkoption... ]

The host is a 64-bit Windows 7 machine.

Error detail:


"c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\pgsql.sln" (default target) (1) ->
"c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\postgres.vcxproj" (default target) (2) ->
(PlatformPrepareForBuild target) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected. [c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\postgres.vcxproj]


"c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\pgsql.sln" (default target) (1) ->
"c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\libpqwalreceiver.vcxproj" (default target) (4) ->
"c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\libpq.vcxproj" (default target) (5) ->
"c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\libpgport.vcxproj" (default target) (6) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected. [c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\libpgport.vcxproj]


"c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\pgsql.sln" (default target) (1) ->
"c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\pgevent.vcxproj" (default target) (14) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected. [c:\pg\postgresql\sdk8.0_cl17_vs11.0\x86\Release\vs2012\pgevent.vcxproj]


Thoughts?

How have you been testing VS2012 builds? In what environment?
-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services
--------------070004060003060602000903--