* drbd-utils: fix dependency for perl under small-fs
@ 2017-05-03 3:25 Yadi Hu
2017-05-03 3:25 ` [PATCH] " Yadi Hu
2017-05-04 4:39 ` yhu2
0 siblings, 2 replies; 3+ messages in thread
From: Yadi Hu @ 2017-05-03 3:25 UTC (permalink / raw)
To: yadi.hu, openembedded-devel, martin.jansa; +Cc: marius.tiplea
when run drbd-overview under samll fs, the perl script fails to run
due to lack of perl's lib. warning shows as below:
drbd-overview
random: nonblocking pool is initialized
Can't locate Getopt/Long.pm in @INC (you may need to install the Getopt::Long module) (@INC contains: /etc/perl /usr/lib64/perl/site_perl/5.22.0/ /usr/lib64/perl/site_perl/5.22.0 /usr/lib64/perl/vendor_perl/5.22.0/ /usr/lib64/perl/vendor_perl/5.22.0 /usr/lib64/perl/5.22.0/ /usr/lib64/perl/5.22.0 /usr/local/lib/site_perl /usr/lib64/perl/5.22.0 .) at /usr/sbin/drbd-overview line 393.
BEGIN failed--compilation aborted at /usr/sbin/drbd-overview line 393.
the patch explicaitly specified dependency for perl;s lib needed.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] drbd-utils: fix dependency for perl under small-fs
2017-05-03 3:25 drbd-utils: fix dependency for perl under small-fs Yadi Hu
@ 2017-05-03 3:25 ` Yadi Hu
2017-05-04 4:39 ` yhu2
1 sibling, 0 replies; 3+ messages in thread
From: Yadi Hu @ 2017-05-03 3:25 UTC (permalink / raw)
To: yadi.hu, openembedded-devel, martin.jansa; +Cc: marius.tiplea
From: "Yadi.hu" <yadi.hu@windriver.com>
Perl script drbd-overview fails to run due to some of
perl's lib noexists under small rootfs,fixing it through
adding explicit definitions
Signed-off-by: Marius Tiplea <marius.tiplea@windriver.com>
Signed-off-by: Yadi.hu <yadi.hu@windriver.com>
---
meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb b/meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb
index 3d6f5b262..67ed8e5c0 100644
--- a/meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb
+++ b/meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb
@@ -30,7 +30,7 @@ EXTRA_OECONF = " \
--without-manual\
"
-RDEPENDS_${PN} += "bash perl"
+RDEPENDS_${PN} += "bash perl-module-getopt-long perl-module-exporter perl-module-constant perl-module-overloading perl-module-exporter-heavy"
# The drbd items are explicitly put under /lib when installed.
#
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: drbd-utils: fix dependency for perl under small-fs
2017-05-03 3:25 drbd-utils: fix dependency for perl under small-fs Yadi Hu
2017-05-03 3:25 ` [PATCH] " Yadi Hu
@ 2017-05-04 4:39 ` yhu2
1 sibling, 0 replies; 3+ messages in thread
From: yhu2 @ 2017-05-04 4:39 UTC (permalink / raw)
To: openembedded-devel, martin.jansa; +Cc: marius.tiplea
Any comments would be appreciated.
Yadi
On 2017年05月03日 11:25, Yadi Hu wrote:
> when run drbd-overview under samll fs, the perl script fails to run
> due to lack of perl's lib. warning shows as below:
>
> drbd-overview
> random: nonblocking pool is initialized
> Can't locate Getopt/Long.pm in @INC (you may need to install the Getopt::Long module) (@INC contains: /etc/perl /usr/lib64/perl/site_perl/5.22.0/ /usr/lib64/perl/site_perl/5.22.0 /usr/lib64/perl/vendor_perl/5.22.0/ /usr/lib64/perl/vendor_perl/5.22.0 /usr/lib64/perl/5.22.0/ /usr/lib64/perl/5.22.0 /usr/local/lib/site_perl /usr/lib64/perl/5.22.0 .) at /usr/sbin/drbd-overview line 393.
> BEGIN failed--compilation aborted at /usr/sbin/drbd-overview line 393.
>
> the patch explicaitly specified dependency for perl;s lib needed.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-04 4:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-03 3:25 drbd-utils: fix dependency for perl under small-fs Yadi Hu
2017-05-03 3:25 ` [PATCH] " Yadi Hu
2017-05-04 4:39 ` yhu2
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.