[MacPorts] #74329: yodl @3.05.01: build fails on x86_64 - root.h overrides compiler va_copy with an invalid assignment

MacPorts noreply at macports.org
Thu Sep 3 12:46:43 UTC 2026


#74329: yodl @3.05.01: build fails on x86_64 - root.h overrides compiler va_copy
with an invalid assignment
----------------------+-----------------------------
  Reporter:  rex4539  |      Owner:  rex4539
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.12.99
Resolution:  fixed    |   Keywords:  x86_64 haspatch
      Port:  yodl     |
----------------------+-----------------------------
Changes (by rex4539):

 * status:  new => closed
 * owner:  (none) => rex4539
 * resolution:   => fixed


Comment:

 In [changeset:"07244a80f141a15c947e9de4ba23ad09aaefc261/macports-ports"
 07244a80f141a15c947e9de4ba23ad09aaefc261/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="07244a80f141a15c947e9de4ba23ad09aaefc261"
 yodl: fix build on x86_64

 src/root/root.h defines a va_copy fallback but never includes <stdarg.h>,
 and it is included ahead of <stdarg.h> by src/string/string.h.  Neither
 va_copy nor __va_copy is defined when the guard is evaluated, so the
 fallback replaces the compiler's own va_copy with a plain assignment.
 That is invalid wherever va_list is an array type, so the build fails on
 x86_64 while succeeding on arm64, where va_list is a plain char *.

 Closes: https://trac.macports.org/ticket/74329
 }}}

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


More information about the macports-tickets mailing list