Re: Bug#405012: libwmf: Dependencies problem on experimental
Loïc,
I've noticed new i386 package in experimental, thanks a lot. Is it
possible to provide amd64 package, too? I have built my own amd64
package for libwmf0.2-7 (0.2.8.4-2.1), but for some reason it is
unusable, please see details below.
Longer story:
As I'm currently on AMD64 system, I tried to build my own package. I got
the source
$ sudo apt-get -t experimental source libwmf0.2-7
$ sudo apt-get build-dep libwmf0.2-7
it said
dpkg-source: extracting libwmf in libwmf-0.2.8.4
dpkg-source: unpacking libwmf_0.2.8.4.orig.tar.gz
dpkg-source: applying ./libwmf_0.2.8.4-2.diff.gz
so the source looks up-to-date.
$ cd libwmf-0.2.8.4/
applied your patch from Debian BTS
$ patch -p1 < ../libwmf_0.2.8.4-2.1.diff
and built the package
$ fakeroot dpkg-buildpackage
no apparent errors so far. Alas, installing the package fails:
$ sudo dpkg -i libwmf0.2-7_0.2.8.4-2.1_amd64.deb
(Reading database ... 109931 files and directories currently installed.)
Preparing to replace libwmf0.2-7 0.2.8.4-2.1 (using
libwmf0.2-7_0.2.8.4-2.1_amd64.deb) ...
Cleaning up font configuration of libwmf0.2-7...
Unpacking replacement libwmf0.2-7 ...
dpkg (subprocess): unable to execute old post-removal script: Exec
format error
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg (subprocess): unable to execute new post-removal script: Exec
format error
dpkg: error processing libwmf0.2-7_0.2.8.4-2.1_amd64.deb (--install):
subprocess new post-removal script returned error exit status 2
dpkg (subprocess): unable to execute new post-removal script: Exec
format error
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
libwmf0.2-7_0.2.8.4-2.1_amd64.deb
Obviously I've done something wrong. What is your opinion?
(CC to debian-amd64@lists.debian.org)
Vit
Reply to: