amoeba opened a new issue, #1440:
URL: https://github.com/apache/arrow-adbc/issues/1440

   On Windows 10 (x86_64) using Powershell and miniconda, I failed to verify 
0.9.0 RC0. This is my first time trying this combo.
   
   From a fresh checkout of arrow-adbc, I ran:
   
   ```
   .\dev\release\verify-release-candidate.ps1 0.9.0 0
   ```
   
   It looks like the script is failing during its build step and it prints 
errors like:
   
   > gtest.lib(gtest-all.cc.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in 
adbc_version_100_compatibility_test.obj
   
   <details>
   <summary>More error output</summary>
   
   ```
         
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\install.vcxproj" 
(default target) (1) ->
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\ALL_BUILD.vcxproj" 
(default target) (3) ->
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-version-100-compatibility-test.vcxproj"
 (default target) (15) ->
          (Link target) ->
            gtest.lib(gtest-all.cc.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in 
adbc_version_100_compatibility_test.obj [C:\Users
          
\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-version-100-compatibility-test.vcxproj]
            gtest.lib(gtest-all.cc.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in adbc_version_100_compatib
          ility_test.obj 
[C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-version-100-compatibility-test.vcxproj]
            gtest_main.lib(gtest_main.cc.obj) : error LNK2038: mismatch 
detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in 
adbc_version_100_compatibility_test.obj [C:
          
\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-version-100-compatibility-test.vcxproj]
            gtest_main.lib(gtest_main.cc.obj) : error LNK2038: mismatch 
detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in adbc_version_100_co
          mpatibility_test.obj 
[C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-version-100-compatibility-test.vcxproj]
            
C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\Debug\adbc-version-100-compatibility-test.exe
 : fatal error LNK1319: 4 mismatches detected [C:\Users\Bryce\
          
AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-version-100-compatibility-test.vcxproj]
   
   
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\install.vcxproj" 
(default target) (1) ->
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\ALL_BUILD.vcxproj" 
(default target) (3) ->
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-driver-manager-test.vcxproj"
 (default target) (8) ->
            gtest.lib(gtest-all.cc.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in 
adbc_driver_manager_test.obj [C:\Users\Bryce\AppD
          
ata\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-driver-manager-test.vcxproj]
            gtest.lib(gtest-all.cc.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in adbc_driver_manager_test.
          obj 
[C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-driver-manager-test.vcxproj]
            gmock.lib(gmock-all.cc.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in 
adbc_driver_manager_test.obj [C:\Users\Bryce\AppD
          
ata\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-driver-manager-test.vcxproj]
            gmock.lib(gmock-all.cc.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in adbc_driver_manager_test.
          obj 
[C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-driver-manager-test.vcxproj]
            gtest_main.lib(gtest_main.cc.obj) : error LNK2038: mismatch 
detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in 
adbc_driver_manager_test.obj [C:\Users\Bryc
          
e\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-driver-manager-test.vcxproj]
            gtest_main.lib(gtest_main.cc.obj) : error LNK2038: mismatch 
detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in adbc_driver_manager
          _test.obj 
[C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-driver-manager-test.vcxproj]
            
C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver_manager\Debug\adbc-driver-manager-test.exe
 : fatal error LNK1319: 6 mismatches detected [C:\Users\Bryce\AppData\Loc
          
al\Temp\tmp2539.tmp\cpp-build\driver_manager\adbc-driver-manager-test.vcxproj]
   
   
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\install.vcxproj" 
(default target) (1) ->
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\ALL_BUILD.vcxproj" 
(default target) (3) ->
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\sqlite\adbc-driver-sqlite-test.vcxproj"
 (default target) (11) ->
            gtest.lib(gtest-all.cc.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in sqlite_test.obj 
[C:\Users\Bryce\AppData\Local\Tem
          p\tmp2539.tmp\cpp-build\driver\sqlite\adbc-driver-sqlite-test.vcxproj]
            gtest.lib(gtest-all.cc.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in sqlite_test.obj [C:\Users
          
\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\sqlite\adbc-driver-sqlite-test.vcxproj]
            gmock.lib(gmock-all.cc.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in sqlite_test.obj 
[C:\Users\Bryce\AppData\Local\Tem
          p\tmp2539.tmp\cpp-build\driver\sqlite\adbc-driver-sqlite-test.vcxproj]
            gmock.lib(gmock-all.cc.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in sqlite_test.obj [C:\Users
            gtest_main.lib(gtest_main.cc.obj) : error LNK2038: mismatch 
detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in 
sqlite_test.obj [C:\Users\Bryce\AppData\Loc
          
al\Temp\tmp2539.tmp\cpp-build\driver\sqlite\adbc-driver-sqlite-test.vcxproj]
            gtest_main.lib(gtest_main.cc.obj) : error LNK2038: mismatch 
detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in sqlite_test.obj [C:
          
\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\sqlite\adbc-driver-sqlite-test.vcxproj]
            
C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\sqlite\Debug\adbc-driver-sqlite-test.exe
 : fatal error LNK1319: 6 mismatches detected [C:\Users\Bryce\AppData\Local
          
\Temp\tmp2539.tmp\cpp-build\driver\sqlite\adbc-driver-sqlite-test.vcxproj]
   
   
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\install.vcxproj" 
(default target) (1) ->
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\ALL_BUILD.vcxproj" 
(default target) (3) ->
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\common\adbc-driver-common-test.vcxproj"
 (default target) (9) ->
            gtest.lib(gtest-all.cc.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in utils_test.obj 
[C:\Users\Bryce\AppData\Local\Temp
          \tmp2539.tmp\cpp-build\driver\common\adbc-driver-common-test.vcxproj]
            gtest.lib(gtest-all.cc.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in utils_test.obj [C:\Users\
          
Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\common\adbc-driver-common-test.vcxproj]
            gtest_main.lib(gtest_main.cc.obj) : error LNK2038: mismatch 
detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in 
utils_test.obj [C:\Users\Bryce\AppData\Loca
          
l\Temp\tmp2539.tmp\cpp-build\driver\common\adbc-driver-common-test.vcxproj]
            gtest_main.lib(gtest_main.cc.obj) : error LNK2038: mismatch 
detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in utils_test.obj [C:\
          
Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\common\adbc-driver-common-test.vcxproj]
            
C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\common\Debug\adbc-driver-common-test.exe
 : fatal error LNK1319: 4 mismatches detected [C:\Users\Bryce\AppData\Local
          
\Temp\tmp2539.tmp\cpp-build\driver\common\adbc-driver-common-test.vcxproj]
   
   
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\install.vcxproj" 
(default target) (1) ->
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\ALL_BUILD.vcxproj" 
(default target) (3) ->
          
"C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\postgresql\adbc-driver-postgresql-test.vcxproj"
 (default target) (10) ->
            gtest.lib(gtest-all.cc.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in 
postgres_type_test.obj [C:\Users\Bryce\AppData\Lo
          
cal\Temp\tmp2539.tmp\cpp-build\driver\postgresql\adbc-driver-postgresql-test.vcxproj]
            gtest.lib(gtest-all.cc.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in postgres_type_test.obj [C
          
:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\postgresql\adbc-driver-postgresql-test.vcxproj]
            gmock.lib(gmock-all.cc.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in 
postgres_type_test.obj [C:\Users\Bryce\AppData\Lo
          
cal\Temp\tmp2539.tmp\cpp-build\driver\postgresql\adbc-driver-postgresql-test.vcxproj]
            gmock.lib(gmock-all.cc.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in postgres_type_test.obj [C
          
:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\postgresql\adbc-driver-postgresql-test.vcxproj]
            gtest_main.lib(gtest_main.cc.obj) : error LNK2038: mismatch 
detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in 
postgres_type_test.obj [C:\Users\Bryce\AppD
          
ata\Local\Temp\tmp2539.tmp\cpp-build\driver\postgresql\adbc-driver-postgresql-test.vcxproj]
            gtest_main.lib(gtest_main.cc.obj) : error LNK2038: mismatch 
detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MDd_DynamicDebug' in postgres_type_test.
          obj 
[C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\postgresql\adbc-driver-postgresql-test.vcxproj]
            
C:\Users\Bryce\AppData\Local\Temp\tmp2539.tmp\cpp-build\driver\postgresql\Debug\adbc-driver-postgresql-test.exe
 : fatal error LNK1319: 6 mismatches detected [C:\Users\Bryce\AppDa
   
       3855 Warning(s)
       31 Error(s)
   
   Time Elapsed 00:00:41.25
   ```
   </details>
   
   The errors make it look like there's a mismatch of release and debug build 
types being used but the release script seems to be setting everything to 
release mode as far as I can tell. When I open the VS solution and build in 
Debug mode, I get the same errors as above but when I change the build type to 
Release I can build successfully.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to