=> Bootstrap dependency digest>=20010302: found digest-20080510
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 libdrg-0.0.81nb2
/usr/bin/make  all-am
/bin/sh ./libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I.    -I/usr/local/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -MT drg_tiff.lo -MD -MP -MF .deps/drg_tiff.Tpo -c -o drg_tiff.lo drg_tiff.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/scratch/geography/libdrg/work/.buildlink/include -O2 -MT drg_tiff.lo -MD -MP -MF .deps/drg_tiff.Tpo -c drg_tiff.c  -fPIC -DPIC -o .libs/drg_tiff.o
drg_tiff.c:596:48: warning: data argument not used by format string [-Wformat-extra-args]
      printf("FAILED to get IMAGELENTH tag\n", drgp->filename);
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
drg_tiff.c:854:39: warning: more '%' conversions than data arguments [-Wformat]
      printf("INFO: pixel_column_max %d, shrinking 1\n");
                                     ~^
drg_tiff.c:895:16: warning: expression result unused [-Wunused-value]
  if ( n < 0 ) abort;           /* must not happen */
               ^~~~~
3 warnings generated.
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/scratch/geography/libdrg/work/.buildlink/include -O2 -MT drg_tiff.lo -MD -MP -MF .deps/drg_tiff.Tpo -c drg_tiff.c -o drg_tiff.o >/dev/null 2>&1
mv -f .deps/drg_tiff.Tpo .deps/drg_tiff.Plo
/bin/sh ./libtool --tag=CC    --mode=link gcc  -O2 -I/usr/pkg/include -I/usr/include   -R/usr/X11R6/lib  -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/local/lib -R/usr/local/lib -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/lib -o libdrg.la -rpath /usr/pkg/lib drg_tiff.lo  -lX11 -ltiff -lm
libtool: link: gcc -shared  .libs/drg_tiff.o   -Wl,-rpath -Wl,/scratch/geography/libdrg/work/.buildlink/lib -Wl,-rpath -Wl,/scratch/geography/libdrg/work/.buildlink/lib -Wl,-rpath -Wl,/usr/pkg/lib -L/scratch/geography/libdrg/work/.buildlink/lib /scratch/geography/libdrg/work/.buildlink/lib/libX11.so /scratch/geography/libdrg/work/.buildlink/lib/libxcb.so /scratch/geography/libdrg/work/.buildlink/lib/libXau.so /scratch/geography/libdrg/work/.buildlink/lib/libXdmcp.so /scratch/geography/libdrg/work/.buildlink/lib/libtiff.so /scratch/geography/libdrg/work/.buildlink/lib/libjpeg.so -lz -lc -lm  -Wl,-rpath -Wl,/usr/pkg/lib   -Wl,-soname -Wl,libdrg.so.0 -o .libs/libdrg.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libdrg.so.0" && ln -s "libdrg.so.0.0.0" "libdrg.so.0")
libtool: link: (cd ".libs" && rm -f "libdrg.so" && ln -s "libdrg.so.0.0.0" "libdrg.so")
libtool: link: ar cru .libs/libdrg.a  drg_tiff.o
libtool: link: ranlib .libs/libdrg.a
libtool: link: ( cd ".libs" && rm -f "libdrg.la" && ln -s "../libdrg.la" "libdrg.la" )
gcc -DHAVE_CONFIG_H -I.    -I/usr/local/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -MT testdrg.o -MD -MP -MF .deps/testdrg.Tpo -c -o testdrg.o testdrg.c
testdrg.c:18:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^~~~
1 warning generated.
mv -f .deps/testdrg.Tpo .deps/testdrg.Po
/bin/sh ./libtool --tag=CC    --mode=link gcc  -O2 -I/usr/pkg/include -I/usr/include -static  -R/usr/X11R6/lib  -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/local/lib -R/usr/local/lib -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/lib -o testdrg testdrg.o libdrg.la -lX11 -ltiff -lm
libtool: link: gcc -O2 -I/scratch/geography/libdrg/work/.buildlink/include -Wl,-rpath -Wl,/usr/pkg/lib -o testdrg testdrg.o  -L/scratch/geography/libdrg/work/.buildlink/lib ./.libs/libdrg.a /scratch/geography/libdrg/work/.buildlink/lib/libX11.so /scratch/geography/libdrg/work/.buildlink/lib/libxcb.so /scratch/geography/libdrg/work/.buildlink/lib/libXau.so /scratch/geography/libdrg/work/.buildlink/lib/libXdmcp.so /scratch/geography/libdrg/work/.buildlink/lib/libtiff.so /scratch/geography/libdrg/work/.buildlink/lib/libjpeg.so -lz -lc -lm -Wl,-rpath -Wl,/scratch/geography/libdrg/work/.buildlink/lib -Wl,-rpath -Wl,/scratch/geography/libdrg/work/.buildlink/lib -Wl,-rpath -Wl,/usr/pkg/lib
./.libs/libdrg.a(drg_tiff.o): In function `drg_tiff_pixels':
drg_tiff.c:(.text+0xc0a): undefined reference to `drg_tiff_ensure_open'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /scratch/geography/libdrg/work/libdrg-0.0.81
*** Error code 1

Stop.
make: stopped in /scratch/geography/libdrg/work/libdrg-0.0.81
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/geography/libdrg
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/geography/libdrg
