Closed jcorporation closed 2 years ago
Log:
[ 88s] + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' [ 88s] + export CFLAGS [ 88s] + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' [ 88s] + export CXXFLAGS [ 88s] + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' [ 88s] + export FFLAGS [ 88s] + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' [ 88s] + export FCFLAGS [ 88s] + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/home/abuild/rpmbuild/BUILD/mympd-9.1.1/.package_note-mympd-9.1.1-1.1.x86_64.ld' [ 88s] + export LDFLAGS [ 88s] + LT_SYS_LIBRARY_PATH=/usr/lib64: [ 88s] + export LT_SYS_LIBRARY_PATH [ 88s] + CC=gcc [ 88s] + export CC [ 88s] + CXX=g++ [ 88s] + export CXX [ 88s] + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' [ 88s] + /usr/lib/rpm/generate-rpm-note.sh mympd 9.1.1-1.1 x86_64 [ 88s] + cd mympd-9.1.1 [ 88s] + ./build.sh createassets [ 88s] Creating assets in release [ 88s] Creating i18n json [ 88s] [1;33mWARN: jq not found - can not print translation statistics [ 88s] [mMinifying javascript [ 88s] Creating mympd.js [ 88s] Minifying htdocs/sw.js [ 88s] Minifying release/htdocs/js/mympd.js [ 88s] Combining and compressing javascript [ 88s] release/htdocs/js/combined.js: 78.1% -- replaced with release/htdocs/js/combined.js.gz [ 88s] release/htdocs/sw.min.js: 59.0% [ 88s] Minifying stylesheets [ 88s] Minifying htdocs/css/mympd.css [ 89s] Minifying htdocs/css/theme-light.css [ 89s] Combining and compressing stylesheets [ 89s] release/htdocs/css/combined.css: 84.8% -- replaced with release/htdocs/css/combined.css.gz [ 89s] Minifying and compressing html [ 89s] Minifying htdocs/index.html [ 89s] release/htdocs/index.html: 87.7% [ 89s] Creating other compressed assets [ 89s] htdocs/mympd.webmanifest: 61.2% [ 89s] htdocs/assets/coverimage-booklet.svg: 46.0% [ 89s] htdocs/assets/coverimage-loading.svg: 48.0% [ 89s] htdocs/assets/coverimage-mympd.svg: 51.5% [ 89s] htdocs/assets/coverimage-notavailable.svg: 47.9% [ 89s] htdocs/assets/coverimage-stream.svg: 47.0% [ 89s] htdocs/assets/mympd-background-dark.svg: 53.1% [ 89s] htdocs/assets/mympd-background-light.svg: 52.6% [ 89s] + cd release [ 89s] + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=RELEASE .. [ 89s] -- The C compiler identification is GNU 12.0.1 [ 89s] -- Detecting C compiler ABI info [ 89s] -- Detecting C compiler ABI info - done [ 89s] -- Check for working C compiler: /usr/bin/gcc - skipped [ 89s] -- Detecting C compile features [ 89s] -- Detecting C compile features - done [ 89s] Compiler: GNU 12.0.1 [ 89s] Executables in: /usr/bin [ 89s] Workdir: /var/lib/mympd [ 89s] Cachedir: /var/cache/mympd [ 89s] Embedding assets in binary [ 89s] Document root: /var/lib/mympd/empty [ 89s] -- Looking for pthread.h [ 89s] -- Looking for pthread.h - found [ 89s] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD [ 89s] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success [ 89s] -- Found Threads: TRUE [ 89s] -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") [ 89s] -- Found PCRE2: /usr/lib64/libpcre2-8.so [ 89s] Searching for openssl [ 90s] -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.0") [ 90s] Searching for libid3tag [ 90s] -- Found LIBID3TAG: /usr/lib64/libid3tag.so [ 90s] Searching for flac [ 90s] -- Found FLAC: /usr/lib64/libFLAC.so [ 90s] Searching for lua [ 90s] -- Found Lua: /usr/lib64/liblua-5.4.so;/usr/lib64/libm.so (found version "5.4.4") [ 90s] Checking for compiler flag -std=gnu17 [ 90s] -- Performing Test COMPILER_SUPPORTS_FLAG [ 90s] -- Performing Test COMPILER_SUPPORTS_FLAG - Success [ 90s] Checking for compiler flag -fstack-clash-protection [ 90s] -- Performing Test COMPILER_SUPPORTS_FLAG [ 90s] -- Performing Test COMPILER_SUPPORTS_FLAG - Success [ 90s] Checking for compiler flag -fcf-protection [ 90s] -- Performing Test COMPILER_SUPPORTS_FLAG [ 90s] -- Performing Test COMPILER_SUPPORTS_FLAG - Success [ 90s] Checking for compiler flag -fno-plt [ 90s] -- Performing Test COMPILER_SUPPORTS_FLAG [ 91s] -- Performing Test COMPILER_SUPPORTS_FLAG - Success [ 91s] -- Configuring done [ 91s] -- Generating done [ 91s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/mympd-9.1.1/release [ 91s] + make [ 91s] [ 0%] Building C object CMakeFiles/mympd.dir/dist/mjson/mjson.c.o [ 91s] [ 1%] Building C object CMakeFiles/mympd.dir/dist/mongoose/mongoose.c.o [ 94s] In function 'mg_sha1_update', [ 94s] inlined from 'mg_sha1_final' at /home/abuild/rpmbuild/BUILD/mympd-9.1.1/dist/mongoose/mongoose.c:2941:3: [ 94s] /home/abuild/rpmbuild/BUILD/mympd-9.1.1/dist/mongoose/mongoose.c:2923:7: error: 'mg_sha1_transform' reading 64 bytes from a region of size 0 [-Werror=stringop-overread] [ 94s] 2923 | mg_sha1_transform(context->state, &data[i]); [ 94s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 94s] /home/abuild/rpmbuild/BUILD/mympd-9.1.1/dist/mongoose/mongoose.c:2923:7: note: referencing argument 2 of type 'const unsigned char[64]' [ 94s] /home/abuild/rpmbuild/BUILD/mympd-9.1.1/dist/mongoose/mongoose.c: In function 'mg_sha1_final': [ 94s] /home/abuild/rpmbuild/BUILD/mympd-9.1.1/dist/mongoose/mongoose.c:2796:13: note: in a call to function 'mg_sha1_transform' [ 94s] 2796 | static void mg_sha1_transform(uint32_t state[5], const unsigned char buffer[64]) { [ 94s] | ^~~~~~~~~~~~~~~~~ [ 94s] In function 'mg_sha1_update', [ 94s] inlined from 'mg_sha1_final' at /home/abuild/rpmbuild/BUILD/mympd-9.1.1/dist/mongoose/mongoose.c:2944:5: [ 94s] /home/abuild/rpmbuild/BUILD/mympd-9.1.1/dist/mongoose/mongoose.c:2923:7: error: 'mg_sha1_transform' reading 64 bytes from a region of size 0 [-Werror=stringop-overread] [ 94s] 2923 | mg_sha1_transform(context->state, &data[i]); [ 94s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 94s] /home/abuild/rpmbuild/BUILD/mympd-9.1.1/dist/mongoose/mongoose.c:2923:7: note: referencing argument 2 of type 'const unsigned char[64]' [ 94s] /home/abuild/rpmbuild/BUILD/mympd-9.1.1/dist/mongoose/mongoose.c: In function 'mg_sha1_final': [ 94s] /home/abuild/rpmbuild/BUILD/mympd-9.1.1/dist/mongoose/mongoose.c:2796:13: note: in a call to function 'mg_sha1_transform' [ 94s] 2796 | static void mg_sha1_transform(uint32_t state[5], const unsigned char buffer[64]) { [ 94s] | ^~~~~~~~~~~~~~~~~ [ 96s] cc1: all warnings being treated as errors [ 97s] make[2]: *** [CMakeFiles/mympd.dir/build.make:90: CMakeFiles/mympd.dir/dist/mongoose/mongoose.c.o] Error 1 [ 97s] make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/mympd.dir/all] Error 2 [ 97s] make: *** [Makefile:136: all] Error 2 [ 97s] error: Bad exit status from /var/tmp/rpm-tmp.ITK3KV (%build)
GCC version 12 is not even in the releases list, see https://gcc.gnu.org/releases.html There is no official GCC docker image for version 12. So, please don't report until it gets official.
Environment
Log: