[Bug 193481] New: open-vm-tools does not compile on some systems because of undefined DIRSEPS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 9 10:47:01 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193481
Bug ID: 193481
Summary: open-vm-tools does not compile on some systems because
of undefined DIRSEPS
Product: Ports Tree
Version: Latest
Hardware: amd64
OS: Any
Status: Needs Triage
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: tps at vr-web.de
Install open-vm-tools-nox11 fails with compile errors at function
Util_SafeStrdup(), because of undefined identifiers: DIRSEPS.
This was fixed some time ago, now it is there again (regression?).
it doesn't matter if it is a new install or an upgrade to an existing system:
# pkg info -d emulators/open-vm-tools-nox11
open-vm-tools-nox11-1280544_7,1:
libdnet-1.12
pcre-8.35
libnotify-0.7.5_1
icu-53.1
glib-2.36.3_4
# pkg delete -f open-vm-tools-nox11 libdnet pcre libnotify icu glib
# portinstall open-vm-tools-nox11
[...]
--- libvmtools_la-signalSource.lo ---
libtool: compile: cc -DPACKAGE_NAME=\"open-vm-tools\"
-DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"9.4.0\"
"-DPACKAGE_STRING=\"open-vm-tools 9.4.0\""
-DPACKAGE_BUGREPORT=\"open-vm-tools-devel at lists.sourceforge.net\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"open-vm-tools\" -DVERSION=\"9.4.0\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DX_DISPLAY_MISSING=1 -DHAVE_DLOPEN=1 -DNO_PROCPS=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1
-DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -DNO_XSM=1
-DNO_XCOMPOSITE=1 -DNO_MULTIMON=1 -I. -DVMTOOLS_USE_GLIB -DNO_LOG_STUB
-DVMTOOLS_DATA_DIR=\"/usr/local/share/open-vm-tools\"
-I/usr/local/include/glib-2.0 -I/usr/local/include
-I/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-9.4.0-1280544/lib/include
-I/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-9.4.0-1280544/lib/include
-Wno-deprecated-declarations -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS
-I/usr/local/include -I/usr/local/include -DUSE_ICU -DHAVE_ICU_38 -DVMX86_TOOLS
-O2 -pipe -fno-strict-aliasing -Wall -Werror -Wno-unused-function
-Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas
-Wno-uninitialized -MT libvmtools_la-signalSource.lo -MD -MP -MF
.deps/libvmtools_la-signalSource.Tpo -c signalSource.c -o
libvmtools_la-signalSource.o >/dev/null 2>&1
--- libvmtools_la-i18n.lo ---
i18n.c:634:15: error: implicit declaration of function 'Unicode_IsBufferValid'
is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (!Unicode_IsBufferValid(name, strlen(name) + 1,
STRING_ENCODING_UTF8) ||
^
i18n.c:740:17: error: implicit declaration of function 'Util_SafeStrdup' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
dfltdir = Util_SafeStrdup(VMTOOLS_DATA_DIR);
^
i18n.c:740:15: error: incompatible integer to pointer conversion assigning to
'char *' from 'int' [-Werror,-Wint-conversion]
dfltdir = Util_SafeStrdup(VMTOOLS_DATA_DIR);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i18n.c:748:35: error: use of undeclared identifier 'DIRSEPS'
catdir, DIRSEPS, DIRSEPS, lang, DIRSEPS, domain);
^
i18n.c:758:21: error: incompatible integer to pointer conversion assigning to
'gchar *' (aka 'char *') from 'int' [-Werror,-Wint-conversion]
usrlang = Util_SafeStrdup(lang);
^ ~~~~~~~~~~~~~~~~~~~~~
i18n.c:763:41: error: use of undeclared identifier 'DIRSEPS'
catdir, DIRSEPS, DIRSEPS, usrlang, DIRSEPS,
domain);
^
6 errors generated.
*** [libvmtools_la-i18n.lo] Error code 1
make[2]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-9.4.0-1280544/libvmtools
--- libvmtools_la-monotonicTimer.lo ---
mv -f .deps/libvmtools_la-monotonicTimer.Tpo
.deps/libvmtools_la-monotonicTimer.Plo
--- libvmtools_la-vmtools.lo ---
mv -f .deps/libvmtools_la-vmtools.Tpo .deps/libvmtools_la-vmtools.Plo
--- libvmtools_la-signalSource.lo ---
mv -f .deps/libvmtools_la-signalSource.Tpo .deps/libvmtools_la-signalSource.Plo
1 error
make[2]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-9.4.0-1280544/libvmtools
*** [all-recursive] Error code 1
make[1]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-9.4.0-1280544
1 error
make[1]: stopped in
/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-9.4.0-1280544
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/emulators/open-vm-tools-nox11
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall20140909-97059-1yreipz env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! emulators/open-vm-tools-nox11 (unknown build error)
# pkg info open-vm-tools-nox11 libdnet pcre libnotify icu glib
pkg: No package(s) matching open-vm-tools-nox11
libdnet-1.12
pcre-8.35
libnotify-0.7.5_1
icu-53.1
glib-2.36.3_4
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list