[MacPorts] #57365: slatec @4.1: f77: No such file or directory

MacPorts noreply at macports.org
Thu Oct 18 09:46:30 UTC 2018


#57365: slatec @4.1: f77: No such file or directory
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  smaret
      Type:  defect      |     Status:  reopened
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  slatec      |
-------------------------+----------------------
Changes (by majoc-at-astro):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Reopened: the build now succeeds, but `libslatec.a` contains only the
 string `!<arch>` and a newline, whether built from source or installed
 prebuilt.  This makes it a tad difficult to link against, eg (from `port
 install gildas`):

 {{{
 :info:build ld: file too small (length=8) file
 '/opt/local/lib/libslatec.a' for architecture x86_64
 :info:build collect2: error: ld returned 1 exit status
 }}}

 This is happening for our 10.12 and 10.13 nightly builds (we've yet to
 stand up a 10.14 builder).  Our builds don't do `port select gcc mp-gcc8`,
 but doing so before a test source build of `slatec` doesn't fix the
 problem.

 Please find enclosed the log for `port -v -s install slatec`, of which
 this seems to be the top bit:

 {{{
 --->  Building slatec
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rs
 ync.macports.org_macports_release_tarballs_ports_science_slatec/slatec/work/src"
  && /usr/bin/make -j8 -w libslatec.a FC=
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_
 sources_rsync.macports.org_macports_release_tarballs_ports_science_slatec/slatec
 /work/src'
 cd static; make
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_slatec/slatec/work/src/static'
 O2 -c -o aaaaaa.o ../aaaaaa.f
 make[1]: O2: No such file or directory
 }}}

 Please let me know if there's anything else you wish me to try.

-- 
Ticket URL: <https://trac.macports.org/ticket/57365#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list