[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 11:09:44 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):

 And `gexiv2` builds neatly now:
 {{{
 [14/21] /opt/local/bin/g++-mp-14  -o gexiv2/libgexiv2.2.dylib
 gexiv2/libgexiv2.2.dylib.p/meson-generated_.._gexiv2-enums.cpp.o
 gexiv2/libgexiv2.2.dylib.p/gexiv2-metadata.cpp.o
 gexiv2/libgexiv2.2.dylib.p/gexiv2-metadata-exif.cpp.o
 gexiv2/libgexiv2.2.dylib.p/gexiv2-metadata-gps.cpp.o
 gexiv2/libgexiv2.2.dylib.p/gexiv2-metadata-iptc.cpp.o
 gexiv2/libgexiv2.2.dylib.p/gexiv2-metadata-xmp.cpp.o
 gexiv2/libgexiv2.2.dylib.p/gexiv2-stream-io.cpp.o
 gexiv2/libgexiv2.2.dylib.p/gexiv2-preview-properties.cpp.o
 gexiv2/libgexiv2.2.dylib.p/gexiv2-preview-image.cpp.o
 gexiv2/libgexiv2.2.dylib.p/gexiv2-log.cpp.o
 gexiv2/libgexiv2.2.dylib.p/gexiv2-startup.cpp.o -L/opt/local/lib
 -I/opt/local/include -Wl,-dead_strip_dylibs
 -Wl,-headerpad_max_install_names -shared -install_name
 @rpath/libgexiv2.2.dylib -compatibility_version 17 -current_version 17.3
 -Wl,-headerpad_max_install_names -arch ppc -pipe -Os -std=c++14
 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc /opt/local/lib/libgobject-2.0.dylib
 /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib
 /opt/local/lib/libexiv2.dylib /opt/local/lib/libgio-2.0.dylib
 [15/21] /opt/local/bin/meson --internal symbolextractor
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/build
 gexiv2/libgexiv2.2.dylib gexiv2/libgexiv2.2.dylib
 gexiv2/libgexiv2.2.dylib.p/libgexiv2.2.dylib.symbols
 [16/21] env
 PKG_CONFIG_PATH=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/build
 /meson-uninstalled PKG_CONFIG=/opt/local/bin/pkg-config /opt/local/bin/g
 -ir-scanner --quiet --no-libtool --namespace=GExiv2 --nsversion=0.10
 --warn-all --output gexiv2/GExiv2-0.10.gir --c-include=gexiv2/gexiv2.h
 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3/gexiv2
 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/build/gexiv2
 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3/gexiv2/..
 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/build/gexiv2/..
 --filelist=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/build/gexiv2/libgexiv2.2.dylib.p/GExiv2_0.10_gir_filelist
 --include=GObject-2.0 --include=Gio-2.0 --symbol-prefix=gexiv2
 --identifier-prefix=GExiv2 --pkg-export=gexiv2 --cflags-begin
 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3/gexiv2/..
 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/build/gexiv2/..
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -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_gnome_gexiv2/gexiv2/work/build/gexiv2
 --library gexiv2 -L/opt/local/lib -L/opt/local/lib --extra-
 library=gobject-2.0 --extra-library=glib-2.0 --extra-library=intl --extra-
 library=exiv2 --extra-library=gio-2.0 --extra-library=girepository-1.0
 --sources-top-dirs
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3/
 --sources-top-dirs
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/build/
 [17/21] /opt/local/bin/g-ir-compiler gexiv2/GExiv2-0.10.gir --output
 gexiv2/GExiv2-0.10.typelib --includedir=/opt/local/share/gir-1.0 --shared-
 library=/opt/local/lib/libgexiv2.2.dylib
 [18/21] /opt/local/bin/vapigen --quiet --library=gexiv2
 --directory=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/build/gexiv2
 --pkg=glib-2.0 --pkg=gobject-2.0 --pkg=gio-2.0
 --metadatadir=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3/gexiv2
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gnome_gexiv2/gexiv2/work/build/gexiv2/GExiv2-0.10.gir
 [19/21] valac -C --debug --pkg gio-2.0 --pkg gobject-2.0 --color=always
 --directory tools/gexiv2-tool.p --basedir ../gexiv2-0.14.3/tools
 --disable-since-check gexiv2/gexiv2.vapi
 ../gexiv2-0.14.3/tools/gexiv2-tool.vala
 [20/21] ccache /opt/local/bin/gcc-mp-14 -Itools/gexiv2-tool.p -Itools
 -I../gexiv2-0.14.3/tools -I. -I../gexiv2-0.14.3 -Igexiv2
 -I../gexiv2-0.14.3/gexiv2 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -fdiagnostics-
 color=always -Wall -Winvalid-pch -O0 -g -pipe -Os -arch ppc -MD -MQ
 tools/gexiv2-tool.p/meson-generated_gexiv2-tool.c.o -MF
 tools/gexiv2-tool.p/meson-generated_gexiv2-tool.c.o.d -o
 tools/gexiv2-tool.p/meson-generated_gexiv2-tool.c.o -c
 tools/gexiv2-tool.p/gexiv2-tool.c
 gexiv2-tool.c: In function '_vala_main':
 gexiv2-tool.c:743:11: warning: variable '_tags_size_' set but not used
 [-Wunused-but-set-variable]
 gexiv2-tool.c:920:11: warning: unused variable '_tag_collection_size_'
 [-Wunused-variable]
 gexiv2-tool.c:988:11: warning: unused variable '_tag_collection_size_'
 [-Wunused-variable]
 gexiv2-tool.c:1056:11: warning: unused variable '_tag_collection_size_'
 [-Wunused-variable]
 gexiv2-tool.c:240:8: warning: variable '_xmp_tags_size_' set but not used
 [-Wunused-but-set-variable]
 gexiv2-tool.c:234:8: warning: variable '_iptc_tags_size_' set but not used
 [-Wunused-but-set-variable]
 gexiv2-tool.c:228:8: warning: variable '_exif_tags_size_' set but not used
 [-Wunused-but-set-variable]
 gexiv2-tool.c: In function 'print_all_xmp_namespaces':
 gexiv2-tool.c:1454:8: warning: unused variable '_tag_collection_size_'
 [-Wunused-variable]
 [21/21] /opt/local/bin/g++-mp-14  -o tools/gexiv2-tool tools/gexiv2-tool.p
 /meson-generated_gexiv2-tool.c.o -L/opt/local/lib -I/opt/local/include
 -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names
 -Wl,-headerpad_max_install_names -arch ppc -pipe -Os -std=c++14
 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -Wl,-rpath, at loader_path/../gexiv2
 gexiv2/libgexiv2.2.dylib /opt/local/lib/libgobject-2.0.dylib
 /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib
 /opt/local/lib/libgio-2.0.dylib
 --->  Staging gexiv2 into destroot
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71191#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list