* adding package nss in rootfs failed with dependency "/usr/local/bin/perl"
@ 2012-04-24 13:23 Jegan Chandru
2012-04-24 15:21 ` Mark Hatle
2012-04-25 8:54 ` Jegan Chandru
0 siblings, 2 replies; 3+ messages in thread
From: Jegan Chandru @ 2012-04-24 13:23 UTC (permalink / raw)
To: yocto; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 558 bytes --]
Hi,
I have cross compiled NSS 3.13.1 for x86 64 bit environment, but when I try
to add NSS package in rootfs, i am getting the following error,
*error: Failed dependencies:
/usr/local/bin/perl is needed by nss-3.13.1-r0.x86_64*
I know perl is needed for nss, but the path which is trying to look perl,
is quite confusing me, for perl doesn't exist in that location at all. Can
anyone please tell me whats going on here and what have I missed?
P.S: I am using Yocto-1.1.1 and Ubuntu host-11.10 64 bit.
Thanks all for your help,
JC
[-- Attachment #2: Type: text/html, Size: 615 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: adding package nss in rootfs failed with dependency "/usr/local/bin/perl"
2012-04-24 13:23 adding package nss in rootfs failed with dependency "/usr/local/bin/perl" Jegan Chandru
@ 2012-04-24 15:21 ` Mark Hatle
2012-04-25 8:54 ` Jegan Chandru
1 sibling, 0 replies; 3+ messages in thread
From: Mark Hatle @ 2012-04-24 15:21 UTC (permalink / raw)
To: openembedded-core
On 4/24/12 8:23 AM, Jegan Chandru wrote:
> Hi,
>
> I have cross compiled NSS 3.13.1 for x86 64 bit environment, but when I try to
> add NSS package in rootfs, i am getting the following error,
>
> /error: Failed dependencies:
> /usr/local/bin/perl is needed by nss-3.13.1-r0.x86_64/
>
> I know perl is needed for nss, but the path which is trying to look perl, is
> quite confusing me, for perl doesn't exist in that location at all. Can anyone
> please tell me whats going on here and what have I missed?
This is a bug in the nss package. It has an executable shell script that has a:
#! /usr/local/bin/perl
in it, which causes RPM to add a dependency on that specific path, and nothing
is providing the path.
The fix is either, decide this is a sample/demo shell script and remove it from
the nss package -- or fix the script to use the proper perl location of
"${bindir}/perl"
> P.S: I am using Yocto-1.1.1 and Ubuntu host-11.10 64 bit.
--Mark
> Thanks all for your help,
> JC
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: adding package nss in rootfs failed with dependency "/usr/local/bin/perl"
2012-04-24 13:23 adding package nss in rootfs failed with dependency "/usr/local/bin/perl" Jegan Chandru
2012-04-24 15:21 ` Mark Hatle
@ 2012-04-25 8:54 ` Jegan Chandru
1 sibling, 0 replies; 3+ messages in thread
From: Jegan Chandru @ 2012-04-25 8:54 UTC (permalink / raw)
To: openembedded-core; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 544 bytes --]
> This is a bug in the nss package. It has an executable shell script that
has a:
> #! /usr/local/bin/perl
> in it, which causes RPM to add a dependency on that specific path, and
nothing
> is providing the path.
> The fix is either, decide this is a sample/demo shell script and remove
it from
> the nss package -- or fix the script to use the proper perl location of
> "${bindir}/perl"
Thanks Mark for pointing it out. That solved it. I fixed the script to use
proper perl and added nss in rootfs with no problem.
-JC
[-- Attachment #2: Type: text/html, Size: 1059 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-25 9:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-24 13:23 adding package nss in rootfs failed with dependency "/usr/local/bin/perl" Jegan Chandru
2012-04-24 15:21 ` Mark Hatle
2012-04-25 8:54 ` Jegan Chandru
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox