=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for gtksql-0.3nb11 --- main.o --- --- queries.o --- --- dialogs.o --- --- tables.o --- --- queries.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c queries.c -o ./queries.o --- main.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c main.c -o ./main.o --- dialogs.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c dialogs.c -o ./dialogs.o --- tables.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c tables.c -o ./tables.o --- queries.o --- In file included from queries.h:36:0, from db_conn.h:26, from common.h:27, from queries.c:22: db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from db_conn.h:26:0, from common.h:27, from queries.c:22: queries.h:62:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __QUERIES_H__ ^~~~~~~~~~~~~ In file included from common.h:27:0, from queries.c:22: db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from common.h:28:0, from queries.c:22: config.h:36:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from queries.c:22:0: common.h:48:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __COMMON_H__ ^~~~~~~~~~~~ In file included from queries.c:25:0: dialogs.h:29:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DIALOGS_H__ ^~~~~~~~~~~~~ In file included from queries.c:26:0: tables.h:30:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __TABLES_H__ ^~~~~~~~~~~~ In file included from queries.c:27:0: export.h:26:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __EXPORT_H__ ^~~~~~~~~~~~ --- main.o --- In file included from queries.h:36:0, from db_conn.h:26, from common.h:27, from main.c:21: db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from db_conn.h:26:0, from common.h:27, from main.c:21: queries.h:62:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __QUERIES_H__ ^~~~~~~~~~~~~ --- tables.o --- In file included from queries.h:36:0, from db_conn.h:26, from common.h:27, from tables.c:19: db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ --- main.o --- In file included from common.h:27:0, from main.c:21: db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from common.h:28:0, from main.c:21: config.h:36:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from main.c:21:0: common.h:48:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __COMMON_H__ ^~~~~~~~~~~~ --- tables.o --- In file included from db_conn.h:26:0, from common.h:27, from tables.c:19: queries.h:62:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __QUERIES_H__ ^~~~~~~~~~~~~ In file included from common.h:27:0, from tables.c:19: db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from common.h:28:0, from tables.c:19: config.h:36:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from tables.c:19:0: common.h:48:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __COMMON_H__ ^~~~~~~~~~~~ --- main.o --- In file included from main.c:24:0: dialogs.h:29:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DIALOGS_H__ ^~~~~~~~~~~~~ In file included from main.c:25:0: tables.h:30:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __TABLES_H__ ^~~~~~~~~~~~ In file included from main.c:26:0: export.h:26:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __EXPORT_H__ ^~~~~~~~~~~~ In file included from main.c:28:0: mytoolbar.h:36:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __MYTOOLBAR_C__ ^~~~~~~~~~~~~~~ --- tables.o --- In file included from tables.c:21:0: dialogs.h:29:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DIALOGS_H__ ^~~~~~~~~~~~~ tables.c:30:8: warning: type defaults to 'int' in declaration of 'editor_displayed' [-Wimplicit-int] static editor_displayed = 0; ^~~~~~~~~~~~~~~~ --- main.o --- In file included from main.c:31:0: postgres.h:30:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __POSTGRES_H__ ^~~~~~~~~~~~~~ --- tables.o --- tables.c: In function 'DisplayTableNamed': tables.c:122:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(name, tablename)) { ^~~~~~ --- main.o --- main.c:64:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_POSTGRESQL ^~~~~~~~~~~~~~ main.c:67:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_MYSQL ^~~~~~~~~ --- queries.o --- queries.c: In function 'AddQuery': queries.c:560:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *) nb_queries); ^ --- main.o --- main.c: In function 'about': main.c:379:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_POSTGRESQL ^~~~~~~~~~~~~~ main.c:382:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif USE_MYSQL ^~~~~~~~~ --- queries.o --- queries.c: In function 'notebook_selection_callback': queries.c:800:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int position = (int) gtk_object_get_data(GTK_OBJECT(current_query), ^ --- export.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c export.c -o ./export.o --- status.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c status.c -o ./status.o --- export.o --- In file included from queries.h:36:0, from db_conn.h:26, from common.h:27, from export.c:22: db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from db_conn.h:26:0, from common.h:27, from export.c:22: queries.h:62:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __QUERIES_H__ ^~~~~~~~~~~~~ In file included from common.h:27:0, from export.c:22: db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from common.h:28:0, from export.c:22: config.h:36:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from export.c:22:0: common.h:48:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __COMMON_H__ ^~~~~~~~~~~~ export.c: In function 'CreateTypeMenu': export.c:465:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (gpointer) i); ^ export.c: In function 'ok_callback': export.c:514:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] type = (int) gtk_object_get_data(GTK_OBJECT(type_w), ^ --- config.o --- --- mytoolbar.o --- --- config.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c config.c -o ./config.o --- mytoolbar.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c mytoolbar.c -o ./mytoolbar.o --- config.o --- In file included from config.c:19:0: config.h:36:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ --- mytoolbar.o --- In file included from queries.h:36:0, from db_conn.h:26, from common.h:27, from mytoolbar.c:21: db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from db_conn.h:26:0, from common.h:27, from mytoolbar.c:21: queries.h:62:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __QUERIES_H__ ^~~~~~~~~~~~~ In file included from common.h:27:0, from mytoolbar.c:21: db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from common.h:28:0, from mytoolbar.c:21: config.h:36:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from mytoolbar.c:21:0: common.h:48:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __COMMON_H__ ^~~~~~~~~~~~ In file included from mytoolbar.c:23:0: mytoolbar.h:36:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __MYTOOLBAR_C__ ^~~~~~~~~~~~~~~ --- postgres.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c postgres.c -o ./postgres.o In file included from queries.h:36:0, from db_conn.h:26, from common.h:27, from postgres.c:23: db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from db_conn.h:26:0, from common.h:27, from postgres.c:23: queries.h:62:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __QUERIES_H__ ^~~~~~~~~~~~~ In file included from common.h:27:0, from postgres.c:23: db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from common.h:28:0, from postgres.c:23: config.h:36:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DB_CONN_H__ ^~~~~~~~~~~~~ In file included from postgres.c:23:0: common.h:48:9: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __COMMON_H__ ^~~~~~~~~~~~ --- all --- gcc -o gtksql main.o queries.o dialogs.o tables.o export.o status.o config.o mytoolbar.o postgres.o -L/usr/pkg/lib -lpq `gtk-config --libs` -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -lcrypt ld: postgres.o: in function `DBget_table_def': postgres.c:(.text+0x80): undefined reference to `pg_sprintf' ld: postgres.c:(.text+0x164): undefined reference to `pg_sprintf' ld: postgres.c:(.text+0x2e3): undefined reference to `pg_sprintf' ld: postgres.c:(.text+0x45d): undefined reference to `pg_sprintf' ld: postgres.c:(.text+0x539): undefined reference to `pg_sprintf' ld: postgres.c:(.text+0x5de): undefined reference to `pg_fprintf' ld: postgres.o: in function `connect_callback': postgres.c:(.text+0x8e4): undefined reference to `pg_sprintf' ld: postgres.o: in function `DBget_table': postgres.c:(.text+0x9f2): undefined reference to `pg_fprintf' ld: postgres.c:(.text+0xa12): undefined reference to `pg_fprintf' ld: postgres.o: in function `DBfree_table_def': postgres.c:(.text+0xb07): undefined reference to `pg_fprintf' *** [all] Error code 1 make: stopped in /tmp/databases/gtksql/work/gtksql-0.3 1 error make: stopped in /tmp/databases/gtksql/work/gtksql-0.3 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/gtksql *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/gtksql