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

Steve M. Robbins steve at sumost.ca
Sun Oct 23 17:01:15 UTC 2016


Hello Nobuhiro,


On Thursday, October 20, 2016 7:13:38 PM CDT you wrote:

> 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.

Thanks for checking the build!  

In the log snippet, we see: 

> /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'

The build -- seems like the configure step -- is attempting to link with "-
lpthreads".  This does not happen in previous successful builds [1].   In 
fact, the test build "CheckFunctionExists.c.o" does not appear in successful 
build logs.  Something is different in your environment.  

Or maybe with opencv 3.1.  I see you have uploaded to experimental; will try a 
build myself.

[1] https://buildd.debian.org/status/fetch.php?
pkg=digikam&arch=amd64&ver=4%3A5.2.0-1&stamp=1474888437

> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20161023/ce33bbbc/attachment.sig>


More information about the pkg-kde-extras mailing list