# Error using multilib with Mender

**URL:** <https://hub.mender.io/t/error-using-multilib-with-mender/5177>\
**Category:** General Discussions\
**Tags:** yocto, dunfell\
**Created:** [August 5, 2022, 5:00pm UTC](https://hub.mender.io/t/error-using-multilib-with-mender/5177 "2022-08-05T17:00:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OliverW](https://avatars.discourse-cdn.com/v4/letter/o/96bed5/32.png) [@OliverW](https://hub.mender.io/u/OliverW)\
**Post date:** [August 5, 2022, 5:00pm UTC](https://hub.mender.io/t/error-using-multilib-with-mender/5177/1 "2022-08-05T17:00:18Z")

</div>

I am using Mender in conjunction with Yocto Dunfell. It’s worked perfectly until I attempted to use multilib to use 32bit libraries on a 64bit host.

I added the following to my local.conf (This has worked on Yocto Dunfell without Mender installed):

```auto
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

```

When I try and build the OS after adding the above lines I get the errors:

```auto
ERROR: mender-configure-1.0.2-r0 do_package: QA Issue: mender-configure: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/mender-configure
  /usr/lib/mender-configure/apply-device-config.d
  /usr/lib/mender-configure/apply-device-config.d/timezone
  /usr/lib/mender-configure/apply-device-config.d/mender-demo-raspberrypi-led
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
mender-configure: 5 installed and not shipped files. [installed-vs-shipped]
ERROR: mender-configure-1.0.2-r0 do_package: Fatal QA errors found, failing task.
ERROR: Logfile of failure stored in: /home/x/Yocto/arc-os/build/tmp/work/corei7-64-poky-linux/mender-configure/1.0.2-r0/temp/log.do_package.2147386
ERROR: Task (/home/x/Yocto/arc-os/build/../sources/meta-mender/meta-mender-core/recipes-mender/mender-configure/mender-configure_1.0.2.bb:do_package) failed with exit code '1' 

```

The log file is attached to the post, but I can’t find anything really useful in it. I then followed multiple answers on stackoverflow for similar issues like [this](https://stackoverflow.com/questions/49748528/yocto-files-directories-were-installed-but-not-shipped-in-any-package) to no avail. If I removed the mender-configure from the Yocto image and tried to compile I got the same error but for other Mender modules.

Does anyone know what the issue could be? Thanks!

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [August 9, 2022, 3:08pm UTC](https://hub.mender.io/t/error-using-multilib-with-mender/5177/2 "2022-08-09T15:08:50Z")

</div>

I don’t know of anyone who has attempted to use multilib before, so this is most likely unsupported (not on purpose, but just because no one has requested it). `mender-configure` is using `${libdir}` to refer to `/usr/lib`, so I’m a bit surprised that Yocto doesn’t have a standard way of handling that.

Unfortunately I think the only way forward is to look at how other packages do this, and then try to adapt Mender do follow the same pattern. Pull requests for this are most welcome.
