[MacPorts] #69518: pkgconfig @ 0.29.2: won't install on M3 mac due to "incompatible integer to pointer conversion"
MacPorts
noreply at macports.org
Sat Mar 16 16:14:45 UTC 2024
#69518: pkgconfig @ 0.29.2: won't install on M3 mac due to "incompatible integer to
pointer conversion"
--------------------+-----------------------
Reporter: rbeyer | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Keywords: | Port: pkgconfig
--------------------+-----------------------
I have a new-out-of-the-box Sonoma 14.3.1 M3 Max system that I installed
MacPorts on. The first thing I tried to install was git. First I ran
into a libiconv problem (successfully fixed, thank you), but now pkgconfig
is erroring on install.
I've never had this trouble installing what I consider to be basic stuff
onto a new Mac with MacPorts. Here is the relevant section from the full
log (which is attached):
{{{
:info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I..
-I.. -I../glib -I..
/glib -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS
-DGLIB_COMPILATION -DPCRE_STATI
C -I/opt/macports/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -
D_REENTRANT -Wall -Wstrict-prototypes -Werror=declaration-after-statement
-Werror=missing-
prototypes -Werror=implicit-function-declaration -Werror=pointer-arith
-Werror=init-self -
Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -pipe
-Os -isysroot/L
ibrary/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -MT
libglib_2_0_la-grel.lo
-MD -MP -MF .deps/libglib_2_0_la-grel.Tpo -c deprecated/grel.c -o
libglib_2_0_la-grel.o
:info:build gatomic.c:392:10: error: incompatible integer to pointer
conversion passing 'g
ssize' (aka 'long') to parameter of type 'gpointer' (aka 'void *') [-Wint-
conversion]
:info:build return g_atomic_pointer_add ((volatile gpointer *) atomic,
val);
:info:build
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./gatomic.h:170:46: note: expanded from macro
'g_atomic_pointer_add'
:info:build (gssize) __sync_fetch_and_add ((atomic), (val));
\
:info:build ^~~~~
:info:build gatomic.c:416:10: error: incompatible integer to pointer
conversion passing 'g
size' (aka 'unsigned long') to parameter of type 'gpointer' (aka 'void *')
[-Wint-conversi
on]
:info:build return g_atomic_pointer_and ((volatile gpointer *) atomic,
val);
:info:build
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./gatomic.h:177:45: note: expanded from macro
'g_atomic_pointer_and'
:info:build (gsize) __sync_fetch_and_and ((atomic), (val));
\
:info:build ^~~~~
:info:build gatomic.c:440:10: error: incompatible integer to pointer
conversion passing 'g
size' (aka 'unsigned long') to parameter of type 'gpointer' (aka 'void *')
[-Wint-conversi
on]
:info:build return g_atomic_pointer_or ((volatile gpointer *) atomic,
val);
:info:build
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./gatomic.h:184:44: note: expanded from macro
'g_atomic_pointer_or'
:info:build (gsize) __sync_fetch_and_or ((atomic), (val));
\
:info:build ^~~~~
:info:build gatomic.c:464:10: error: incompatible integer to pointer
conversion passing 'g
size' (aka 'unsigned long') to parameter of type 'gpointer' (aka 'void *')
[-Wint-conversi
on]
:info:build return g_atomic_pointer_xor ((volatile gpointer *) atomic,
val);
:info:build
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./gatomic.h:191:45: note: expanded from macro
'g_atomic_pointer_xor'
:info:build (gsize) __sync_fetch_and_xor ((atomic), (val));
\
:info:build ^~~~~
:info:build 4 errors generated.
:info:build make[6]: *** [libglib_2_0_la-gatomic.lo] Error 1
}}}
Is it me? Do I have something misconfigured on this new system?
--
Ticket URL: <https://trac.macports.org/ticket/69518>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list