[Pkg-tigervnc-devel] Bug#880308: tigervnc: FTBFS: dh_install: missing files, aborting

Vagrant Cascadian vagrant at debian.org
Fri Nov 10 18:00:57 UTC 2017


On 2017-10-30, Lucas Nussbaum wrote:
>>  /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libvnc.la '/<<BUILDDIR>>/tigervnc-1.7.0+dfsg/debian/tmp//lib/xorg/modules/extensions'
>> libtool: install: /usr/bin/install -c .libs/libvnc.so /<<BUILDDIR>>/tigervnc-1.7.0+dfsg/debian/tmp//lib/xorg/modules/extensions/libvnc.so
...
>> dh_install: Cannot find (any matches for) "usr/lib/xorg/modules/extensions/libvnc.so" (tried in ., debian/tmp)
>> 
>> dh_install: tigervnc-xorg-extension missing files: usr/lib/xorg/modules/extensions/libvnc.so
>> dh_install: missing files, aborting
>> /usr/share/cdbs/1/rules/debhelper.mk:233: recipe for target 'binary-install/tigervnc-xorg-extension' failed
>> make: *** [binary-install/tigervnc-xorg-extension] Error 25

The install target appears to be dropping /usr for this particular file
on sid, but rebuilding the same sources on stretch /usr is included...


This suggests a deeper problem, such as something in the build process
ignoring CMAKE_INSTALL_PREFIX ... but can be worked around in the
package:

diff --git a/debian/tigervnc-xorg-extension.install b/debian/tigervnc-xorg-extension.install
index 8d6fffa..f74dabd 100644
--- a/debian/tigervnc-xorg-extension.install
+++ b/debian/tigervnc-xorg-extension.install
@@ -1 +1 @@
-usr/lib/xorg/modules/extensions/libvnc.so usr/lib/xorg/modules/extensions
+lib/xorg/modules/extensions/libvnc.so usr/lib/xorg/modules/extensions


I've only test that the package successfully builds with this patch; I
haven't tested that it actually works.


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-tigervnc-devel/attachments/20171110/f9053c90/attachment.sig>


More information about the Pkg-tigervnc-devel mailing list