Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCC build fails from last two commits #1032

Closed
krangm opened this issue May 30, 2024 · 0 comments
Closed

GCC build fails from last two commits #1032

krangm opened this issue May 30, 2024 · 0 comments

Comments

@krangm
Copy link

krangm commented May 30, 2024

I use daily ReHLDS builds from my own GitHub CI workflow. I have noticed build from master branch now fails for 4 days.
Build is going in ubuntu-latest container.

#10 34.04 + git clone https://github.com/dreamstalker/rehlds.git
#10 34.04 Cloning into 'rehlds'...
#10 34.81 + cd rehlds
#10 34.81 + bash -c ./build.sh --compiler=gcc
#10 34.88 -- The CXX compiler identification is GNU 12.2.0
#10 34.89 -- Detecting CXX compiler ABI info
#10 34.98 -- Detecting CXX compiler ABI info - done
#10 34.99 -- Check for working CXX compiler: /usr/bin/g++ - skipped
#10 34.99 -- Detecting CXX compile features
#10 34.99 -- Detecting CXX compile features - done
#10 35.03 -- The C compiler identification is GNU 12.2.0
#10 35.03 -- Detecting C compiler ABI info
#10 35.11 -- Detecting C compiler ABI info - done
#10 35.12 -- Check for working C compiler: /usr/bin/gcc - skipped
#10 35.12 -- Detecting C compile features
#10 35.12 -- Detecting C compile features - done
#10 35.12 -- Configuring done
#10 35.16 -- Generating done
#10 35.17 -- Build files have been written to: /build/rehlds/build
#10 35.21 [  0%] Building C object rehlds/bzip2/CMakeFiles/bzip2.dir/src/blocksort.c.o
#10 35.41 [  1%] Building C object rehlds/bzip2/CMakeFiles/bzip2.dir/src/bzlib.c.o
#10 35.64 [  1%] Building C object rehlds/bzip2/CMakeFiles/bzip2.dir/src/compress.c.o
#10 36.14 [  2%] Building C object rehlds/bzip2/CMakeFiles/bzip2.dir/src/crctable.c.o
#10 36.17 [  2%] Building C object rehlds/bzip2/CMakeFiles/bzip2.dir/src/decompress.c.o
#10 36.39 [  3%] Building C object rehlds/bzip2/CMakeFiles/bzip2.dir/src/huffman.c.o
#10 36.46 [  3%] Building C object rehlds/bzip2/CMakeFiles/bzip2.dir/src/precompiled.c.o
#10 36.49 [  4%] Building C object rehlds/bzip2/CMakeFiles/bzip2.dir/src/randtable.c.o
#10 36.52 [  4%] Linking C static library libbzip2.a
#10 36.56 [  4%] Built target bzip2
#10 36.63 Updating appversion.h, new version is "3.14.0.832-dev", the old one was
#10 36.64 [  4%] Built target appversion
#10 36.67 [  5%] Building CXX object rehlds/CMakeFiles/engine.dir/engine/sv_main.cpp.o
#10 37.78 In file included from /build/rehlds/rehlds/rehlds/precompiled.h:52,
#10 37.78                  from /build/rehlds/rehlds/engine/sv_main.cpp:29:
#10 37.78 /build/rehlds/rehlds/rehlds/rehlds_messagemngr_impl.h:284:46: error: width of bit-field 'm_modifiedDataBits' has non-integral type 'IMessage::DataType'
#10 37.78   284 |         uint8 m_modifiedDataBits : DataType::Max;
#10 37.78       |                                              ^~~
#10 37.96 make[2]: *** [rehlds/CMakeFiles/engine.dir/build.make:76: rehlds/CMakeFiles/engine.dir/engine/sv_main.cpp.o] Error 1
#10 37.96 make[1]: *** [CMakeFiles/Makefile2:299: rehlds/CMakeFiles/engine.dir/all] Error 2
#10 37.96 make: *** [Makefile:91: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant