Skip to content

Instantly share code, notes, and snippets.

@dtzWill
Created July 17, 2018 03:29
Show Gist options
  • Save dtzWill/eb4bd6cb8738017b9ff8cf3e3fcaaa48 to your computer and use it in GitHub Desktop.
Save dtzWill/eb4bd6cb8738017b9ff8cf3e3fcaaa48 to your computer and use it in GitHub Desktop.
unpacking sources
unpacking source archive /nix/store/yljwp7n5zqg5wj4j6ih8867s54fdvhqj-virglrenderer-0.6.0.tar.bz2
source root is virglrenderer-0.6.0
setting SOURCE_DATE_EPOCH to timestamp 1486700046 of file virglrenderer-0.6.0/config.h.in
patching sources
configuring
fixing libtool script ./build-aux/ltmain.sh
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/d72bfnj1bjnxd07vq42k31b44qpsk1vw-virglrenderer-0.6.0
checking for a BSD-compatible install... /nix/store/88d74ncsaaw7kynxkl0yybkbz43j2qf7-coreutils-8.29/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/88d74ncsaaw7kynxkl0yybkbz43j2qf7-coreutils-8.29/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /nix/store/5ygag15fvfqa6s7akv5w77cgd423bmi2-gnugrep-3.1/bin/grep
checking for egrep... /nix/store/5ygag15fvfqa6s7akv5w77cgd423bmi2-gnugrep-3.1/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc option to accept ISO C99... none needed
checking whether make supports nested variables... (cached) yes
checking the archiver (ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/8kqcp0pb5wwq8smn34bnwyd28mb6zxna-gnused-4.5/bin/sed
checking for fgrep... /nix/store/5ygag15fvfqa6s7akv5w77cgd423bmi2-gnugrep-3.1/bin/grep -F
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from gcc object... ok
checking for sysroot... no
checking for a working dd... /nix/store/88d74ncsaaw7kynxkl0yybkbz43j2qf7-coreutils-8.29/bin/dd
checking how to truncate binary pipes... /nix/store/88d74ncsaaw7kynxkl0yybkbz43j2qf7-coreutils-8.29/bin/dd bs=4096 count=1
./configure: line 7269: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for python2... no
checking for python... no
checking whether to build with code coverage support... no
checking for native Win32... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for pkg-config... /nix/store/wnnjngpjxa2f9kqj8c2arvv4kr77ywa2-pkg-config-0.29.2/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CHECK... no
checking for eventfd... yes
checking for sys/uio.h... yes
checking for epoxy/egl.h... yes
checking for LIBDRM... yes
checking for GBM... yes
checking for EPOXY... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating virglrenderer.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/gallium/auxiliary/Makefile
config.status: creating vtest/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:
virgl 0.6.0
==============
prefix: /nix/store/d72bfnj1bjnxd07vq42k31b44qpsk1vw-virglrenderer-0.6.0
c compiler: gcc
win32: no
glx:
debug: no
tests: no
building
build flags: SHELL=/nix/store/8i8hqj3hg3axirbp7f990s1x50mnmq73-bash-4.4-p23/bin/bash
make all-recursive
make[1]: Entering directory '/build/virglrenderer-0.6.0'
Making all in src
make[2]: Entering directory '/build/virglrenderer-0.6.0/src'
Making all in gallium/auxiliary
make[3]: Entering directory '/build/virglrenderer-0.6.0/src/gallium/auxiliary'
CC cso_cache/cso_cache.lo
CC cso_cache/cso_hash.lo
CC os/os_misc.lo
CC tgsi/tgsi_build.lo
CC tgsi/tgsi_dump.lo
CC tgsi/tgsi_info.lo
CC tgsi/tgsi_iterate.lo
CC tgsi/tgsi_parse.lo
CC tgsi/tgsi_sanity.lo
CC tgsi/tgsi_scan.lo
CC tgsi/tgsi_strings.lo
CC tgsi/tgsi_text.lo
CC tgsi/tgsi_transform.lo
CC tgsi/tgsi_ureg.lo
CC tgsi/tgsi_util.lo
CC util/u_debug.lo
CC util/u_debug_describe.lo
CC util/u_format.lo
CC util/u_format_table.lo
CC util/u_hash_table.lo
CC util/u_texture.lo
CC util/u_bitmask.lo
CC util/u_cpu_detect.lo
CC util/u_surface.lo
CC util/u_math.lo
CCLD libgallium.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/build/virglrenderer-0.6.0/src/gallium/auxiliary'
make[3]: Entering directory '/build/virglrenderer-0.6.0/src'
CC virglrenderer.lo
CC vrend_renderer.lo
CC vrend_shader.lo
vrend_shader.c: In function 'emit_so_movs':
vrend_shader.c:874:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=]
fprintf(stderr, "Num outputs exceeded, max is %lu\n", PIPE_MAX_SO_OUTPUTS);
~~^
%u
vrend_shader.c: In function 'emit_ios':
vrend_shader.c:2184:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=]
fprintf(stderr, "Num outputs exceeded, max is %lu\n", PIPE_MAX_SO_OUTPUTS);
~~^
%u
vrend_shader.c: In function 'emit_so_movs':
vrend_shader.c:907:35: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=]
snprintf(ntemp, 8, "tfout%d", i);
^~
vrend_shader.c:907:29: note: directive argument in the range [0, 2147483647]
snprintf(ntemp, 8, "tfout%d", i);
^~~~~~~~~
In file included from /nix/store/kz18qwvl2qb4l6i1rjlr4dh7rbg8zr1a-glibc-2.27-dev/include/stdio.h:862:0,
from vrend_shader.c:30:
/nix/store/kz18qwvl2qb4l6i1rjlr4dh7rbg8zr1a-glibc-2.27-dev/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 16 bytes into a destination of size 8
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vrend_shader.c: In function 'iter_instruction':
vrend_shader.c:1486:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
sprintf(arrayname, "[%d]", src->Dimension.Index);
^
In file included from /nix/store/kz18qwvl2qb4l6i1rjlr4dh7rbg8zr1a-glibc-2.27-dev/include/stdio.h:862:0,
from vrend_shader.c:30:
/nix/store/kz18qwvl2qb4l6i1rjlr4dh7rbg8zr1a-glibc-2.27-dev/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 9 bytes into a destination of size 8
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC vrend_object.lo
CC vrend_decode.lo
CC vrend_formats.lo
CC vrend_blitter.lo
CC iov.lo
CC virgl_egl_context.lo
CCLD libvrend.la
ar: `u' modifier ignored since `D' is the default (see `U')
CCLD libvirglrenderer.la
make[3]: Leaving directory '/build/virglrenderer-0.6.0/src'
make[2]: Leaving directory '/build/virglrenderer-0.6.0/src'
Making all in tests
make[2]: Entering directory '/build/virglrenderer-0.6.0/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/virglrenderer-0.6.0/tests'
Making all in vtest
make[2]: Entering directory '/build/virglrenderer-0.6.0/vtest'
CC util.o
CC vtest_server.o
CC vtest_renderer.o
CCLD virgl_test_server
/nix/store/fzsyclvxz1p2ia83caniy93v8cwarg0j-binutils-2.30/bin/ld: warning: libdrm.so.2, needed by ../src/.libs/libvirglrenderer.so, not found (try using -rpath or -rpath-link)
../src/.libs/libvirglrenderer.so: undefined reference to `drmPrimeHandleToFD'
/nix/store/lnyh4yjsh3haqz78wcva42xbvfh10y00-mesa-noglu-18.1.2/lib/libgbm.so: undefined reference to `drmIoctl'
/nix/store/lnyh4yjsh3haqz78wcva42xbvfh10y00-mesa-noglu-18.1.2/lib/libgbm.so: undefined reference to `drmFreeVersion'
/nix/store/lnyh4yjsh3haqz78wcva42xbvfh10y00-mesa-noglu-18.1.2/lib/libgbm.so: undefined reference to `drmFreeDevice'
/nix/store/lnyh4yjsh3haqz78wcva42xbvfh10y00-mesa-noglu-18.1.2/lib/libgbm.so: undefined reference to `drmGetDevices2'
/nix/store/lnyh4yjsh3haqz78wcva42xbvfh10y00-mesa-noglu-18.1.2/lib/libgbm.so: undefined reference to `drmFreeDevices'
/nix/store/lnyh4yjsh3haqz78wcva42xbvfh10y00-mesa-noglu-18.1.2/lib/libgbm.so: undefined reference to `drmGetDeviceNameFromFd2'
/nix/store/lnyh4yjsh3haqz78wcva42xbvfh10y00-mesa-noglu-18.1.2/lib/libgbm.so: undefined reference to `drmCommandWriteRead'
/nix/store/lnyh4yjsh3haqz78wcva42xbvfh10y00-mesa-noglu-18.1.2/lib/libgbm.so: undefined reference to `drmGetDevice2'
/nix/store/lnyh4yjsh3haqz78wcva42xbvfh10y00-mesa-noglu-18.1.2/lib/libgbm.so: undefined reference to `drmGetVersion'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:432: virgl_test_server] Error 1
make[2]: Leaving directory '/build/virglrenderer-0.6.0/vtest'
make[1]: *** [Makefile:516: all-recursive] Error 1
make[1]: Leaving directory '/build/virglrenderer-0.6.0'
make: *** [Makefile:425: all] Error 2
builder for '/nix/store/dp39wh8ikszjw99qcfqr0b5vqrzw5ws7-virglrenderer-0.6.0.drv' failed with exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment