https://bugs.winehq.org/show_bug.cgi?id=50334
Bug ID: 50334 Summary: vkd3d from git fails to run bison libs/vkd3d-shader/preproc.tab.h Product: vkd3d Version: 1.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vkd3d Assignee: wine-bugs@winehq.org Reporter: mike@fireburn.co.uk Distribution: ---
[Thursday, 10 December 2020] [02:37:22 GMT] <FireBurn> The last 4 commits to vkd3d have created a build issue for me https://pastebin.com/FBTuDXbM [Thursday, 10 December 2020] [02:37:47 GMT] <FireBurn> It's probably f544cb38e5184c8218a36629f59c64568e55e6f5
/var/tmp/portage/app-emulation/vkd3d-9999/work/vkd3d-9999/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/vkd3d-9999 --htmldir=/usr/share/doc/vkd3d-9999/html --libdir=/usr/lib --without-spirv-tools --disable-doxygen-pdf configure: loading site script /usr/share/config.site checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32 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 x86_64-pc-linux-gnu-gcc -m32 accepts -g... yes checking for x86_64-pc-linux-gnu-gcc -m32 option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc -m32 understands -c and -o together... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -m32 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 i686-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar checking for i686-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc -m32 checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc -m32 accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc -m32 option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc -m32 understands -c and -o together... (cached) yes checking for a sed that does not truncate output... /bin/sed checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking for widl... widl checking checking whether widl version >= 3.20... yes (6.0-rc2) checking for flex... flex checking for bison... bison checking for i686-pc-linux-gnu-doxygen... no checking for doxygen... no configure: WARNING: doxygen not found - will not generate any doxygen documentation checking for i686-pc-linux-gnu-perl... no checking for perl... /usr/bin/perl checking for a BSD-compatible install... /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of x86_64-pc-linux-gnu-gcc -m32... none checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc -m32... x86_64-pc-linux-gnu-ld -m elf_i386 checking if the linker (x86_64-pc-linux-gnu-ld -m elf_i386) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... x86_64-pc-linux-gnu-nm checking the name lister (x86_64-pc-linux-gnu-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for x86_64-pc-linux-gnu-ld -m elf_i386 option to reload object files... -r checking for i686-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for i686-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse x86_64-pc-linux-gnu-nm output from x86_64-pc-linux-gnu-gcc -m32 object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i686-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc -m32 supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc -m32 option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc -m32 PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc -m32 static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc -m32 supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc -m32 supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc -m32 linker (x86_64-pc-linux-gnu-ld -m elf_i386) 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... yes checking if LD -Wl,--version-script works... yes checking whether the compiler supports -std=c99... yes checking whether the compiler supports -Wdeclaration-after-statement... yes checking whether the compiler supports -Wimplicit-fallthrough... yes checking whether the compiler supports -Wmissing-prototypes... yes checking whether the compiler supports -Wunused-but-set-parameter... yes checking whether the compiler supports -Wvla... yes checking whether the compiler supports -Wpointer-arith... yes checking whether the compiler supports -Wl,--no-undefined... yes checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc checking whether i686-w64-mingw32-gcc works... yes checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc checking whether x86_64-w64-mingw32-gcc works... yes checking for dlfcn.h... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking vulkan/vulkan.h usability... yes checking vulkan/vulkan.h presence... yes checking for vulkan/vulkan.h... yes checking vulkan/spirv.h usability... no checking vulkan/spirv.h presence... no checking for vulkan/spirv.h... no checking vulkan/GLSL.std.450.h usability... no checking vulkan/GLSL.std.450.h presence... no checking for vulkan/GLSL.std.450.h... no checking spirv/unified1/spirv.h usability... yes checking spirv/unified1/spirv.h presence... yes checking for spirv/unified1/spirv.h... yes checking spirv/unified1/GLSL.std.450.h usability... yes checking spirv/unified1/GLSL.std.450.h presence... yes checking for spirv/unified1/GLSL.std.450.h... yes checking whether VK_HEADER_VERSION >= 113... yes checking whether SpvCapabilityDemoteToHelperInvocationEXT is declared... yes checking whether program_invocation_name is declared... yes checking pkg-config is at least version 0.9.0... yes checking for ceilf in -lm... yes checking for dlopen in -ldl... yes checking for pthread_create in -lpthread... yes checking for ldd... /usr/bin/ldd checking for i686-pc-linux-gnu-otool... no checking for otool... no checking for i686-pc-linux-gnu-readelf... x86_64-pc-linux-gnu-readelf checking for -lvulkan... libvulkan.so.1 checking for ncurses... yes checking for xcb xcb-keysyms... yes checking for __builtin_clz... yes checking for __builtin_popcount... yes checking for __sync_add_and_fetch... yes checking for __sync_sub_and_fetch... yes checking for pthread_setname_np... yes checking how many arguments pthread_set_np() takes... two checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Doxyfile config.status: creating Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands
Configuration summary for vkd3d 1.2
widl: widl
Have ncurses: yes Have SPIRV-Tools: no Have xcb: yes
Building demos: no Building tests: yes Building documentation: no
Building crosstests: yes Using 32-bit cross compiler: i686-w64-mingw32-gcc Using 64-bit cross compiler: x86_64-w64-mingw32-gcc
make -j8 widl -h -o include/vkd3d_d3d12.h /var/tmp/portage/app-emulation/vkd3d-9999/work/vkd3d-9999/include/vkd3d_d3d12.idl widl -h -o include/vkd3d_d3d12sdklayers.h /var/tmp/portage/app-emulation/vkd3d-9999/work/vkd3d-9999/include/vkd3d_d3d12sdklayers.idl widl -h -o include/vkd3d_d3dcommon.h /var/tmp/portage/app-emulation/vkd3d-9999/work/vkd3d-9999/include/vkd3d_d3dcommon.idl widl -h -o include/vkd3d_dxgi.h /var/tmp/portage/app-emulation/vkd3d-9999/work/vkd3d-9999/include/vkd3d_dxgi.idl widl -h -o include/vkd3d_dxgi1_2.h /var/tmp/portage/app-emulation/vkd3d-9999/work/vkd3d-9999/include/vkd3d_dxgi1_2.idl widl -h -o include/vkd3d_dxgi1_3.h /var/tmp/portage/app-emulation/vkd3d-9999/work/vkd3d-9999/include/vkd3d_dxgi1_3.idl widl -h -o include/vkd3d_dxgi1_4.h /var/tmp/portage/app-emulation/vkd3d-9999/work/vkd3d-9999/include/vkd3d_dxgi1_4.idl widl -h -o include/vkd3d_dxgibase.h /var/tmp/portage/app-emulation/vkd3d-9999/work/vkd3d-9999/include/vkd3d_dxgibase.idl widl -h -o include/vkd3d_dxgiformat.h /var/tmp/portage/app-emulation/vkd3d-9999/work/vkd3d-9999/include/vkd3d_dxgiformat.idl widl -h -o include/vkd3d_dxgitype.h /var/tmp/portage/app-emulation/vkd3d-9999/work/vkd3d-9999/include/vkd3d_dxgitype.idl bison -d -o libs/vkd3d-shader/preproc.tab.c /var/tmp/portage/app-emulation/vkd3d-9999/work/vkd3d-9999/libs/vkd3d-shader/preproc.y bison: libs/vkd3d-shader/preproc.tab.h: cannot open: No such file or directory make: *** [Makefile:2197: libs/vkd3d-shader/preproc.tab.h] Error 1
https://bugs.winehq.org/show_bug.cgi?id=50334
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- Please attach long logs rather than pasting them in the future.
I'm guessing somehow libs/ or libs/vkd3d-shader/ doesn't exist, which is odd; I'd have expected make to take care of those?
https://bugs.winehq.org/show_bug.cgi?id=50334
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Summary|vkd3d from git fails to run |vkd3d fails to build when |bison |configured with |libs/vkd3d-shader/preproc.t |--disable-dependency-tracki |ab.h |ng Keywords| |regression Regression SHA1| |f544cb38e5184c8218a36629f59 | |c64568e55e6f5
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- Never mind, I can reproduce the problem now.
https://bugs.winehq.org/show_bug.cgi?id=50334
Mike Lothian mike@fireburn.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #3 from Mike Lothian mike@fireburn.co.uk --- commit 4bee8dd89bf8a2366b90ea9f76f2d176864e4463 Author: Zebediah Figura zfigura@codeweavers.com Date: Mon Dec 14 21:57:31 2020 -0600
build: Create object directories before running bison or flex.
Vkd3d-Bug: https://bugs.winehq.org/show_bug.cgi?id=50334 Signed-off-by: Zebediah Figura zfigura@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
Fixes it thanks
https://bugs.winehq.org/show_bug.cgi?id=50334
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4bee8dd89bf8a2366b90ea9f76f | |2d176864e4463
https://bugs.winehq.org/show_bug.cgi?id=50334
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed in 1.10.