ga failed to build from source in Fedora rawhide/f36 https://koji.fedoraproject.org/koji/taskinfo?taskID=81771765 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Please fix ga at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, ga will be orphaned. Before branching of Fedora 37, ga will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 1854193 [details] build.log
Created attachment 1854194 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1854195 [details] state.log
The "configure: error: C compiler cannot create executables" error has been resolved by moving the build into the %build step https://bugzilla.redhat.com/show_bug.cgi?id=2044028 The "zdot wrong" test error is reported upstream https://github.com/GlobalArrays/ga/issues/249
Built in https://koji.fedoraproject.org/koji/taskinfo?taskID=82080596 by reducing the optimization to -O1.
For reference, here is the Dockerfile that can be used to reproduce the "zdot wrong" test error. ``` FROM fedora:36@sha256:dfb26a5dbc30de897f86e60870a4b4000c7733545e866fd1c03637a931b2d4e3 # Install packaging tools RUN dnf install -y \ git fedpkg fedora-packager curl # Install build dependencies RUN dnf install -y \ make automake libtool dos2unix gcc-c++ gcc-gfortran hwloc-devel lapack-devel libibverbs-devel \ mpich-devel openblas-devel openmpi-devel scalapack-mpich-devel scalapack-openmpi-devel flexiblas-devel CMD ["/bin/bash"] ``` To reproduce the error, build and enter the container ``` docker build -t ga:latest . docker run -it --rm --name ga ga:latest ``` Compile and run the test ``` curl -LO https://github.com/GlobalArrays/ga/releases/download/v5.8.1/ga-5.8.1.tar.gz tar zxf ga-5.8.1.tar.gz cd ga-5.8.1 module load mpi/mpich-x86_64 ./configure '--with-scalapack4=-lscalapack' '--with-blas4=-lflexiblas' '--enable-shared' '--enable-static' '--enable-cxx' '--enable-f77' 'CC=gcc' 'LIBS=-lscalapack -lflexiblas' 'CXX=g++' 'FFLAGS=-O2 -I/usr/lib64/gfortran/modules' && make && make NPROCS=2 TESTS="global/testing/test.x" check-TESTS VERBOSE=1 ``` Failed output will contain ``` > Checking zdot ... zdot wrong (86672.993582718176,915971.03870635165) (86672.994280842890,915971.06605762441) zdot wrong (86672.993582718176,915971.03870635165) (86672.994280842890,915971.06605762441) ```
The following works for me on the Fedora 36 image ./configure '--with-scalapack4=-lscalapack' '--with-blas4=-lopenblas' '--enable-shared' '--enable-static' '--enable-cxx' '--enable-f77' 'CC=gcc' 'LIBS=-lscalapack -lopenblas' 'CXX=g++' make ;make NPROCS=2 TESTS=global/testing/test.x check-TESTS VERBOSE=1 If I set 'FFLAGS=-O2 -I/usr/lib64/gfortran/modules', then the zdot error shows up https://github.com/GlobalArrays/ga/issues/249#issuecomment-1026434046