All of lore.kernel.org
 help / color / mirror / Atom feed
* lmsensors
@ 2013-05-14  9:21 Satya Swaroop Damarla
  2013-05-14  9:58 ` lmsensors Burton, Ross
  2013-05-14 10:44 ` lmsensors Paul Eggleton
  0 siblings, 2 replies; 7+ messages in thread
From: Satya Swaroop Damarla @ 2013-05-14  9:21 UTC (permalink / raw)
  To: yocto

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

Hi Guys,

It has been a month I have been fighting with installing the package
"lmsensors" and had no success till today.... I would really appreciate
much help....

The background goes like this..

*bitbake lmsensors * works perfectly but when I add the package into the
rootfs I get the following error

* Package lmsensors-config is not available, but is referred to by another
package.*
*| This may mean that the package is missing, has been obsoleted, or*
*| is only available from another source*
*| *
*| Package lmsensors is not available, but is referred to by another
package.*
*| This may mean that the package is missing, has been obsoleted, or*
*| is only available from another source*
*| *
*| E: Package 'lmsensors-config' has no installation candidate*
*| E: Package 'lmsensors' has no installation candidate*
*| ERROR: Function failed: do_rootfs (see
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_rootfs.29976
for further information)*
*ERROR: Task 7 (/home/damarla/yocto/poky/meta/recipes-graphics/images/
core-image-skidata.bb, do_rootfs) failed with exit code '1'*
*NOTE: Tasks Summary: Attempted 5210 tasks of which 4529 didn't need to be
rerun and 1 failed.*
*No currently running tasks (5210 of 5211)*
*
*
*Summary: 1 task failed:*
*  /home/damarla/yocto/poky/meta/recipes-graphics/images/
core-image-skidata.bb, do_rootfs*
*Summary: There was 1 WARNING message shown.*
*Summary: There was 1 ERROR message shown, returning a non-zero exit code.*
*
*
I would really need help in this issue as this ends my basic play with
creating a image for NVIDIA tegra board

Greets,
Satya

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: lmsensors
  2013-05-14  9:21 lmsensors Satya Swaroop Damarla
@ 2013-05-14  9:58 ` Burton, Ross
  2013-05-14 10:44 ` lmsensors Paul Eggleton
  1 sibling, 0 replies; 7+ messages in thread
From: Burton, Ross @ 2013-05-14  9:58 UTC (permalink / raw)
  To: Satya Swaroop Damarla; +Cc: yocto

On 14 May 2013 10:21, Satya Swaroop Damarla <swaroop.damarla@gmail.com> wrote:
> bitbake lmsensors  works perfectly but when I add the package into the
> rootfs I get the following error
>
>  Package lmsensors-config is not available, but is referred to by another
> package.
> | This may mean that the package is missing, has been obsoleted, or
> | is only available from another source
> |
> | Package lmsensors is not available, but is referred to by another package.
> | This may mean that the package is missing, has been obsoleted, or
> | is only available from another source
> |
> | E: Package 'lmsensors-config' has no installation candidate
> | E: Package 'lmsensors' has no installation candidate

Presumably it's your image recipe that is referring to "lmsensors" and
"lmsensors-config".  This is saying that those packages don't exist.
Have a look in the work directory for lmsensors
(tmp/work/[machine]/lmsensors/[version]/deploy-*) and you'll see the
list of packages that have been built.

Ross


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: lmsensors
  2013-05-14  9:21 lmsensors Satya Swaroop Damarla
  2013-05-14  9:58 ` lmsensors Burton, Ross
@ 2013-05-14 10:44 ` Paul Eggleton
  2013-05-14 12:19   ` lmsensors Satya Swaroop Damarla
                     ` (2 more replies)
  1 sibling, 3 replies; 7+ messages in thread
From: Paul Eggleton @ 2013-05-14 10:44 UTC (permalink / raw)
  To: Satya Swaroop Damarla; +Cc: yocto

