-=| Sebastian Ramacher, 10.03.2013 17:42:49 +0100 |=-
> > Thanks. I have pushed a fix[1] in Git, but haven't tagged the 
> > bugreport accordingly. Sorry about that.
> > 
> >  [1] 
> > http://anonscm.debian.org/gitweb/?p=pkg-firebird/2.5.git;a=commitdiff;h=4b23b85
> 
> I checked if the version in the git repo fixes the issue, but sadly it
> doesn't for the Multi-Arch: same packages. migrateDocSymlink computes
> the wrong /usr/share/doc location for these packages. For libfbclient2
> PKG is libfbclient2:<arch>, so the postinst script checks
> /usr/share/doc/libfbclient2:<arch> instead of /usr/share/doc/libfbclient2.
> Please see the attached output produced with DEBIAN_FIREBIRD_DEBUG set.
> …
> + migrateDocSymlink
> + basename /var/lib/dpkg/info/libfbclient2:amd64.postinst
> + local PKG=libfbclient2:amd64.postinst
> + PKG=libfbclient2:amd64
> + local TARGET=firebird2.5-common-doc
> + local D=/usr/share/doc/libfbclient2:amd64
> + [ ! -L /usr/share/doc/libfbclient2:amd64 -a -d 
> /usr/share/doc/libfbclient2:amd64 ]

Excellent catch!

This seems to be a defect in the code which determines the package 
name from the output of 'basename'. Perhaps it wouldn't be too hard to 
strip optional :arch from the end, for example via some sed script.

Unfortunately I am not sure about when I'd be able to try to fix this, 
so if you feel like it, please go ahead. Thanks!


-- dam

Attachment: signature.asc
Description: Digital signature

Reply via email to