[MacPorts] #56919: OpenBLAS: as: I don't understand 'm' flag! (was: OpenBLAS fails at build in MacPorts)

MacPorts noreply at macports.org
Sun Aug 5 22:34:09 UTC 2018


#56919: OpenBLAS: as: I don't understand 'm' flag!
-------------------------+-------------------------
  Reporter:  shaonghosh  |      Owner:  NicosPavlov
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  OpenBLAS    |
-------------------------+-------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: michaelld (added)
 * owner:  (none) => NicosPavlov
 * keywords:  OpenBLAS =>
 * port:   => OpenBLAS


Old description:

> Hi,
>
> The MacPorts upgrading is failing for OpenBLAS with the following error
> message:
>
> :info:build FATAL:/opt/local/bin/../libexec/as/x86_64/as: I don't
> understand 'm' flag!
>
> I raised this issue in the github page of OpenBlas:
> https://github.com/xianyi/OpenBLAS/issues/1716#issuecomment-410548962
> They suggested me that this is a MacPorts issue with putting the PATH
> variable containing /opt/local/bin ahead of /usr/bin. I also verified
> elsewhere where they suggest the same reason. I tried usual things that
> MacPorts suggest, uninstalling the port and reinstalling etc, which did
> not work. I also tried to manually set the path and reinstall, that did
> not work either.

New description:

 Hi,

 The MacPorts upgrading is failing for OpenBLAS with the following error
 message:

 {{{
 :info:build FATAL:/opt/local/bin/../libexec/as/x86_64/as: I don't
 understand 'm' flag!
 }}}

 I raised this issue in the github page of OpenBlas:
 https://github.com/xianyi/OpenBLAS/issues/1716#issuecomment-410548962
 They suggested me that this is a MacPorts issue with putting the PATH
 variable containing /opt/local/bin ahead of /usr/bin. I also verified
 elsewhere where they suggest the same reason. I tried usual things that
 MacPorts suggest, uninstalling the port and reinstalling etc, which did
 not work. I also tried to manually set the path and reinstall, that did
 not work either.

--

Comment:

 It sounds like you have the cctools port (the one that provides `as`)
 installed with one of the `+llvm` variants (which used to be the default
 on all systems). You can verify whether that is so by looking at the
 output of:

 {{{
 port installed cctools
 }}}

 You didn't mention what version of Xcode or macOS you have, but if you're
 using Xcode 9 or later, please reinstall the cctools port with the
 `+xcode` variant instead, which is as of 12 days ago the new default when
 Xcode 9 or later is used (but unfortunately there isn't a mechanism in
 MacPorts that allows us to make that new default available to any users
 who had already installed the port before). To do that, run:

 {{{
 sudo port selfupdate
 sudo port install cctools +xcode
 }}}

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


More information about the macports-tickets mailing list