=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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 gmic-1.5.9.3nb4
**
** Generic unix configuration.
**
/usr/pkg/bin/gmake linux gimp lib  # zart
gmake[1]: Entering directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src'
/usr/pkg/bin/gmake "CFLAGS=-Dgmic_build -I/usr/pkg/include -Wall -W  -Dcimg_use_vt100 -Dgmic_is_parallel -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/pkg/include  -fopenmp -Dcimg_use_openmp -Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_tiff -Dcimg_use_zlib -Dcimg_use_openexr -I/usr/pkg/include/OpenEXR -Dcimg_use_fftw3  -O2" "LDFLAGS=-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm -lpthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lX11 -lpthread  -lpng -lz -ljpeg -ltiff -lz -lIlmImf -lHalf -lfftw3 -lfftw3_threads " "STRIP_EXE=1" gmic
/usr/pkg/bin/gmake "CFLAGS=-Dgmic_build -I/usr/pkg/include -Wall -W  -Dcimg_use_vt100 -Dgmic_is_parallel -fopenmp -Dcimg_use_openmp -Dcimg_use_fftw3 -Dcimg_use_png -Dcimg_use_zlib  -Dcimg_display=0 -Dcimg_use_rng -O2" "LDFLAGS+=-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm -lpthread -lfftw3 -lfftw3_threads -lpng -lz -lz " "STRIP_EXE=1" gmic_gimp
/usr/pkg/bin/gmake "CFLAGS=-Dgmic_build -I/usr/pkg/include -Wall -W  -Dcimg_use_vt100 -Dgmic_is_parallel -fopenmp -Dcimg_use_openmp -Dcimg_use_fftw3 -Dcimg_display=0  -O2" "LDFLAGS+=-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm -lpthread -lfftw3 -lfftw3_threads " gmic_lib
gmake[2]: Entering directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src'
gmake[2]: Entering directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src'
gmake[2]: Entering directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src'
g++ -o gmic_gimp.o -c gmic.cpp -Dgmic_build -I/usr/pkg/include -Wall -W  -Dcimg_use_vt100 -Dgmic_is_parallel -fopenmp -Dcimg_use_openmp -Dcimg_use_fftw3 -Dcimg_use_png -Dcimg_use_zlib  -Dcimg_display=0 -Dcimg_use_rng -O2 -Dgmic_gimp -Dgmic_float_only
g++ -o gmic_lib.o -c gmic.cpp -fPIC -Dgmic_build -I/usr/pkg/include -Wall -W  -Dcimg_use_vt100 -Dgmic_is_parallel -fopenmp -Dcimg_use_openmp -Dcimg_use_fftw3 -Dcimg_display=0  -O2 -Dgmic_float_only
g++ -o gmic gmic.cpp -Dgmic_build -I/usr/pkg/include -Wall -W  -Dcimg_use_vt100 -Dgmic_is_parallel -Dcimg_display=1 -Dcimg_appname=\"gmic\" -I/usr/pkg/include  -fopenmp -Dcimg_use_openmp -Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_tiff -Dcimg_use_zlib -Dcimg_use_openexr -I/usr/pkg/include/OpenEXR -Dcimg_use_fftw3  -O2 -Dgmic_float_only -Dgmic_main -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm -lpthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lX11 -lpthread  -lpng -lz -ljpeg -ltiff -lz -lIlmImf -lHalf -lfftw3 -lfftw3_threads 
In file included from gmic.cpp:1879:
In file included from ./gmic.h:70:
././CImg.h:2258:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static char min() { return (char)(-1L<<(8*sizeof(char)-1)); }
                                        ~~~^
././CImg.h:2259:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static char max() { return (char)~((char)(-1L<<(8*sizeof(char)-1))); }
                                                ~~~^
././CImg.h:2271:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static signed char min() { return (signed char)(-1L<<(8*sizeof(signed char)-1)); }
                                                      ~~~^
././CImg.h:2272:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static signed char max() { return ~((signed char)(-1L<<(8*sizeof(signed char)-1))); }
                                                        ~~~^
