[Pkg-kde-extras] Bug#841412: digikam: FTBFS: error with opencv 3.1

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Thu Oct 20 10:13:38 UTC 2016


Source: digikam
Version: 5.2.0-1
Severity: important
Justification: fails to build from source

Dear Maintainer,

I am scheduled to transition of opencv.
   https://release.debian.org/transitions/html/auto-opencv.html
This package is target to transition. I tested build with opencv 3.1.
As a result, FTBFS with opencv 3.1.

------
Run Build Command:"/usr/bin/make" "cmTC_280c4/fast"
make[2]: Entering directory
'/build/digikam-5.2.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_280c4.dir/build.make
CMakeFiles/cmTC_280c4.dir/build
make[3]: Entering directory
'/build/digikam-5.2.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_280c4.dir/CheckFunctionExists.c.o
/usr/bin/cc  -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -g -O2
-fdebug-prefix-map=/build/digikam-5.2.0=. -fstack-protector-strong
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-std=iso9899:1990 -fno-common -Wall -Wextra -Wcast-align
-Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith
-Wundef -Wmissing-format-attribute -Wwrite-strings
-Werror=implicit-function-declaration -std=iso9899:1990 -fno-common
-Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security
-Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute
-Wwrite-strings -Werror=implicit-function-declaration
-std=iso9899:1990 -fno-common -Wall -Wextra -Wcast-align
-Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith
-Wundef -Wmissing-format-attribute -Wwrite-strings
-Werror=implicit-function-declaration
-DCHECK_FUNCTION_EXISTS=pthread_create   -o
CMakeFiles/cmTC_280c4.dir/CheckFunctionExists.c.o   -c
/usr/share/cmake-3.6/Modules/CheckFunctionExists.c
Linking C executable cmTC_280c4
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_280c4.dir/link.txt
--verbose=1
/usr/bin/cc  -g -O2 -fdebug-prefix-map=/build/digikam-5.2.0=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2  -std=iso9899:1990 -fno-common -Wall -Wextra
-Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long
-Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings
-Werror=implicit-function-declaration -std=iso9899:1990 -fno-common
-Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security
-Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute
-Wwrite-strings -Werror=implicit-function-declaration
-std=iso9899:1990 -fno-common -Wall -Wextra -Wcast-align
-Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith
-Wundef -Wmissing-format-attribute -Wwrite-strings
-Werror=implicit-function-declaration
-DCHECK_FUNCTION_EXISTS=pthread_create   -Wl,-z,relro -Wl,--as-needed
CMakeFiles/cmTC_280c4.dir/CheckFunctionExists.c.o  -o cmTC_280c4
-rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_280c4.dir/build.make:97: recipe for target 'cmTC_280c4' failed
make[3]: *** [cmTC_280c4] Error 1
make[3]: Leaving directory
'/build/digikam-5.2.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_280c4/fast' failed
make[2]: *** [cmTC_280c4/fast] Error 2
make[2]: Leaving directory
'/build/digikam-5.2.0/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'


dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var
-DCMAKE_BUILD_TYPE=Debian -DCMAKE_INSTALL_RPATH=/usr/lib/digikam
-DDIGIKAMSC_COMPILE_DOC=on -DDIGIKAMSC_COMPILE_PO=on
-DENABLE_MYSQLSUPPORT=ON -DENABLE_INTERNALMYSQL=ON returned exit code
1
debian/rules:22: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 255
make[1]: Leaving directory '/build/digikam-5.2.0'
debian/rules:15: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I: copying local configuration

------
Could you check your package?

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digikam_5.2.0-1_amd64.build.bz2
Type: application/x-bzip2
Size: 43554 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20161020/9299269c/attachment-0001.bin>


More information about the pkg-kde-extras mailing list