pkgsrc-Users archive

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

Build fails for MesaLib on NeBSD 8_Stable



NetBSD 8 Stable, amd64
pkgsrc HEAD (fresh update as of ~Dec 28)

I was trying to build and install the php plugin graphics/php-imagick,
which pulls in MesaLib.

help appreciated!
--gene

MesaLib build fails with:

 [162/1947] Compiling C object
src/gallium/winsys/nouveau/drm/libnouveauwinsys.a.p/nouveau_drm_winsys.c.o
FAILED:
src/gallium/winsys/nouveau/drm/libnouveauwinsys.a.p/nouveau_drm_winsys.c.o
gcc -Isrc/gallium/winsys/nouveau/drm/libnouveauwinsys.a.p
-Isrc/gallium/winsys/nouveau/drm -I../src/gallium/winsys/nouveau/drm -Isrc
-I../src -Iinclude -I../include -I../src/gallium/include
-Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/gallium/drivers
-I../src/gallium/drivers -I/usr/pkg/include -I/usr/pkg/include/libdrm
-I/usr/pkg/include/libdrm/nouveau -I/usr/pkg/include/libelf
-I/usr/pkg/include/libLLVM -I/usr/include -I/usr/X11R7/include
-fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall
-Winvalid-pch -std=c99 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.0.6"'
'-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/issues";'
-DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0
-DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM
-DHAVE_SURFACELESS_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32
-DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL
-DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS
-DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT
-DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE
-DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN
-DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE
-DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT
-DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT
-DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL
-DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_FUNC_ATTRIBUTE_ALIAS
-DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_UINT128 -DUSE_SSE41
-DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DHAVE_SYS_SYSCTL_H
-DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H
-DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_FLOCK
-DHAVE_STRTOK_R -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L
-DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD
-DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE
'-DMESA_LLVM_VERSION_STRING="9.0.1"' -Werror=implicit-function-declaration
-Werror=missing-prototypes -Werror=return-type -Werror=empty-body
-Werror=incompatible-pointer-types -Werror=int-conversion
-Wno-missing-field-initializers -fno-math-errno -fno-trapping-math
-Werror=format -Wformat-security -O2 -D_FORTIFY_SOURCE=2
-Dalloca=__builtin_alloca -DHAVE_NOATEXIT -DSYSCONFDIR=/usr/pkg/etc -fPIC
-fvisibility=hidden -MD -MQ
src/gallium/winsys/nouveau/drm/libnouveauwinsys.a.p/nouveau_drm_winsys.c.o
-MF
src/gallium/winsys/nouveau/drm/libnouveauwinsys.a.p/nouveau_drm_winsys.c.o.d
-o
src/gallium/winsys/nouveau/drm/libnouveauwinsys.a.p/nouveau_drm_winsys.c.o
-c ../src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
../src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c: In function
'nouveau_drm_screen_unref':
../src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c:34:63: error:
dereferencing pointer to incomplete type 'struct nouveau_drm'
   util_hash_table_remove(fd_tab, intptr_to_pointer(screen->drm->fd));
                                                               ^
../src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c: In function
'nouveau_drm_screen_create':
../src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c:97:8: error:
implicit declaration of function 'nouveau_drm_new'
[-Werror=implicit-function-declaration]
  ret = nouveau_drm_new(dupfd, &drm);
        ^
../src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c:101:8: error:
implicit declaration of function 'nouveau_device_new'
[-Werror=implicit-function-declaration]
  ret = nouveau_device_new(&drm->client, NV_DEVICE,
        ^
../src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c:154:3: error:
implicit declaration of function 'nouveau_drm_del'
[-Werror=implicit-function-declaration]
   nouveau_drm_del(&drm);
   ^
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/graphics/MesaLib
*** Error code 1




Home | Main Index | Thread Index | Old Index