On Tuesday 14 May 2013 11:21:49 Satya Swaroop Damarla wrote:
> It has been a month I have been fighting with installing the package
> "lmsensors" and had no success till today.... I would really appreciate
> much help....
> 
> The background goes like this..
> 
> *bitbake lmsensors * works perfectly but when I add the package into the
> rootfs I get the following error
> 
> * Package lmsensors-config is not available, but is referred to by another
> package.*
> *| This may mean that the package is missing, has been obsoleted, or*
> *| is only available from another source*
> *| *
> *| Package lmsensors is not available, but is referred to by another
> package.*
> *| This may mean that the package is missing, has been obsoleted, or*
> *| is only available from another source*
> *| *
> *| E: Package 'lmsensors-config' has no installation candidate*
> *| E: Package 'lmsensors' has no installation candidate*
> *| ERROR: Function failed: do_rootfs (see
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-l
> inux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_rootfs.29976 for further
> information)*
> *ERROR: Task 7 (/home/damarla/yocto/poky/meta/recipes-graphics/images/
> core-image-skidata.bb, do_rootfs) failed with exit code '1'*
> *NOTE: Tasks Summary: Attempted 5210 tasks of which 4529 didn't need to be
> rerun and 1 failed.*
> *No currently running tasks (5210 of 5211)*
> *
> *
> *Summary: 1 task failed:*
> *  /home/damarla/yocto/poky/meta/recipes-graphics/images/
> core-image-skidata.bb, do_rootfs*
> *Summary: There was 1 WARNING message shown.*
> *Summary: There was 1 ERROR message shown, returning a non-zero exit code.*

Looking at the output of building the current lmsensors recipe in meta-oe 
master, the main "lmsensors" package is actually empty and thus is not 
produced; this is a bit annoying and should probably be fixed. However what I 
think you're supposed to do is instead install the components of lmsensors 
that you actually need. If you look at packages-split in the lmsensors work 
directory (or the lmsensors* packages in tmp/deploy/ipk) you'll see it 
produces the following, ignoring dbg/dev/doc/staticdev packages:

lmsensors-fancontrol
lmsensors-libsensors
lmsensors-pwmconfig
lmsensors-sensord
lmsensors-sensors
lmsensors-sensorsconfconvert
lmsensors-sensorsdetect

So I would suggest adding those of the above list that you need to your image 
instead of "lmsensors".

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: lmsensors
  2013-05-14 10:44 ` lmsensors Paul Eggleton
@ 2013-05-14 12:19   ` Satya Swaroop Damarla
  2013-05-14 12:21   ` lmsensors Satya Swaroop Damarla
  2013-05-14 13:16   ` lmsensors Marc Ferland
  2 siblings, 0 replies; 7+ messages in thread
From: Satya Swaroop Damarla @ 2013-05-14 12:19 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto

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

Gentlemen, that actually worked...... Hurray.... Have a wonderful day guys
:-)


On Tue, May 14, 2013 at 12:44 PM, Paul Eggleton <
paul.eggleton@linux.intel.com> wrote:

> On Tuesday 14 May 2013 11:21:49 Satya Swaroop Damarla wrote:
> > It has been a month I have been fighting with installing the package
> > "lmsensors" and had no success till today.... I would really appreciate
> > much help....
> >
> > The background goes like this..
> >
> > *bitbake lmsensors * works perfectly but when I add the package into the
> > rootfs I get the following error
> >
> > * Package lmsensors-config is not available, but is referred to by
> another
> > package.*
> > *| This may mean that the package is missing, has been obsoleted, or*
> > *| is only available from another source*
> > *| *
> > *| Package lmsensors is not available, but is referred to by another
> > package.*
> > *| This may mean that the package is missing, has been obsoleted, or*
> > *| is only available from another source*
> > *| *
> > *| E: Package 'lmsensors-config' has no installation candidate*
> > *| E: Package 'lmsensors' has no installation candidate*
> > *| ERROR: Function failed: do_rootfs (see
> >
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-l
> > inux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_rootfs.29976 for
> further
> > information)*
> > *ERROR: Task 7 (/home/damarla/yocto/poky/meta/recipes-graphics/images/
> > core-image-skidata.bb, do_rootfs) failed with exit code '1'*
> > *NOTE: Tasks Summary: Attempted 5210 tasks of which 4529 didn't need to
> be
> > rerun and 1 failed.*
> > *No currently running tasks (5210 of 5211)*
> > *
> > *
> > *Summary: 1 task failed:*
> > *  /home/damarla/yocto/poky/meta/recipes-graphics/images/
> > core-image-skidata.bb, do_rootfs*
> > *Summary: There was 1 WARNING message shown.*
> > *Summary: There was 1 ERROR message shown, returning a non-zero exit
> code.*
>
> Looking at the output of building the current lmsensors recipe in meta-oe
> master, the main "lmsensors" package is actually empty and thus is not
> produced; this is a bit annoying and should probably be fixed. However
> what I
> think you're supposed to do is instead install the components of lmsensors
> that you actually need. If you look at packages-split in the lmsensors work
> directory (or the lmsensors* packages in tmp/deploy/ipk) you'll see it
> produces the following, ignoring dbg/dev/doc/staticdev packages:
>
> lmsensors-fancontrol
> lmsensors-libsensors
> lmsensors-pwmconfig
> lmsensors-sensord
> lmsensors-sensors
> lmsensors-sensorsconfconvert
> lmsensors-sensorsdetect
>
> So I would suggest adding those of the above list that you need to your
> image
> instead of "lmsensors".
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: lmsensors
  2013-05-14 10:44 ` lmsensors Paul Eggleton
  2013-05-14 12:19   ` lmsensors Satya Swaroop Damarla
