All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Måns Zigher" <mans.zigher@gmail.com>
To: Einar Vading <yocto-ml@vading.se>
Cc: Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: dnf fail in do_rootfs cannot find shared library
Date: Wed, 23 Jan 2019 10:50:41 +0100	[thread overview]
Message-ID: <CAEhQi8nbA2dbvbGOh1c6JXohTsOd1s7jHrOqiiuRRvCTXnvAvA@mail.gmail.com> (raw)
In-Reply-To: <CAB6-VtKjusNd4NOCwxezO26N0sxaYTxsa0mn8PtsSVSu0yfQAQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2318 bytes --]

Hi,

I have verified that the so-lib file is part of the rpm package and I am
using INSANE_SKIP where I have added dev-so but I am willing to try
anything right now so thanks. The so-files is not something I have control
of it is something that is delivered to us.

BR
Måns Zigher

Den ons 23 jan. 2019 kl 10:12 skrev Einar Vading <yocto-ml@vading.se>:

> I'm not sure this is your problem but if you don't version your
> so-libs you could get this since the .so (without version) is not
> shipped by default I think.
>
> Try putting this in your recipe:
> SOLIBS = ".so*"
> FILES_SOLIBSDEV = ""
> ERROR_QA_remove = "dev-so"
>
> If that works I think the proper solution is to give your so-lib a version.
>
> // Einar
>
> On Tue, Jan 22, 2019 at 6:00 PM Måns Zigher <mans.zigher@gmail.com> wrote:
> >
> > Hi,
> >
> > I am struggling with a recipe which more or less just downloads binaries
> and creating a package. We have previously been using ipkg but now we have
> switched to rpm in our builds. One of the binaries in the packages is a
> library let's call it libx_media_1.0.so. This library is part of the
> package that the recipe is producing. The library is placed under
> /usr/lib/. When building the image I am getting the following error
> >
> > ERROR: base-image-1.0-r0 do_rootfs: Could not invoke dnf. Command
> > .....
> > ...
> > Error:
> >  Problem: package packagegroup-x-media-1.0-r11.noarch requires x_media,
> but none of the providers can be installed
> >   - conflicting requests
> >   - nothing provides libx_media_1.0.so()(64bit) needed by
> x_media-1.0-r44.imx8mq
> >
> > ERROR: base-image-1.0-r0 do_rootfs: Function failed: do_rootfs
> >
> > Here is the output from running the command file on the library
> >
> > usr/lib/libx_media_1.0.so: ELF 64-bit LSB shared object, ARM aarch64,
> version 1 (SYSV), dynamically linked, stripped
> >
> > I have also verified that the library is part of the produced rpm so
> that is not the issue.
> >
> > Dose anyone have any suggestion on how to debug this problem? Because I
> am out of ideas
> >
> > BR
> > Måns Zigher
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 3272 bytes --]

  reply	other threads:[~2019-01-23  9:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-22 16:59 dnf fail in do_rootfs cannot find shared library Måns Zigher
2019-01-22 17:17 ` Alexander Kanavin
2019-01-23  9:12 ` Einar Vading
2019-01-23  9:50   ` Måns Zigher [this message]
2019-01-23 11:02 ` Måns Zigher
2019-01-23 11:07   ` Alexander Kanavin
2019-01-23 12:00     ` Måns Zigher
2019-01-23 11:33   ` Einar Vading
2019-01-23 12:01     ` Måns Zigher
2019-01-23 13:19       ` Måns Zigher
2019-06-23  8:46 Piotr Betlej

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEhQi8nbA2dbvbGOh1c6JXohTsOd1s7jHrOqiiuRRvCTXnvAvA@mail.gmail.com \
    --to=mans.zigher@gmail.com \
    --cc=yocto-ml@vading.se \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.