././CImg.h:2297:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static short min() { return (short)(-1L<<(8*sizeof(short)-1)); }
                                          ~~~^
././CImg.h:2298:48: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static short max() { return ~((short)(-1L<<(8*sizeof(short)-1))); }
                                            ~~~^
././CImg.h:2323:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static int min() { return (int)(-1L<<(8*sizeof(int)-1)); }
                                      ~~~^
././CImg.h:2324:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static int max() { return ~((int)(-1L<<(8*sizeof(int)-1))); }
                                        ~~~^
././CImg.h:2349:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static long min() { return (long)(-1L<<(8*sizeof(long)-1)); }
                                        ~~~^
././CImg.h:2350:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static long max() { return ~((long)(-1L<<(8*sizeof(long)-1))); }
                                          ~~~^
In file included from gmic.cpp:1879:
In file included from ./gmic.h:70:
././CImg.h:2258:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static char min() { return (char)(-1L<<(8*sizeof(char)-1)); }
                                        ~~~^
././CImg.h:2259:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static char max() { return (char)~((char)(-1L<<(8*sizeof(char)-1))); }
                                                ~~~^
././CImg.h:2271:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static signed char min() { return (signed char)(-1L<<(8*sizeof(signed char)-1)); }
                                                      ~~~^
././CImg.h:2272:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static signed char max() { return ~((signed char)(-1L<<(8*sizeof(signed char)-1))); }
                                                        ~~~^
././CImg.h:2297:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static short min() { return (short)(-1L<<(8*sizeof(short)-1)); }
                                          ~~~^
././CImg.h:2298:48: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static short max() { return ~((short)(-1L<<(8*sizeof(short)-1))); }
                                            ~~~^
././CImg.h:2323:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static int min() { return (int)(-1L<<(8*sizeof(int)-1)); }
                                      ~~~^
././CImg.h:2324:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static int max() { return ~((int)(-1L<<(8*sizeof(int)-1))); }
                                        ~~~^
././CImg.h:2349:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static long min() { return (long)(-1L<<(8*sizeof(long)-1)); }
                                        ~~~^
././CImg.h:2350:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static long max() { return ~((long)(-1L<<(8*sizeof(long)-1))); }
                                          ~~~^
In file included from gmic.cpp:1879:
In file included from ./gmic.h:70:
In file included from ././CImg.h:391:
In file included from /data/scratch/graphics/gmic/work/.buildlink/include/OpenEXR/ImfMatrixAttribute.h:49:
/data/scratch/graphics/gmic/work/.buildlink/include/OpenEXR/ImfAttribute.h:320:41: warning: unused parameter 'version' [-Wunused-parameter]
                                    int version) const
                                        ^
/data/scratch/graphics/gmic/work/.buildlink/include/OpenEXR/ImfAttribute.h:329:42: warning: unused parameter 'size' [-Wunused-parameter]
                                     int size,
                                         ^
/data/scratch/graphics/gmic/work/.buildlink/include/OpenEXR/ImfAttribute.h:330:42: warning: unused parameter 'version' [-Wunused-parameter]
                                     int version)
                                         ^
In file included from gmic.cpp:1879:
In file included from ./gmic.h:70:
././CImg.h:2258:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static char min() { return (char)(-1L<<(8*sizeof(char)-1)); }
                                        ~~~^
././CImg.h:2259:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static char max() { return (char)~((char)(-1L<<(8*sizeof(char)-1))); }
                                                ~~~^
././CImg.h:2271:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static signed char min() { return (signed char)(-1L<<(8*sizeof(signed char)-1)); }
                                                      ~~~^
././CImg.h:2272:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static signed char max() { return ~((signed char)(-1L<<(8*sizeof(signed char)-1))); }
                                                        ~~~^
././CImg.h:2297:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static short min() { return (short)(-1L<<(8*sizeof(short)-1)); }
                                          ~~~^
