kaefert@ultrablech ~/src/libpano/libpano.build $ cmake ../libpano.hg -DCMAKE_INSTALL_PREFIX=/usr/local -DCPACK_BINARY_DEB:BOOL=ON \ > -DCPACK_BINARY_NSIS:BOOL=OFF -DCPACK_BINARY_RPM:BOOL=OFF -DCPACK_BINARY_STGZ:BOOL=OFF \ > -DCPACK_BINARY_TBZ2:BOOL=OFF -DCPACK_BINARY_TGZ:BOOL=OFF -DCPACK_BINARY_TZ:BOOL=OFF \ > -DCMAKE_BUILD_TYPE=RelWithDebInfo -- The C compiler identification is GNU 4.8.1 -- The CXX compiler identification is GNU 4.8.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.2") -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") -- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.49") -- found version = 2.9.19 -- Found Perl: /usr/bin/perl (found version "5.14.2") -- Configuring done -- Generating done -- Build files have been written to: /home/kaefert/src/libpano/libpano.build kaefert@ultrablech ~/src/libpano/libpano.build $ make package Scanning dependencies of target man [ 0%] Built target man Scanning dependencies of target pano13 [ 1%] Building C object CMakeFiles/pano13.dir/javastub.c.o [ 2%] Building C object CMakeFiles/pano13.dir/adjust.c.o [ 2%] Building C object CMakeFiles/pano13.dir/bmp.c.o [ 3%] Building C object CMakeFiles/pano13.dir/ColourBrightness.c.o [ 4%] Building C object CMakeFiles/pano13.dir/correct.c.o /home/kaefert/src/libpano/libpano.hg/correct.c: In function ‘correct’: /home/kaefert/src/libpano/libpano.hg/correct.c:305:17: warning: embedded ‘\0’ in format [-Wformat-contains-nul] fprintf(stderr, "PT correct "PROGRESS_VERSION" R==G\n" ); ^ /home/kaefert/src/libpano/libpano.hg/correct.c:333:17: warning: embedded ‘\0’ in format [-Wformat-contains-nul] fprintf(stderr, "PT correct "PROGRESS_VERSION" G==B\n" ); ^ /home/kaefert/src/libpano/libpano.hg/correct.c:362:17: warning: embedded ‘\0’ in format [-Wformat-contains-nul] fprintf(stderr, "PT correct "PROGRESS_VERSION" R==B\n" ); ^ /home/kaefert/src/libpano/libpano.hg/correct.c:390:17: warning: embedded ‘\0’ in format [-Wformat-contains-nul] fprintf(stderr, "PT correct "PROGRESS_VERSION" R!=G!=B\n" ); ^ /home/kaefert/src/libpano/libpano.hg/correct.c:427:13: warning: embedded ‘\0’ in format [-Wformat-contains-nul] fprintf(stderr, "PT correct "PROGRESS_VERSION" R==G==B\n" ); ^ [ 5%] Building C object CMakeFiles/pano13.dir/dump.c.o [ 5%] Building C object CMakeFiles/pano13.dir/fftn.c.o [ 6%] Building C object CMakeFiles/pano13.dir/file.c.o [ 7%] Building C object CMakeFiles/pano13.dir/filter.c.o [ 8%] Building C object CMakeFiles/pano13.dir/fourier.c.o [ 8%] Building C object CMakeFiles/pano13.dir/hdrfile.c.o [ 9%] Building C object CMakeFiles/pano13.dir/jpeg.c.o [ 10%] Building C object CMakeFiles/pano13.dir/jpegicc.c.o [ 11%] Building C object CMakeFiles/pano13.dir/lmdif.c.o [ 12%] Building C object CMakeFiles/pano13.dir/math.c.o [ 12%] Building C object CMakeFiles/pano13.dir/metadata.c.o [ 13%] Building C object CMakeFiles/pano13.dir/morpher.c.o [ 14%] Building C object CMakeFiles/pano13.dir/multilayer.c.o [ 15%] Building C object CMakeFiles/pano13.dir/optimize.c.o [ 15%] Building C object CMakeFiles/pano13.dir/pan.c.o [ 16%] Building C object CMakeFiles/pano13.dir/parser.c.o /home/kaefert/src/libpano/libpano.hg/parser.c: In function ‘WriteResults’: /home/kaefert/src/libpano/libpano.hg/parser.c:1059:21: warning: too many arguments for format [-Wformat-extra-args] ); ^ [ 17%] Building C object CMakeFiles/pano13.dir/perspect.c.o [ 18%] Building C object CMakeFiles/pano13.dir/png.c.o [ 18%] Building C object CMakeFiles/pano13.dir/ppm.c.o [ 19%] Building C object CMakeFiles/pano13.dir/PTcommon.c.o [ 20%] Building C object CMakeFiles/pano13.dir/PTDialogs.c.o [ 21%] Building C object CMakeFiles/pano13.dir/ptfeather.c.o [ 22%] Building C object CMakeFiles/pano13.dir/ptstitch.c.o [ 22%] Building C object CMakeFiles/pano13.dir/queryfeature.c.o [ 23%] Building C object CMakeFiles/pano13.dir/remap.c.o [ 24%] Building C object CMakeFiles/pano13.dir/resample.c.o [ 25%] Building C object CMakeFiles/pano13.dir/rgbe.c.o [ 25%] Building C object CMakeFiles/pano13.dir/seamer.c.o [ 26%] Building C object CMakeFiles/pano13.dir/sys_ansi.c.o [ 27%] Building C object CMakeFiles/pano13.dir/sys_compat_unix.c.o [ 28%] Building C object CMakeFiles/pano13.dir/sys_common.c.o [ 28%] Building C object CMakeFiles/pano13.dir/tiff.c.o [ 29%] Building C object CMakeFiles/pano13.dir/Triangulate.c.o [ 30%] Building C object CMakeFiles/pano13.dir/ZComb.c.o [ 31%] Building C object CMakeFiles/pano13.dir/PaniniGeneral.c.o Linking C shared library libpano13.so [ 31%] Built target pano13 Scanning dependencies of target pano13a [ 32%] Building C object CMakeFiles/pano13a.dir/javastub.c.o [ 32%] Building C object CMakeFiles/pano13a.dir/adjust.c.o [ 33%] Building C object CMakeFiles/pano13a.dir/bmp.c.o [ 34%] Building C object CMakeFiles/pano13a.dir/ColourBrightness.c.o [ 35%] Building C object CMakeFiles/pano13a.dir/correct.c.o /home/kaefert/src/libpano/libpano.hg/correct.c: In function ‘correct’: /home/kaefert/src/libpano/libpano.hg/correct.c:305:17: warning: embedded ‘\0’ in format [-Wformat-contains-nul] fprintf(stderr, "PT correct "PROGRESS_VERSION" R==G\n" ); ^ /home/kaefert/src/libpano/libpano.hg/correct.c:333:17: warning: embedded ‘\0’ in format [-Wformat-contains-nul] fprintf(stderr, "PT correct "PROGRESS_VERSION" G==B\n" ); ^ /home/kaefert/src/libpano/libpano.hg/correct.c:362:17: warning: embedded ‘\0’ in format [-Wformat-contains-nul] fprintf(stderr, "PT correct "PROGRESS_VERSION" R==B\n" ); ^ /home/kaefert/src/libpano/libpano.hg/correct.c:390:17: warning: embedded ‘\0’ in format [-Wformat-contains-nul] fprintf(stderr, "PT correct "PROGRESS_VERSION" R!=G!=B\n" ); ^ /home/kaefert/src/libpano/libpano.hg/correct.c:427:13: warning: embedded ‘\0’ in format [-Wformat-contains-nul] fprintf(stderr, "PT correct "PROGRESS_VERSION" R==G==B\n" ); ^ [ 35%] Building C object CMakeFiles/pano13a.dir/dump.c.o [ 36%] Building C object CMakeFiles/pano13a.dir/fftn.c.o [ 37%] Building C object CMakeFiles/pano13a.dir/file.c.o [ 38%] Building C object CMakeFiles/pano13a.dir/filter.c.o [ 38%] Building C object CMakeFiles/pano13a.dir/fourier.c.o [ 39%] Building C object CMakeFiles/pano13a.dir/hdrfile.c.o [ 40%] Building C object CMakeFiles/pano13a.dir/jpeg.c.o [ 41%] Building C object CMakeFiles/pano13a.dir/jpegicc.c.o [ 42%] Building C object CMakeFiles/pano13a.dir/lmdif.c.o [ 42%] Building C object CMakeFiles/pano13a.dir/math.c.o [ 43%] Building C object CMakeFiles/pano13a.dir/metadata.c.o [ 44%] Building C object CMakeFiles/pano13a.dir/morpher.c.o [ 45%] Building C object CMakeFiles/pano13a.dir/multilayer.c.o [ 45%] Building C object CMakeFiles/pano13a.dir/optimize.c.o [ 46%] Building C object CMakeFiles/pano13a.dir/pan.c.o [ 47%] Building C object CMakeFiles/pano13a.dir/parser.c.o /home/kaefert/src/libpano/libpano.hg/parser.c: In function ‘WriteResults’: /home/kaefert/src/libpano/libpano.hg/parser.c:1059:21: warning: too many arguments for format [-Wformat-extra-args] ); ^ [ 48%] Building C object CMakeFiles/pano13a.dir/perspect.c.o [ 48%] Building C object CMakeFiles/pano13a.dir/png.c.o [ 49%] Building C object CMakeFiles/pano13a.dir/ppm.c.o [ 50%] Building C object CMakeFiles/pano13a.dir/PTcommon.c.o [ 51%] Building C object CMakeFiles/pano13a.dir/PTDialogs.c.o [ 52%] Building C object CMakeFiles/pano13a.dir/ptfeather.c.o [ 52%] Building C object CMakeFiles/pano13a.dir/ptstitch.c.o [ 53%] Building C object CMakeFiles/pano13a.dir/queryfeature.c.o [ 54%] Building C object CMakeFiles/pano13a.dir/remap.c.o [ 55%] Building C object CMakeFiles/pano13a.dir/resample.c.o [ 55%] Building C object CMakeFiles/pano13a.dir/rgbe.c.o [ 56%] Building C object CMakeFiles/pano13a.dir/seamer.c.o [ 57%] Building C object CMakeFiles/pano13a.dir/sys_ansi.c.o [ 58%] Building C object CMakeFiles/pano13a.dir/sys_compat_unix.c.o [ 58%] Building C object CMakeFiles/pano13a.dir/sys_common.c.o [ 59%] Building C object CMakeFiles/pano13a.dir/tiff.c.o [ 60%] Building C object CMakeFiles/pano13a.dir/Triangulate.c.o [ 61%] Building C object CMakeFiles/pano13a.dir/ZComb.c.o [ 62%] Building C object CMakeFiles/pano13a.dir/PaniniGeneral.c.o Linking C static library libpano13.a [ 62%] Built target pano13a Scanning dependencies of target PTblender [ 62%] Building C object tools/CMakeFiles/PTblender.dir/PTblender.c.o Linking C executable PTblender [ 62%] Built target PTblender Scanning dependencies of target PTcrop [ 63%] Building C object tools/CMakeFiles/PTcrop.dir/PTcrop.c.o Linking C executable PTcrop [ 63%] Built target PTcrop Scanning dependencies of target PTinfo [ 64%] Building C object tools/CMakeFiles/PTinfo.dir/PTinfo.c.o Linking C executable PTinfo [ 64%] Built target PTinfo Scanning dependencies of target PTmasker [ 65%] Building C object tools/CMakeFiles/PTmasker.dir/PTmasker.c.o Linking C executable PTmasker [ 65%] Built target PTmasker Scanning dependencies of target PTmender [ 65%] Building C object tools/CMakeFiles/PTmender.dir/PTmender.c.o Linking C executable PTmender [ 65%] Built target PTmender Scanning dependencies of target PToptimizer [ 66%] Building C object tools/CMakeFiles/PToptimizer.dir/PToptimizer.c.o Linking C executable PToptimizer [ 66%] Built target PToptimizer Scanning dependencies of target PTroller [ 67%] Building C object tools/CMakeFiles/PTroller.dir/PTroller.c.o Linking C executable PTroller [ 67%] Built target PTroller Scanning dependencies of target PTtiff2psd [ 68%] Building C object tools/CMakeFiles/PTtiff2psd.dir/PTtiff2psd.c.o Linking C executable PTtiff2psd [ 68%] Built target PTtiff2psd Scanning dependencies of target PTtiffdump [ 68%] Building C object tools/CMakeFiles/PTtiffdump.dir/PTtiffdump.c.o Linking C executable PTtiffdump [ 68%] Built target PTtiffdump Scanning dependencies of target PTuncrop [ 69%] Building C object tools/CMakeFiles/PTuncrop.dir/PTuncrop.c.o Linking C executable PTuncrop [ 69%] Built target PTuncrop Scanning dependencies of target tools [ 69%] Built target tools Scanning dependencies of target test1 [ 69%] Generating 051221_6055_750.jpg [ 70%] Generating 051221_6054_750.jpg [ 71%] Generating reference/tiff_none.tif [ 72%] Generating reference/psd_no_mask.psd [ 72%] Generating reference/psd.psd [ 73%] Generating reference/tiff_deflate.tif [ 74%] Generating reference/tiff_m0000.tif [ 75%] Generating reference/tiff_m_cropped0000.tif [ 75%] Generating reference/tiff_m_cropped0001.tif [ 76%] Generating reference/tiff_m_uncropped0001.tif [ 77%] Generating reference/tiff_m_uncropped0000.tif [ 78%] Generating reference/tiff_m0001.tif [ 79%] Generating reference/psd_mask.psd [ 79%] Generating reference/tiff_mask0000.tif [ 80%] Generating reference/jpeg.jpg [ 81%] Generating reference/tiff_lzw.tif [ 82%] Generating reference/Makefile.am [ 82%] Generating reference/tiff_mask0001.tif [ 83%] Generating reference/.cvsignore [ 83%] Built target test1 Scanning dependencies of target test2 [ 84%] Generating 060520_3398.TIF [ 85%] Generating reference/tiff_none.tif [ 85%] Generating reference/psd_no_mask.psd [ 86%] Generating reference/psd.psd [ 87%] Generating reference/tiff_deflate.tif [ 88%] Generating reference/tiff_m0000.tif [ 89%] Generating reference/tiff_m_cropped0000.tif [ 89%] Generating reference/tiff_m_uncropped0000.tif [ 90%] Generating reference/psd_mask.psd [ 91%] Generating reference/tiff_mask0000.tif [ 92%] Generating reference/jpeg.jpg [ 92%] Generating reference/tiff_lzw.tif [ 93%] Generating reference/Makefile.am [ 94%] Generating reference/.cvsignore [ 94%] Built target test2 Scanning dependencies of target test3 [ 95%] Generating reference/simpleStitch_uncrop_2_layer.psd [ 95%] Generating reference/simpleStitch_crop_1_layer.psd [ 96%] Generating reference/simpleStitch_crop_2_layer.psd [ 97%] Generating reference/simpleTiff16-16-_uncrop_2_layer.psd [ 98%] Generating reference/simpleStitch_uncrop_1_layer.psd [100%] Generating reference/simpleTiff16-16-_uncrop_1_layer.psd [100%] Built target test3 Run CPack packaging tool... CPack: Create package using DEB CPack: Install projects CPack: - Run preinstall target for: libpano13 CPack: - Install project: libpano13 CPack: Create package CPackDeb: - Generating dependency list CMake Error at /usr/share/cmake-2.8/Modules/CPackDeb.cmake:265 (message): CPackDeb: dpkg-shlibdeps: dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory dpkg-shlibdeps: warning: symbol sincos used by ./usr/local/lib/libpano13.so.2.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol sinh used by ./usr/local/lib/libpano13.so.2.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol acos used by ./usr/local/lib/libpano13.so.2.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol atan used by ./usr/local/lib/libpano13.so.2.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol sin used by ./usr/local/lib/libpano13.so.2.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol asin used by ./usr/local/lib/libpano13.so.2.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol round used by ./usr/local/lib/libpano13.so.2.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol atanh used by ./usr/local/lib/libpano13.so.2.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol hypot used by ./usr/local/lib/libpano13.so.2.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol floor used by ./usr/local/lib/libpano13.so.2.0.0 found in none of the libraries dpkg-shlibdeps: warning: 9 other similar warnings have been skipped (use -v to see them all) dpkg-shlibdeps: error: couldn't find library libpano13.so.2 needed by ./usr/local/bin/PTmasker (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory dpkg-shlibdeps: error: couldn't find library libpano13.so.2 needed by ./usr/local/bin/PTtiff2psd (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory dpkg-shlibdeps: error: couldn't find library libpano13.so.2 needed by ./usr/local/bin/PTmender (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory dpkg-shlibdeps: error: couldn't find library libpano13.so.2 needed by ./usr/local/bin/PTcrop (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory dpkg-shlibdeps: error: couldn't find library libpano13.so.2 needed by ./usr/local/bin/PToptimizer (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory dpkg-shlibdeps: error: couldn't find library libpano13.so.2 needed by ./usr/local/bin/PTinfo (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory dpkg-shlibdeps: error: couldn't find library libpano13.so.2 needed by ./usr/local/bin/PTblender (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory dpkg-shlibdeps: error: couldn't find library libpano13.so.2 needed by ./usr/local/bin/PTroller (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory dpkg-shlibdeps: error: couldn't find library libpano13.so.2 needed by ./usr/local/bin/PTtiffdump (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory dpkg-shlibdeps: error: couldn't find library libpano13.so.2 needed by ./usr/local/bin/PTuncrop (ELF format: 'elf64-x86-64'; RPATH: '') dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory dpkg-shlibdeps: error: cannot continue due to the errors listed above Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file. To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH. CPack Error: Error while execution CPackDeb.cmake CPack Error: Problem compressing the directory CPack Error: Error when generating package: libpano13 make: *** [package] Error 1 kaefert@ultrablech ~/src/libpano/libpano.build $