From nobody Sun Jul 11 23:30:39 2021 X-Original-To: ports-bugs@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 9FD5F1272E3D for ; Sun, 11 Jul 2021 23:30:39 +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 4GNNRz42KRz4Xch for ; Sun, 11 Jul 2021 23:30:39 +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 73177241E9 for ; Sun, 11 Jul 2021 23:30:39 +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 16BNUdH1009358 for ; Sun, 11 Jul 2021 23:30:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16BNUdtU009357 for ports-bugs@FreeBSD.org; Sun, 11 Jul 2021 23:30:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 257122] math/atlas fails with lapack 3.10.0 lapacklib not valid make target during LAPACK build phase Date: Sun, 11 Jul 2021 23:30:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: alt2600@icloud.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257122 Bug ID: 257122 Summary: math/atlas fails with lapack 3.10.0 lapacklib not valid make target during LAPACK build phase Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: alt2600@icloud.com Original PR 247485 marked closed, fixed by updating to LAPACK 3.9.1 but atl= as still doesn't build. This is a new error to the original issue on atlas of having mismatched parameters in function calls (strict type checking in gcc fortran 10+). This says it doesn't know how to make lapacklib, I didn't see anything in lapack that seems to define this target in history of its main Makefile. I see this lapacklib target is within the Atlas do-build: .for opt loop. Not sure this implies lapack Makefile needs to have an ATLAS_SLAVEPORT defined, if so I can look into. Might be beyond my skills though. I did look over updating Atlas itself, but the issue is it has so many architecture patches for things like Sparc and PowerPC that was more then a little overwhelmingly daunting. Not to mention the custom build system defi= ned inside atlas's Makefile seemingly to get lapack staged for optimizations, unless the above mentioned ATLAS_SLAVEPORT could make this become not necessary. It may just be checking our patches against what is in upstream = now, but I'd have no way to check anything but amd64. Not sure anyone is working= on the task, or if help is needed there. =3D=3D=3D> Building for atlas-math-3.8.4_18,1 Building the LAPACK archives with shared ATLAS flags: F77FLAGS=3D"`make -f /usr/ports/math/atlas/work/ATLAS/saved_flags -V F77FLA= GS` " ; LW=3D`make -C /usr/ports/math/lapack -V WRKSRC_SHARED` ; make -C /usr/ports/math/lapack WITH=3DSHARED clean patch ; cd ${LW} ; /usr/bin/env F77=3D"gfortran10" FC=3D"gfortran10" FCFLAGS=3D"-Wl,-rpath=3D/usr/local/lib= /gcc10" XDG_DATA_HOME=3D/usr/ports/math/atlas/work XDG_CONFIG_HOME=3D/usr/ports/math/atlas/work HOME=3D/usr/ports/math/atlas/w= ork PATH=3D/usr/ports/math/atlas/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/l= ocal/sbin:/usr/local/bin:/home/backyard/bin:/usr/local/tigcc/bin:/usr/local= /tigcc/bin NO_PIE=3Dyes MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_= LINT=3DYES ADDR2LINE=3D"/usr/local/bin/addr2line" AR=3D"/usr/local/bin/ar" AS=3D"/usr/local/bin/as" CPPFILT=3D"/usr/local/bin/c++filt" GPROF=3D"/usr/local/bin/gprof" LD=3D"/usr/local/bin/ld" NM=3D"/usr/local/bi= n/nm" OBJCOPY=3D"/usr/local/bin/objcopy" OBJDUMP=3D"/usr/local/bin/objdump" RANLIB=3D"/usr/local/bin/ranlib" READELF=3D"/usr/local/bin/readelf" SIZE=3D"/usr/local/bin/size" STRINGS=3D"/usr/local/bin/strings" PREFIX=3D/u= sr/local LOCALBASE=3D/usr/local CC=3D"gcc10" CFLAGS=3D"-O2 -pipe -march=3Dwestmere=20 -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -fno-strict-alia= sing " CPP=3D"cpp10" CPPFLAGS=3D"" LDFLAGS=3D" -Wl,-rpath=3D/usr/local/lib/gcc10=20 -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 " LIBS=3D"" CXX=3D= "g++10" CXXFLAGS=3D"-O2 -pipe -march=3Dwestmere -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -Wl,-rpath=3D/usr/local/lib/gcc10 " MANPREFIX=3D"/usr/local" BSD_INSTALL_PROGRAM=3D"install -s -m 555" BSD_INSTALL_LIB=3D"install -s -m 0644" BSD_INSTALL_SCRIPT=3D"install -m 5= 55" BSD_INSTALL_DATA=3D"install -m 0644" BSD_INSTALL_MAN=3D"install -m 444" EXTRAFLAGS=3D"-fpic -DPIC" FFLAGS=3D"-pipe ${F77FLAGS}" make -j10 DESTDIR=3D/usr/ports/math/atlas/work/stage ARCH=3D"/usr/local/bin/ar" lapa= cklib ;=20 TIMEFLAG=3D`make -f /usr/ports/math/atlas/work/ATLAS/saved_flags -V TIMEFLA= G` ;=20 /bin/mkdir -p /usr/ports/math/atlas/work/ATLAS/shared ; cd /usr/ports/math/atlas/work/ATLAS/shared ; /bin/mv ${LW}/liblapack.a liblapack_shared.a ; make -C /usr/ports/math/lapack clean ; echo "Configu= ring shared ATLAS:" ; ../configure --cc=3D"gcc10" --cflags=3D"-O2 -pipe -march= =3Dwestmere -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -fno-strict-ali= asing "=20 --with-netlib-lapack=3D"/usr/ports/math/atlas/work/ATLAS/shared/liblapack_s= hared.a" --prefix=3D"/usr/local" -v 2 ${TIMEFLAG} -Ss f77lib " " -Ss pmake "make = -j10"=20 -Fa alg "-fpic -DPIC " -b 64 ; if [ "x" !=3D "x" ] ; then if [ "x" !=3D "= xNONE" ] ; then if [ -f ] ; then cp -f -f=20 /usr/ports/math/atlas/work/ATLAS/CONFIG/ARCHS/ ; elif [ ! -f /usr/ports/math/atlas/work/ATLAS/CONFIG/ARCHS/ ] ; then echo "=3D=3D> atlas-math-3.8.4_18,1 : ARCHDEF \"\" does not exist" ; exit 1 ; fi ;=20 /usr/bin/sed -i.bak -E -e "\|[[:blank:]]*ARCH =3D|s|=3D.*|=3D |"=20 /usr/ports/math/atlas/work/ATLAS/shared/Make.inc ; fi ; fi ; echo "Build= ing shared ATLAS:" ; cd /usr/ports/math/atlas/work/ATLAS/shared ; /usr/bin/env F77=3D"gfortran10" FC=3D"gfortran10" FFLAGS=3D"-O -Wl,-rpath=3D/usr/local/l= ib/gcc10" FCFLAGS=3D"-Wl,-rpath=3D/usr/local/lib/gcc10" XDG_DATA_HOME=3D/usr/ports/math/atlas/work=20 XDG_CONFIG_HOME=3D/usr/ports/math/atlas/work HOME=3D/usr/ports/math/atlas/= work PATH=3D/usr/ports/math/atlas/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/l= ocal/sbin:/usr/local/bin:/home/backyard/bin:/usr/local/tigcc/bin:/usr/local= /tigcc/bin NO_PIE=3Dyes MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_= LINT=3DYES ADDR2LINE=3D"/usr/local/bin/addr2line" AR=3D"/usr/local/bin/ar" AS=3D"/usr/local/bin/as" CPPFILT=3D"/usr/local/bin/c++filt" GPROF=3D"/usr/local/bin/gprof" LD=3D"/usr/local/bin/ld" NM=3D"/usr/local/bi= n/nm" OBJCOPY=3D"/usr/local/bin/objcopy" OBJDUMP=3D"/usr/local/bin/objdump" RANLIB=3D"/usr/local/bin/ranlib" READELF=3D"/usr/local/bin/readelf" SIZE=3D"/usr/local/bin/size" STRINGS=3D"/usr/local/bin/strings" PREFIX=3D/u= sr/local=20 LOCALBASE=3D/usr/local CC=3D"gcc10" CFLAGS=3D"-O2 -pipe -march=3Dwestmere= =20 -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -fno-strict-alia= sing " CPP=3D"cpp10" CPPFLAGS=3D"" LDFLAGS=3D" -Wl,-rpath=3D/usr/local/lib/gcc10= =20 -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 " LIBS=3D"" CXX= =3D"g++10" CXXFLAGS=3D"-O2 -pipe -march=3Dwestmere -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -Wl,-rpath=3D/usr/local/lib/gcc10 "=20 MANPREFIX=3D"/usr/local" BSD_INSTALL_PROGRAM=3D"install -s -m 555"=20 BSD_INSTALL_LIB=3D"install -s -m 0644" BSD_INSTALL_SCRIPT=3D"install -m = 555"=20 BSD_INSTALL_DATA=3D"install -m 0644" BSD_INSTALL_MAN=3D"install -m 444" /usr/bin/make DESTDIR=3D/usr/ports/math/atlas/work/stage all =3D=3D=3D> Cleaning for lapack-3.10.0 =3D=3D=3D> License BSD3CLAUSE accepted by the user =3D=3D=3D> lapack-3.10.0 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by lapack-3.10.0 for building =3D=3D=3D> Extracting for lapack-3.10.0 =3D> SHA256 Checksum OK for lapack-3.10.0/v3.10.0.tar.gz. =3D> SHA256 Checksum OK for lapack-3.10.0/manpages.tgz. =3D=3D=3D> Patching for lapack-3.10.0 make[1]: make[1]: don't know how to make lapacklib. Stop make[1]: stopped in /root *** Error code 2 Stop. make: stopped in /usr/ports/math/atlas --=20 You are receiving this mail because: You are the assignee for the bug.=