=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
===> Building for feh-2.3
make[1]: Entering directory `/tmp/pkgsrc/graphics/feh/work/feh-2.3/man'
sed \
-e 's/\$VERSION\$/2.3/g' \
-e 's/\$DATE\$/'"$(date '+%B %d, %Y')"/g \
-e 's/\$MAN_CURL\$/enabled/' \
-e 's/\$MAN_DEBUG\$//' \
-e 's/\$MAN_EXIF\$/disabled/' \
-e 's/\$MAN_XINERAMA\$/enabled/' \
< feh-cam.pre > feh-cam.1
sed \
-e 's/\$VERSION\$/2.3/g' \
-e 's/\$DATE\$/'"$(date '+%B %d, %Y')"/g \
-e 's/\$MAN_CURL\$/enabled/' \
-e 's/\$MAN_DEBUG\$//' \
-e 's/\$MAN_EXIF\$/disabled/' \
-e 's/\$MAN_XINERAMA\$/enabled/' \
< feh.pre > feh.1
sed \
-e 's/\$VERSION\$/2.3/g' \
-e 's/\$DATE\$/'"$(date '+%B %d, %Y')"/g \
-e 's/\$MAN_CURL\$/enabled/' \
-e 's/\$MAN_DEBUG\$//' \
-e 's/\$MAN_EXIF\$/disabled/' \
-e 's/\$MAN_XINERAMA\$/enabled/' \
< gen-cam-menu.pre > gen-cam-menu.1
make[1]: Entering directory `/tmp/pkgsrc/graphics/feh/work/feh-2.3/src'
sed 's/^\(.*\)$/"\1\\n"/' < help.raw > help.inc
make[1]: Leaving directory `/tmp/pkgsrc/graphics/feh/work/feh-2.3/man'
gcc -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -MM collage.c events.c exif.c feh_png.c filelist.c getopt.c getopt1.c imlib.c index.c keyevents.c list.c main.c md5.c menu.c multiwindow.c options.c signals.c slideshow.c thumbnail.c timers.c utils.c wallpaper.c winwidget.c > deps.mk
make[1]: Leaving directory `/tmp/pkgsrc/graphics/feh/work/feh-2.3/src'
make[1]: Entering directory `/tmp/pkgsrc/graphics/feh/work/feh-2.3/src'
gcc -O3 -pipe -fstack-protector -std=c99 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.3\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.3\" -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include  -c -o collage.o collage.c
gcc -O3 -pipe -fstack-protector -std=c99 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.3\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.3\" -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include  -c -o events.o events.c
gcc -O3 -pipe -fstack-protector -std=c99 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.3\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.3\" -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include  -c -o exif.o exif.c
gcc -O3 -pipe -fstack-protector -std=c99 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.3\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.3\" -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include  -c -o feh_png.o feh_png.c
gcc -O3 -pipe -fstack-protector -std=c99 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.3\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.3\" -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include  -c -o filelist.o filelist.c
exif.c:197:0: warning: ISO C forbids an empty translation unit
gcc -O3 -pipe -fstack-protector -std=c99 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.3\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.3\" -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include  -c -o getopt.o getopt.c
filelist.c: In function 'add_file_to_filelist_recursively':
filelist.c:213:3: warning: implicit declaration of function 'scandir'
filelist.c:213:45: error: 'alphasort' undeclared (first use in this function)
filelist.c:213:45: note: each undeclared identifier is reported only once for each function it appears in
filelist.c: In function 'feh_absolute_path':
filelist.c:500:11: error: 'PATH_MAX' undeclared (first use in this function)
filelist.c:518:2: warning: implicit declaration of function 'realpath'
filelist.c:502:7: warning: unused variable 'temp'
filelist.c:501:7: warning: unused variable 'fullpath'
filelist.c:500:7: warning: unused variable 'cwd'
make[1]: *** [filelist.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/tmp/pkgsrc/graphics/feh/work/feh-2.3/src'
make: *** [build-src] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/graphics/feh
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/feh