Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 2021 23:30:39 +0000
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
Message-ID:  <bug-257122-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



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