macaroni-os / macaroni-os/mark-issues

[core-server-kit] app-emulation/open-vm-tools-12.5.2 doesn't compile

Open
#716 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

MARK mark-unstable mark-xl
Dominant language
No language data
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/guestStoreClientLib.o  -Wl,--whole-archive ../lib/err/.libs/libErr.a ../lib/string/.libs/libString.a ../lib/unicode/.libs/libUnicode.a ../lib/misc/.libs/libMisc.a -Wl,--no-whole-archive  -Wl,--as-needed -licui18n -lpthread -ldl -lc  -mtune=generic -O2 -Wl,-z -Wl,defs -Wl,-O1 -Wl,--sort-common   -Wl,-soname -Wl,libguestStoreClient.so.0 -o .libs/libguestStoreClient.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/unicode/.libs/libUnicode.a(unicodeICU.o): in function `Unicode_CompareWithLocale':
unicodeICU.c:(.text+0x4d): undefined reference to `uiter_setUTF8'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unicodeICU.c:(.text+0x5d): undefined reference to `uiter_setUTF8'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/unicode/.libs/libUnicode.a(unicodeICU.o): in function `Unicode_Normalize':
unicodeICU.c:(.text+0x194): undefined reference to `uiter_setUTF8'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unicodeICU.c:(.text+0x1d1): undefined reference to `unorm_next'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unicodeICU.c:(.text+0x221): undefined reference to `unorm_next'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/unicode/.libs/libUnicode.a(unicodeICU.o): in function `Unicode_ToLower':
unicodeICU.c:(.text+0x301): undefined reference to `ucasemap_open'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unicodeICU.c:(.text+0x314): undefined reference to `ucasemap_close'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unicodeICU.c:(.text+0x363): undefined reference to `ucasemap_utf8ToLower'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unicodeICU.c:(.text+0x39b): undefined reference to `ucasemap_utf8ToLower'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/unicode/.libs/libUnicode.a(unicodeICU.o): in function `Unicode_ToUpper':
unicodeICU.c:(.text+0x411): undefined reference to `ucasemap_open'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unicodeICU.c:(.text+0x424): undefined reference to `ucasemap_close'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unicodeICU.c:(.text+0x473): undefined reference to `ucasemap_utf8ToUpper'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unicodeICU.c:(.text+0x4ab): undefined reference to `ucasemap_utf8ToUpper'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/unicode/.libs/libUnicode.a(unicodeICU.o): in function `Unicode_ToTitle':
unicodeICU.c:(.text+0x521): undefined reference to `ucasemap_open'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unicodeICU.c:(.text+0x534): undefined reference to `ucasemap_close'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unicodeICU.c:(.text+0x583): undefined reference to `ucasemap_utf8ToTitle'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: unicodeICU.c:(.text+0x5bb): undefined reference to `ucasemap_utf8ToTitle'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/misc/.libs/libMisc.a(codeset.o): in function `CodeSet_GenericToGenericDb':
codeset.c:(.text+0x15e): undefined reference to `ucnv_open'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x17b): undefined reference to `ucnv_open'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x23b): undefined reference to `UCNV_FROM_U_CALLBACK_STOP'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x242): undefined reference to `UCNV_TO_U_CALLBACK_STOP'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x263): undefined reference to `ucnv_setToUCallBack'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x273): undefined reference to `ucnv_close'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x27b): undefined reference to `ucnv_close'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x28b): undefined reference to `UCNV_FROM_U_CALLBACK_SKIP'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x292): undefined reference to `UCNV_TO_U_CALLBACK_SKIP'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x2a3): undefined reference to `UCNV_FROM_U_CALLBACK_SUBSTITUTE'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x2aa): undefined reference to `UCNV_TO_U_CALLBACK_SUBSTITUTE'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x2d5): undefined reference to `ucnv_setFromUCallBack'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x38c): undefined reference to `ucnv_convertEx'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x3dc): undefined reference to `ucnv_close'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0x403): undefined reference to `ucnv_close'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/misc/.libs/libMisc.a(codeset.o): in function `CodeSet_IsEncodingSupported':
codeset.c:(.text+0xabe): undefined reference to `ucnv_open'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0xae9): undefined reference to `ucnv_close'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/misc/.libs/libMisc.a(codeset.o): in function `CodeSet_Validate':
codeset.c:(.text+0xb67): undefined reference to `ucnv_open'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0xb7d): undefined reference to `UCNV_TO_U_CALLBACK_STOP'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0xb8f): undefined reference to `ucnv_setToUCallBack'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0xbb0): undefined reference to `ucnv_toUChars'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: codeset.c:(.text+0xbb8): undefined reference to `ucnv_close'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:552: libguestStoreClient.la] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-emulation/open-vm-tools-12.5.2/work/open-vm-tools-12.5.2/libguestStoreClient'
make: *** [Makefile:561: all-recursive] Error 1
 * ERROR: app-emulation/open-vm-tools-12.5.2::core-server-kit failed (compile phase):
 *   emake failed

It seems that the configure phase doesn't setup correctly the LDFLAGS about icu library

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the open-vm-tools-12.5.2 compile failure and inspect the configure-phase ICU flags and the link command for libguestStoreClient.la around Makefile:552. Done means the core-server-kit package completes its compile phase without the reported ICU undefined references.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.