[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#755105: kadu: no longer builds on kfreebsd-*



tags 755105 + patch
user debian-bsd@lists.debian.org
usertags 755105 + kfreebsd
thanks

Hi,

The shared library libantistring.so seems to be built fine on kfreebsd,
and the build system gives it a multiarch path.  But dh_install later
looks for it in the wrong place...

> /usr/bin/c++  -fPIC -std=c++0x -O3 -DNDEBUG   -shared -Wl,-soname,libantistring.so -o libantistring.so CMakeFiles/antistring.dir/antistring.cpp.o CMakeFiles/antistring.dir/antistring-configuration.cpp.o CMakeFiles/antistring.dir/antistring-configuration-ui-handler.cpp.o CMakeFiles/antistring.dir/antistring-notification.cpp.o CMakeFiles/antistring.dir/antistring-plugin.cpp.o CMakeFiles/antistring.dir/antistring_automoc.cpp.o ../../kadu-core/libkadu.so -lQtDeclarative -lQtScript -lQtSvg -lQtWebKit -lQtXmlPatterns -lQtGui -lQtDBus -lQtXml -lQtSql -lQtNetwork -lQtCore 
[...]
> -- Installing: /«PKGBUILDDIR»/debian/tmp/usr/lib/x86_64-kfreebsd-gnu/kadu/plugins/libantistring.so
[...]
> dh_install -s
> cp: cannot stat 'debian/tmp/debian/tmp/usr/lib/kadu/plugins/libantistring.so': No such file or directory
> dh_install: cp -a debian/tmp/debian/tmp/usr/lib/kadu/plugins/libantistring.so debian/kadu//usr/lib/kadu/plugins/ returned exit code 1

This is apparently due to some workaround that was added to debian/rules
but is now not needed.  Please see attached patch fixing this.

Thanks,
Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org
--- debian/rules.orig	2014-09-25 17:40:24.000000000 +0100
+++ debian/rules	2014-09-29 21:54:56.981737907 +0100
@@ -24,9 +24,6 @@
 	# Default to Linux
 	debian/prepare_install_files.sh linux
 	# If kfreebsd or hurd, modify .install files
-ifeq ($(DEB_BUILD_ARCH_OS), kfreebsd)
-		debian/prepare_install_files.sh non-linux
-endif
 ifeq ($(DEB_BUILD_ARCH_OS), hurd)
 		debian/prepare_install_files.sh non-linux
 endif

Reply to: