Date: Sat, 6 Nov 2021 11:54:46 -1000 From: bruce@hawaii-pacific.com To: "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: xiphos fails to build Message-ID: <5ef2be2b-5700-c6b0-efb1-d1ef481f51c7@hawaii-pacific.com>
next in thread | raw e-mail | index | archive | help
/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]$
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ef2be2b-5700-c6b0-efb1-d1ef481f51c7>