From nobody Sat Nov 6 21:54:46 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C809D18465D1 for ; Sat, 6 Nov 2021 21:54:55 +0000 (UTC) (envelope-from bruce@hawaii-pacific.com) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.ionos.com", Issuer "GeoTrust RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hmrl24k3Yz4Z82 for ; Sat, 6 Nov 2021 21:54:54 +0000 (UTC) (envelope-from bruce@hawaii-pacific.com) Received: from [192.168.0.34] ([72.234.2.98]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MLNQq-1mivgL3x4s-000el5 for ; Sat, 06 Nov 2021 22:54:48 +0100 To: "freebsd-ports@freebsd.org" From: bruce@hawaii-pacific.com Subject: xiphos fails to build Message-ID: <5ef2be2b-5700-c6b0-efb1-d1ef481f51c7@hawaii-pacific.com> Date: Sat, 6 Nov 2021 11:54:46 -1000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.7 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:2DHGHjh3UbnzZjnf/7Q9BO3hONj37Uy5eqQCsRcpbqL+GYqnaOO pxrROSjMMXj2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dmarc=none; spf=none (mx1.freebsd.org: domain of bruce@hawaii-pacific.com has no SPF policy when checking 74.208.4.194) smtp.mailfrom=bruce@hawaii-pacific.com X-Spamd-Result: default: False [-0.11 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[74.208.4.194:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[hawaii-pacific.com]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.99)[0.995]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[74.208.4.194:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:74.208.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[72.234.2.98:received] X-ThisMailContainsUnwantedMimeParts: N /usr/bin/cc -DHAVE_CONFIG_H -I/usr/ports/misc/xiphos/work/.build -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src -I/usr/ports/misc/xiphos/work/.build/src/gtk -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/PkgConfig::DBus -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/Threads::Threads -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/PkgConfig::Core -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/PkgConfig::Gtk -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/PkgConfig::Gnome -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/PkgConfig::Sword -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/PkgConfig::Biblesync -isystem /usr/local/include/dbus-1.0 -isystem /usr/local/lib/dbus-1.0/include -isystem /usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include -isystem /usr/local/include -isystem /usr/local/include/uuid -isystem /usr/local/include/gtk-3.0 -isystem /usr/local/include/pango-1.0 -isystem /usr/local/include/harfbuzz -isystem /usr/local/include/freetype2 -isystem /usr/local/include/libpng16 -isystem /usr/local/include/fribidi -isystem /usr/local/include/cairo -isystem /usr/local/include/pixman-1 -isystem /usr/local/include/gdk-pixbuf-2.0 -isystem /usr/local/include/gio-unix-2.0 -isystem /usr/local/include/libepoll-shim -isystem /usr/local/include/atk-1.0 -isystem /usr/local/include/at-spi2-atk/2.0 -isystem /usr/local/include/at-spi-2.0 -isystem /usr/local/include/webkitgtk-4.0 -isystem /usr/local/include/libsoup-2.4 -isystem /usr/local/include/libxml2 -isystem /usr/local/include/libgtkhtml-4.0/editor -isystem /usr/local/include/libgtkhtml-4.0 -isystem /usr/local/include/enchant -isystem /usr/local/include/gsettings-desktop-schemas -isystem /usr/local/include/minizip -isystem /usr/local/include/sword -isystem /usr/local/include/biblesync -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -pthread -D_THREAD_SAFE -MD -MT src/gtk/CMakeFiles/xiphos.dir/utilities.c.o -MF src/gtk/CMakeFiles/xiphos.dir/utilities.c.o.d -o src/gtk/CMakeFiles/xiphos.dir/utilities.c.o -c /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c FAILED: src/gtk/CMakeFiles/xiphos.dir/utilities.c.o /usr/bin/cc -DHAVE_CONFIG_H -I/usr/ports/misc/xiphos/work/.build -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src -I/usr/ports/misc/xiphos/work/.build/src/gtk -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/PkgConfig::DBus -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/Threads::Threads -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/PkgConfig::Core -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/PkgConfig::Gtk -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/PkgConfig::Gnome -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/PkgConfig::Sword -I/usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/PkgConfig::Biblesync -isystem /usr/local/include/dbus-1.0 -isystem /usr/local/lib/dbus-1.0/include -isystem /usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include -isystem /usr/local/include -isystem /usr/local/include/uuid -isystem /usr/local/include/gtk-3.0 -isystem /usr/local/include/pango-1.0 -isystem /usr/local/include/harfbuzz -isystem /usr/local/include/freetype2 -isystem /usr/local/include/libpng16 -isystem /usr/local/include/fribidi -isystem /usr/local/include/cairo -isystem /usr/local/include/pixman-1 -isystem /usr/local/include/gdk-pixbuf-2.0 -isystem /usr/local/include/gio-unix-2.0 -isystem /usr/local/include/libepoll-shim -isystem /usr/local/include/atk-1.0 -isystem /usr/local/include/at-spi2-atk/2.0 -isystem /usr/local/include/at-spi-2.0 -isystem /usr/local/include/webkitgtk-4.0 -isystem /usr/local/include/libsoup-2.4 -isystem /usr/local/include/libxml2 -isystem /usr/local/include/libgtkhtml-4.0/editor -isystem /usr/local/include/libgtkhtml-4.0 -isystem /usr/local/include/enchant -isystem /usr/local/include/gsettings-desktop-schemas -isystem /usr/local/include/minizip -isystem /usr/local/include/sword -isystem /usr/local/include/biblesync -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -pthread -D_THREAD_SAFE -MD -MT src/gtk/CMakeFiles/xiphos.dir/utilities.c.o -MF src/gtk/CMakeFiles/xiphos.dir/utilities.c.o.d -o src/gtk/CMakeFiles/xiphos.dir/utilities.c.o -c /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1391:51: error: unknown type name 'tm_zip' static void fill_filetime (const gchar *filename, tm_zip *tmzip)                                                   ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1420:33: error: unknown type name 'zipFile' static gboolean archive_addfile(zipFile zip, const gchar *name, const gchar *path)                                 ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1422:14: error: expected ';' after expression         zip_fileinfo zi;                     ^                     ; /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1422:2: error: use of undeclared identifier 'zip_fileinfo'; did you mean 'zip_file_add'?         zip_fileinfo zi;         ^~~~~~~~~~~~         zip_file_add /usr/local/include/zip.h:384:24: note: 'zip_file_add' declared here ZIP_EXTERN zip_int64_t zip_file_add(zip_t *_Nonnull, const char *_Nonnull, zip_source_t *_Nonnull, zip_flags_t);                        ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1422:2: warning: expression result unused [-Wunused-value]         zip_fileinfo zi;         ^~~~~~~~~~~~ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1422:15: error: use of undeclared identifier 'zi'         zip_fileinfo zi;                      ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1427:2: error: use of undeclared identifier 'zi'         zi.dosDate = 0;         ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1428:2: error: use of undeclared identifier 'zi'         zi.internal_fa = 0;         ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1429:2: error: use of undeclared identifier 'zi'         zi.external_fa = 0;         ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1430:24: error: use of undeclared identifier 'zi'         fill_filetime (path, &zi.tmz_date);                               ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1432:8: warning: implicit declaration of function 'zipOpenNewFileInZip' is invalid in C99 [-Wimplicit-function-declaration]         ret = zipOpenNewFileInZip(zip, name, &zi, NULL, 0, NULL, 0, NULL, Z_DEFLATED, Z_BEST_SPEED);               ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1432:40: error: use of undeclared identifier 'zi'         ret = zipOpenNewFileInZip(zip, name, &zi, NULL, 0, NULL, 0, NULL, Z_DEFLATED, Z_BEST_SPEED);                                               ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1433:13: error: use of undeclared identifier 'ZIP_OK'         if (ret != ZIP_OK) {                    ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1434:3: warning: implicit declaration of function 'zipCloseFileInZip' is invalid in C99 [-Wimplicit-function-declaration]                 zipCloseFileInZip(zip);                 ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1439:9: warning: implicit declaration of function 'zipWriteInFileInZip' is invalid in C99 [-Wimplicit-function-declaration]                 ret = zipWriteInFileInZip(zip, contents, length);                       ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1440:14: error: use of undeclared identifier 'ZIP_OK'                 if (ret != ZIP_OK) {                            ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1441:4: warning: implicit declaration of function 'zipCloseFileInZip' is invalid in C99 [-Wimplicit-function-declaration]                         zipCloseFileInZip(zip);                         ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1448:2: warning: implicit declaration of function 'zipCloseFileInZip' is invalid in C99 [-Wimplicit-function-declaration]         zipCloseFileInZip(zip);         ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1461:32: error: unknown type name 'zipFile' static gboolean archive_adddir(zipFile zip, const gchar *prefix, const gchar *dirpath)                                ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1501:2: error: use of undeclared identifier 'zipFile'; did you mean 'zip_file'?         zipFile zip;         ^~~~~~~         zip_file /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1499:40: note: 'zip_file' declared here                                 gchar *zip_file, const gchar *destination)                                        ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1501:2: error: must use 'struct' tag to refer to type 'zip_file'         zipFile zip;         ^         struct /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1499:40: note: struct 'zip_file' is hidden by a non-type declaration of 'zip_file' here                                 gchar *zip_file, const gchar *destination)                                        ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1501:10: error: variable has incomplete type 'struct zip_file'         zipFile zip;                 ^ /usr/local/include/zip.h:331:8: note: forward declaration of 'struct zip_file' struct zip_file;        ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1508:8: warning: implicit declaration of function 'zipOpen' is invalid in C99 [-Wimplicit-function-declaration]         zip = zipOpen(zip_file, APPEND_STATUS_CREATE);               ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1508:26: error: use of undeclared identifier 'APPEND_STATUS_CREATE'; did you mean 'SOUP_STATUS_CREATED'?         zip = zipOpen(zip_file, APPEND_STATUS_CREATE);                                 ^~~~~~~~~~~~~~~~~~~~                                 SOUP_STATUS_CREATED /usr/local/include/libsoup-2.4/libsoup/soup-status.h:44:2: note: 'SOUP_STATUS_CREATED' declared here         SOUP_STATUS_CREATED                         = 201,         ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1524:3: warning: implicit declaration of function 'zipClose' is invalid in C99 [-Wimplicit-function-declaration]                 zipClose(zip, NULL);                 ^ /usr/ports/misc/xiphos/work/xiphos-4.2.1/src/gtk/utilities.c:1535:2: warning: implicit declaration of function 'zipClose' is invalid in C99 [-Wimplicit-function-declaration]         zipClose(zip, NULL);         ^ 9 warnings and 17 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make[1]: stopped in /usr/ports/misc/xiphos *** Error code 1 Stop. make: stopped in /usr/ports/misc/xiphos [blm@source /usr/ports/misc/xiphos]$