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

MacPorts noreply at macports.org
Sun Mar 20 17:59:09 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:
 Keywords:          |       Port:  owncloud-client
--------------------+-----------------------------
 I ran `sudo port selfupdate` on Raspberry Pi OS and I get the following
 error:

 {{{
 Failed to parse file www/owncloud-client/Portfile: can't read "build_id":
 no such variable
 }}}

 I think it's due to the following:

 {{{
 configure.args-append
 -DCMAKE_INSTALL_NAME_DIR=${applications_dir}/owncloud.app/Contents/MacOS \
 -DXCODEFLAGS="-IDECustomDerivedDataLocation=${workpath}/DerivedData" \
                         -DMIRALL_VERSION_BUILD=${build_id}
 }}}

 `build_id` is defined in the `platform darwin` block, but is being
 referenced outside of it.

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


More information about the macports-tickets mailing list