Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2023 10:41:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275165] science/dirac: Fails to build with GCC 13: Check for working CXX compiler: /usr/bin/c++ - broken
Message-ID:  <bug-275165-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275165

            Bug ID: 275165
           Summary: science/dirac: Fails to build with GCC 13: Check for
                    working CXX compiler: /usr/bin/c++ - broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: salvadore@freebsd.org
            Blocks: 273397
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

This bug report blocks the update of GCC_DEFAULT to 13. This webpage can he=
lp
finding a fix: https://gcc.gnu.org/gcc-13/porting_to.html

-- Check for working CXX compiler: /usr/bin/c++ - broken
CMake Error at /usr/local/share/cmake/Modules/CMakeTestCXXCompiler.cmake:60
(message):
  The C++ compiler

    "/usr/bin/c++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir:
/wrkdirs/usr/ports/science/dirac/work/.build/external/xcfun-build/CMakeFile=
s/CMakeScratch/TryCompile-MtpnWU

    Run Build Command(s):/usr/local/bin/cmake -E env VERBOSE=3D1
/usr/local/bin/gmake -f Makefile cmTC_5af96/fast && gmake[4]: Entering
directory
'/wrkdirs/usr/ports/science/dirac/work/.build/external/xcfun-build/CMakeFil=
es/CMakeScratch/TryCompile-MtpnWU'
    /usr/local/bin/gmake  -f CMakeFiles/cmTC_5af96.dir/build.make
CMakeFiles/cmTC_5af96.dir/build
    gmake[5]: Entering directory
'/wrkdirs/usr/ports/science/dirac/work/.build/external/xcfun-build/CMakeFil=
es/CMakeScratch/TryCompile-MtpnWU'
    Building CXX object CMakeFiles/cmTC_5af96.dir/testCXXCompiler.cxx.o
--- src/gp/CMakeFiles/git_info.dir/all ---
cd /wrkdirs/usr/ports/science/dirac/work/DIRAC-22.0-Source/src/gp &&
/usr/local/bin/cmake -D
INPUT_DIR=3D/wrkdirs/usr/ports/science/dirac/work/DIRAC-22.0-Source/cmake/d=
ownloaded
-D OUTPUT_DIR=3D/wrkdirs/usr/ports/science/dirac/work/.build -P
/wrkdirs/usr/ports/science/dirac/work/DIRAC-22.0-Source/cmake/downloaded/gi=
t-hash.cmake
--- src/CMakeFiles/xcfun.dir/all ---
    /usr/bin/c++   -O2 -pipe -DSYS_LINUX -fstack-protector-strong
-fno-strict-aliasing  -DSYS_LINUX -g -Wall -Wno-unknown-pragmas
-Wno-sign-compare -Woverloaded-virtual -Wwrite-strings -Wno-unused  -MD -MT
CMakeFiles/cmTC_5af96.dir/testCXXCompiler.cxx.o -MF
CMakeFiles/cmTC_5af96.dir/testCXXCompiler.cxx.o.d -o
CMakeFiles/cmTC_5af96.dir/testCXXCompiler.cxx.o -c
/wrkdirs/usr/ports/science/dirac/work/.build/external/xcfun-build/CMakeFile=
s/CMakeScratch/TryCompile-MtpnWU/testCXXCompiler.cxx
    Linking CXX executable cmTC_5af96
    /usr/local/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_5af96.dir/link.txt --verbose=3D1
    /usr/bin/c++ -O2 -pipe -DSYS_LINUX -fstack-protector-strong
-fno-strict-aliasing  -DSYS_LINUX -g -Wall -Wno-unknown-pragmas
-Wno-sign-compare -Woverloaded-virtual -Wwrite-strings -Wno-unused  -llapack
-lblas -Wl,-rpath=3D/usr/local/lib/gcc13  -L/usr/local/lib/gcc13
-fstack-protector-strong  CMakeFiles/cmTC_5af96.dir/testCXXCompiler.cxx.o -o
cmTC_5af96=20
    ld: error: unable to find library -llapack
    ld: error: unable to find library -lblas
    c++: error: linker command failed with exit code 1 (use -v to see
invocation)
    gmake[5]: *** [CMakeFiles/cmTC_5af96.dir/build.make:100: cmTC_5af96] Er=
ror
1
    gmake[5]: Leaving directory
'/wrkdirs/usr/ports/science/dirac/work/.build/external/xcfun-build/CMakeFil=
es/CMakeScratch/TryCompile-MtpnWU'
    gmake[4]: *** [Makefile:127: cmTC_5af96/fast] Error 2
    gmake[4]: Leaving directory
'/wrkdirs/usr/ports/science/dirac/work/.build/external/xcfun-build/CMakeFil=
es/CMakeScratch/TryCompile-MtpnWU'

Full log:
https://pkg-status.freebsd.org/package22/data/132amd64-default-foo/2023-11-=
10_07h48m13s/logs/errors/dirac-quantum-chemistry-software-22.0_1.log

I wonder however if this bug really has something to do with GCC 13, since =
it
complains with /usr/bin/c++.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273397
[Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc.
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275165-7788>