@ 2013-05-14 12:21   ` Satya Swaroop Damarla
  2013-05-14 13:16   ` lmsensors Marc Ferland
  2 siblings, 0 replies; 7+ messages in thread
From: Satya Swaroop Damarla @ 2013-05-14 12:21 UTC (permalink / raw)
  To: yocto

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

Gentlemen, that actually worked...... Hurray.... Have a wonderful day guys
:-)


On Tue, May 14, 2013 at 12:44 PM, Paul Eggleton <
paul.eggleton@linux.intel.com> wrote:

> On Tuesday 14 May 2013 11:21:49 Satya Swaroop Damarla wrote:
> > It has been a month I have been fighting with installing the package
> > "lmsensors" and had no success till today.... I would really appreciate
> > much help....
> >
> > The background goes like this..
> >
> > *bitbake lmsensors * works perfectly but when I add the package into the
> > rootfs I get the following error
> >
> > * Package lmsensors-config is not available, but is referred to by
> another
> > package.*
> > *| This may mean that the package is missing, has been obsoleted, or*
> > *| is only available from another source*
> > *| *
> > *| Package lmsensors is not available, but is referred to by another
> > package.*
> > *| This may mean that the package is missing, has been obsoleted, or*
> > *| is only available from another source*
> > *| *
> > *| E: Package 'lmsensors-config' has no installation candidate*
> > *| E: Package 'lmsensors' has no installation candidate*
> > *| ERROR: Function failed: do_rootfs (see
> >
> /home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-l
> > inux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_rootfs.29976 for
> further
> > information)*
> > *ERROR: Task 7 (/home/damarla/yocto/poky/meta/recipes-graphics/images/
> > core-image-skidata.bb, do_rootfs) failed with exit code '1'*
> > *NOTE: Tasks Summary: Attempted 5210 tasks of which 4529 didn't need to
> be
> > rerun and 1 failed.*
> > *No currently running tasks (5210 of 5211)*
> > *
> > *
> > *Summary: 1 task failed:*
> > *  /home/damarla/yocto/poky/meta/recipes-graphics/images/
> > core-image-skidata.bb, do_rootfs*
> > *Summary: There was 1 WARNING message shown.*
> > *Summary: There was 1 ERROR message shown, returning a non-zero exit
> code.*
>
> Looking at the output of building the current lmsensors recipe in meta-oe
> master, the main "lmsensors" package is actually empty and thus is not
> produced; this is a bit annoying and should probably be fixed. However
> what I
> think you're supposed to do is instead install the components of lmsensors
> that you actually need. If you look at packages-split in the lmsensors work
> directory (or the lmsensors* packages in tmp/deploy/ipk) you'll see it
> produces the following, ignoring dbg/dev/doc/staticdev packages:
>
> lmsensors-fancontrol
> lmsensors-libsensors
> lmsensors-pwmconfig
> lmsensors-sensord
> lmsensors-sensors
> lmsensors-sensorsconfconvert
> lmsensors-sensorsdetect
>
> So I would suggest adding those of the above list that you need to your
> image
> instead of "lmsensors".
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: lmsensors
  2013-05-14 10:44 ` lmsensors Paul Eggleton
  2013-05-14 12:19   ` lmsensors Satya Swaroop Damarla
  2013-05-14 12:21   ` lmsensors Satya Swaroop Damarla
@ 2013-05-14 13:16   ` Marc Ferland
  2013-05-14 13:29     ` lmsensors Paul Eggleton
  2 siblings, 1 reply; 7+ messages in thread
From: Marc Ferland @ 2013-05-14 13:16 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto

Paul Eggleton <paul.eggleton@linux.intel.com> writes:

> On Tuesday 14 May 2013 11:21:49 Satya Swaroop Damarla wrote:
>> It has been a month I have been fighting with installing the package
>> "lmsensors" and had no success till today.... I would really appreciate
>> much help....
>> 
>> The background goes like this..
>> 
>> *bitbake lmsensors * works perfectly but when I add the package into the
>> rootfs I get the following error
>> 
>> * Package lmsensors-config is not available, but is referred to by another
>> package.*
>
> Looking at the output of building the current lmsensors recipe in meta-oe 
> master, the main "lmsensors" package is actually empty and thus is not 
> produced; this is a bit annoying and should probably be fixed. However what I 
> think you're supposed to do is instead install the components of lmsensors 
> that you actually need. If you look at packages-split in the lmsensors work 
> directory (or the lmsensors* packages in tmp/deploy/ipk) you'll see it 
> produces the following, ignoring dbg/dev/doc/staticdev packages:
>
Hi Paul,

When I first wrote the lmsensors recipe I noticed that lmsensors is
actually a collection of tools which serve very different purposes. For
example, the sensorsdetect and pwmconfig tools are only needed to
produce configuration files for libsensors and fancontrol (resp.). Once
the system is configured, they can be removed.

I followed the idea from the original lmsensors recipe from oe.

What should the recipe actually install when bitbaking only the "main"
package? The main lmsensors library? Everything? 

Regards,

Marc


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: lmsensors
  2013-05-14 13:16   ` lmsensors Marc Ferland
