[MacPorts] #71191: gexiv2: malloc errors during the build, but the build still succeeds: malloc: *** error for object 0x175c034: Non-aligned pointer being freed
MacPorts
noreply at macports.org
Tue Oct 29 10:50:36 UTC 2024
#71191: gexiv2: malloc errors during the build, but the build still succeeds:
malloc: *** error for object 0x175c034: Non-aligned pointer being freed
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.2
Resolution: | Keywords:
Port: gexiv2 |
---------------------------+--------------------
Comment (by barracuda156):
Replying to [comment:1 kencu]:
> best bet would probably be to set the DYLD_LIBRARY_PATH to the libgcc
libdir during the configure/build/destroot phases
>
> or statically link libgcc, which nobody likes much
By the way, I just noticed this with another port:
{{{
[29/30] env
PKG_CONFIG_PATH=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/build
/meson-uninstalled PKG_CONFIG=/opt/local/bin/pkg-config /opt/local/bin/g
-ir-scanner --quiet --no-libtool --namespace=CM --nsversion=0 --warn-all
--output src/CM-0.gir
-L/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/build/src
--quiet
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/libcmatrix-0.0.2/src
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/build/src
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/libcmatrix-0.0.2/.
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/build/.
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/libcmatrix-0.0.2/src
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/build/src
--filelist=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/build/src/libcmatrix.0.dylib.p/CM_0_gir_filelist
-L/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/build/src
--extra-library=cmatrix --include=Gio-2.0 --include=Soup-3.0
--include=Secret-1 --symbol-prefix=cm --identifier-prefix=Cm --pkg-
export=cmatrix-0 --cflags-begin -DCMATRIX_COMPILATION
-DCMATRIX_USE_EXPERIMENTAL_API
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/libcmatrix-0.0.2/.
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/build/.
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/libcmatrix-0.0.2/src
-I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/build/src
-I/opt/local/include/libsecret-1 -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/json-glib-1.0 -I/opt/local/include/libsoup-3.0
-I/opt/local/include/gobject-introspection-1.0 -I/opt/local/include
--cflags-end --add-include-path=/opt/local/share/gir-1.0
-L/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/build/src
--library cmatrix -L/opt/local/lib -L/opt/local/lib --extra-library=gcrypt
--extra-library=secret-1 --extra-library=gio-2.0 --extra-
library=gobject-2.0 --extra-library=glib-2.0 --extra-library=intl --extra-
library=sqlite3 --extra-library=json-glib-1.0 --extra-library=olm --extra-
library=soup-3.0 --extra-library=gmodule-2.0 --extra-library=m --extra-
library=girepository-1.0 --sources-top-dirs
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/libcmatrix-0.0.2/
--sources-top-dirs
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libcmatrix/libcmatrix/work/build/
--warn-error
CM-0(12459) malloc: *** error for object 0x12ac034: Non-aligned pointer
being freed
*** set a breakpoint in malloc_error_break to debug
CM-0(12459) malloc: *** error for object 0x12ac0a4: Non-aligned pointer
being freed
*** set a breakpoint in malloc_error_break to debug
[30/30] /opt/local/bin/g-ir-compiler src/CM-0.gir --output
src/CM-0.typelib --includedir=/opt/local/share/gir-1.0 --shared-
library=/opt/local/lib/libcmatrix.0.dylib
}}}
Maybe it is `g-ir-compiler` which should be wrapper via legacysupport?
--
Ticket URL: <https://trac.macports.org/ticket/71191#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list