Bug#728783: libvisp-dev_2.8.0-3: Package incorrectly flagged as "Multi-Arch: same"

Fabien Spindler fabien.spindler at inria.fr
Wed Nov 6 16:10:51 UTC 2013



----- Mail original -----
> De: "Thomas Moulard" <thomas.moulard at gmail.com>
> À: "Jenny Hopkins" <hopkins.jenny at gmail.com>, 728783 at bugs.debian.org, "Fabien Spindler" <Fabien.Spindler at inria.fr>
> Cc: "submit" <submit at bugs.debian.org>
> Envoyé: Mardi 5 Novembre 2013 15:24:13
> Objet: Re: Bug#728783: libvisp-dev_2.8.0-3: Package incorrectly flagged as "Multi-Arch: same"
> 
> On Tue, Nov 5, 2013 at 10:24 PM, Jenny Hopkins
> <hopkins.jenny at gmail.com> wrote:
> > Package: libvisp-dev
> > Version: 2.8.0-3
> > Severity: important
> > User: multiarch-devel at lists.alioth.debian.org
> > Usertags: multiarch
> >
> >
> > Package libvisp-dev_2.8.0-3 is flagged as "Multi-Arch: same" but
> > the
> > file /usr/bin/visp-config is architecture-dependent.
> >
> > There is no current solution for dealing with arch-dependent
> > configurator scripts, so suggestion is to remove the M-A: same flag
> > for the time being.
> >
> > The diff between amd64 and i386 is attached.
> 
> This is a regression actually. visp-config was patched in the past to
> rely on the pkg-config
> file to compute the flags and make it architecture independent.
> I thought the modification was in the release and dropped the patch
> but apparently this is not
> the case. I will fix this ASAP.


Sorry, I have applied the patch but then revert the commit since it introduces some troubles when a user install ViSP in a non common location such as /usr.
This is the case for example in ros::vision_visp/visp where ViSP is installed in ros::vision_visp/visp/install folder. In that case visp.pc used by pkg-config was not found until the user set PKG_CONFIG_PATH in a right way. It may be possible to do that automatically with ros, but I haven't investigate enough. 

Thomas, attached is the CMakeModules/visp-config.install.in file that handles the multi arch support.

Hope it helps.

Fabien  


> --
> Thomas Moulard
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visp-config.install.in
Type: application/x-shellscript
Size: 3024 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20131106/1fa00d82/attachment-0001.bin>


More information about the debian-science-maintainers mailing list