[MacPorts] #53053: atlas build fail -- Xcode can't create dynamic library?
MacPorts
noreply at macports.org
Mon Dec 12 09:12:30 CET 2016
#53053: atlas build fail -- Xcode can't create dynamic library?
-------------------------------------------+-------------------
Reporter: Zippyzip | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.5
Keywords: xcode dynamic library fortran | Port: atlas
-------------------------------------------+-------------------
I can't manage to build standalone atlas (+gcc5). ( It seems +nofortran
avoids the error but then I get problems for atlas dependent ports such as
Octave)
MacOS X: El Capitan 10.11.6
XCode: 8.1
Macports: 2.3.5.
Snippet of presumably relevant part of the log file:
{{{
:info:build make[4]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/ATLAS/build/lib'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make dylib
:info:build make[5]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/ATLAS/build/lib'
:info:build rm -rf RCW_tMp ; mkdir RCW_tMp
:info:build cd RCW_tMp ; ar x ../liblapack.a
:info:build cd RCW_tMp ; ar x ../libf77blas.a
:info:build cd RCW_tMp ; ar x ../libcblas.a
:info:build cd RCW_tMp ; ar x ../libatlas.a
:info:build cd RCW_tMp ; /usr/bin/libtool -dynamiclib -o
../libsatlas.dylib \
:info:build -install_name /opt/local/lib/libsatlas.dylib
-current_version 3.10.2 \
:info:build -compatibility_version 3.10.2 *.o -lpthread -lm
/opt/local/lib/gcc5/libgfortran.dylib
:info:build error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
unknown option character `d' in: -dynamiclib
:info:build Usage:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
-static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch]
[-sacLT] [-no_warning_for_no_symbols]
:info:build Usage:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
-dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch]
[-o output] [-install_name name] [-compatibility_version #]
[-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#]
[-segs_read_write_addr 0x#] [-seg_addr_table <filename>]
[-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
:info:build make[5]: *** [dylib] Error 1
:info:build make[5]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/ATLAS/build/lib'
:info:build make[4]: *** [shared_all] Error 2
:info:build make[4]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/ATLAS/build/lib'
:info:build make[3]: *** [dylibs] Error 2
:info:build make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/ATLAS/build'
:info:build make[2]: *** [IBuildDyLibs] Error 2
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/ATLAS/build/bin'
:info:build ARED LIBRARY UPDATE at 10:05
:info:build make -f Makefile IBuildDyLibs 2>&1 | ./xatlas_tee
INSTALL_LOG/LIBDYBUILD.LOG
:info:build DONE STAGE 5-2-0 at 10:05
}}}
...
{{{
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make dylib
:info:build rm -rf RCW_tMp ; mkdir RCW_tMp
:info:build cd RCW_tMp ; ar x ../liblapack.a
:info:build cd RCW_tMp ; ar x ../libf77blas.a
:info:build cd RCW_tMp ; ar x ../libcblas.a
:info:build cd RCW_tMp ; ar x ../libatlas.a
:info:build cd RCW_tMp ; /opt/local/bin/gcc-mp-5 -fomit-frame-pointer
-mfpmath=sse -O3 -fno-schedule-insns2 -fPIC -msse4.2 -m64 -fPIC
-dynamiclib -o ../libsatlas.dylib \
:info:build -install_name /opt/local/lib/libsatlas.dylib
-current_version 3.10.2 \
:info:build -compatibility_version 3.10.2 *.o -lpthread -lm
/opt/local/lib/gcc5/libgfortran.dylib
:info:build gcc-mp-5: error: /opt/local/lib/gcc5/libgfortran.dylib: No
such file or directory
:info:build make[1]: *** [dylib] Error 1
:info:build make: *** [shared_all] Error 2
:info:build Command failed: /usr/bin/make shared_all
:info:build Exit code: 2
:error:build org.macports.build for port atlas returned: command execution
failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/53053>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list