Package: amsn Severity: important Tags: patch Hi,
your package FTBFS on GNU/kFreeBSD with the following error: > # .so files go in /usr/lib > mv > "/build/buildd/amsn-0.95+dfsg2/debian/amsn/usr/share/amsn/utils/linux/capture/libng/plugins/"*.so > > "/build/buildd/amsn-0.95+dfsg2/debian/amsn/usr/lib/amsn/utils/linux/capture/libng/plugins/" > mv: cannot stat > `/build/buildd/amsn-0.95+dfsg2/debian/amsn/usr/share/amsn/utils/linux/capture/libng/plugins/*.so': > No such file or directory > make: *** [install] Error 1 Full build logs are available at <http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=amsn>. Please find attached a patch against debian/rules to make the mv'ing of the Linux-only files (see Makefile.in, there are only compiled and installed when Linux is reported, being based on linux/videodev.h or similar) optional, only for DEB_HOST_ARCH_OS == 'linux'. Please also note that currently, the config.{guess,sub} scripts are outdated, which means that FOUND_OS is set to 'unknown' (according to config.log). It looks like harmless, at least for the moment, but you might want to update these files with the ones in /usr/share/misc (package: autotools-dev), and eventually add an automatic copy, e.g. in the clean target so that everytime you build your package, they are automagically updated (a B-D on autotools-dev is then needed). Thanks in advance. Cheers, -- Cyril Brulebois
--- amsn-0.95+dfsg2/debian/rules 2007-03-07 17:06:28.000000000 +0100 +++ amsn-0.95+dfsg2/debian/rules 2007-03-07 17:06:44.000000000 +0100 @@ -73,12 +73,15 @@ # Tidy upstream's mess (but not completely) +ifeq ($(DEB_HOST_ARCH_OS),linux) + # The following is Linux-only, see the FOUND_OS detection in Makefile.in # .so files go in /usr/lib mv "$(CURDIR)/debian/amsn/usr/share/amsn/utils/linux/capture/libng/plugins/"*.so "$(CURDIR)/debian/amsn/usr/lib/amsn/utils/linux/capture/libng/plugins/" mv "$(CURDIR)/debian/amsn/usr/share/amsn/utils/linux/traydock/libtray.so" "$(CURDIR)/debian/amsn/usr/lib/amsn/utils/linux/traydock/" mv "$(CURDIR)/debian/amsn/usr/share/amsn/utils/webcamsn/webcamsn.so" "$(CURDIR)/debian/amsn/usr/lib/amsn/utils/webcamsn" mv "$(CURDIR)/debian/amsn/usr/share/amsn/utils/linux/capture/capture.so" "$(CURDIR)/debian/amsn/usr/lib/amsn/utils/linux/capture/" mv "$(CURDIR)/debian/amsn/usr/share/amsn/utils/TkCximage/TkCximage.so" "$(CURDIR)/debian/amsn/usr/lib/amsn/utils/TkCximage/" +endif # Documentation files go in /usr/share/doc/amsn mv "$(CURDIR)/debian/amsn/usr/share/amsn/docs/"* \