Bug #268
closed(gcc, Ubuntu, vcpkg): Gwenhywfar: tools/gwenbuild/types/context.c: undefined reference errors
Description
While working on getting vcpkg building under MSVC with VCPKG (https://github.com/microsoft/vcpkg/pull/26363), I updated the existing port file (https://github.com/microsoft/vcpkg/tree/master/ports/libgwenhywfar) to use the recent release (5.10.1) and found that it now fails to build gwenbuild tool under Linux, too:
Reporting this a placeholder for either when I have time to fix this, or hopefully for someone from the project more familiar with the codebase and its intricacies to look into.
Note that you can reproduce locally by checking out the PR in speech and building with:
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg install libgwenhywfar
The errors reported are as following:
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:24: undefined reference to `GWEN_Tree2_Unlink'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_Tree2_Replace':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:24: undefined reference to `GWEN_Tree2_Replace'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_Tree2_GetNext':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:24: undefined reference to `GWEN_Tree2Element_GetNext'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_Tree2_GetPrevious':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:24: undefined reference to `GWEN_Tree2Element_GetPrevious'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_Tree2_GetBelow':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:24: undefined reference to `GWEN_Tree2Element_GetBelow'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_Tree2_AddChild':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:24: undefined reference to `GWEN_Tree2_AddChild'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_Tree2_InsertChild':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:24: undefined reference to `GWEN_Tree2_InsertChild'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_Tree2_ClearChildren':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:24: undefined reference to `GWEN_Tree2Element_GetFirstChild'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_Tree2_GetFirstChild':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:24: undefined reference to `GWEN_Tree2Element_GetFirstChild'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_Tree2_GetLastChild':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:24: undefined reference to `GWEN_Tree2Element_GetLastChild'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_Tree2_GetParent':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:24: undefined reference to `GWEN_Tree2Element_GetParent'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_new':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:39: undefined reference to `GWEN_Tree2Element_new'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_dup':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:54: undefined reference to `GWEN_Tree2Element_new'
/usr/bin/ld: types/.libs/libgwb_types.a(context.o): in function `GWB_Context_free':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/types/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/types/context.c:96: undefined reference to `GWEN_Tree2Element_free'
/usr/bin/ld: parser/.libs/libgwb_parser.a(p_dependencies.o): in function `_checkVersion':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/parser/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/parser/p_dependencies.c:240: undefined reference to `GWEN_Process_RunCommandWaitAndGather'
/usr/bin/ld: parser/.libs/libgwb_parser.a(p_dependencies.o): in function `_callPkgConfig':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/parser/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/parser/p_dependencies.c:341: undefined reference to `GWEN_Process_RunCommandWaitAndGather'
/usr/bin/ld: tools/.libs/libgwb_tools.a(trycompile.o): in function `GWB_Tools_TryCompile':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/tools/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/tools/trycompile.c:68: undefined reference to `GWEN_Process_RunCommandWaitAndGather'
/usr/bin/ld: tools/.libs/libgwb_tools.a(trycompile.o): in function `GWB_Tools_CheckCompilerArgs':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/tools/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/tools/trycompile.c:118: undefined reference to `GWEN_Process_RunCommandWaitAndGather'
/usr/bin/ld: tools/.libs/libgwb_tools.a(trylink.o): in function `GWB_Tools_TryLink':
/mnt/vcpkg-ci/buildtrees/libgwenhywfar/x64-linux-dbg/tools/gwenbuild/tools/../../.././../src/5.10.1-7d6acfc4a7.clean/tools/gwenbuild/tools/trylink.c:71: undefined reference to `GWEN_Process_RunCommandWaitAndGather'
Updated by wrobelda over 3 years ago
- Subject changed from (gcc, Ubuntu, vcpkg): tools/gwenbuild/types/context.c: undefined reference errors to (gcc, Ubuntu, vcpkg): Gwenhywfar: tools/gwenbuild/types/context.c: undefined reference errors
Updated by wrobelda over 3 years ago
FYI, the complete logs for the failed build can be downloaded from here:
https://dev.azure.com/vcpkg/public/_build/results?buildId=76620&view=artifacts&pathAsName=false&type=publishedArtifacts
Click the three dots to the right on the "failure logs for x64-linux" position to download the artifacts archive.
Updated by martin about 1 month ago
- Status changed from New to Closed
No feedback for a long time, closing. Please reopen if still relevant.