Hi, On Fri, Dec 09, 2011 at 10:20:54PM -0800, Kees Cook wrote: > On Sat, Dec 10, 2011 at 10:59:42AM +0900, Osamu Aoki wrote: > > I guess I need to set it in the run time using $DEB_BUILD_MULTIARCH or > > $DEB_HOST_MULTIARCH ? > > > > Since $DEB_HOST_MULTIARCH seems for target machine, $DEB_BUILD_MULTIARCH > > seems to be the right choice to know from the native library perspective > > in run time. > > > > To get this, is the use of dpkg-architecture best way or simpler way. > > I would use DEB_HOST_MULTIARCH during the build to hardcode it into > the program, which is what is already done for things like ibus-daemon > via the build system.
Yes. I agree ***during the build to hardcode it*** but not to add dependency to dpkg-dev to decide it under ***normal client run time***. (I think your proposed patch does not list dpkg-dev as dependency which I think is bug for your code.) Also, I question the rationale for your proposed patch which has dpkg-architecture run on execution time during X start up code. Your actual X client program under multiarch may be running under a different arch and requesting different arch libraries. In conclusion, your patch to the ibus-1.4.0/debian/xinput/ibus file is essentially reverted but everything else looked good. As for the possible issues raised by you, we can not do much with the current design of X start up code exporting some variables. Whoever wishes to have usable multiarch under X with input method supported for all, they have to install them all. This awkward situation comes from fundamental issues of this multiarch system design. It does not give arch specific /etc . The only extra fixes I can think of are if clause. Since * may match many binaries, we need to make script more robust like what I fix this problem using while loop just like im-config Thanks for your help. Now I am a bit more up-to-date with multiarch. Aron, I listen to you. I will not touch im-config on this issue. (I still have to fix fcitx description and add po support for messages.) Osamu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org