[MacPorts] #66607: ffmpeg @4.4.2_3: will not build universal on M1 Mac / Ventura: GNU assembler not found, install/update gas-preprocessor

MacPorts noreply at macports.org
Mon Jan 2 22:12:57 UTC 2023


#66607: ffmpeg @4.4.2_3: will not build universal on M1 Mac / Ventura: GNU
assembler not found, install/update gas-preprocessor
---------------------+-----------------------------
  Reporter:  kencu   |      Owner:  mascguy
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  arm64 universal
      Port:  ffmpeg  |
---------------------+-----------------------------

Comment (by kencu):

 It likes this version better:
 {{{
 % diff -u Portfile `port file ffmpeg`
 --- Portfile    2022-12-29 23:19:54
 +++
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/multimedia/ffmpeg/Portfile
 2023-01-02 14:10:04
 @@ -304,7 +304,7 @@
      foreach arch ${configure.universal_archs} {
          set merger_host($arch) ""
          lappend merger_configure_args($arch) --arch=${arch}
 -        lappend merger_configure_env($arch)  ASFLAGS='-arch ${arch}'
 +        lappend merger_configure_env($arch)  "ASFLAGS=-arch ${arch}"
      }
      if {[string match "*86*" ${configure.universal_archs}]} {
          depends_build-append port:nasm
 }}}

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


More information about the macports-tickets mailing list