[MacPorts] #64862: owncloud-client: "failed to parse file" during `port selfupdate` on Linux

MacPorts noreply at macports.org
Mon Mar 21 09:51:06 UTC 2022


#64862: owncloud-client: "failed to parse file" during `port selfupdate` on Linux
------------------------------+-------------------------
  Reporter:  harens           |      Owner:  Schamschula
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  owncloud-client  |
------------------------------+-------------------------

Comment (by reneeotten):

 Replying to [comment:2 Schamschula]:
 > The portfile specifies {{{platforms darwin}}} and {{{categories www
 aqua}}}
 >
 > I don't see how this could possibly be construed to build under linux,
 as there is no aqua under linux.

 I think the point of the ticket is not that it should build under linux,
 but the Portfile should parse. There is indeed a `platforms` check and
 that part is all fine, the issue is with the `configure.args` statement
 that uses `build_id` which will never be defined on non-darwin platforms.
 I suppose just setting `build_id` to a dummy value before setting it
 appropriately in the {{{if {${os.platform} eq "darwin"} {}}} block should
 do the trick.

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


More information about the macports-tickets mailing list