=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for gtksql-0.3nb11 --- main.o --- --- queries.o --- --- dialogs.o --- --- tables.o --- --- export.o --- --- status.o --- --- config.o --- --- mytoolbar.o --- --- main.o --- clang -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c main.c -o ./main.o --- dialogs.o --- clang -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c dialogs.c -o ./dialogs.o --- export.o --- clang -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c export.c -o ./export.o --- status.o --- clang -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c status.c -o ./status.o --- config.o --- clang -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c config.c -o ./config.o --- queries.o --- clang -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c queries.c -o ./queries.o --- tables.o --- clang -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c tables.c -o ./tables.o --- mytoolbar.o --- clang -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c mytoolbar.c -o ./mytoolbar.o --- postgres.o --- clang -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -I/usr/pkg/include/postgresql/server -DUSE_POSTGRESQL -c postgres.c -o ./postgres.o --- mytoolbar.o --- In file included from mytoolbar.c:21: In file included from ./common.h:27: In file included from ./db_conn.h:26: In file included from ./queries.h:36: ./db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from mytoolbar.c:21: In file included from ./common.h:27: In file included from ./db_conn.h:26: ./queries.h:62:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __QUERIES_H__ ^ // In file included from mytoolbar.c:21: In file included from ./common.h:27: ./db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from mytoolbar.c:21: In file included from ./common.h:28: ./config.h:36:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from mytoolbar.c:21: ./common.h:48:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __COMMON_H__ ^ // In file included from mytoolbar.c:23: ./mytoolbar.h:36:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __MYTOOLBAR_C__ ^ // --- export.o --- In file included from export.c:22: In file included from ./common.h:27: In file included from ./db_conn.h:26: In file included from ./queries.h:36: ./db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from export.c:22: In file included from ./common.h:27: In file included from ./db_conn.h:26: ./queries.h:62:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __QUERIES_H__ ^ // In file included from export.c:22: In file included from ./common.h:27: ./db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from export.c:22: In file included from ./common.h:28: ./config.h:36:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from export.c:22: ./common.h:48:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __COMMON_H__ ^ // --- queries.o --- In file included from queries.c:22: In file included from ./common.h:27: In file included from ./db_conn.h:26: In file included from ./queries.h:36: ./db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from queries.c:22: In file included from ./common.h:27: In file included from ./db_conn.h:26: ./queries.h:62:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __QUERIES_H__ ^ // In file included from queries.c:22: In file included from ./common.h:27: ./db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from queries.c:22: In file included from ./common.h:28: ./config.h:36:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from queries.c:22: ./common.h:48:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __COMMON_H__ ^ // In file included from queries.c:25: ./dialogs.h:29:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DIALOGS_H__ ^ // In file included from queries.c:26: ./tables.h:30:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __TABLES_H__ ^ // In file included from queries.c:27: ./export.h:26:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __EXPORT_H__ ^ // --- tables.o --- In file included from tables.c:19: In file included from ./common.h:27: In file included from ./db_conn.h:26: In file included from ./queries.h:36: ./db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // --- export.o --- export.c:169:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(f, conn->DBget_field_value(conn, result, i, j)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ export.c:169:13: note: treat the string as an argument to avoid this fprintf(f, conn->DBget_field_value(conn, result, i, j)); ^ "%s", --- queries.o --- queries.c:560:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] (void *) nb_queries); ^~~~~~~~~~~~~~~~~~~ --- export.o --- export.c:465:4: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (gpointer) i); ^~~~~~~~~~~~ export.c:514:10: warning: cast to smaller integer type 'int' from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] type = (int) gtk_object_get_data(GTK_OBJECT(type_w), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- queries.o --- queries.c:800:20: warning: cast to smaller integer type 'int' from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int position = (int) gtk_object_get_data(GTK_OBJECT(current_query), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- mytoolbar.o --- 6 warnings generated. --- tables.o --- In file included from tables.c:19: In file included from ./common.h:27: In file included from ./db_conn.h:26: ./queries.h:62:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __QUERIES_H__ ^ // In file included from tables.c:19: In file included from ./common.h:27: ./db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from tables.c:19: In file included from ./common.h:28: ./config.h:36:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from tables.c:19: ./common.h:48:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __COMMON_H__ ^ // In file included from tables.c:21: ./dialogs.h:29:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DIALOGS_H__ ^ // tables.c:30:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static editor_displayed = 0; ~~~~~~ ^ tables.c:122:10: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (!strcmp(name, tablename)) { ^ tables.c:122:10: note: include the header or explicitly provide a declaration for 'strcmp' --- main.o --- In file included from main.c:21: In file included from ./common.h:27: In file included from ./db_conn.h:26: In file included from ./queries.h:36: ./db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from main.c:21: In file included from ./common.h:27: In file included from ./db_conn.h:26: ./queries.h:62:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __QUERIES_H__ ^ // In file included from main.c:21: In file included from ./common.h:27: ./db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from main.c:21: In file included from ./common.h:28: ./config.h:36:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from main.c:21: ./common.h:48:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __COMMON_H__ ^ // In file included from main.c:24: ./dialogs.h:29:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DIALOGS_H__ ^ // In file included from main.c:25: ./tables.h:30:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __TABLES_H__ ^ // In file included from main.c:26: ./export.h:26:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __EXPORT_H__ ^ // In file included from main.c:28: ./mytoolbar.h:36:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __MYTOOLBAR_C__ ^ // In file included from main.c:31: ./postgres.h:30:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __POSTGRES_H__ ^ // main.c:64:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_POSTGRESQL ^ // main.c:67:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_MYSQL ^ // main.c:379:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_POSTGRESQL ^ // main.c:382:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif USE_MYSQL ^ // --- postgres.o --- In file included from postgres.c:23: In file included from ./common.h:27: In file included from ./db_conn.h:26: In file included from ./queries.h:36: ./db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from postgres.c:23: In file included from ./common.h:27: In file included from ./db_conn.h:26: ./queries.h:62:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __QUERIES_H__ ^ // In file included from postgres.c:23: In file included from ./common.h:27: ./db_conn.h:110:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from postgres.c:23: In file included from ./common.h:28: ./config.h:36:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // In file included from postgres.c:23: ./common.h:48:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __COMMON_H__ ^ // --- config.o --- In file included from config.c:19: ./config.h:36:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __DB_CONN_H__ ^ // --- tables.o --- 8 warnings generated. --- config.o --- 1 warning generated. --- postgres.o --- 5 warnings generated. --- main.o --- 14 warnings generated. --- export.o --- 8 warnings generated. --- queries.o --- 10 warnings generated. --- all --- clang -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 -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lcrypt /usr/bin/ld: postgres.o: in function `connect_callback': postgres.c:(.text+0x309): undefined reference to `pg_sprintf' /usr/bin/ld: postgres.o: in function `DBget_table_def': postgres.c:(.text+0x717): undefined reference to `pg_fprintf' /usr/bin/ld: postgres.c:(.text+0x74d): undefined reference to `pg_sprintf' /usr/bin/ld: postgres.c:(.text+0x84f): undefined reference to `pg_sprintf' /usr/bin/ld: postgres.c:(.text+0x8db): undefined reference to `pg_sprintf' /usr/bin/ld: postgres.c:(.text+0xab8): undefined reference to `pg_sprintf' /usr/bin/ld: postgres.c:(.text+0xb78): undefined reference to `pg_sprintf' /usr/bin/ld: postgres.o:postgres.c:(.text+0xb9e): more undefined references to `pg_sprintf' follow /usr/bin/ld: postgres.o: in function `DBfree_table_def': postgres.c:(.text+0xd24): undefined reference to `pg_fprintf' /usr/bin/ld: postgres.o: in function `DBget_table': postgres.c:(.text+0xdbf): undefined reference to `pg_fprintf' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [all] Error code 1 make: stopped in /data/scratch/databases/gtksql/work/gtksql-0.3 1 error make: stopped in /data/scratch/databases/gtksql/work/gtksql-0.3 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/databases/gtksql *** Error code 1 Stop. make: stopped in /data/pkgsrc/databases/gtksql