[MacPorts] #63146: XviD: too broken to do anything

MacPorts noreply at macports.org
Sun Jun 27 22:39:54 UTC 2021


#63146: XviD: too broken to do anything
--------------------------+--------------------
 Reporter:  ShadSterling  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.7.1
 Keywords:  bigsur        |       Port:  XviD
--------------------------+--------------------
 `port info XviD`, `port clean XviD`, `port variants XviD`, and `port
 install XviD` have the same output:

 {{{
 Error: Unable to open port: can't read "my_targets(arm64)": no such
 element in array
 }}}

 Since these commands work as expected with other ports I suspect the
 problem is with the port, but it seems pretty amazing that `info` doesn't
 work

 I have `+universal` in my `/opt/local/etc/macports/variants.conf`. I don't
 use `XviD`, this came up as a failure in `port clean all`

 Output of `port -d clean --all -f XviD`:
 {{{
 DEBUG: Copying
 /Users/polyergic/Library/Preferences/com.apple.dt.Xcode.plist to
 /opt/local/var/macports/home/Library/Preferences
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/multimedia/XviD
 DEBUG: OS darwin/20.3.0 (macOS 11.2.3) arch i386
 DEBUG: Sourcing PortGroup muniversal 1.0 from
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: can't read "my_targets(arm64)": no such element in array
     while executing
 "set merger_configure_args(${arch}) --build=$my_targets(${arch})-apple-
 darwin${os.major}"
     ("foreach" body line 2)
     invoked from within
 "foreach arch ${configure.universal_archs} {
             set merger_configure_args(${arch}) --build=$my_targets(${arch
 })-apple-darwin${os.major}
       ..."
     ("uplevel" body line 6)
     invoked from within
 "uplevel 1 $code"
     (procedure "platform" line 34)
     invoked from within
 "platform darwin {
     if {![info exists universal_possible]} {
         set universal_possible [expr {${os.universal_supported} &&
 [llength ${configure..."
     (file "Portfile" line 49)
     invoked from within
 "source Portfile"
     invoked from within
 "$workername eval {source Portfile}"
 DEBUG: can't read "my_targets(arm64)": no such element in array
     while executing
 "error $result"
     (procedure "mportopen" line 53)
     invoked from within
 "mportopen $porturl [array get options] [array get requested_variations]"
 Error: Unable to open port: can't read "my_targets(arm64)": no such
 element in array
 }}}

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


More information about the macports-tickets mailing list