[MacPorts] #66151: vte-0.56.4 fails to compile on macOS 13 arm64
MacPorts
noreply at macports.org
Thu Nov 3 18:53:08 UTC 2022
#66151: vte-0.56.4 fails to compile on macOS 13 arm64
------------------------+--------------------
Reporter: miklosakos | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: vte
------------------------+--------------------
sudo port install vte fails with the following error: Error: Failed to
build vte: command execution failed
Examining the logs reveals the following:
{{{
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_vte/vte/work/vte-0.56.4"
&& /usr/bin/make -j8 -w all CFLAGS="-Os -fstrict-aliasing -pipe
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch
arm64" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
-arch arm64"
:info:build Exit code: 2
}}}
Running the command manually will produce the following error:
{{{
vtetypebuiltins.cc:11:7: error: cannot initialize a parameter of type
'unsigned long *' with an rvalue of type 'typename
std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *'
(aka 'volatile unsigned long *')
if (g_once_init_enter (&g_define_type_id__volatile)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from
macro 'g_once_init_enter'
(!g_atomic_pointer_get (location) && \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from
macro 'g_atomic_pointer_get'
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST);
\
^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:31:7: error: cannot initialize a parameter of type
'unsigned long *' with an rvalue of type 'typename
std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *'
(aka 'volatile unsigned long *')
if (g_once_init_enter (&g_define_type_id__volatile)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from
macro 'g_once_init_enter'
(!g_atomic_pointer_get (location) && \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from
macro 'g_atomic_pointer_get'
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST);
\
^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:51:7: error: cannot initialize a parameter of type
'unsigned long *' with an rvalue of type 'typename
std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *'
(aka 'volatile unsigned long *')
if (g_once_init_enter (&g_define_type_id__volatile)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from
macro 'g_once_init_enter'
(!g_atomic_pointer_get (location) && \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from
macro 'g_atomic_pointer_get'
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST);
\
^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:72:7: error: cannot initialize a parameter of type
'unsigned long *' with an rvalue of type 'typename
std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *'
(aka 'volatile unsigned long *')
if (g_once_init_enter (&g_define_type_id__volatile)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from
macro 'g_once_init_enter'
(!g_atomic_pointer_get (location) && \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from
macro 'g_atomic_pointer_get'
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST);
\
^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:94:7: error: cannot initialize a parameter of type
'unsigned long *' with an rvalue of type 'typename
std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *'
(aka 'volatile unsigned long *')
if (g_once_init_enter (&g_define_type_id__volatile)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from
macro 'g_once_init_enter'
(!g_atomic_pointer_get (location) && \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from
macro 'g_atomic_pointer_get'
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST);
\
^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:113:7: error: cannot initialize a parameter of type
'unsigned long *' with an rvalue of type 'typename
std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *'
(aka 'volatile unsigned long *')
if (g_once_init_enter (&g_define_type_id__volatile)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from
macro 'g_once_init_enter'
(!g_atomic_pointer_get (location) && \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from
macro 'g_atomic_pointer_get'
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST);
\
^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:136:7: error: cannot initialize a parameter of type
'unsigned long *' with an rvalue of type 'typename
std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *'
(aka 'volatile unsigned long *')
if (g_once_init_enter (&g_define_type_id__volatile)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from
macro 'g_once_init_enter'
(!g_atomic_pointer_get (location) && \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from
macro 'g_atomic_pointer_get'
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST);
\
^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:154:7: error: cannot initialize a parameter of type
'unsigned long *' with an rvalue of type 'typename
std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *'
(aka 'volatile unsigned long *')
if (g_once_init_enter (&g_define_type_id__volatile)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from
macro 'g_once_init_enter'
(!g_atomic_pointer_get (location) && \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from
macro 'g_atomic_pointer_get'
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST);
\
^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:173:7: error: cannot initialize a parameter of type
'unsigned long *' with an rvalue of type 'typename
std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *'
(aka 'volatile unsigned long *')
if (g_once_init_enter (&g_define_type_id__volatile)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from
macro 'g_once_init_enter'
(!g_atomic_pointer_get (location) && \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from
macro 'g_atomic_pointer_get'
__atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST);
\
^~~~~~~~~~~~~~~~~
}}}
I have tried cleaning, updating macports and it didn't fix the issue. I
just need vte as a dependency for virt-manager and would like to use it,
not a developer so I'm asking for help here.
--
Ticket URL: <https://trac.macports.org/ticket/66151>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list