[Debian-med-packaging] FW4SPL package

Andreas Tille tille at debian.org
Fri Nov 25 13:50:36 UTC 2016


Hi Flavien,

On Fri, Nov 25, 2016 at 12:29:02PM +0100, Flavien Bridault wrote:
> > Feel free to either ignore the hint for d-shlibs or ask me for help if
> > you have som trouble with it.
> 
> Ok, I tried to support multiarch and I have a working version, but it
> doesn't use d-shlibs. I'm trying now to switch to d-shlibmove, which
> looked quite simple at first glimpse. I removed the two .install files,
> added shlibs depends in control, and added the following in rules:
> 
> override_dh_install:
> 	dh_install
> 	d-shlibmove \
> 		--commit --multiarch --exclude-a --exclude-la \
> 		--movedev debian/tmp/usr/include/* usr/include \
> 		debian/tmp/usr/lib/*.so
> 
> However, the package fails, apparently because of the --movedev arguments:
> 
> make[1]: Entering directory '/home/flav/dev/camp'
> dh_install
> d-shlibmove \
>         --commit --multiarch --exclude-a --exclude-la \
>         --movedev debian/tmp/usr/include/* usr/include \
>         debian/tmp/usr/lib/*.so
> Library package automatic movement utility
> /usr/bin/d-shlibmove: [usr/include] is not a valid shared library file name
> debian/rules:9: recipe for target 'override_dh_install' failed

I think I have seein this.  Please try

      --movedev debian/tmp/usr/include usr

instead.  If I remember correctly the asterisk is resolved by the shell
and in case there are several files in debian/tmp/usr/include --movedev
takes its two arguents and whatever remains is used as share-library name.
This is causing the confusing error message.
 
> Do you have any idea ? I joined a diff to this email, I can also push
> the faulty commit if necessary.

If the hint does not help feel free to simply commit and I'll pull and
fix the repository.

Hope this helps

      Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list