Opened 12 years ago

Closed 12 years ago

#38816 closed defect (fixed)

atlas: post-build proc fails

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: atlas

Description

After a successful (+mpclang32 +universal) build, it fails in the post-build proc:

DEBUG: Executing proc-post-org.macports.build-build-0
DEBUG: Executing reinplace: /usr/bin/sed {s|^LIBTOOL=.*$|LIBTOOL=$(GCC) $(GCCFLAGS)|} < /opt/local/var/macports/build/_Users_rschmidt_macports_dports_math_atlas/atlas/work/atlas-3.10.1-x86_64/build/lib/Makefile >@ file10
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned /opt/local/var/macports/build/_Users_rschmidt_macports_dports_math_atlas/atlas/work/atlas-3.10.1-x86_64/build/lib/Makefile to macports
DEBUG: euid/egid changed to: 501/528
DEBUG: euid/egid changed to: 0/0
DEBUG: setting attributes on /opt/local/var/macports/build/_Users_rschmidt_macports_dports_math_atlas/atlas/work/atlas-3.10.1-x86_64/build/lib/Makefile
DEBUG: euid/egid changed to: 501/528
DEBUG: Executing reinplace: /usr/bin/sed s|dynamic|dynamiclib|g < /opt/local/var/macports/build/_Users_rschmidt_macports_dports_math_atlas/atlas/work/atlas-3.10.1-x86_64/build/lib/Makefile >@ file10
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned /opt/local/var/macports/build/_Users_rschmidt_macports_dports_math_atlas/atlas/work/atlas-3.10.1-x86_64/build/lib/Makefile to macports
DEBUG: euid/egid changed to: 501/528
DEBUG: euid/egid changed to: 0/0
DEBUG: setting attributes on /opt/local/var/macports/build/_Users_rschmidt_macports_dports_math_atlas/atlas/work/atlas-3.10.1-x86_64/build/lib/Makefile
DEBUG: euid/egid changed to: 501/528
/usr/bin/make dylib
rm -rf RCW_tMp ; mkdir RCW_tMp
cd RCW_tMp ; ar x ../liblapack.a 
cd RCW_tMp ; ar x ../libf77blas.a
ar: ../libf77blas.a: No such file or directory
make[1]: *** [dylib] Error 1
make: *** [shared_all] Error 2
Command failed: /usr/bin/make shared_all
Exit code: 2

I verified liblapack.a exists in both i386 and x86_64 directories, but libf77blas.a exists only in the i386 directory.

Attachments (1)

main.log.bz2 (477.8 KB) - added by ryandesign (Ryan Carsten Schmidt) 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added

comment:1 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 12 years ago by Veence (Vincent)

Ah. I see. There was a bug here, you should have gotten the -mavx flag during the x86_64 compilation, whereas you have -ssse3 instead, and so you get a bunch of errors like this:

/opt/local/var/macports/build/_Users_rschmidt_macports_dports_math_atlas/atlas/work/atlas-3.10.1-x86_64/build/..//src/blas/level3/kernel/ATL_trsmKL_rk4.c:31:13: error: unknown type name '__m256d'
:info:build    register __m256d rB00, rB01, rB02;

because “__m256d” types are only defined when you use the -mavx flag. This bug is caused by the ‘sysctl’ misbehavior I reported. It should be fixed in r105307. Please retry!

Last edited 12 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 12 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

This is no more relevant since AVX builds are temporarily disabled…

Note: See TracTickets for help on using tickets.