#67033 closed defect (duplicate)

vte @0.56.4_1: build fails

Reported by: odysseus9672 (Sean Lake) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: vte

Description

I'm attempting to install gnome-terminal on Mac OS X 13.2.1 with Xcode 14.2, and it fails on building the dependency vte.

:info:build libtool: compile:  /usr/bin/clang++ -std=gnu++17 -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Vte\" -DVTE_API_VERSION=\"2.91\" -DDATADIR=\"/opt/local/share\" -DLIBEXECDIR=\"/opt/local/libexec\" -DLOCALEDIR=\"/opt/local/share/locale\" -DGLIB_DISABLE_DEPRECATION_WARNINGS -DVTE_COMPILATION -UPARSER_INCLUDE_NOP -I./vte -I./vte -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/p11-kit-1 -pipe -Wall -Wcast-align -Wendif-labels -Werror=declaration-after-statement -Werror=format=2 -Werror=format-nonliteral -Werror=format-security -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -Wextra -Wfloat-equal -Wmisleading-indentation -Wmissing-declarations -Wmissing-include-dirs -Wmissing-format-attribute -Wmissing-noreturn -Wno-missing-field-initializers -Wno-switch-enum -Wno-unused-parameter -Wno-packed -Wshadow -Wsign-compare -Wstrict-aliasing=2 -Wundef -Wuninitialized -Wvla -Wwrite-strings -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fstack-protector -fstack-protector-strong -Wno-deprecated-declarations -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -MT libvte_2_91_la-vtetypebuiltins.lo -MD -MP -MF .deps/libvte_2_91_la-vtetypebuiltins.Tpo -c vtetypebuiltins.cc  -fno-common -DPIC -o .libs/libvte_2_91_la-vtetypebuiltins.o
:info:build 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 *')
:info:build   if (g_once_init_enter (&g_define_type_id__volatile)) {
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from macro 'g_once_init_enter'
:info:build     (!g_atomic_pointer_get (location) &&                             \
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from macro 'g_atomic_pointer_get'
:info:build     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
:info:build                                      ^~~~~~~~~~~~~~~~~
:info:build 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 *')
:info:build   if (g_once_init_enter (&g_define_type_id__volatile)) {
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from macro 'g_once_init_enter'
:info:build     (!g_atomic_pointer_get (location) &&                             \
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from macro 'g_atomic_pointer_get'
:info:build     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
:info:build                                      ^~~~~~~~~~~~~~~~~
:info:build 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 *')
:info:build   if (g_once_init_enter (&g_define_type_id__volatile)) {
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from macro 'g_once_init_enter'
:info:build     (!g_atomic_pointer_get (location) &&                             \
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from macro 'g_atomic_pointer_get'
:info:build     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
:info:build                                      ^~~~~~~~~~~~~~~~~
:info:build 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 *')
:info:build   if (g_once_init_enter (&g_define_type_id__volatile)) {
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from macro 'g_once_init_enter'
:info:build     (!g_atomic_pointer_get (location) &&                             \
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from macro 'g_atomic_pointer_get'
:info:build     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
:info:build                                      ^~~~~~~~~~~~~~~~~
:info:build 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 *')
:info:build   if (g_once_init_enter (&g_define_type_id__volatile)) {
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from macro 'g_once_init_enter'
:info:build     (!g_atomic_pointer_get (location) &&                             \
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from macro 'g_atomic_pointer_get'
:info:build     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
:info:build                                      ^~~~~~~~~~~~~~~~~
:info:build 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 *')
:info:build   if (g_once_init_enter (&g_define_type_id__volatile)) {
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from macro 'g_once_init_enter'
:info:build     (!g_atomic_pointer_get (location) &&                             \
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from macro 'g_atomic_pointer_get'
:info:build     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
:info:build                                      ^~~~~~~~~~~~~~~~~
:info:build 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 *')
:info:build   if (g_once_init_enter (&g_define_type_id__volatile)) {
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from macro 'g_once_init_enter'
:info:build     (!g_atomic_pointer_get (location) &&                             \
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from macro 'g_atomic_pointer_get'
:info:build     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
:info:build                                      ^~~~~~~~~~~~~~~~~
:info:build 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 *')
:info:build   if (g_once_init_enter (&g_define_type_id__volatile)) {
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from macro 'g_once_init_enter'
:info:build     (!g_atomic_pointer_get (location) &&                             \
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from macro 'g_atomic_pointer_get'
:info:build     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
:info:build                                      ^~~~~~~~~~~~~~~~~
:info:build 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 *')
:info:build   if (g_once_init_enter (&g_define_type_id__volatile)) {
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gthread.h:260:7: note: expanded from macro 'g_once_init_enter'
:info:build     (!g_atomic_pointer_get (location) &&                             \
:info:build       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/include/glib-2.0/glib/gatomic.h:113:38: note: expanded from macro 'g_atomic_pointer_get'
:info:build     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
:info:build                                      ^~~~~~~~~~~~~~~~~
:info:build 9 errors generated.
:info:build make[4]: *** [libvte_2_91_la-vtetypebuiltins.lo] Error 1

Attachments (1)

main.log (269.0 KB) - added by odysseus9672 (Sean Lake) 21 months ago.
Build log for vte.

Download all attachments as: .zip

Change History (3)

Changed 21 months ago by odysseus9672 (Sean Lake)

Attachment: main.log added

Build log for vte.

comment:1 Changed 21 months ago by jmroot (Joshua Root)

Owner: set to dbevans
Port: vte added
Status: newassigned

comment:2 Changed 21 months ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.