Le Sun, Jun 29, 2014 at 07:18:07PM +0200, David Suárez a écrit :
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part (hopefully):
> > make[1]: Entering directory '/«BUILDDIR»/bamtools-2.3.0+dfsg'
> > # since the upstream build does not create versioned we need to tweak 
> > d-shlibmove
> > cp /usr/bin/d-shlibmove /«BUILDDIR»/bamtools-2.3.0+dfsg/debian/d-shlibmove
> > patch -p0 < debian/d-shlibmove.patch
> > patching file debian/d-shlibmove
> > Reversed (or previously applied) patch detected!  Assume -R? [n] 
> > Apply anyway? [n] 
> > Skipping patch.
> > 1 out of 1 hunk ignored -- saving rejects to file debian/d-shlibmove.rej
> > make[1]: *** [override_dh_install] Error 1

Hi Andreas and Michael,

it looks that the package will fail to build each time the d-shlibmove program 
will
change, and this is not under our control.

If you use it to find the multiarch path, have you considered dh-exec as an
alternative ?  Here is how I used it in htslib.

In debian/control, build-depend on dh-exec.

In debian/libhts0.install :

#! /usr/bin/dh-exec
usr/lib/libhts.so.*     usr/lib/${DEB_HOST_MULTIARCH}/

Debhelper does the rest.

See https://wiki.debian.org/Multiarch/Implementation for details.

Have a nice day,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to