[MacPorts] #66681: jack @1.9.21: error: static_assert failed "fCounter must be aligned within JackAtomicState"

MacPorts noreply at macports.org
Fri Jan 13 03:47:23 UTC 2023


#66681: jack @1.9.21: error: static_assert failed "fCounter must be aligned within
JackAtomicState"
-------------------------------+--------------------
 Reporter:  ryandesign         |      Owner:  (none)
     Type:  defect             |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.8.0
 Keywords:  sierra highsierra  |       Port:  jack
-------------------------------+--------------------
 jack fails to build on Sierra and High Sierra only:

 *
 https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/214841/steps
 /install-port/logs/stdio
 *
 https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/177262/steps
 /install-port/logs/stdio

 {{{
 In file included from ../common/JackTransportEngine.cpp:24:
 In file included from ../common/JackEngineControl.h:25:
 In file included from ../common/JackFrameTimer.h:24:
 ../common/JackAtomicState.h:135:13: error: static_assert failed "fCounter
 must be aligned within JackAtomicState"
             static_assert(offsetof(JackAtomicState, fCounter) %
 sizeof(fCounter) == 0,
             ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ../common/JackFrameTimer.h:90:9: note: in instantiation of member function
 'Jack::JackAtomicState<Jack::JackTimer>::JackAtomicState' requested here
         JackFrameTimer(): fFirstWakeUp(true)
         ^
 1 error generated.

 In file included from ../common/JackEngineProfiling.cpp:21:
 In file included from ../common/JackGraphManager.h:28:
 ../common/JackAtomicState.h:135:13: error: static_assert failed "fCounter
 must be aligned within JackAtomicState"
             static_assert(offsetof(JackAtomicState, fCounter) %
 sizeof(fCounter) == 0,
             ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ../common/JackFrameTimer.h:90:9: note: in instantiation of member function
 'Jack::JackAtomicState<Jack::JackTimer>::JackAtomicState' requested here
         JackFrameTimer(): fFirstWakeUp(true)
         ^
 1 error generated.

 In file included from ../common/JackDebugClient.cpp:21:
 In file included from ../common/JackEngineControl.h:25:
 In file included from ../common/JackFrameTimer.h:24:
 ../common/JackAtomicState.h:135:13: error: static_assert failed "fCounter
 must be aligned within JackAtomicState"
             static_assert(offsetof(JackAtomicState, fCounter) %
 sizeof(fCounter) == 0,
             ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ../common/JackFrameTimer.h:90:9: note: in instantiation of member function
 'Jack::JackAtomicState<Jack::JackTimer>::JackAtomicState' requested here
         JackFrameTimer(): fFirstWakeUp(true)
         ^
 1 error generated.
 }}}

 Upstream bug report: https://github.com/jackaudio/jack2/issues/905

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


More information about the macports-tickets mailing list