You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "WZhuo (via GitHub)" <gi...@apache.org> on 2025/12/01 09:23:28 UTC

[I] [CI] pending_upate_test.cc build failed in meson windows2025 [iceberg-cpp]

WZhuo opened a new issue, #378:
URL: https://github.com/apache/iceberg-cpp/issues/378

   add pending_update_test.cc to meson build
   
   ```
   diff --git a/src/iceberg/test/meson.build b/src/iceberg/test/meson.build
   index c3a401b..79dc497 100644
   --- a/src/iceberg/test/meson.build
   +++ b/src/iceberg/test/meson.build
   @@ -47,6 +47,7 @@ iceberg_tests = {
        'table_test': {
            'sources': files(
                'json_internal_test.cc',
   +            'pending_update_test.cc',
                'schema_json_test.cc',
                'table_metadata_builder_test.cc',
                'table_requirement_test.cc',
   ```
   
   The following errors in the build result, [ci link](https://github.com/apache/iceberg-cpp/actions/runs/19815557957/job/56765954268) 
   
   ```
   [449/458] Linking target src/iceberg/test/table_test.exe
   FAILED: [code=1120] src/iceberg/test/table_test.exe src/iceberg/test/table_test.pdb 
   "link"  /MACHINE:x64 /OUT:src/iceberg/test/table_test.exe src/iceberg/test/table_test.exe.p/json_internal_test.cc.obj src/iceberg/test/table_test.exe.p/pending_update_test.cc.obj src/iceberg/test/table_test.exe.p/properties_update_test.cc.obj src/iceberg/test/table_test.exe.p/schema_json_test.cc.obj src/iceberg/test/table_test.exe.p/table_metadata_builder_test.cc.obj src/iceberg/test/table_test.exe.p/table_requirement_test.cc.obj src/iceberg/test/table_test.exe.p/table_test.cc.obj src/iceberg/test/table_test.exe.p/table_update_test.cc.obj src/iceberg/test/table_test.exe.p/test_common.cc.obj "/release" "/nologo" "/DEBUG" "/PDB:src\iceberg\test\table_test.pdb" "src\iceberg\iceberg.lib" "subprojects\CRoaring-4.3.11\libcroaring.a" "subprojects\apache-arrow-nanoarrow-0.7.0\nanoarrow.lib" "subprojects\spdlog-1.15.3\src\spdlog.lib" "subprojects\zlib-1.3.1\z.lib" "subprojects\googletest-1.17.0\googlemock\libgmock_main.a" "/SUBSYSTEM:CONSOLE" "kernel32.lib" "user32.lib" "gdi32.lib" "winspo
 ol.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "comdlg32.lib" "advapi32.lib"
   pending_update_test.cc.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl iceberg::PendingUpdateTyped<class iceberg::MockSnapshot>::~PendingUpdateTyped<class iceberg::MockSnapshot>(void)" (__imp_??1?$PendingUpdateTyped@VMockSnapshot@iceberg@@@iceberg@@UEAA@XZ) referenced in function "public: virtual __cdecl iceberg::MockPendingUpdate::~MockPendingUpdate(void)" (??1MockPendingUpdate@iceberg@@UEAA@XZ)
   pending_update_test.cc.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: __cdecl iceberg::PendingUpdateTyped<class iceberg::MockSnapshot>::PendingUpdateTyped<class iceberg::MockSnapshot>(void)" (__imp_??0?$PendingUpdateTyped@VMockSnapshot@iceberg@@@iceberg@@IEAA@XZ) referenced in function "public: __cdecl iceberg::MockPendingUpdate::MockPendingUpdate(void)" (??0MockPendingUpdate@iceberg@@QEAA@XZ)
   src\iceberg\test\table_test.exe : fatal error LNK1120: 2 unresolved externals
   ```


-- 
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: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] [CI] pending_upate_test.cc build failed in meson windows2025 [iceberg-cpp]

Posted by "wgtmac (via GitHub)" <gi...@apache.org>.
wgtmac closed issue #378: [CI] pending_upate_test.cc build failed in meson windows2025
URL: https://github.com/apache/iceberg-cpp/issues/378


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org