+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/GMT-4.1.4nb29/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/GMT-4.1.4nb29/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for GMT-4.1.4nb29 if [ ! -s src/makegmt.macros ]; then echo "src/makegmt.macros is empty - you must rerun configure in the main GMT directory"; exit; fi cd src; make DESTDIR= all; cd .. if [ `cat makegmt.macros | wc -c` = 0 ]; then echo "src/makegmt.macros is empty - you must rerun configure in the main GMT directory"; exit; fi libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" -c pslib.c -fPIC -DPIC -o .libs/pslib.o libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" -c pslib.c -o pslib.o >/dev/null 2>&1 libtool: link: cc -shared -fPIC -DPIC .libs/pslib.o -lm -Wl,-soname -Wl,libgmtpsl.so.0 -o .libs/libgmtpsl.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libgmtpsl.so.0" && ln -s "libgmtpsl.so.0.0.0" "libgmtpsl.so.0") libtool: link: (cd ".libs" && rm -f "libgmtpsl.so" && ln -s "libgmtpsl.so.0.0.0" "libgmtpsl.so") libtool: link: ar cr .libs/libgmtpsl.a pslib.o libtool: link: ranlib .libs/libgmtpsl.a libtool: link: ( cd ".libs" && rm -f "libgmtpsl.la" && ln -s "../libgmtpsl.la" "libgmtpsl.la" ) libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_calclock.c -fPIC -DPIC -o .libs/gmt_calclock.o libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_calclock.c -o gmt_calclock.o >/dev/null 2>&1 libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_cdf.c -fPIC -DPIC -o .libs/gmt_cdf.o libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_cdf.c -o gmt_cdf.o >/dev/null 2>&1 libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_customio.c -fPIC -DPIC -o .libs/gmt_customio.o gmt_customio.c: In function 'GMT_ras_read_grd_info': gmt_customio.c:359:42: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] for (i = 0; i < h.maplength; i++) fread ((void *)&u, sizeof (unsigned char *), (size_t)1, fp); /* Skip colormap by reading since fp could be stdin */ ^ gmt_customio.c: In function 'GMT_ras_read_grd': gmt_customio.c:468:41: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] for (j = 0; j < first_row; j++) fread ((void *) tmp, sizeof (unsigned char), (size_t)n2, fp); ^ gmt_customio.c:473:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ((void *) tmp, sizeof (unsigned char), (size_t)n2, fp); ^ gmt_customio.c:484:53: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] for (j = last_row + 1; j < header->ny; j++) fread ((void *) tmp, sizeof (unsigned char), (size_t)n2, fp); ^ gmt_customio.c: In function 'GMT_bit_read_grd': gmt_customio.c:821:41: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] for (j = 0; j < first_row; j++) fread ((void *) tmp, sizeof (unsigned int), (size_t)mx, fp); ^ gmt_customio.c:827:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ((void *) tmp, sizeof (unsigned int), (size_t)mx, fp); /* Get one row */ ^ gmt_customio.c:839:53: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] for (j = last_row + 1; j < header->ny; j++) fread ((void *) tmp, sizeof (unsigned int), (size_t)mx, fp); ^ gmt_customio.c: In function 'GMT_native_read_grd': gmt_customio.c:1138:41: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] for (j = 0; j < first_row; j++) fread (tmp, size, (size_t)header->nx, fp); ^ gmt_customio.c:1145:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (tmp, (size_t)size, (size_t)header->nx, fp); /* Get one row */ ^ gmt_customio.c:1154:53: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] for (j = last_row + 1; j < header->ny; j++) fread (tmp, (size_t)size, (size_t)header->nx, fp); ^ gmt_customio.c: In function 'GMT_is_srf_grid': gmt_customio.c:1422:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (id, sizeof (char), (size_t)4, fp); ^ gmt_customio.c: In function 'GMT_srf_read_grd_info': gmt_customio.c:1449:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (id, sizeof (char), (size_t)4, fp); ^ gmt_customio.c: In function 'GMT_read_srfheader6': gmt_customio.c:1547:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ((void *)h, sizeof (struct srf_header6), (size_t)1, fp); ^ gmt_customio.c: In function 'GMT_read_srfheader7': gmt_customio.c:1556:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ((void *)h, sizeof (struct srf_header7), (size_t)1, fp); ^ gmt_customio.c: In function 'GMT_srf_read_grd': gmt_customio.c:1631:41: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] for (j = 0; j < first_row; j++) fread (tmp, size, (size_t)header->nx, fp); ^ gmt_customio.c:1638:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (tmp, size, (size_t)header->nx, fp); /* Get one row */ ^ gmt_customio.c:1647:53: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] for (j = last_row + 1; j < header->ny; j++) fread (tmp, size, (size_t)header->nx, fp); ^ In file included from gmt_customio.c:1785:0: gmt_mgg_header2.c: In function 'mgg2_read_grd': gmt_mgg_header2.c:313:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&mggHeader, 1, sizeof(MGG_GRID_HEADER_2), fp); ^ In file included from gmt_customio.c:1788:0: gmt_agc_io.c: In function 'GMT_is_agc_grid': gmt_agc_io.c:53:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ((void *)recdata, sizeof(float), RECORDLENGTH, fp); ^ In file included from gmt_customio.c:1788:0: gmt_agc_io.c: In function 'GMT_agc_read_grd_info': gmt_agc_io.c:92:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ((void *)recdata, sizeof(float), RECORDLENGTH, fp); ^ gmt_agc_io.c: In function 'ReadRecord': gmt_agc_io.c:396:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ((void *)garbage, sizeof(float), FIRSTZ, fpi); ^ gmt_agc_io.c:401:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ((void *)garbage, sizeof(float), RECORDLENGTH - (ZBLOCKWIDTH * ZBLOCKHEIGHT + FIRSTZ), fpi); ^ In file included from /usr/include/stdio.h:937:0, from gmt.h:68, from gmt_customio.c:63: In function 'fread', inlined from 'GMT_ras_read_grd_info' at gmt_customio.c:359:42: /usr/include/bits/stdio2.h:293:2: warning: call to '__fread_chk_warn' declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [enabled by default] return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream); ^ In file included from /usr/include/string.h:638:0, from gmt.h:70, from gmt_customio.c:63: In function 'strcpy', inlined from 'GMT_srf_write_grd' at gmt_customio.c:1746:9: /usr/include/bits/string3.h:104:3: warning: call to __builtin___memcpy_chk will always overflow destination buffer [enabled by default] return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); ^ In function 'strcpy', inlined from 'GMT_srf_write_grd_info' at gmt_customio.c:1521:9: /usr/include/bits/string3.h:104:3: warning: call to __builtin___memcpy_chk will always overflow destination buffer [enabled by default] return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); ^ libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_customio.c -o gmt_customio.o >/dev/null 2>&1 libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_grdio.c -fPIC -DPIC -o .libs/gmt_grdio.o gmt_grdio.c: In function 'GMT_read_img': gmt_grdio.c:1164:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ((void *)i2, sizeof (short int), n_cols, fp); ^ libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_grdio.c -o gmt_grdio.o >/dev/null 2>&1 libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_init.c -fPIC -DPIC -o .libs/gmt_init.o gmt_init.c: In function 'GMT_get_history': gmt_init.c:3219:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] (void) getcwd (cwd, BUFSIZ); ^ libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_init.c -o gmt_init.o >/dev/null 2>&1 libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_io.c -fPIC -DPIC -o .libs/gmt_io.o libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_io.c -o gmt_io.o >/dev/null 2>&1 libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_map.c -fPIC -DPIC -o .libs/gmt_map.o libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_map.c -o gmt_map.o >/dev/null 2>&1 libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_nc.c -fPIC -DPIC -o .libs/gmt_nc.o libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_nc.c -o gmt_nc.o >/dev/null 2>&1 libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_proj.c -fPIC -DPIC -o .libs/gmt_proj.o libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_proj.c -o gmt_proj.o >/dev/null 2>&1 libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_shore.c -fPIC -DPIC -o .libs/gmt_shore.o libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_shore.c -o gmt_shore.o >/dev/null 2>&1 libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_stat.c -fPIC -DPIC -o .libs/gmt_stat.o libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_stat.c -o gmt_stat.o >/dev/null 2>&1 libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_support.c -fPIC -DPIC -o .libs/gmt_support.o In file included from /usr/include/stdio.h:937:0, from gmt.h:68, from gmt_support.c:82: In function 'fgets', inlined from 'GMT_list_custom_symbols' at gmt_support.c:6028:15: /usr/include/bits/stdio2.h:261:2: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^ libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_support.c -o gmt_support.o >/dev/null 2>&1 libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_vector.c -fPIC -DPIC -o .libs/gmt_vector.o libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -DGMT_DEFAULT_PATH=\"/usr/pkg\" gmt_vector.c -o gmt_vector.o >/dev/null 2>&1 libtool: link: cc -shared -fPIC -DPIC .libs/gmt_calclock.o .libs/gmt_cdf.o .libs/gmt_customio.o .libs/gmt_grdio.o .libs/gmt_init.o .libs/gmt_io.o .libs/gmt_map.o .libs/gmt_nc.o .libs/gmt_proj.o .libs/gmt_shore.o .libs/gmt_stat.o .libs/gmt_support.o .libs/gmt_vector.o -Wl,-rpath -Wl,/home/pbulk/build/graphics/GMT/work/.buildlink/lib -Wl,-rpath -Wl,/home/pbulk/build/graphics/GMT/work/.buildlink/lib -L/home/pbulk/build/graphics/GMT/work/.buildlink/lib /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libnetcdf.so /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libhdf5_hl.so /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libhdf5.so /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libsz.so /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libaec.so -lbz2 /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libxml2.so /home/pbulk/build/graphics/GMT/work/.buildlink/lib/liblzma.so -lpthread -lrt /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libcurl.so /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libnghttp2.so /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libidn2.so /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libunistring.so /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libssh2.so /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libldap.so /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libsasl2.so -ldl -lssl -lcrypto /home/pbulk/build/graphics/GMT/work/.buildlink/lib/liblber.so -lresolv /home/pbulk/build/graphics/GMT/work/.buildlink/lib/libz.so -lm -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/pkg/lib -pthread -Wl,-soname -Wl,libgmt.so.0 -o .libs/libgmt.so.0.0.0 /bin/ld: cannot find -lbz2 collect2: error: ld returned 1 exit status *** Error code 1 Stop. make[1]: stopped in /home/pbulk/build/graphics/GMT/work/GMT4.1.4/src if [ -d src/mex ] && [ ! -f src/mex/.skip ]; then if [ ! -f src/mex/makefile ]; then cd src/mex; \rm -f config.{cache,log,status}; ./configure; fi fi if [ -d src/xgrid ] && [ ! -f src/xgrid/.skip ]; then if [ ! -f src/xgrid/makefile ]; then cd src/xgrid; \rm -f config.{cache,log,status}; ./configure; fi fi set -e ; for d in dbase gshhs imgsrc meca mex mgd77 mgg misc segyprogs spotter x2sys x_system xgrid; do if [ -d src/$d ] && [ ! -f src/$d/.skip ]; then cd src/$d; make DESTDIR= all; cd ../..; fi; done libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -I/home/pbulk/build/graphics/GMT/work/GMT4.1.4/src grdraster.c -fPIC -DPIC -o .libs/grdraster.o libtool: compile: cc -I/home/pbulk/build/graphics/GMT/work/.buildlink/include -DLDAP_DEPRECATED -c -pipe -O2 -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -I/home/pbulk/build/graphics/GMT/work/GMT4.1.4/src grdraster.c -o grdraster.o >/dev/null 2>&1 libtool: error: cannot find the library '../libgmt.la' or unhandled argument '../libgmt.la' *** Error code 1 Stop. make[1]: stopped in /home/pbulk/build/graphics/GMT/work/GMT4.1.4/src/dbase *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/graphics/GMT/work/GMT4.1.4 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/graphics/GMT *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/graphics/GMT