printf ' ' | fink --no-use-binary-dist --yes --build-as-nobody rebuild gocr 2>&1 The package 'gocr' will be built without being installed. Reading build dependency for gocr-0.50-2... Reading dependency for gocr-0.50-2... Reading build conflict for gocr-0.50-2... The package 'netpbm11' will be installed. Reading dependency for netpbm11-10.65.07-1... Reading runtime dependency for netpbm11-10.65.07-1... The package 'netpbm11-shlibs' will be installed. Reading dependency for netpbm11-shlibs-10.65.07-1... Reading runtime dependency for netpbm11-shlibs-10.65.07-1... The package 'libjpeg-bin' will be installed. Reading dependency for libjpeg-bin-9a-1... Reading runtime dependency for libjpeg-bin-9a-1... The package 'transfig-graphicx' will be installed. Reading dependency for transfig-graphicx-3.2.5d-1014... Reading runtime dependency for transfig-graphicx-3.2.5d-1014... The package 'libjpeg9-shlibs' will be installed. Reading dependency for libjpeg9-shlibs-9a-1... Reading runtime dependency for libjpeg9-shlibs-9a-1... The package 'libpng16-shlibs' will be installed. Reading dependency for libpng16-shlibs-1.6.12-1... Reading runtime dependency for libpng16-shlibs-1.6.12-1... The package 'libtiff-bin' will be installed. Reading dependency for libtiff-bin-4.0.3-5... Reading runtime dependency for libtiff-bin-4.0.3-5... The package 'netpbm-bin' will be installed. Reading dependency for netpbm-bin-10.65.07-1... Reading runtime dependency for netpbm-bin-10.65.07-1... The package 'libtiff5-shlibs' will be installed. Reading dependency for libtiff5-shlibs-4.0.3-5... Reading runtime dependency for libtiff5-shlibs-4.0.3-5... The package 'libjbig-shlibs' will be installed. Reading dependency for libjbig-shlibs-2.0-1... Reading runtime dependency for libjbig-shlibs-2.0-1... The package 'liblzma5-shlibs' will be installed. Reading dependency for liblzma5-shlibs-5.0.5-2... Reading runtime dependency for liblzma5-shlibs-5.0.5-2... The package 'libjasper.1-shlibs' will be installed. Reading dependency for libjasper.1-shlibs-1.900.1-5... Reading runtime dependency for libjasper.1-shlibs-1.900.1-5... The package 'libxml2-shlibs' will be installed. Reading dependency for libxml2-shlibs-2.9.1-3... Reading runtime dependency for libxml2-shlibs-2.9.1-3... The following package will be rebuilt: gocr The following 13 additional packages will be installed: libjasper.1-shlibs libjbig-shlibs libjpeg-bin libjpeg9-shlibs liblzma5-shlibs libpng16-shlibs libtiff-bin libtiff5-shlibs libxml2-shlibs netpbm-bin netpbm11 netpbm11-shlibs transfig-graphicx Do you want to continue? [Y/n] (assuming default) curl --connect-timeout 30 -f -L -A 'fink/0.37.0' -O http://distfiles.master.finkmirrors.net/distfiles/gocr-0.50.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 3 409k 3 15685 0 0 41219 0 0:00:10 --:--:-- 0:00:10 41167 100 409k 100 409k 0 0 399k 0 0:00:01 0:00:01 --:--:-- 400k Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/graphics/libjbig-shlibs_2.0-1_darwin-x86_64.deb Selecting previously deselected package libjbig-shlibs. (Reading database ... 4740 files and directories currently installed.) Unpacking libjbig-shlibs (from .../libjbig-shlibs_2.0-1_darwin-x86_64.deb) ... Setting up libjbig-shlibs (2.0-1) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/graphics/libjpeg-bin_9a-1_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/graphics/libjpeg9-shlibs_9a-1_darwin-x86_64.deb Selecting previously deselected package libjpeg-bin. (Reading database ... 4747 files and directories currently installed.) Unpacking libjpeg-bin (from .../libjpeg-bin_9a-1_darwin-x86_64.deb) ... Selecting previously deselected package libjpeg9-shlibs. Unpacking libjpeg9-shlibs (from .../libjpeg9-shlibs_9a-1_darwin-x86_64.deb) ... Setting up libjpeg9-shlibs (9a-1) ... Setting up libjpeg-bin (9a-1) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/utils/liblzma5-shlibs_5.0.5-2_darwin-x86_64.deb Selecting previously deselected package liblzma5-shlibs. (Reading database ... 4766 files and directories currently installed.) Unpacking liblzma5-shlibs (from .../liblzma5-shlibs_5.0.5-2_darwin-x86_64.deb) ... Setting up liblzma5-shlibs (5.0.5-2) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/graphics/libpng16-shlibs_1.6.12-1_darwin-x86_64.deb Selecting previously deselected package libpng16-shlibs. (Reading database ... 4777 files and directories currently installed.) Unpacking libpng16-shlibs (from .../libpng16-shlibs_1.6.12-1_darwin-x86_64.deb) ... Setting up libpng16-shlibs (1.6.12-1) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/graphics/libtiff-bin_4.0.3-5_darwin-x86_64.deb /sw/fink/debs/libtiff5-shlibs_4.0.3-5_darwin-x86_64.deb Selecting previously deselected package libtiff-bin. (Reading database ... 4785 files and directories currently installed.) Unpacking libtiff-bin (from .../libtiff-bin_4.0.3-5_darwin-x86_64.deb) ... Selecting previously deselected package libtiff5-shlibs. Unpacking libtiff5-shlibs (from .../libtiff5-shlibs_4.0.3-5_darwin-x86_64.deb) ... Setting up libtiff5-shlibs (4.0.3-5) ... Setting up libtiff-bin (4.0.3-5) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/libxml2-shlibs_2.9.1-3_darwin-x86_64.deb Selecting previously deselected package libxml2-shlibs. (Reading database ... 4842 files and directories currently installed.) Unpacking libxml2-shlibs (from .../libxml2-shlibs_2.9.1-3_darwin-x86_64.deb) ... Setting up libxml2-shlibs (2.9.1-3) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/graphics/libjasper.1-shlibs_1.900.1-5_darwin-x86_64.deb Selecting previously deselected package libjasper.1-shlibs. (Reading database ... 4846 files and directories currently installed.) Unpacking libjasper.1-shlibs (from .../libjasper.1-shlibs_1.900.1-5_darwin-x86_64.deb) ... Setting up libjasper.1-shlibs (1.900.1-5) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/graphics/netpbm-bin_10.65.07-1_darwin-x86_64.deb /sw/fink/debs/netpbm11-shlibs_10.65.07-1_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/graphics/netpbm11_10.65.07-1_darwin-x86_64.deb Selecting previously deselected package netpbm-bin. (Reading database ... 4855 files and directories currently installed.) Unpacking netpbm-bin (from .../netpbm-bin_10.65.07-1_darwin-x86_64.deb) ... Selecting previously deselected package netpbm11-shlibs. Unpacking netpbm11-shlibs (from .../netpbm11-shlibs_10.65.07-1_darwin-x86_64.deb) ... Selecting previously deselected package netpbm11. Unpacking netpbm11 (from .../netpbm11_10.65.07-1_darwin-x86_64.deb) ... Setting up netpbm11-shlibs (10.65.07-1) ... Setting up netpbm11 (10.65.07-1) ... Setting up netpbm-bin (10.65.07-1) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/debs/transfig-graphicx_3.2.5d-1014_darwin-x86_64.deb Selecting previously deselected package transfig-graphicx. (Reading database ... 5646 files and directories currently installed.) Unpacking transfig-graphicx (from .../transfig-graphicx_3.2.5d-1014_darwin-x86_64.deb) ... Setting up transfig-graphicx (3.2.5d-1014) ... Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-gocr-0.50-2 /sw/build.build dpkg-deb: building package `fink-buildlock-gocr-0.50-2' in `/sw/build.build/fink-buildlock-gocr-0.50-2_2014.08.04-16.16.21_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-gocr-0.50-2_2014.08.04-16.16.21_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-gocr-0.50-2. (Reading database ... 5730 files and directories currently installed.) Unpacking fink-buildlock-gocr-0.50-2 (from .../fink-buildlock-gocr-0.50-2_2014.08.04-16.16.21_darwin-x86_64.deb) ... Setting up fink-buildlock-gocr-0.50-2 (2014.08.04-16.16.21) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.HLY_z env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/gocr-0.50.tar.gz gocr-0.50/ gocr-0.50/examples/ gocr-0.50/examples/matrix.jpg gocr-0.50/examples/ocr-a-subset.png.txt gocr-0.50/examples/handwrt1.jpg gocr-0.50/examples/5x8.png gocr-0.50/examples/rotate45.fig gocr-0.50/examples/polish.tex gocr-0.50/examples/ocr-b.png gocr-0.50/examples/ocr-b.png.txt gocr-0.50/examples/handwrt1.readme gocr-0.50/examples/font_nw.tex gocr-0.50/examples/font.tex gocr-0.50/examples/5x7.png.txt gocr-0.50/examples/text.tex gocr-0.50/examples/4x6.txt gocr-0.50/examples/5x8.png.txt gocr-0.50/examples/score gocr-0.50/examples/ex.fig gocr-0.50/examples/5x7.png gocr-0.50/examples/ocr-a-subset.png gocr-0.50/examples/ocr-a.txt gocr-0.50/examples/font1.tex gocr-0.50/examples/.#Makefile.1.22 gocr-0.50/examples/Makefile gocr-0.50/examples/font2.fig gocr-0.50/examples/inverse.fig gocr-0.50/examples/color.fig gocr-0.50/examples/handwrt1.jpg.txt gocr-0.50/examples/ocr-a.png gocr-0.50/examples/4x6.png gocr-0.50/Makefile.in gocr-0.50/REVIEW gocr-0.50/make.bat gocr-0.50/CREDITS gocr-0.50/include/ gocr-0.50/include/config.h.in gocr-0.50/include/version.h gocr-0.50/include/config.h gocr-0.50/include/.cvsignore gocr-0.50/lib/ gocr-0.50/man/ gocr-0.50/man/Makefile.in gocr-0.50/man/man1/ gocr-0.50/man/man1/gocr.1 gocr-0.50/man/Makefile gocr-0.50/man/.cvsignore gocr-0.50/READMEde.txt gocr-0.50/AUTHORS gocr-0.50/README gocr-0.50/configure.in gocr-0.50/install-sh gocr-0.50/gpl.html gocr-0.50/HISTORY gocr-0.50/doc/ gocr-0.50/doc/Makefile.in gocr-0.50/doc/qr1.png gocr-0.50/doc/gocr.html gocr-0.50/doc/example.xml gocr-0.50/doc/examples.txt gocr-0.50/doc/.#Makefile.1.6 gocr-0.50/doc/example.dtd gocr-0.50/doc/unicode.txt gocr-0.50/doc/Makefile gocr-0.50/doc/qr1.fig gocr-0.50/doc/.cvsignore gocr-0.50/bin/ gocr-0.50/bin/gocr_chk.sh gocr-0.50/bin/create_db gocr-0.50/bin/gocr.tcl gocr-0.50/bin/.cvsignore gocr-0.50/TODO gocr-0.50/BUGS gocr-0.50/gocr.spec gocr-0.50/REMARK.txt gocr-0.50/INSTALL gocr-0.50/configure gocr-0.50/Makefile gocr-0.50/.cvsignore gocr-0.50/src/ gocr-0.50/src/list.h gocr-0.50/src/gocr.c gocr-0.50/src/tga.h gocr-0.50/src/list.c gocr-0.50/src/tga.c gocr-0.50/src/Makefile.in gocr-0.50/src/pcx.h gocr-0.50/src/progress.c gocr-0.50/src/database.c gocr-0.50/src/unicode_defs.h gocr-0.50/src/gocr.h gocr-0.50/src/progress.h gocr-0.50/src/pnm.c gocr-0.50/src/job.c gocr-0.50/src/pixel.c gocr-0.50/src/box.c gocr-0.50/src/otsu.h gocr-0.50/src/ocr0.h gocr-0.50/src/output.h gocr-0.50/src/pcx.c gocr-0.50/src/otsu.c gocr-0.50/src/pgm2asc.h gocr-0.50/src/jconv.c gocr-0.50/src/ocr0n.c gocr-0.50/src/pnm.h gocr-0.50/src/unicode.c gocr-0.50/src/amiga.h gocr-0.50/src/ocr0.c gocr-0.50/src/barcode.h gocr-0.50/src/output.c gocr-0.50/src/ocr1.h gocr-0.50/src/detect.c gocr-0.50/src/barcode.c gocr-0.50/src/Makefile gocr-0.50/src/unicode.h gocr-0.50/src/pgm2asc.c gocr-0.50/src/lines.c gocr-0.50/src/remove.c gocr-0.50/src/ocr1.c gocr-0.50/src/.cvsignore sudo -u fink-bld [ENV] sh -c /tmp/fink.AywSP perl -pi -e 's/(CFLAGS=)(.*)(-I\.\.\/include)/\1 \3 \2 /' src/Makefile.in cp -p src/Makefile.in src/Makefile.in.orig ( echo "prefix = @prefix@"; echo "exec_prefix = @exec_prefix@"; cat src/Makefile.in.orig ) > src/Makefile.in sudo -u fink-bld [ENV] sh -c /tmp/fink.lbaK2 ./configure --prefix=/sw --mandir=/sw/share/man checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for library containing pnm_readpnminit... -lnetpbm checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking pam.h usability... yes checking pam.h presence... yes checking for pam.h... yes checking pnm.h usability... yes checking pnm.h presence... yes checking for pnm.h... yes checking for an ANSI C-conforming const... yes checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking for wcschr... yes checking for wcsdup... yes checking for gettimeofday... yes checking for popen... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating man/Makefile config.status: creating include/config.h make src man doc /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src all make: `man' is up to date. /Applications/Xcode.app/Contents/Developer/usr/bin/make -C doc all make[1]: Nothing to be done for `all'. gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o pgm2asc.o pgm2asc.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o box.o box.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o database.o database.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o detect.o detect.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o barcode.o barcode.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o lines.o lines.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o list.o list.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o ocr0.o ocr0.c ocr0.c:1070:15: warning: expression result unused [-Wunused-value] +line_deviation(box1, j,i1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o ocr0n.o ocr0n.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o ocr1.o ocr1.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o otsu.o otsu.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o output.o output.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o pixel.o pixel.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o unicode.o unicode.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o remove.o remove.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o pnm.o pnm.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o pcx.o pcx.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o progress.o progress.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o job.o job.c gcc -I../include -g -O2 -I/sw/include -DHAVE_CONFIG_H -c -o gocr.o gocr.c 1 warning generated. # make it conform to ld --as-needed #gcc -o gocr -lm -L/sw/lib gocr.o ./libPgm2asc.a -lnetpbm gcc -o gocr -lm -L/sw/lib gocr.o pgm2asc.o box.o database.o detect.o barcode.o lines.o list.o ocr0.o ocr0n.o ocr1.o otsu.o output.o pixel.o unicode.o remove.o pnm.o pcx.o progress.o job.o -lnetpbm # if test -r gocr; then cp gocr ../bin; fi /bin/rm -rf /sw/build.build/root-gocr-0.50-2 /bin/mkdir -p /sw/build.build/root-gocr-0.50-2/sw /bin/mkdir -p /sw/build.build/root-gocr-0.50-2/DEBIAN /usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-gocr-0.50-2 sudo -u fink-bld [ENV] sh -c /tmp/fink.olMUu make DESTDIR=/sw/build.build/root-gocr-0.50-2 install /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src install #/usr/bin/install -c -d /sw/build.build/root-gocr-0.50-2/sw/bin /sw/build.build/root-gocr-0.50-2 /sw/build.build/root-gocr-0.50-2 /usr/bin/install -c -d /sw/build.build/root-gocr-0.50-2/sw/bin /usr/bin/install -c gocr /sw/build.build/root-gocr-0.50-2/sw/bin /usr/bin/install -c ../bin/gocr.tcl /sw/build.build/root-gocr-0.50-2/sw/bin # better X11/bin? if test -f libPgm2asc.a; then\ /usr/bin/install -c libPgm2asc.a /sw/build.build/root-gocr-0.50-2;\ /usr/bin/install -c libPgm2asc.0.50.so /sw/build.build/root-gocr-0.50-2;\ /usr/bin/install -c libPgm2asc.so /sw/build.build/root-gocr-0.50-2;\ fi # ToDo: not sure that the link will be installed correctly #/usr/bin/install -c /sw/build.build/root-gocr-0.50-2 /Applications/Xcode.app/Contents/Developer/usr/bin/make -C man install /usr/bin/install -c -d /sw/build.build/root-gocr-0.50-2/sw/share/man/man1 /usr/bin/install -c ../man/man1/gocr.1 /sw/build.build/root-gocr-0.50-2/sw/share/man/man1 # following steps are not needed for end users, but cost dependencies # therefore removed in 0.48 # /Applications/Xcode.app/Contents/Developer/usr/bin/make -C doc install # /Applications/Xcode.app/Contents/Developer/usr/bin/make -C examples install # /Applications/Xcode.app/Contents/Developer/usr/bin/make -C frontend install sudo -u fink-bld [ENV] sh -c /tmp/fink.OQynz /usr/bin/install -d -m 700 /sw/build.build/root-gocr-0.50-2/sw/share/doc/gocr /bin/cp -r AUTHORS /sw/build.build/root-gocr-0.50-2/sw/share/doc/gocr/ /bin/cp -r BUGS /sw/build.build/root-gocr-0.50-2/sw/share/doc/gocr/ /bin/cp -r CREDITS /sw/build.build/root-gocr-0.50-2/sw/share/doc/gocr/ /bin/cp -r HISTORY /sw/build.build/root-gocr-0.50-2/sw/share/doc/gocr/ /bin/cp -r README* /sw/build.build/root-gocr-0.50-2/sw/share/doc/gocr/ /bin/cp -r REMARK.txt /sw/build.build/root-gocr-0.50-2/sw/share/doc/gocr/ /bin/cp -r REVIEW /sw/build.build/root-gocr-0.50-2/sw/share/doc/gocr/ /bin/cp -r TODO /sw/build.build/root-gocr-0.50-2/sw/share/doc/gocr/ /bin/cp -r gpl.html /sw/build.build/root-gocr-0.50-2/sw/share/doc/gocr/ /bin/cp -r doc/gocr.html /sw/build.build/root-gocr-0.50-2/sw/share/doc/gocr/ /bin/chmod -R go=u-w /sw/build.build/root-gocr-0.50-2/sw/share/doc/gocr /bin/rm -f /sw/build.build/root-gocr-0.50-2/sw/info/dir /sw/build.build/root-gocr-0.50-2/sw/info/dir.old /sw/build.build/root-gocr-0.50-2/sw/share/info/dir /sw/build.build/root-gocr-0.50-2/sw/share/info/dir.old Reverting ownership of install dir to root Writing control file... Writing md5sums file... env LANG=C LC_ALL=C dpkg-deb -b root-gocr-0.50-2 /sw/fink/10.9/stable/main/binary-darwin-x86_64/graphics dpkg-deb: building package `gocr' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/graphics/gocr_0.50-2_darwin-x86_64.deb'. Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-gocr-0.50-2 (Reading database ... 5731 files and directories currently installed.) Removing fink-buildlock-gocr-0.50-2 ...