@ 2013-05-14 13:29     ` Paul Eggleton
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Eggleton @ 2013-05-14 13:29 UTC (permalink / raw)
  To: Marc Ferland; +Cc: yocto

On Tuesday 14 May 2013 09:16:44 Marc Ferland wrote:
> Paul Eggleton <paul.eggleton@linux.intel.com> writes:
> > On Tuesday 14 May 2013 11:21:49 Satya Swaroop Damarla wrote:
> >> It has been a month I have been fighting with installing the package
> >> "lmsensors" and had no success till today.... I would really appreciate
> >> much help....
> >> 
> >> The background goes like this..
> >> 
> >> *bitbake lmsensors * works perfectly but when I add the package into the
> >> rootfs I get the following error
> >> 
> >> * Package lmsensors-config is not available, but is referred to by
> >> another
> >> package.*
> > 
> > Looking at the output of building the current lmsensors recipe in meta-oe
> > master, the main "lmsensors" package is actually empty and thus is not
> > produced; this is a bit annoying and should probably be fixed. However
> > what I think you're supposed to do is instead install the components of
> > lmsensors that you actually need. If you look at packages-split in the
> > lmsensors work directory (or the lmsensors* packages in tmp/deploy/ipk)
> > you'll see it
> > produces the following, ignoring dbg/dev/doc/staticdev packages:
> 
> When I first wrote the lmsensors recipe I noticed that lmsensors is
> actually a collection of tools which serve very different purposes. For
> example, the sensorsdetect and pwmconfig tools are only needed to
> produce configuration files for libsensors and fancontrol (resp.). Once
> the system is configured, they can be removed.
> 
> I followed the idea from the original lmsensors recipe from oe.

Fair enough.
 
> What should the recipe actually install when bitbaking only the "main"
> package? The main lmsensors library? Everything?

That's a good question (assuming you mean installing the main package as 
opposed to bitbaking the main package). With some other recipes e.g. Qt, we 
have made it so the main package pulls in all of the sub-packages. We could do 
the same thing for lmsensors, the question is if it makes sense? Whatever we 
do I think we do need to solve the problem that the lmsensors package is 
ostensibly still provided by the recipe and yet it can't be installed and 
leads to a failure later on, and the solution to the failure is not obvious to 
new users.

This might be something to RFC on the openembedded-devel mailing list.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-05-14 13:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-14  9:21 lmsensors Satya Swaroop Damarla
2013-05-14  9:58 ` lmsensors Burton, Ross
2013-05-14 10:44 ` lmsensors Paul Eggleton
2013-05-14 12:19   ` lmsensors Satya Swaroop Damarla
2013-05-14 12:21   ` lmsensors Satya Swaroop Damarla
2013-05-14 13:16   ` lmsensors Marc Ferland
2013-05-14 13:29     ` lmsensors Paul Eggleton

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.