././CImg.h:2298:48: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static short max() { return ~((short)(-1L<<(8*sizeof(short)-1))); }
                                            ~~~^
././CImg.h:2323:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static int min() { return (int)(-1L<<(8*sizeof(int)-1)); }
                                      ~~~^
././CImg.h:2324:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static int max() { return ~((int)(-1L<<(8*sizeof(int)-1))); }
                                        ~~~^
././CImg.h:2349:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static long min() { return (long)(-1L<<(8*sizeof(long)-1)); }
                                        ~~~^
././CImg.h:2350:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      static long max() { return ~((long)(-1L<<(8*sizeof(long)-1))); }
                                          ~~~^
assertion "CurArray && "Failed to allocate memory?"" failed: file "/home/joerg/work/NetBSD/clean/src/external/bsd/llvm/lib/libLLVMSupport/../../dist/llvm/lib/Support/SmallPtrSet.cpp", line 100, function "void llvm::SmallPtrSetImplBase::Grow(unsigned int)"
0  clang 0x000000008c542e85 __sigaddset14 + 83173
Stack dump:
0.	Program arguments: /usr/bin/clang -cc1 -triple x86_64--netbsd -emit-obj -disable-free -main-file-name gmic.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 1 -dwarf-column-info -debugger-tuning=gdb -coverage-notes-file /data/scratch/graphics/gmic/work/gmic-1.5.9.3/src/gmic_lib.gcno -resource-dir /usr/bin/../lib/clang/4.0.0 -D gmic_build -I /data/scratch/graphics/gmic/work/.buildlink/include -D cimg_use_vt100 -D gmic_is_parallel -D cimg_use_openmp -D cimg_use_fftw3 -D cimg_display=0 -D gmic_float_only -internal-isystem /usr/include/c++/ -O2 -Wall -W -fdeprecated-macro -fdebug-compilation-dir /data/scratch/graphics/gmic/work/gmic-1.5.9.3/src -ferror-limit 19 -fmessage-length 0 -fopenmp -fobjc-runtime=gnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o gmic_lib.o -x c++ gmic.cpp 
1.	<eof> parser at end of file
2.	Per-module optimization passes
3.	Running pass 'CallGraph Pass Manager' on module 'gmic.cpp'.
4.	Running pass 'Value Propagation' on function '@_ZN4gmic6_parseIfEERS_RKN12cimg_library8CImgListIcEERjRNS3_IT_EERS4_Pj'
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 4.0.0 (trunk r291444)
Target: x86_64--netbsd
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/tmp/gmic-99c358.cpp
clang: note: diagnostic msg: /var/tmp/gmic-99c358.sh
clang: note: diagnostic msg: 

********************
Makefile:358: recipe for target 'gmic_lib.o' failed
gmake[2]: *** [gmic_lib.o] Error 254
gmake[2]: Leaving directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src'
Makefile:319: recipe for target 'lib' failed
gmake[1]: *** [lib] Error 2
gmake[1]: *** Waiting for unfinished jobs....
assertion "CurArray && "Failed to allocate memory?"" failed: file "/home/joerg/work/NetBSD/clean/src/external/bsd/llvm/lib/libLLVMSupport/../../dist/llvm/lib/Support/SmallPtrSet.cpp", line 100, function "void llvm::SmallPtrSetImplBase::Grow(unsigned int)"
0  clang 0x00000000b8142e85 __sigaddset14 + 83173
Stack dump:
0.	Program arguments: /usr/bin/clang -cc1 -triple x86_64--netbsd -emit-obj -disable-free -main-file-name gmic.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 1 -dwarf-column-info -debugger-tuning=gdb -coverage-notes-file /data/scratch/graphics/gmic/work/gmic-1.5.9.3/src/gmic_gimp.gcno -resource-dir /usr/bin/../lib/clang/4.0.0 -D gmic_build -I /data/scratch/graphics/gmic/work/.buildlink/include -D cimg_use_vt100 -D gmic_is_parallel -D cimg_use_openmp -D cimg_use_fftw3 -D cimg_use_png -D cimg_use_zlib -D cimg_display=0 -D cimg_use_rng -D gmic_gimp -D gmic_float_only -internal-isystem /usr/include/c++/ -O2 -Wall -W -fdeprecated-macro -fdebug-compilation-dir /data/scratch/graphics/gmic/work/gmic-1.5.9.3/src -ferror-limit 19 -fmessage-length 0 -fopenmp -fobjc-runtime=gnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o gmic_gimp.o -x c++ gmic.cpp 
1.	<eof> parser at end of file
2.	Per-module optimization passes
3.	Running pass 'CallGraph Pass Manager' on module 'gmic.cpp'.
4.	Running pass 'Value Propagation' on function '@_ZN4gmic6_parseIfEERS_RKN12cimg_library8CImgListIcEERjRNS3_IT_EERS4_Pj'
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 4.0.0 (trunk r291444)
Target: x86_64--netbsd
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/tmp/gmic-589e1b.cpp
clang: note: diagnostic msg: /var/tmp/gmic-589e1b.sh
clang: note: diagnostic msg: 

