=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
===> Building for feh-2.1
make[1]: Entering directory `/tmp/pkgsrc/graphics/feh/work/feh-2.1/man'
sed \
-e 's/\$VERSION\$/2.1/g' \
-e 's/\$DATE\$/'"$(date '+%B %d, %Y')"/g \
-e 's/\$MAN_CURL\$/enabled/' \
-e 's/\$MAN_DEBUG\$//' \
-e 's/\$MAN_XINERAMA\$/enabled/' \
< feh-cam.pre > feh-cam.1
sed \
-e 's/\$VERSION\$/2.1/g' \
-e 's/\$DATE\$/'"$(date '+%B %d, %Y')"/g \
-e 's/\$MAN_CURL\$/enabled/' \
-e 's/\$MAN_DEBUG\$//' \
-e 's/\$MAN_XINERAMA\$/enabled/' \
< feh.pre > feh.1
sed \
-e 's/\$VERSION\$/2.1/g' \
-e 's/\$DATE\$/'"$(date '+%B %d, %Y')"/g \
-e 's/\$MAN_CURL\$/enabled/' \
-e 's/\$MAN_DEBUG\$//' \
-e 's/\$MAN_XINERAMA\$/enabled/' \
< gen-cam-menu.pre > gen-cam-menu.1
make[1]: Entering directory `/tmp/pkgsrc/graphics/feh/work/feh-2.1/src'
sed 's/^\(.*\)$/"\1\\n"/' < help.raw > help.inc
make[1]: Leaving directory `/tmp/pkgsrc/graphics/feh/work/feh-2.1/man'
gcc -MM collage.c events.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.1/src'
make[1]: Entering directory `/tmp/pkgsrc/graphics/feh/work/feh-2.1/src'
gcc -O3 -pipe -fstack-protector -std=c99 -Wno-format -fno-builtin -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.1\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.1\" -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 -Wno-format -fno-builtin -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.1\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.1\" -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 -Wno-format -fno-builtin -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.1\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.1\" -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 -Wno-format -fno-builtin -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.1\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.1\" -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include  -c -o filelist.o filelist.c
gcc -O3 -pipe -fstack-protector -std=c99 -Wno-format -fno-builtin -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.1\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.1\" -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include  -c -o getopt.o getopt.c
gcc -O3 -pipe -fstack-protector -std=c99 -Wno-format -fno-builtin -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.1\" -Wall -Wextra -pedantic -DHAVE_LIBCURL -DHAVE_LIBXINERAMA -DPREFIX=\"/usr/pkg\" -DPACKAGE=\"feh\" -DVERSION=\"2.1\" -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include  -c -o getopt1.o getopt1.c
filelist.c: In function 'add_file_to_filelist_recursively':
filelist.c:198:3: warning: implicit declaration of function 'scandir'
filelist.c:198:45: error: 'alphasort' undeclared (first use in this function)
filelist.c:198:45: note: each undeclared identifier is reported only once for each function it appears in
filelist.c: In function 'feh_absolute_path':
filelist.c:491:11: error: 'PATH_MAX' undeclared (first use in this function)
filelist.c:509:2: warning: implicit declaration of function 'realpath'
filelist.c:493:7: warning: unused variable 'temp'
filelist.c:492:7: warning: unused variable 'fullpath'
filelist.c:491: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.1/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