pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/51164 (open-vm-tools wont compile on NetBSD 6.x: compiler cannot create executables)



The following reply was made to PR pkg/51164; it has been noted by GNATS.

From: Leonardo Taccari <leot%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/51164 (open-vm-tools wont compile on NetBSD 6.x: compiler cannot create executables)
Date: Sun, 29 May 2016 23:08:24 +0200

 Thomas Schweikle writes:
 >  The fix works for netbsd-6 and nstbsd-7. It does not work (if applied)
 >  for nerbsd-head.
 >  in tune it turned out open-vm-tools are outdated in pkgsrc checked out
 >  for nstbsd-6.
 JFTR on NetBSD 7.99.29 and pkgsrc-current it probably fails due
 (please add more information if that's different for you):
 
 [...]
 -DVMX86_TOOLS -DNO_CORE_ICU -I/tmp/pkgsrc/sysutils/open-vm-tools/work/open=
 -vm-tools-2008.08.08-109361/lib/include  -O2 -pipe -O2 -march=3D
 core-avx2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X1=
 1R7/include/freetype2 -I/usr/X11R7/include/libdrm -Wall -Werro
 r -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pr=
 agmas -Wno-uninitialized -MT runDeployPkgPosix.o -MD -MP -MF .
 deps/runDeployPkgPosix.Tpo -c -o runDeployPkgPosix.o runDeployPkgPosix.c
 --- deployPkgLog.o ---
 In file included from /tmp/pkgsrc/sysutils/open-vm-tools/work/open-vm-tool=
 s-2008.08.08-109361/lib/include/util.h:52:0,
                  from deployPkgLog.c:25:
 /tmp/pkgsrc/sysutils/open-vm-tools/work/open-vm-tools-2008.08.08-109361/li=
 b/include/util.h: In function 'Util_BufferIsEmpty':
 /tmp/pkgsrc/sysutils/open-vm-tools/work/open-vm-tools-2008.08.08-109361/li=
 b/include/vm_assert.h:258:20: warning: typedef 'AssertOnCompil
 eFailed' locally defined but not used [-Wunused-local-typedefs]
        typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                     ^
 /tmp/pkgsrc/sysutils/open-vm-tools/work/open-vm-tools-2008.08.08-109361/li=
 b/include/util.h:181:4: note: in expansion of macro 'ASSERT_ON
 _COMPILE'
     ASSERT_ON_COMPILE(sizeof(uint32) =3D=3D 4);
     ^
 In file included from /tmp/pkgsrc/sysutils/open-vm-tools/work/open-vm-tool=
 s-2008.08.08-109361/lib/include/fileIO.h:54:0,
                  from /tmp/pkgsrc/sysutils/open-vm-tools/work/open-vm-tool=
 s-2008.08.08-109361/lib/include/file.h:37,
                  from deployPkgLog.c:26:
 deployPkgLog.c: At top level:
 /tmp/pkgsrc/sysutils/open-vm-tools/work/open-vm-tools-2008.08.08-109361/li=
 b/include/iovector.h:79:20: error: inline function 'IOV_MakeSi
 ngleIOV' declared but never defined [-Werror]
  EXTERN INLINE void IOV_MakeSingleIOV(VMIOVec* v,
                     ^
 cc1: all warnings being treated as errors
 *** [deployPkgLog.o] Error code 1
 [...]
 
 
 Ciao,
 L.
 


Home | Main Index | Thread Index | Old Index