Opened 6 years ago
Closed 6 years ago
#58243 closed defect (duplicate)
OpenBLAS @ 2.5.4 Failed to build OpenBLAS
Reported by: | wnowicki (Wojtek) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | ||
Port: | OpenBLAS |
Description
I'm getting an error while I'm trying to install Inkscape
command:
sudo port install inkscape
error:
---> Building OpenBLAS Error: Failed to build OpenBLAS: command execution failed
log file
:notice:build ---> Building OpenBLAS :debug:build Executing proc-pre-org.macports.build-build-0 :debug:build Executing org.macports.build (OpenBLAS) :debug:build Environment: :debug:build CC_PRINT_OPTIONS='YES' :debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/.CC_PRINT_OPTIONS' :debug:build CPATH='/opt/local/include' :debug:build LIBRARY_PATH='/opt/local/lib' :debug:build MACOSX_DEPLOYMENT_TARGET='10.14' :info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.3.5" && /usr/bin/make -j8 -w all AR=/opt/local/bin/ar RANLIB=/opt/local/bin/ranlib :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.3.5" && /usr/bin/make -j8 -w all AR=/opt/local/bin/ar RANLIB=/opt/local/bin/ranlib :info:build ld: unexpected token: !tapi-tbd-v3 file '/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd' for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make: *** [getarch] Error 1 :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.3.5' :info:build Makefile.system:201: Makefile.conf: No such file or directory :info:build Makefile.system:1069: Makefile.: No such file or directory :info:build make: *** No rule to make target `Makefile.'. Stop. :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.3.5' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.3.5" && /usr/bin/make -j8 -w all AR=/opt/local/bin/ar RANLIB=/opt/local/bin/ranlib :info:build Exit code: 2 :error:build Failed to build OpenBLAS: command execution failed :debug:build Error code: CHILDSTATUS 3223 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/main.log for details.
Change History (6)
comment:1 Changed 6 years ago by kencu (Ken)
comment:3 Changed 6 years ago by mf2k (Frank Schima)
In the future, please fill in the Port field and add the port maintainer(s) to Cc (port info --maintainers OpenBLAS
), if any.
comment:4 Changed 6 years ago by mf2k (Frank Schima)
Keywords: | OpenBLAS build failure removed |
---|---|
Port: | OpenBLAS added |
Resolution: | → invalid |
Status: | new → closed |
comment:5 Changed 6 years ago by jmroot (Joshua Root)
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:6 Changed 6 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
We normally require the full failed build log to sort these out, FYI.
Looks like your error is here:
We've seen this error before, and it comes from the fact that Apple has not yet released a full open source version of it's current linker.
Normally the linker issue can be fixed by something like this:
and then clean and try your port installation again:
and if that then works, on you go with