D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/libgweather-40.0-2.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.yeN4DL + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf libgweather-40.0 + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/libgweather-40.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libgweather-40.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.IbVRen + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd libgweather-40.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . build -Denable_vala=true -Dgtk_doc=true The Meson build system Version: 0.58.0 Source dir: /home/iurt/rpmbuild/BUILD/libgweather-40.0 Build dir: /home/iurt/rpmbuild/BUILD/libgweather-40.0/build Build type: native build Project name: libgweather Project version: 40.0 C compiler for the host machine: cc (gcc 11.2.1 "cc (Mageia 11.2.1-0.20210904.1.mga9) 11.2.1 20210904") C linker for the host machine: cc ld.bfd 2.37 Host machine cpu family: aarch64 Host machine cpu: aarch64 Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency gtk+-3.0 found: YES 3.24.30 Run-time dependency gio-2.0 found: YES 2.68.4 Run-time dependency libsoup-2.4 found: YES 2.72.0 Run-time dependency libxml-2.0 found: YES 2.9.12 Run-time dependency geocode-glib-1.0 found: YES 3.26.2 Library m found: YES Program pylint-3 pylint3 pylint found: NO Checking whether type "struct tm" has member "tm_gmtoff" : YES Header <time.h> has symbol "timezone" : YES Header <langinfo.h> has symbol "_NL_MEASUREMENT_MEASUREMENT" : YES Configuring config.h using configuration Did not find CMake 'cmake' Found CMake: NO Run-time dependency gladeui-2.0 found: NO (tried pkgconfig and cmake) Program xmllint found: YES (/usr/bin/xmllint) Program gen_locations_variant.py found: YES (/home/iurt/rpmbuild/BUILD/libgweather-40.0/data/gen_locations_variant.py) Compiler for C supports link arguments -Wl,--version-script,/home/iurt/rpmbuild/BUILD/libgweather-40.0/libgweather/libgweather.map: YES Configuring gweather-version.h using configuration Program glib-mkenums found: YES (/usr/bin/glib-mkenums) Found pkg-config: /usr/bin/pkg-config (1.8.0) Build-time dependency gobject-introspection-1.0 found: YES 1.68.0 Dependency gobject-introspection-1.0 found: YES 1.68.0 (cached) Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Dependency gobject-introspection-1.0 found: YES 1.68.0 (cached) Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler) Program vapigen found: YES (/usr/bin/vapigen) Program glib-mkenums found: YES (/usr/bin/glib-mkenums) Configuring version.xml using configuration Run-time dependency glib-2.0 found: YES 2.68.4 Dependency gtk+-3.0 found: YES 3.24.30 (cached) Program gtkdoc-scan found: YES (/usr/bin/gtkdoc-scan) Program gtkdoc-scangobj found: YES (/usr/bin/gtkdoc-scangobj) Program gtkdoc-mkdb found: YES (/usr/bin/gtkdoc-mkdb) Program gtkdoc-mkhtml found: YES (/usr/bin/gtkdoc-mkhtml) Program gtkdoc-fixxref found: YES (/usr/bin/gtkdoc-fixxref) Program meson/meson_post_install.py found: YES (/home/iurt/rpmbuild/BUILD/libgweather-40.0/meson/meson_post_install.py) Build targets in project: 22 Found ninja-1.10.2 at /usr/bin/ninja + /usr/bin/meson compile -C build -j 8 --verbose ninja: Entering directory `build' [1/51] /usr/bin/meson --internal exe --capture schemas/org.gnome.GWeather.enums.xml -- /usr/bin/glib-mkenums --comments '<!-- @comment@ -->' --fhead '<schemalist>' --vhead '<@type@ id="org.gnome.GWeather.@EnumName@">' --vprod '<value nick="@valuenick@" value="@valuenum@"/>' --vtail '</@type@>' --ftail '</schemalist>' /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../schemas/../libgweather/gweather-enums.h [2/51] /usr/bin/meson --internal exe --capture libgweather/gweather-enum-types.h -- /usr/bin/glib-mkenums --template /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-enum-types.h.tmpl /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather.h /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-location.h /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-location-entry.h /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-timezone.h /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-timezone-menu.h /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-weather.h /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-enums.h [3/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/gweather-private.c.o -MF libgweather/libgweather-3.so.16.0.0.p/gweather-private.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/gweather-private.c.o -c ../libgweather/gweather-private.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [4/51] /usr/bin/meson --internal exe --capture libgweather/gweather-enum-types.c -- /usr/bin/glib-mkenums --template /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-enum-types.c.tmpl /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather.h /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-location.h /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-location-entry.h /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-timezone.h /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-timezone-menu.h /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-weather.h /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/../libgweather/gweather-enums.h [5/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/gweather.c.o -MF libgweather/libgweather-3.so.16.0.0.p/gweather.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/gweather.c.o -c ../libgweather/gweather.c [6/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/weather-metno.c.o -MF libgweather/libgweather-3.so.16.0.0.p/weather-metno.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/weather-metno.c.o -c ../libgweather/weather-metno.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/weather-metno.c: In function ‘date_to_time_t’: ../libgweather/weather-metno.c:134:5: warning: ‘g_time_zone_new’ is deprecated: Use 'g_time_zone_new_identifier' instead [-Wdeprecated-declarations] 134 | tz = g_time_zone_new (tzid); | ^~ In file included from /usr/include/glib-2.0/glib/gdatetime.h:31, from /usr/include/glib-2.0/glib/gbookmarkfile.h:26, from /usr/include/glib-2.0/glib.h:37, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gtimezone.h:57:25: note: declared here 57 | GTimeZone * g_time_zone_new (const gchar *identifier); | ^~~~~~~~~~~~~~~ [7/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/weather-iwin.c.o -MF libgweather/libgweather-3.so.16.0.0.p/weather-iwin.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/weather-iwin.c.o -c ../libgweather/weather-iwin.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/weather-iwin.c: In function ‘parseForecastXml’: ../libgweather/weather-iwin.c:103:37: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 103 | GTimeVal tv; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../libgweather/weather-iwin.c:105:37: warning: ‘g_time_val_from_iso8601’ is deprecated: Use 'g_date_time_new_from_iso8601' instead [-Wdeprecated-declarations] 105 | if (g_time_val_from_iso8601 ((const char *)val, &tv)) { | ^~ In file included from /usr/include/glib-2.0/glib.h:89, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gtimer.h:70:10: note: declared here 70 | gboolean g_time_val_from_iso8601 (const gchar *iso_date, | ^~~~~~~~~~~~~~~~~~~~~~~ [8/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/meson-generated_.._gweather-enum-types.c.o -MF libgweather/libgweather-3.so.16.0.0.p/meson-generated_.._gweather-enum-types.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/meson-generated_.._gweather-enum-types.c.o -c libgweather/gweather-enum-types.c [9/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/weather-metar.c.o -MF libgweather/libgweather-3.so.16.0.0.p/weather-metar.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/weather-metar.c.o -c ../libgweather/weather-metar.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [10/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/weather-owm.c.o -MF libgweather/libgweather-3.so.16.0.0.p/weather-owm.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/weather-owm.c.o -c ../libgweather/weather-owm.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/weather-owm.c: In function ‘date_to_time_t’: ../libgweather/weather-owm.c:145:5: warning: ‘g_time_zone_new’ is deprecated: Use 'g_time_zone_new_identifier' instead [-Wdeprecated-declarations] 145 | tz = g_time_zone_new (tzid); | ^~ In file included from /usr/include/glib-2.0/glib/gdatetime.h:31, from /usr/include/glib-2.0/glib/gbookmarkfile.h:26, from /usr/include/glib-2.0/glib.h:37, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gtimezone.h:57:25: note: declared here 57 | GTimeZone * g_time_zone_new (const gchar *identifier); | ^~~~~~~~~~~~~~~ [11/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/weather-sun.c.o -MF libgweather/libgweather-3.so.16.0.0.p/weather-sun.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/weather-sun.c.o -c ../libgweather/weather-sun.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [12/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/weather-moon.c.o -MF libgweather/libgweather-3.so.16.0.0.p/weather-moon.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/weather-moon.c.o -c ../libgweather/weather-moon.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [13/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/gweather-timezone.c.o -MF libgweather/libgweather-3.so.16.0.0.p/gweather-timezone.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/gweather-timezone.c.o -c ../libgweather/gweather-timezone.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: ../libgweather/gweather-timezone.c: In function ‘gweather_timezone_get_type’: /usr/include/glib-2.0/glib/gatomic.h:117:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types] 117 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gthread.h:260:7: note: in expansion of macro ‘g_atomic_pointer_get’ 260 | (!g_atomic_pointer_get (location) && \ | ^~~~~~~~~~~~~~~~~~~~ ../libgweather/gweather-timezone.c:267:9: note: in expansion of macro ‘g_once_init_enter’ 267 | if (g_once_init_enter (&type_volatile)) { | ^~~~~~~~~~~~~~~~~ [14/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/gweather-weather.c.o -MF libgweather/libgweather-3.so.16.0.0.p/gweather-weather.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/gweather-weather.c.o -c ../libgweather/gweather-weather.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [15/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/gweather-timezone-menu.c.o -MF libgweather/libgweather-3.so.16.0.0.p/gweather-timezone-menu.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/gweather-timezone-menu.c.o -c ../libgweather/gweather-timezone-menu.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/gweather-timezone-menu.c: In function ‘insert_locations’: ../libgweather/gweather-timezone-menu.c:237:9: warning: ‘gweather_location_get_children’ is deprecated: Use 'gweather_location_next_child' instead [-Wdeprecated-declarations] 237 | children = gweather_location_get_children (loc); | ^~~~~~~~ In file included from ../libgweather/gweather-timezone-menu.h:29, from ../libgweather/gweather-timezone-menu.c:25: ../libgweather/gweather-location.h:67:24: note: declared here 67 | GWeatherLocation **gweather_location_get_children (GWeatherLocation *loc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [16/51] cc -Ilibgweather/test_locations_utc.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_locations_utc.p/test_locations_utc.c.o -MF libgweather/test_locations_utc.p/test_locations_utc.c.o.d -o libgweather/test_locations_utc.p/test_locations_utc.c.o -c ../libgweather/test_locations_utc.c [17/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/gweather-location-entry.c.o -MF libgweather/libgweather-3.so.16.0.0.p/gweather-location-entry.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/gweather-location-entry.c.o -c ../libgweather/gweather-location-entry.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/gweather-location-entry.c: In function ‘gweather_location_entry_init’: ../libgweather/gweather-location-entry.c:111:13: warning: Deprecated pre-processor symbol, replace with 111 | priv = entry->priv = G_TYPE_INSTANCE_GET_PRIVATE (entry, GWEATHER_TYPE_LOCATION_ENTRY, GWeatherLocationEntryPrivate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libgweather/gweather-location-entry.c: In function ‘gweather_location_entry_class_init’: ../libgweather/gweather-location-entry.c:249:5: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations] 249 | g_type_class_add_private (location_entry_class, sizeof (GWeatherLocationEntryPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:27, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/gobject/gtype.h:1307:10: note: declared here 1307 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ [18/51] cc -Ilibgweather/test_libgweather.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_libgweather.p/test_libgweather.c.o -MF libgweather/test_libgweather.p/test_libgweather.c.o.d -o libgweather/test_libgweather.p/test_libgweather.c.o -c ../libgweather/test_libgweather.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_libgweather.c:29: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/libsoup-2.4/libsoup/soup-types.h:9, from /usr/include/libsoup-2.4/libsoup/soup-address.h:11, from /usr/include/libsoup-2.4/libsoup/soup.h:15, from ../libgweather/test_libgweather.c:24: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [19/51] cc -Ilibgweather/test_locations.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_locations.p/test_locations.c.o -MF libgweather/test_locations.p/test_locations.c.o.d -o libgweather/test_locations.p/test_locations.c.o -c ../libgweather/test_locations.c [20/51] cc -Ilibgweather/test_sun_moon.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_sun_moon.p/weather-sun.c.o -MF libgweather/test_sun_moon.p/weather-sun.c.o.d -o libgweather/test_sun_moon.p/weather-sun.c.o -c ../libgweather/weather-sun.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [21/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/meson-generated_.._gweather-enum-types.c.o -MF libgweather/test_metar.p/meson-generated_.._gweather-enum-types.c.o.d -o libgweather/test_metar.p/meson-generated_.._gweather-enum-types.c.o -c libgweather/gweather-enum-types.c [22/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/test_metar.c.o -MF libgweather/test_metar.p/test_metar.c.o.d -o libgweather/test_metar.p/test_metar.c.o -c ../libgweather/test_metar.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_metar.c:13: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_metar.c:10: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [23/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/gweather-private.c.o -MF libgweather/test_metar.p/gweather-private.c.o.d -o libgweather/test_metar.p/gweather-private.c.o -c ../libgweather/gweather-private.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-private.c:23: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/gweather-private.c:23: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [24/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/gweather.c.o -MF libgweather/test_metar.p/gweather.c.o.d -o libgweather/test_metar.p/gweather.c.o -c ../libgweather/gweather.c [25/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/weather-metar.c.o -MF libgweather/test_metar.p/weather-metar.c.o.d -o libgweather/test_metar.p/weather-metar.c.o -c ../libgweather/weather-metar.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metar.c:27: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-metar.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [26/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/weather-metno.c.o -MF libgweather/test_metar.p/weather-metno.c.o.d -o libgweather/test_metar.p/weather-metno.c.o -c ../libgweather/weather-metno.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-metno.c:36: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/weather-metno.c: In function ‘date_to_time_t’: ../libgweather/weather-metno.c:134:5: warning: ‘g_time_zone_new’ is deprecated: Use 'g_time_zone_new_identifier' instead [-Wdeprecated-declarations] 134 | tz = g_time_zone_new (tzid); | ^~ In file included from /usr/include/glib-2.0/glib/gdatetime.h:31, from /usr/include/glib-2.0/glib/gbookmarkfile.h:26, from /usr/include/glib-2.0/glib.h:37, from ../libgweather/weather-metno.c:30: /usr/include/glib-2.0/glib/gtimezone.h:57:25: note: declared here 57 | GTimeZone * g_time_zone_new (const gchar *identifier); | ^~~~~~~~~~~~~~~ [27/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/weather-iwin.c.o -MF libgweather/test_metar.p/weather-iwin.c.o.d -o libgweather/test_metar.p/weather-iwin.c.o -c ../libgweather/weather-iwin.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-iwin.c:29: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/weather-iwin.c: In function ‘parseForecastXml’: ../libgweather/weather-iwin.c:103:37: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 103 | GTimeVal tv; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ../libgweather/weather-iwin.c:105:37: warning: ‘g_time_val_from_iso8601’ is deprecated: Use 'g_date_time_new_from_iso8601' instead [-Wdeprecated-declarations] 105 | if (g_time_val_from_iso8601 ((const char *)val, &tv)) { | ^~ In file included from /usr/include/glib-2.0/glib.h:89, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-iwin.c:29: /usr/include/glib-2.0/glib/gtimer.h:70:10: note: declared here 70 | gboolean g_time_val_from_iso8601 (const gchar *iso_date, | ^~~~~~~~~~~~~~~~~~~~~~~ [28/51] cc -Ilibgweather/libgweather-3.so.16.0.0.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -MD -MQ libgweather/libgweather-3.so.16.0.0.p/gweather-location.c.o -MF libgweather/libgweather-3.so.16.0.0.p/gweather-location.c.o.d -o libgweather/libgweather-3.so.16.0.0.p/gweather-location.c.o -c ../libgweather/gweather-location.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: ../libgweather/gweather-location.c: In function ‘gweather_location_get_type’: /usr/include/glib-2.0/glib/gatomic.h:117:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types] 117 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gthread.h:260:7: note: in expansion of macro ‘g_atomic_pointer_get’ 260 | (!g_atomic_pointer_get (location) && \ | ^~~~~~~~~~~~~~~~~~~~ ../libgweather/gweather-location.c:329:9: note: in expansion of macro ‘g_once_init_enter’ 329 | if (g_once_init_enter (&type_volatile)) { | ^~~~~~~~~~~~~~~~~ [29/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/weather-sun.c.o -MF libgweather/test_metar.p/weather-sun.c.o.d -o libgweather/test_metar.p/weather-sun.c.o -c ../libgweather/weather-sun.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-sun.c:35: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-sun.c:33: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [30/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/weather-owm.c.o -MF libgweather/test_metar.p/weather-owm.c.o.d -o libgweather/test_metar.p/weather-owm.c.o -c ../libgweather/weather-owm.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-owm.c:37: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/weather-owm.c: In function ‘date_to_time_t’: ../libgweather/weather-owm.c:145:5: warning: ‘g_time_zone_new’ is deprecated: Use 'g_time_zone_new_identifier' instead [-Wdeprecated-declarations] 145 | tz = g_time_zone_new (tzid); | ^~ In file included from /usr/include/glib-2.0/glib/gdatetime.h:31, from /usr/include/glib-2.0/glib/gbookmarkfile.h:26, from /usr/include/glib-2.0/glib.h:37, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-private.h:27, from ../libgweather/weather-owm.c:37: /usr/include/glib-2.0/glib/gtimezone.h:57:25: note: declared here 57 | GTimeZone * g_time_zone_new (const gchar *identifier); | ^~~~~~~~~~~~~~~ [31/51] cc -o libgweather/libgweather-3.so.16.0.0 libgweather/libgweather-3.so.16.0.0.p/meson-generated_.._gweather-enum-types.c.o libgweather/libgweather-3.so.16.0.0.p/gweather.c.o libgweather/libgweather-3.so.16.0.0.p/gweather-private.c.o libgweather/libgweather-3.so.16.0.0.p/gweather-weather.c.o libgweather/libgweather-3.so.16.0.0.p/weather-metar.c.o libgweather/libgweather-3.so.16.0.0.p/weather-iwin.c.o libgweather/libgweather-3.so.16.0.0.p/weather-metno.c.o libgweather/libgweather-3.so.16.0.0.p/weather-owm.c.o libgweather/libgweather-3.so.16.0.0.p/weather-sun.c.o libgweather/libgweather-3.so.16.0.0.p/weather-moon.c.o libgweather/libgweather-3.so.16.0.0.p/gweather-location.c.o libgweather/libgweather-3.so.16.0.0.p/gweather-timezone.c.o libgweather/libgweather-3.so.16.0.0.p/gweather-location-entry.c.o libgweather/libgweather-3.so.16.0.0.p/gweather-timezone-menu.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libgweather-3.so.16 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--version-script,/home/iurt/rpmbuild/BUILD/libgweather-40.0/libgweather/libgweather.map -lm /usr/lib64/libgtk-3.so /usr/lib64/libgdk-3.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libharfbuzz.so /usr/lib64/libatk-1.0.so /usr/lib64/libcairo-gobject.so /usr/lib64/libcairo.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libsoup-2.4.so /usr/lib64/libxml2.so /usr/lib64/libgeocode-glib.so -Wl,--end-group [32/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/weather-moon.c.o -MF libgweather/test_metar.p/weather-moon.c.o.d -o libgweather/test_metar.p/weather-moon.c.o -c ../libgweather/weather-moon.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [33/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/gweather-weather.c.o -MF libgweather/test_metar.p/gweather-weather.c.o.d -o libgweather/test_metar.p/gweather-weather.c.o -c ../libgweather/gweather-weather.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-weather.c:37: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from ../libgweather/gweather-weather.c:34: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [34/51] /usr/bin/meson --internal symbolextractor /home/iurt/rpmbuild/BUILD/libgweather-40.0/build libgweather/libgweather-3.so.16.0.0 libgweather/libgweather-3.so.16.0.0 libgweather/libgweather-3.so.16.0.0.p/libgweather-3.so.16.0.0.symbols [35/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/gweather-timezone.c.o -MF libgweather/test_metar.p/gweather-timezone.c.o.d -o libgweather/test_metar.p/gweather-timezone.c.o -c ../libgweather/gweather-timezone.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone.c:28: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from ../libgweather/gweather-timezone.h:28, from ../libgweather/gweather-timezone.c:27: ../libgweather/gweather-timezone.c: In function ‘gweather_timezone_get_type’: /usr/include/glib-2.0/glib/gatomic.h:117:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types] 117 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gthread.h:260:7: note: in expansion of macro ‘g_atomic_pointer_get’ 260 | (!g_atomic_pointer_get (location) && \ | ^~~~~~~~~~~~~~~~~~~~ ../libgweather/gweather-timezone.c:267:9: note: in expansion of macro ‘g_once_init_enter’ 267 | if (g_once_init_enter (&type_volatile)) { | ^~~~~~~~~~~~~~~~~ [36/51] cc -o libgweather/test_locations libgweather/test_locations.p/test_locations.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather -Wl,--start-group libgweather/libgweather-3.so.16.0.0 -lm /usr/lib64/libgtk-3.so /usr/lib64/libgdk-3.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libharfbuzz.so /usr/lib64/libatk-1.0.so /usr/lib64/libcairo-gobject.so /usr/lib64/libcairo.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libsoup-2.4.so /usr/lib64/libxml2.so /usr/lib64/libgeocode-glib.so -Wl,--end-group [37/51] cc -Ilibgweather/test_sun_moon.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_sun_moon.p/test_sun_moon.c.o -MF libgweather/test_sun_moon.p/test_sun_moon.c.o.d -o libgweather/test_sun_moon.p/test_sun_moon.c.o -c ../libgweather/test_sun_moon.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/test_sun_moon.c:12: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/test_sun_moon.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [38/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/gweather-timezone-menu.c.o -MF libgweather/test_metar.p/gweather-timezone-menu.c.o.d -o libgweather/test_metar.p/gweather-timezone-menu.c.o -c ../libgweather/gweather-timezone-menu.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-timezone-menu.c:26: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../libgweather/gweather-timezone-menu.h:28, from ../libgweather/gweather-timezone-menu.c:25: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/gweather-timezone-menu.c: In function ‘insert_locations’: ../libgweather/gweather-timezone-menu.c:237:9: warning: ‘gweather_location_get_children’ is deprecated: Use 'gweather_location_next_child' instead [-Wdeprecated-declarations] 237 | children = gweather_location_get_children (loc); | ^~~~~~~~ In file included from ../libgweather/gweather-timezone-menu.h:29, from ../libgweather/gweather-timezone-menu.c:25: ../libgweather/gweather-location.h:67:24: note: declared here 67 | GWeatherLocation **gweather_location_get_children (GWeatherLocation *loc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [39/51] cc -o libgweather/test_locations_utc libgweather/test_locations_utc.p/test_locations_utc.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather -Wl,--start-group libgweather/libgweather-3.so.16.0.0 -lm /usr/lib64/libgtk-3.so /usr/lib64/libgdk-3.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libharfbuzz.so /usr/lib64/libatk-1.0.so /usr/lib64/libcairo-gobject.so /usr/lib64/libcairo.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libsoup-2.4.so /usr/lib64/libxml2.so /usr/lib64/libgeocode-glib.so -Wl,--end-group [40/51] cc -o libgweather/test_libgweather libgweather/test_libgweather.p/test_libgweather.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather -Wl,--start-group libgweather/libgweather-3.so.16.0.0 -lm /usr/lib64/libgtk-3.so /usr/lib64/libgdk-3.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libharfbuzz.so /usr/lib64/libatk-1.0.so /usr/lib64/libcairo-gobject.so /usr/lib64/libcairo.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libsoup-2.4.so /usr/lib64/libxml2.so /usr/lib64/libgeocode-glib.so -Wl,--end-group [41/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/gweather-location-entry.c.o -MF libgweather/test_metar.p/gweather-location-entry.c.o.d -o libgweather/test_metar.p/gweather-location-entry.c.o -c ../libgweather/gweather-location-entry.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location-entry.c:30: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:26, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ ../libgweather/gweather-location-entry.c: In function ‘gweather_location_entry_init’: ../libgweather/gweather-location-entry.c:111:13: warning: Deprecated pre-processor symbol, replace with 111 | priv = entry->priv = G_TYPE_INSTANCE_GET_PRIVATE (entry, GWEATHER_TYPE_LOCATION_ENTRY, GWeatherLocationEntryPrivate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libgweather/gweather-location-entry.c: In function ‘gweather_location_entry_class_init’: ../libgweather/gweather-location-entry.c:249:5: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations] 249 | g_type_class_add_private (location_entry_class, sizeof (GWeatherLocationEntryPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/geocode-glib-1.0/geocode-glib/geocode-glib.h:27, from ../libgweather/gweather-location-entry.c:26: /usr/include/glib-2.0/gobject/gtype.h:1307:10: note: declared here 1307 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ [42/51] cc -Ilibgweather/test_weather.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_weather.p/test_weather.c.o -MF libgweather/test_weather.p/test_weather.c.o.d -o libgweather/test_weather.p/test_weather.c.o -c ../libgweather/test_weather.c ../libgweather/test_weather.c: In function ‘find_loc_children’: ../libgweather/test_weather.c:22:5: warning: ‘gweather_location_get_children’ is deprecated: Use 'gweather_location_next_child' instead [-Wdeprecated-declarations] 22 | children = gweather_location_get_children (location); | ^~~~~~~~ In file included from ../libgweather/gweather-weather.h:28, from ../libgweather/test_weather.c:3: ../libgweather/gweather-location.h:67:24: note: declared here 67 | GWeatherLocation **gweather_location_get_children (GWeatherLocation *loc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [43/51] cc -Ilibgweather/test_sun_moon.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_sun_moon.p/weather-moon.c.o -MF libgweather/test_sun_moon.p/weather-moon.c.o.d -o libgweather/test_sun_moon.p/weather-moon.c.o -c ../libgweather/weather-moon.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/weather-moon.c:38: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from ../libgweather/weather-moon.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [44/51] cc -o libgweather/test_weather libgweather/test_weather.p/test_weather.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather -Wl,--start-group libgweather/libgweather-3.so.16.0.0 -lm /usr/lib64/libgtk-3.so /usr/lib64/libgdk-3.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libharfbuzz.so /usr/lib64/libatk-1.0.so /usr/lib64/libcairo-gobject.so /usr/lib64/libcairo.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libsoup-2.4.so /usr/lib64/libxml2.so /usr/lib64/libgeocode-glib.so -Wl,--end-group [45/51] cc -o libgweather/test_sun_moon libgweather/test_sun_moon.p/test_sun_moon.c.o libgweather/test_sun_moon.p/weather-sun.c.o libgweather/test_sun_moon.p/weather-moon.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather -Wl,--start-group libgweather/libgweather-3.so.16.0.0 -lm /usr/lib64/libgtk-3.so /usr/lib64/libgdk-3.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libharfbuzz.so /usr/lib64/libatk-1.0.so /usr/lib64/libcairo-gobject.so /usr/lib64/libcairo.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libsoup-2.4.so /usr/lib64/libxml2.so /usr/lib64/libgeocode-glib.so -Wl,--end-group [46/51] cc -Ilibgweather/test_metar.p -Ilibgweather -I../libgweather -I. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pthread '-DTEST_LOCATIONS="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/data/Locations.bin"' '-DSCHEMASDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas"' '-DSCHEMAS_BUILDDIR="/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/schemas"' -MD -MQ libgweather/test_metar.p/gweather-location.c.o -MF libgweather/test_metar.p/gweather-location.c.o.d -o libgweather/test_metar.p/gweather-location.c.o -c ../libgweather/gweather-location.c In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_to_gvariant’: ../libgweather/gweather-db.h:250:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 250 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘Db_variant_to_gvariant’: ../libgweather/gweather-db.h:258:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 258 | return g_variant_new_from_data (G_VARIANT_TYPE_VARIANT, g_memdup (v.base, v.size), v.size, TRUE, notify, user_data); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘Db_variant_dup_child_to_gvariant’: ../libgweather/gweather-db.h:288:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 288 | return g_variant_new_from_data (type, g_memdup (child.base, child.size), child.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_i18n_dup_to_gvariant’: ../libgweather/gweather-db.h:417:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 417 | return g_variant_new_from_data (DB_I18N_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_arrayofstring_dup_to_gvariant’: ../libgweather/gweather-db.h:533:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 533 | return g_variant_new_from_data (DB_ARRAYOFSTRING_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_timezone_dup_to_gvariant’: ../libgweather/gweather-db.h:672:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 672 | return g_variant_new_from_data (DB_TIMEZONE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_coordinate_dup_to_gvariant’: ../libgweather/gweather-db.h:792:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 792 | return g_variant_new_from_data (DB_COORDINATE_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_arrayofuint16_dup_to_gvariant’: ../libgweather/gweather-db.h:898:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 898 | return g_variant_new_from_data (DB_ARRAYOFUINT16_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1007:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1007 | return g_variant_new_from_data (DB_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_country_dup_to_gvariant’: ../libgweather/gweather-db.h:1309:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1309 | return g_variant_new_from_data (DB_WORLD_LOC_BY_COUNTRY_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_world_loc_by_metar_dup_to_gvariant’: ../libgweather/gweather-db.h:1504:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1504 | return g_variant_new_from_data (DB_WORLD_LOC_BY_METAR_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_world_timezones_dup_to_gvariant’: ../libgweather/gweather-db.h:1699:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1699 | return g_variant_new_from_data (DB_WORLD_TIMEZONES_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_arrayof_location_dup_to_gvariant’: ../libgweather/gweather-db.h:1889:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1889 | return g_variant_new_from_data (DB_ARRAYOF_LOCATION_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from ../libgweather/gweather-private.h:33, from ../libgweather/gweather-location.c:34: ../libgweather/gweather-db.h: In function ‘db_world_dup_to_gvariant’: ../libgweather/gweather-db.h:2009:3: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 2009 | return g_variant_new_from_data (DB_WORLD_TYPEFORMAT, g_memdup (v.base, v.size), v.size, TRUE, g_free, NULL); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: /usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/glib/gi18n-lib.h:21, from ../libgweather/gweather-location.c:28: ../libgweather/gweather-location.c: In function ‘gweather_location_get_type’: /usr/include/glib-2.0/glib/gatomic.h:117:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types] 117 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gthread.h:260:7: note: in expansion of macro ‘g_atomic_pointer_get’ 260 | (!g_atomic_pointer_get (location) && \ | ^~~~~~~~~~~~~~~~~~~~ ../libgweather/gweather-location.c:329:9: note: in expansion of macro ‘g_once_init_enter’ 329 | if (g_once_init_enter (&type_volatile)) { | ^~~~~~~~~~~~~~~~~ [47/51] cc -o libgweather/test_metar libgweather/test_metar.p/meson-generated_.._gweather-enum-types.c.o libgweather/test_metar.p/test_metar.c.o libgweather/test_metar.p/gweather.c.o libgweather/test_metar.p/gweather-private.c.o libgweather/test_metar.p/gweather-weather.c.o libgweather/test_metar.p/weather-metar.c.o libgweather/test_metar.p/weather-iwin.c.o libgweather/test_metar.p/weather-metno.c.o libgweather/test_metar.p/weather-owm.c.o libgweather/test_metar.p/weather-sun.c.o libgweather/test_metar.p/weather-moon.c.o libgweather/test_metar.p/gweather-location.c.o libgweather/test_metar.p/gweather-timezone.c.o libgweather/test_metar.p/gweather-location-entry.c.o libgweather/test_metar.p/gweather-timezone-menu.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather -Wl,--start-group libgweather/libgweather-3.so.16.0.0 -lm /usr/lib64/libgtk-3.so /usr/lib64/libgdk-3.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libharfbuzz.so /usr/lib64/libatk-1.0.so /usr/lib64/libcairo-gobject.so /usr/lib64/libcairo.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libsoup-2.4.so /usr/lib64/libxml2.so /usr/lib64/libgeocode-glib.so -Wl,--end-group [48/51] /usr/bin/g-ir-scanner --no-libtool --namespace=GWeather --nsversion=3.0 --warn-all --output libgweather/GWeather-3.0.gir --c-include=libgweather/gweather.h --warn-all -DGWEATHER_COMPILATION -I/home/iurt/rpmbuild/BUILD/libgweather-40.0/libgweather -I/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather -I/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/. -I/home/iurt/rpmbuild/BUILD/libgweather-40.0/. --filelist=/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather/libgweather-3.so.16.0.0.p/GWeather_3.0_gir_filelist --include=GObject-2.0 --include=Gtk-3.0 --symbol-prefix=gweather --identifier-prefix=GWeather --pkg-export=gweather-3.0 --cflags-begin -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -I/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/. -I/home/iurt/rpmbuild/BUILD/libgweather-40.0/. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L./libgweather --library gweather-3 --extra-library=m --extra-library=gtk-3 --extra-library=gdk-3 --extra-library=pangocairo-1.0 --extra-library=pango-1.0 --extra-library=harfbuzz --extra-library=atk-1.0 --extra-library=cairo-gobject --extra-library=cairo --extra-library=gdk_pixbuf-2.0 --extra-library=gio-2.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=soup-2.4 --extra-library=xml2 --extra-library=geocode-glib --extra-library=girepository-1.0 --sources-top-dirs /home/iurt/rpmbuild/BUILD/libgweather-40.0/subprojects/ --sources-top-dirs /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/subprojects/ g-ir-scanner: link: gcc -pthread -o /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/tmp-introspectrsiy70d9/GWeather-3.0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/tmp-introspectrsiy70d9/GWeather-3.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L./libgweather -lgweather-3 -lm -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lsoup-2.4 -lxml2 -lgeocode-glib -lgirepository-1.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags [49/51] /usr/bin/g-ir-compiler libgweather/GWeather-3.0.gir --output libgweather/GWeather-3.0.typelib --includedir=/usr/share/gir-1.0 [50/51] /usr/bin/vapigen --quiet --library=gweather-3.0 --directory=/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather --metadatadir=. --pkg=gobject-2.0 --pkg=gtk+-3.0 --metadatadir=/home/iurt/rpmbuild/BUILD/libgweather-40.0/libgweather /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather/GWeather-3.0.gir [51/51] /home/iurt/rpmbuild/BUILD/libgweather-40.0/data/gen_locations_variant.py ../data/Locations.xml data/Locations.bin + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.TIjq4K + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64 + cd libgweather-40.0 + '[' 1 -eq 1 ']' + DESTDIR=/home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64 + /usr/bin/meson install -C build --no-rebuild Installing data/Locations.bin to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/lib64/libgweather Installing libgweather/gweather-enum-types.h to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/include/libgweather-3.0/libgweather Installing libgweather/libgweather-3.so.16.0.0 to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/lib64 Installing libgweather/GWeather-3.0.gir to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/share/gir-1.0 Installing libgweather/GWeather-3.0.typelib to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/lib64/girepository-1.0 Installing libgweather/gweather-3.0.vapi to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/share/vala/vapi Installing schemas/org.gnome.GWeather.enums.xml to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/share/glib-2.0/schemas Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/libgweather/gweather.h to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/include/libgweather-3.0/libgweather Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/libgweather/gweather-location.h to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/include/libgweather-3.0/libgweather Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/libgweather/gweather-location-entry.h to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/include/libgweather-3.0/libgweather Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/libgweather/gweather-timezone.h to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/include/libgweather-3.0/libgweather Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/libgweather/gweather-timezone-menu.h to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/include/libgweather-3.0/libgweather Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/libgweather/gweather-weather.h to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/include/libgweather-3.0/libgweather Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/libgweather/gweather-enums.h to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/include/libgweather-3.0/libgweather Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/data/Locations.xml to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/share/libgweather Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/data/locations.dtd to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/share/libgweather Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather/gweather-version.h to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/include/libgweather-3.0/libgweather Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/meson-private/gweather-3.0.deps to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/share/vala/vapi Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/schemas/org.gnome.GWeather.gschema.xml to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/share/glib-2.0/schemas Installing /home/iurt/rpmbuild/BUILD/libgweather-40.0/build/meson-private/gweather-3.0.pc to /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/lib64/pkgconfig Running custom install script '/usr/bin/meson --internal gtkdoc --sourcedir=/home/iurt/rpmbuild/BUILD/libgweather-40.0 --builddir=/home/iurt/rpmbuild/BUILD/libgweather-40.0/build --subdir=doc --headerdirs=libgweather --mainfile=libgweather-docs.xml --modulename=libgweather --moduleversion= --mode=auto --gtkdoc-scan=/usr/bin/gtkdoc-scan --gtkdoc-scangobj=/usr/bin/gtkdoc-scangobj --gtkdoc-mkdb=/usr/bin/gtkdoc-mkdb --gtkdoc-mkhtml=/usr/bin/gtkdoc-mkhtml --gtkdoc-fixxref=/usr/bin/gtkdoc-fixxref --scanargs=--deprecated-guards="GWEATHER_DISABLE_DEPRECATED" --gobjects-types-file=/home/iurt/rpmbuild/BUILD/libgweather-40.0/doc/libgweather.types --fixxrefargs=--html-dir=/usr/share/gtk-doc/html@@--extra-dir=/usr/share/gtk-doc/html/glib@@--extra-dir=/usr/share/gtk-doc/html/gobject@@--extra-dir=/usr/share/gtk-doc/html/gio@@--extra-dir=/usr/share/gtk-doc/html/gtk --mkdbargs=--xml-mode@@--output-format=xml --content-files= --ignore-headers=gweather-enum-types.h@@gweather-parser.h@@gweather-private.h --cc=cc --ld=cc --cflags=-I/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/. -I/home/iurt/rpmbuild/BUILD/libgweather-40.0/. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libsoup-2.4 -I/usr/include/sysprof-4 -I/usr/include/geocode-glib-1.0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DGWEATHER_COMPILATION -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE --ldflags=-L/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather -Wl,-rpath,/home/iurt/rpmbuild/BUILD/libgweather-40.0/build/libgweather -lgweather-3 -lm -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lsoup-2.4 -lxml2 -lgeocode-glib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' Running custom install script '/usr/bin/meson --internal gettext install --subdir=po --localedir=share/locale --pkgname=libgweather-3.0' Running custom install script '/usr/bin/meson --internal gettext install --subdir=po-locations --localedir=share/locale --pkgname=libgweather-locations' Running custom install script '/home/iurt/rpmbuild/BUILD/libgweather-40.0/meson/meson_post_install.py' + /usr/lib/rpm/find-lang.sh /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64 libgweather --all-name + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 40.0-2.mga9 --unique-debug-suffix -40.0-2.mga9.aarch64 --unique-debug-src-base libgweather-40.0-2.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/libgweather-40.0 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/lib64/libgweather-3.so.16.0.0 dwz: ./usr/lib64/libgweather-3.so.16.0.0-40.0-2.mga9.aarch64.debug: Unknown debugging section .debug_line_str original debug info size: 624kB, size after compression: 624kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. 782 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.pN90wg + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd libgweather-40.0 + '[' 1 -eq 1 ']' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libgweather-40.0-2.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.srhgfz + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd libgweather-40.0 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/share/doc/libgweather + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/share/doc/libgweather + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/share/doc/libgweather + cp -pr NEWS /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64/usr/share/doc/libgweather + RPM_EC=0 ++ jobs -p + exit 0 Provides: libgweather = 40.0-2.mga9 libgweather(aarch-64) = 40.0-2.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64gweather3_16-40.0-2.mga9.aarch64 Provides: lib64gweather3_16 = 40.0-2.mga9 lib64gweather3_16(aarch-64) = 40.0-2.mga9 libgweather-3.so.16()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgeocode-glib.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-3.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libsoup-2.4.so.1()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) Obsoletes: lib64gweather-3_0 < 3.2.0 Processing files: lib64gweather-devel-40.0-2.mga9.aarch64 Provides: devel(libgweather-3(64bit)) lib64gweather-devel = 40.0-2.mga9 lib64gweather-devel(aarch-64) = 40.0-2.mga9 libgweather-devel = 40.0-2.mga9 pkgconfig(gweather-3.0) = 40.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devel(libgeocode-glib(64bit)) devel(libgio-2.0(64bit)) devel(libglib-2.0(64bit)) devel(libgobject-2.0(64bit)) devel(libgtk-3(64bit)) devel(libm(64bit)) devel(libsoup-2.4(64bit)) devel(libxml2(64bit)) pkgconfig pkgconfig(geocode-glib-1.0) pkgconfig(gio-2.0) pkgconfig(gtk+-3.0) pkgconfig(libsoup-2.4) pkgconfig(libxml-2.0) Obsoletes: lib64gweather-3-devel < 3.2.0 lib64gweather-devel < 3.1.3 Processing files: lib64gweather-gir3.0-40.0-2.mga9.aarch64 Provides: lib64gweather-gir3.0 = 40.0-2.mga9 lib64gweather-gir3.0(aarch-64) = 40.0-2.mga9 typelib(GWeather) = 3.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libgweather-3.so.16()(64bit) typelib(Atk) = 1.0 typelib(GLib) = 2.0 typelib(GModule) = 2.0 typelib(GObject) = 2.0 typelib(Gdk) = 3.0 typelib(GdkPixbuf) = 2.0 typelib(Gio) = 2.0 typelib(Gtk) = 3.0 typelib(HarfBuzz) = 0.0 typelib(Pango) = 1.0 typelib(cairo) = 1.0 typelib(xlib) = 2.0 Obsoletes: lib64gweather-3-gir3.0 < 3.2.0 Processing files: libgweather-debugsource-40.0-2.mga9.aarch64 Provides: libgweather-debugsource = 40.0-2.mga9 libgweather-debugsource(aarch-64) = 40.0-2.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64gweather3_16-debuginfo-40.0-2.mga9.aarch64 Provides: debuginfo(build-id) = 9ba50b92ce8c7ccda4b23c21b1a35d7ceee615c7 lib64gweather3_16-debuginfo = 40.0-2.mga9 lib64gweather3_16-debuginfo(aarch-64) = 40.0-2.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libgweather-debugsource(aarch-64) = 40.0-2.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64gweather-gir3.0-40.0-2.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64gweather3_16-40.0-2.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/libgweather-debugsource-40.0-2.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64gweather3_16-debuginfo-40.0-2.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64gweather-devel-40.0-2.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/libgweather-40.0-2.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.88Y5Nt + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd libgweather-40.0 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/libgweather-40.0-2.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Cv6My4 + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf libgweather-40.0 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!