Building jbigkit-1.6.txz (origin /buildshare/ports/355755/graphics/jbigkit) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/jbigkit-1.6.tar.gz x packages/ x packages/pkg-1.2.7_2.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> jbigkit-1.6 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of jbigkit-1.6 Make install ===> jbigkit-1.6 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by jbigkit-1.6 for building ===> Extracting for jbigkit-1.6 => SHA256 Checksum OK for jbigkit-1.6.tar.gz. ===> Patching for jbigkit-1.6 ===> Applying FreeBSD patches for jbigkit-1.6 ===> Configuring for jbigkit-1.6 ===> Building for jbigkit-1.6 (cd libjbig; /usr/bin/make "CC=cc" "CFLAGS=-O2 -pipe -fno-strict-aliasing -I../libjbig") cc -O2 -pipe -fno-strict-aliasing -I../libjbig -c jbig.c cc -O2 -pipe -fno-strict-aliasing -I../libjbig -c jbig_tab.c rm -f libjbig.a ar rc libjbig.a jbig.o jbig_tab.o ranlib libjbig.a cc -c -fpic -DPIC -O2 -pipe -fno-strict-aliasing -I../libjbig jbig.c -o jbig.so cc -c -fpic -DPIC -O2 -pipe -fno-strict-aliasing -I../libjbig jbig_tab.c -o jbig_tab.so rm -f libjbig.so.1 cc -o libjbig.so.1 -shared -Wl,-soname,libjbig.so.1 jbig.so jbig_tab.so ln -sf libjbig.so.1 `echo libjbig.so.1 | sed 's/\.so.*$/.so/'` (cd pbmtools; /usr/bin/make "CC=cc" "CFLAGS=-O2 -pipe -fno-strict-aliasing -I../libjbig") cc -O2 -pipe -fno-strict-aliasing -I../libjbig -c pbmtojbg.c cc -O2 -pipe -fno-strict-aliasing -I../libjbig -o pbmtojbg pbmtojbg.o -L../libjbig -ljbig cc -O2 -pipe -fno-strict-aliasing -I../libjbig -c jbgtopbm.c cc -O2 -pipe -fno-strict-aliasing -I../libjbig -o jbgtopbm jbgtopbm.o -L../libjbig -ljbig Enter 'make test' in order to start some automatic tests. cd /obj/buildshare/ports/355755/graphics/jbigkit/work/jbigkit && /usr/bin/env TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" LD_LIBRARY_PATH=/obj/buildshare/ports/355755/graphics/jbigkit/work/jbigkit/libjbig make test (cd libjbig; make "CC=cc" "CFLAGS=-O2 -pipe -fno-strict-aliasing -I../libjbig") (cd pbmtools; make "CC=cc" "CFLAGS=-O2 -pipe -fno-strict-aliasing -I../libjbig") (cd libjbig; make "CC=cc" "CFLAGS=-O2 -pipe -fno-strict-aliasing -I../libjbig" test) cc -O2 -pipe -fno-strict-aliasing -I../libjbig -o tstcodec -DTEST_CODEC tstcodec.c jbig.c jbig_tab.o ./tstcodec Automatic JBIG Compatibility Test Suite --------------------------------------- JBIG-KIT Version 1.6 -- This test will take a few minutes. 1) Arithmetic encoder test sequence from ITU-T T.82, clause 7.1 --------------------------------------------------------------- result of encoder: 6989995c32eafaa0d5ff00527fff00ff00ff00c00000003fff002d208291 expected result: 6989995c32eafaa0d5ff00527fff00ff00ff00c00000003fff002d208291 Test 1: PASSED 2) Arithmetic decoder test sequence from ITU-T T.82, clause 7.1 --------------------------------------------------------------- Test 2.1: Decoding whole chunk ... Test result: PASSED Test 2.2: Decoding with single byte feed ... Test result: PASSED 3) Parametric algorithm test sequence from ITU-T T.82, clause 7.2 ----------------------------------------------------------------- Generating test image ... Test 3.1: TPBON=0, Mx=0, LRLTWO=0, L0=1951 Test 3.1.1: Encoding ... Encoded BIE has 317384 bytes: PASSED Test 3.1.2: Decoding whole chunk ... Image comparison: PASSED Test 3.1.3: Decoding with single-byte feed ... Image comparison: PASSED Test 3.2: TPBON=0, Mx=0, LRLTWO=1, L0=1951 Test 3.2.1: Encoding ... Encoded BIE has 317132 bytes: PASSED Test 3.2.2: Decoding whole chunk ... Image comparison: PASSED Test 3.2.3: Decoding with single-byte feed ... Image comparison: PASSED Test 3.3: TPBON=1, DPON=1, TPDON=1, Mx=8, LRLTWO=0, L0=128 Test 3.3.1: Encoding ... Encoded BIE has 253653 bytes: PASSED Test 3.3.2: Decoding whole chunk ... Image comparison: PASSED Test 3.3.3: Decoding with single-byte feed ... Image comparison: PASSED Test 3.4: TPBON=1, DPON=1, TPDON=1, Mx=8, LRLTWO=0, L0=2, 6 layers Test 3.4.1: Encoding ... Encoded BIE has 279314 bytes: PASSED Test 3.4.2: Decoding whole chunk ... Image comparison: PASSED Test 3.4.3: Decoding with single-byte feed ... Image comparison: PASSED 4) Additional regression tests ------------------------------ Test 4.1: order=0, 0 layers, 4 planes Test 4.1.1: Encoding ... Encoded BIE has 247 bytes: Test 4.1.2: Decoding whole chunk ... Image comparison: PASSED Test 4.1.3: Decoding with single-byte feed ... Image comparison: PASSED Test 4.2: order=2, 0 layers, 4 planes Test 4.2.1: Encoding ... Encoded BIE has 247 bytes: Test 4.2.2: Decoding whole chunk ... Image comparison: PASSED Test 4.2.3: Decoding with single-byte feed ... Image comparison: PASSED Test 4.3: order=3, 0 layers, 4 planes Test 4.3.1: Encoding ... Encoded BIE has 247 bytes: Test 4.3.2: Decoding whole chunk ... Image comparison: PASSED Test 4.3.3: Decoding with single-byte feed ... Image comparison: PASSED Test 4.4: order=0, 1 layers, 4 planes Test 4.4.1: Encoding ... Encoded BIE has 323 bytes: Test 4.4.2: Decoding whole chunk ... Image comparison: PASSED Test 4.4.3: Decoding with single-byte feed ... Image comparison: PASSED Test 4.5: order=2, 1 layers, 4 planes Test 4.5.1: Encoding ... Encoded BIE has 323 bytes: Test 4.5.2: Decoding whole chunk ... Image comparison: PASSED Test 4.5.3: Decoding with single-byte feed ... Image comparison: PASSED Test 4.6: order=3, 1 layers, 4 planes Test 4.6.1: Encoding ... Encoded BIE has 323 bytes: Test 4.6.2: Decoding whole chunk ... Image comparison: PASSED Test 4.6.3: Decoding with single-byte feed ... Image comparison: PASSED Test 4.7: order=0, 2 layers, 4 planes Test 4.7.1: Encoding ... Encoded BIE has 320 bytes: Test 4.7.2: Decoding whole chunk ... Image comparison: PASSED Test 4.7.3: Decoding with single-byte feed ... Image comparison: PASSED Test 4.8: order=2, 2 layers, 4 planes Test 4.8.1: Encoding ... Encoded BIE has 320 bytes: Test 4.8.2: Decoding whole chunk ... Image comparison: PASSED Test 4.8.3: Decoding with single-byte feed ... Image comparison: PASSED Test 4.9: order=3, 2 layers, 4 planes Test 4.9.1: Encoding ... Encoded BIE has 320 bytes: Test 4.9.2: Decoding whole chunk ... Image comparison: PASSED Test 4.9.3: Decoding with single-byte feed ... Image comparison: PASSED Test 4.10: order=0, 3 layers, 4 planes Test 4.10.1: Encoding ... Encoded BIE has 308 bytes: Test 4.10.2: Decoding whole chunk ... Image comparison: PASSED Test 4.10.3: Decoding with single-byte feed ... Image comparison: PASSED Test 4.11: order=2, 3 layers, 4 planes Test 4.11.1: Encoding ... Encoded BIE has 308 bytes: Test 4.11.2: Decoding whole chunk ... Image comparison: PASSED Test 4.11.3: Decoding with single-byte feed ... Image comparison: PASSED Test 4.12: order=3, 3 layers, 4 planes Test 4.12.1: Encoding ... Encoded BIE has 308 bytes: Test 4.12.2: Decoding whole chunk ... Image comparison: PASSED Test 4.12.3: Decoding with single-byte feed ... Image comparison: PASSED Test result summary: the library has PASSED the test suite. Congratulations, everything is fine. (cd pbmtools; make "CC=cc" "CFLAGS=-O2 -pipe -fno-strict-aliasing -I../libjbig" test) make IMG=ccitt1 OPTIONSJ= OPTIONSP= dotest1 ./jbgtopbm ../examples/ccitt1.jbg test-ccitt1.pbm ./pbmtojbg test-ccitt1.pbm test-ccitt1.jbg cmp test-ccitt1.jbg ../examples/ccitt1.jbg make IMG=ccitt2 OPTIONSJ= OPTIONSP= dotest1 ./jbgtopbm ../examples/ccitt2.jbg test-ccitt2.pbm ./pbmtojbg test-ccitt2.pbm test-ccitt2.jbg cmp test-ccitt2.jbg ../examples/ccitt2.jbg make IMG=ccitt3 OPTIONSJ= OPTIONSP= dotest1 ./jbgtopbm ../examples/ccitt3.jbg test-ccitt3.pbm ./pbmtojbg test-ccitt3.pbm test-ccitt3.jbg cmp test-ccitt3.jbg ../examples/ccitt3.jbg make IMG=xvlogo OPTIONSJ= "OPTIONSP=-d 3" dotest1 ./jbgtopbm ../examples/xvlogo.jbg test-xvlogo.pbm ./pbmtojbg -d 3 test-xvlogo.pbm test-xvlogo.jbg cmp test-xvlogo.jbg ../examples/xvlogo.jbg make IMG=sandra OPTIONSP= OPTIONSJ= dotest2g ./pbmtojbg ../examples/sandra.pgm test-sandra.jbg ./jbgtopbm test-sandra.jbg test-sandra.pgm cmp test-sandra.pgm ../examples/sandra.pgm make IMG=sandra OPTIONSP=-b OPTIONSJ=-b dotest2g ./pbmtojbg -b ../examples/sandra.pgm test-sandra.jbg ./jbgtopbm -b test-sandra.jbg test-sandra.pgm cmp test-sandra.pgm ../examples/sandra.pgm make IMG=sandra OPTIONSP=-q OPTIONSJ= dotest2g ./pbmtojbg -q ../examples/sandra.pgm test-sandra.jbg ./jbgtopbm test-sandra.jbg test-sandra.pgm cmp test-sandra.pgm ../examples/sandra.pgm make IMG=sandra "OPTIONSP=-o 0" OPTIONSJ= dotest2g ./pbmtojbg -o 0 ../examples/sandra.pgm test-sandra.jbg ./jbgtopbm test-sandra.jbg test-sandra.pgm cmp test-sandra.pgm ../examples/sandra.pgm make IMG=sandra "OPTIONSP=-o 2" OPTIONSJ= dotest2g ./pbmtojbg -o 2 ../examples/sandra.pgm test-sandra.jbg ./jbgtopbm test-sandra.jbg test-sandra.pgm cmp test-sandra.pgm ../examples/sandra.pgm make IMG=multi OPTIONSP= OPTIONSJ= dotest2g ./pbmtojbg ../examples/multi.pgm test-multi.jbg ./jbgtopbm test-multi.jbg test-multi.pgm cmp test-multi.pgm ../examples/multi.pgm make IMG=multi OPTIONSP=-b OPTIONSJ=-b dotest2g ./pbmtojbg -b ../examples/multi.pgm test-multi.jbg ./jbgtopbm -b test-multi.jbg test-multi.pgm cmp test-multi.pgm ../examples/multi.pgm make IMG=mx "OPTIONSP=-q -s 3 -m 128" dotest1 ./jbgtopbm ../examples/mx.jbg test-mx.pbm ./pbmtojbg -q -s 3 -m 128 test-mx.pbm test-mx.jbg cmp test-mx.jbg ../examples/mx.jbg make IMG=mx "OPTIONSP=-q -s 3 -m 128" dotest2b ./pbmtojbg -q -s 3 -m 128 test-mx.pbm test-mx.jbg ./jbgtopbm test-mx.jbg test-mx-2.pbm cmp test-mx.pbm test-mx-2.pbm make IMG=mx "OPTIONSP=-q -s 3 -m 128 -p 92" dotest2b ./pbmtojbg -q -s 3 -m 128 -p 92 test-mx.pbm test-mx.jbg ./jbgtopbm test-mx.jbg test-mx-2.pbm cmp test-mx.pbm test-mx-2.pbm make IMG=mx "OPTIONSP=-q -Y -1" dotest2b ./pbmtojbg -q -Y -1 test-mx.pbm test-mx.jbg ./jbgtopbm test-mx.jbg test-mx-2.pbm cmp test-mx.pbm test-mx-2.pbm make IMG=mx "OPTIONSP=-Y -1" dotest2b ./pbmtojbg -Y -1 test-mx.pbm test-mx.jbg ./jbgtopbm test-mx.jbg test-mx-2.pbm cmp test-mx.pbm test-mx-2.pbm rm -f test-*.jbg test-*.pbm test-*.pgm ./jbgtopbm ../examples/ccitt1.jbg | ./pbmtojbg > test-ccitt1.jbg cmp ../examples/ccitt1.jbg test-ccitt1.jbg rm -f test-*.jbg test-*.pbm test-*.pgm ./jbgtopbm < ../examples/ccitt1.jbg | ./pbmtojbg - test-ccitt1.jbg cmp ../examples/ccitt1.jbg test-ccitt1.jbg rm -f test-*.jbg test-*.pbm test-*.pgm ./jbgtopbm < ../examples/ccitt1.jbg - test-ccitt1.pbm ; ./pbmtojbg test-ccitt1.pbm test-ccitt1.jbg cmp ../examples/ccitt1.jbg test-ccitt1.jbg rm -f test-*.jbg test-*.pbm test-*.pgm ./jbgtopbm ../examples/ccitt1.jbg test-ccitt1.pbm ; ./pbmtojbg test-ccitt1.pbm >test-ccitt1.jbg cmp ../examples/ccitt1.jbg test-ccitt1.jbg rm -f test-*.jbg test-*.pbm test-*.pgm The pbmtools have PASSED the functional tests. Good! ===> Staging for jbigkit-1.6 ===> Generating temporary packing list mkdir -p /obj/buildshare/ports/355755/graphics/jbigkit/work/stage/usr/local/bin install -s -o root -g wheel -m 555 pbmtools/jbgtopbm pbmtools/pbmtojbg /obj/buildshare/ports/355755/graphics/jbigkit/work/stage/usr/local/bin mkdir -p /obj/buildshare/ports/355755/graphics/jbigkit/work/stage/usr/local/man/man1 install -o root -g wheel -m 444 pbmtools/pbmtojbg.1 pbmtools/jbgtopbm.1 /obj/buildshare/ports/355755/graphics/jbigkit/work/stage/usr/local/man/man1 mkdir -p /obj/buildshare/ports/355755/graphics/jbigkit/work/stage/usr/local/include install -o root -g wheel -m 444 libjbig/jbig.h /obj/buildshare/ports/355755/graphics/jbigkit/work/stage/usr/local/include mkdir -p /obj/buildshare/ports/355755/graphics/jbigkit/work/stage/usr/local/lib install -o root -g wheel -m 444 libjbig/libjbig.a /obj/buildshare/ports/355755/graphics/jbigkit/work/stage/usr/local/lib install -o root -g wheel -m 444 libjbig/libjbig.so.1 /obj/buildshare/ports/355755/graphics/jbigkit/work/stage/usr/local/lib ln -sf libjbig.so.1 /obj/buildshare/ports/355755/graphics/jbigkit/work/stage/usr/local/lib/libjbig.so ====> Compressing man pages (compress-man) ===> Installing for jbigkit-1.6 ===> Checking if graphics/jbigkit already installed ===> Registering installation for jbigkit-1.6 Installing jbigkit-1.6... done Make package ===> Building package for jbigkit-1.6 slot1: removed