[MacPorts] #68033: avidemux @2.8.1: error: use of undeclared identifier 'TARGET_OS_OSX' during configure phase

MacPorts noreply at macports.org
Fri Aug 25 02:05:11 UTC 2023


#68033: avidemux @2.8.1: error: use of undeclared identifier 'TARGET_OS_OSX' during
configure phase
--------------------------+----------------------
 Reporter:  sambthompson  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:  elcapitan     |       Port:  avidemux
--------------------------+----------------------
 Trying to upgrade from 2.7.6_3 on 10.11.6. Build fails during configure
 phase:

 {{{
 ...
 :info:configure src/libavcodec/videotoolboxenc.c:1040:12: error: use of
 undeclared identifier 'TARGET_OS_OSX'
 :info:configure     return TARGET_OS_OSX && TARGET_CPU_ARM64;
 :info:configure            ^
 :info:configure 1 error generated.
 :info:configure make[3]: *** [libavcodec/videotoolboxenc.o] Error 1
 ...
 }}}

 Log attached. Issues with this older OS were apparently anticipated
 [https://github.com/macports/macports-
 ports/pull/19721#issuecomment-1663055130 on the 2.8.1 update PR #19721],
 but fixes needed not discussed:

 > OK -- there are likely to be build failures on the "in-between systems"
 ... 10.7 through 10.12 ... but we can't anticipate every one of those
 ahead of time [...]

 Port health reports failure for all versions < 10.12; 10.11 build timed
 out, rather than errored out, though. 10.10 stdio log is showing the error
 on TARGET_OS_OSX as above.

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


More information about the macports-tickets mailing list