From nobody Tue May 10 20:56:12 2022 X-Original-To: fortran@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F2FA21ADB3AE for ; Tue, 10 May 2022 20:56:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KyVgw4sPqz3qP3 for ; Tue, 10 May 2022 20:56:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 830D84D01 for ; Tue, 10 May 2022 20:56:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24AKuCGQ018034 for ; Tue, 10 May 2022 20:56:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24AKuCRL018033 for fortran@FreeBSD.org; Tue, 10 May 2022 20:56:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: fortran@FreeBSD.org Subject: maintainer-feedback requested: [Bug 263902] math/blas 3.10.1: linker error Date: Tue, 10 May 2022 20:56:12 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fortran@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Fortran on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-fortran List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fortran@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652216172; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Xa8ynQhuKPjxe97ixb5dnPHztvNO77y2tMDCgPHFey0=; b=UeHjntXoTJnu9xUoGvy1w9c0XysDTKJAAUR/SyMwREneAcYViIwlRlBDhvR6im/3mnOXyN ImLoDTuGq9SCN6dZvOewfGYpYNtsSL2u6QUFnRS0h/M1Df57qVppsS91FKZCqXEvIFvnmT rWY5t3b5RSFFxjCqPgu533RXIy/gxHG1dK0MLnr0W5Mh+F++xrsjBdXccxXbWxidWmABel Znv8UXkRBhDciE9/g68CnQgOXB2eTQ7CyhQ3a9WWnxZDPq1hOUpXSwK8dvJZn6fpgzbw/t NVt/IcxMY70vAEX+Faq0CZCH3OXlGbCK10CNscmz6l3Uee/fE68dBzXuk11P9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652216172; a=rsa-sha256; cv=none; b=ObpOTGec//y+LqaCRenmN7d4Ivun7ylR3QX6dNiRRzEJf8ecp84lBEdf+d+g5JaYo2rwKR wfAWFSCCSHSys3W18navWkbXial0Yo8EmFIZ6kLzMbN0imRMavo3EgnlpjlzVdDGx6Zyr2 8i/ZBT2QOIVThtdmM+o06yG+qH0UyaBX+7Qr0sMsShzR0GKjYE7vy81TFmtR1WizrTG8z3 KIxfFM3miKOPzOKzoITjRXkMcPKHbNHkX/ucLwv8R6Sn1d2zEbUgxi/AQqcem6ik7ul779 /XKNQglVX9f+FEOeXjddta+MdkeUjyS0WxsOoTTSEv1bnYV1vJS03KnBYb3YGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-fortran (Nobod= y) for maintainer-feedback: Bug 263902: math/blas 3.10.1: linker error https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263902 --- Description --- Building math/blas on FreeBSD 13.0 with Poudriere fails. The make configuration: USE_PACKAGE_DEPENDS=3Dyes BATCH=3Dyes WRKDIRPREFIX=3D/wrkdirs PORTSDIR=3D/usr/ports PACKAGES=3D/packages DISTDIR=3D/distfiles FORCE_PACKAGE=3Dyes PACKAGE_BUILDING=3Dyes PACKAGE_BUILDING_FLAVORS=3Dyes WRKDIRPREFIX=3D/tmp/ports DEFAULT_VERSIONS+=3Dssl=3Dbase python=3D3.9 php=3D7.3 gcc=3D12 llvm=3D13 OPTIONS_SET=3DSNDIO OPTIONS_UNSET=3DICONV ALSA AVAHI AVX2 BASH CPUFLAGS CPU_OPTS CUPS DBUS DEBU= G DOCS EXAMPLES FLAC FONTCONFIG GNOME GSTREAMER HAL JACK JAVA JPEG2000 LDAP MANPAG= ES NLS NOTIFY OPTIMIZED_CFLAGS POLICYKIT PULSEAUDIO PROFILE SNDIO SPEEX TEST T= ESTS VIDEO_WAYLAND VIM_OPTIONS WAYLAND ZSH OPENCV The log: /bin/mkdir -p /tmp/ports/usr/ports/math/blas/work/.build -- The Fortran compiler identification is GNU 12.1.0 -- The C compiler identification is Clang 11.0.1 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Check for working Fortran compiler: /usr/local/bin/gfortran12 - skipped -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Checking if build type is 'Coverage' -- Checking if build type is 'Coverage': 0 -- Performing Test _frecursiveFlag -- Performing Test _frecursiveFlag - Success -- Build tests: OFF -- Reducing RELEASE optimization level to O2 -- Looking for Fortran NONE - found -- Looking for Fortran INT_CPU_TIME - found -- Looking for Fortran EXT_ETIME - not found -- Looking for Fortran EXT_ETIME_ - not found -- Looking for Fortran INT_ETIME - found -- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing functio= n. -- Build deprecated routines: ON -- Build single precision real: ON -- Build double precision real: ON -- Build single precision complex: ON -- Build double precision complex: ON -- Using supplied NETLIB BLAS implementation -- Using supplied NETLIB LAPACK implementation -- Detecting Fortran/C Interface Failed to compile -- Verifying Fortran/C Compiler Compatibility Failed to compile CMake Warning (dev) at /usr/local/share/cmake/Modules/FortranCInterface.cmake:309 (message): No FortranCInterface mangling known for VerifyFortran Call Stack (most recent call first): /usr/local/share/cmake/Modules/FortranCInterface/Verify/CMakeLists.txt:16 (FortranCInterface_HEADER) This warning is for project developers. Use -Wno-dev to suppress it. -- Verifying Fortran/C Compiler Compatibility - Failed CMake Error at /usr/local/share/cmake/Modules/FortranCInterface.cmake:391 (message): The Fortran compiler: /usr/local/bin/gfortran12 and the C compiler: /usr/bin/cc failed to compile a simple test project using both languages. The output was: Change Dir: /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC Run Build Command(s):/usr/bin/make -f Makefile VerifyFortranC && /usr/local/bin/cmake -S/usr/local/share/cmake/Modules/FortranCInterface/Ver= ify -B/tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/V= erif yC --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/make -f CMakeFiles/Makefile2 VerifyFortranC /usr/local/bin/cmake -S/usr/local/share/cmake/Modules/FortranCInterface/Verify -B/tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/V= erif yC --check-build-system CMakeFiles/Makefile.cmake 0 /usr/local/bin/cmake -E cmake_progress_start /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC /CMakeFiles 5 /usr/bin/make -f CMakeFiles/Makefile2 CMakeFiles/VerifyFortranC.dir/all /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend cd /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /usr/local/share/cmake/Modules/FortranCInterface/Verify /usr/local/share/cmake/Modules/FortranCInterface/Verify /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC /CMakeFiles/VerifyFortran.dir/DependInfo.cmake Scanning dependencies of target VerifyFortran /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build [ 20%] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o /usr/local/bin/gfortran12=20 -I/tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/V= erif yC -O -Wl,-rpath=3D/usr/local/lib/gcc12 -frecursive -O2 -DNDEBUG -O2 -c /usr/local/share/cmake/Modules/FortranCInterface/Verify/VerifyFortran.f -o CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o [ 40%] Linking Fortran static library libVerifyFortran.a /usr/local/bin/cmake -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake /usr/local/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortran.dir/link.txt --verbose=3D1 /usr/local/bin/ar qc libVerifyFortran.a CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o /usr/local/bin/ranlib libVerifyFortran.a [ 40%] Built target VerifyFortran /usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/depend cd /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /usr/local/share/cmake/Modules/FortranCInterface/Verify /usr/local/share/cmake/Modules/FortranCInterface/Verify /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC /tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/Ver= ifyC /CMakeFiles/VerifyFortranC.dir/DependInfo.cmake /usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/build [ 60%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o /usr/bin/cc=20 -I/tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/V= erif yC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe=20 -fstack-protector-strong -fno-strict-aliasing -MD -MT CMakeFiles/VerifyFortranC.dir/main.c.o -MF CMakeFiles/VerifyFortranC.dir/main.c.o.d -o CMakeFiles/VerifyFortranC.dir/main.c.o -c /usr/local/share/cmake/Modules/FortranCInterface/Verify/main.c [ 80%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o /usr/bin/cc=20 -I/tmp/ports/usr/ports/math/blas/work/.build/CMakeFiles/FortranCInterface/V= erif yC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe=20 -fstack-protector-strong -fno-strict-aliasing -MD -MT CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -MF CMakeFiles/VerifyFortranC.dir/VerifyC.c.o.d -o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -c /usr/local/share/cmake/Modules/FortranCInterface/Verify/VerifyC.c [100%] Linking C executable VerifyFortranC /usr/local/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=3D1 /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing=20 -Wl,-rpath=3D/usr/local/lib/gcc12 -L/usr/local/lib/gcc12 -B/usr/local/bin -fstack-protector-strong CMakeFiles/VerifyFortranC.dir/main.c.o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -o VerifyFortranC -L/usr/local/= bin=20 -L/usr/local/lib/gcc12/gcc/x86_64-portbld-freebsd13.0/12.1.0=20 -L/usr/local/x86_64-portbld-freebsd13.0/lib libVerifyFortran.a -lgfortran = -lm -lssp_nonshared -lquadmath -lm=20 /usr/local/bin/ld: CMakeFiles/VerifyFortranC.dir/main.c.o: in function `main': main.c:(.text+0xa): undefined reference to `VerifyFortran' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1