********************
Makefile:369: recipe for target 'gmic_gimp.o' failed
gmake[2]: *** [gmic_gimp.o] Error 254
gmake[2]: Leaving directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src'
Makefile:316: recipe for target 'gimp' failed
gmake[1]: *** [gimp] Error 2
assertion "CurArray && "Failed to allocate memory?"" failed: file "/home/joerg/work/NetBSD/clean/src/external/bsd/llvm/lib/libLLVMSupport/../../dist/llvm/lib/Support/SmallPtrSet.cpp", line 100, function "void llvm::SmallPtrSetImplBase::Grow(unsigned int)"
0  clang 0x0000000029742e85 __sigaddset14 + 83173
Stack dump:
0.	Program arguments: /usr/bin/clang -cc1 -triple x86_64--netbsd -emit-obj -disable-free -main-file-name gmic.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 1 -dwarf-column-info -debugger-tuning=gdb -resource-dir /usr/bin/../lib/clang/4.0.0 -D gmic_build -I /data/scratch/graphics/gmic/work/.buildlink/include -D cimg_use_vt100 -D gmic_is_parallel -D cimg_display=1 -D cimg_appname="gmic" -D cimg_use_openmp -D cimg_use_png -D cimg_use_jpeg -D cimg_use_tiff -D cimg_use_zlib -D cimg_use_openexr -I /data/scratch/graphics/gmic/work/.buildlink/include/OpenEXR -D cimg_use_fftw3 -D gmic_float_only -D gmic_main -internal-isystem /usr/include/c++/ -O2 -Wall -W -fdeprecated-macro -fdebug-compilation-dir /data/scratch/graphics/gmic/work/gmic-1.5.9.3/src -ferror-limit 19 -fmessage-length 0 -fopenmp -fobjc-runtime=gnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o /var/tmp/gmic-0bc373.o -x c++ gmic.cpp 
1.	<eof> parser at end of file
2.	Per-module optimization passes
3.	Running pass 'CallGraph Pass Manager' on module 'gmic.cpp'.
4.	Running pass 'Value Propagation' on function '@_ZN4gmic6_parseIfEERS_RKN12cimg_library8CImgListIcEERjRNS3_IT_EERS4_Pj'
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 4.0.0 (trunk r291444)
Target: x86_64--netbsd
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/tmp/gmic-72c76d.cpp
clang: note: diagnostic msg: /var/tmp/gmic-72c76d.sh
clang: note: diagnostic msg: 

********************
Makefile:400: recipe for target 'gmic' failed
gmake[2]: *** [gmic] Error 254
gmake[2]: Leaving directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src'
Makefile:330: recipe for target 'linux' failed
gmake[1]: *** [linux] Error 2
gmake[1]: Leaving directory '/data/scratch/graphics/gmic/work/gmic-1.5.9.3/src'
Makefile:297: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/graphics/gmic
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/graphics/gmic