* perl5 do_install() fails (libperl.so: No such file or directory) #dunfell
@ 2020-12-04 13:08 frank.wolff
2020-12-04 16:03 ` [yocto] " Steve Sakoman
2020-12-07 1:18 ` Nathan Rossi
0 siblings, 2 replies; 4+ messages in thread
From: frank.wolff @ 2020-12-04 13:08 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 1751 bytes --]
Hi,
I've got a weird problem when trying to build perl5 (from perl_5.30.1.bb, "dunfell" branch): the do_install() fails :
>
> rm: cannot remove
> '/home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so':
> No such file or directory'
The thing is, there IS a 'libperl.so', which is a symlink, in a "x86_64-linux" subfolder :
>
> $ ls -la
> /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so
>
>
>
> lrwxrwxrwx 1 frank frank 26 2020-12-04 12:23
> /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/x86_64-linux/CORE/libperl.so
> -> /usr/lib/libperl.so.5.30.0
>
And if I try to manually delete it using the same command it works :
>
> & rm
> /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so
>
> & ls -la
> /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so
>
>
>
> zsh: no matches found:
> /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so
>
>
So... I'm kind of confused to tell the truth. My guess is it's related to my setup (or PEBCAK) or else everybody would have encountered this.
>
> $ uname -a
> Linux laptop-frwol 5.9.0-3-amd64 #1 SMP Debian 5.9.9-1 (2020-11-19) x86_64
> GNU/Linux
>
I've made absolutely no modification whatsoever. I've just cloned the "dunfell" branch from poky and launched a "bitbake perl".
Thanks in advance for your help.
Regards,
Frank.
[-- Attachment #2: Type: text/html, Size: 1969 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] perl5 do_install() fails (libperl.so: No such file or directory) #dunfell
2020-12-04 13:08 perl5 do_install() fails (libperl.so: No such file or directory) #dunfell frank.wolff
@ 2020-12-04 16:03 ` Steve Sakoman
2020-12-07 1:18 ` Nathan Rossi
1 sibling, 0 replies; 4+ messages in thread
From: Steve Sakoman @ 2020-12-04 16:03 UTC (permalink / raw)
To: frank.wolff; +Cc: yocto
On Fri, Dec 4, 2020 at 3:08 AM <frank.wolff@smile.fr> wrote:
>
> Hi,
>
> I've got a weird problem when trying to build perl5 (from perl_5.30.1.bb, "dunfell" branch): the do_install() fails :
>
> rm: cannot remove '/home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so': No such file or directory'
>
> The thing is, there IS a 'libperl.so', which is a symlink, in a "x86_64-linux" subfolder :
>
> $ ls -la /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so
>
> lrwxrwxrwx 1 frank frank 26 2020-12-04 12:23 /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/x86_64-linux/CORE/libperl.so -> /usr/lib/libperl.so.5.30.0
>
> And if I try to manually delete it using the same command it works :
>
> & rm /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so
> & ls -la /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so
>
> zsh: no matches found: /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so
>
> So... I'm kind of confused to tell the truth. My guess is it's related to my setup (or PEBCAK) or else everybody would have encountered this.
>
> $ uname -a
> Linux laptop-frwol 5.9.0-3-amd64 #1 SMP Debian 5.9.9-1 (2020-11-19) x86_64 GNU/Linux
>
> I've made absolutely no modification whatsoever. I've just cloned the "dunfell" branch from poky and launched a "bitbake perl".
> Thanks in advance for your help.
Just tried this on Ubuntu 18.04: fresh clone of dunfell branch, source
oe-init-build-env, then bitbake perl
The build was completed successfully, so I am confused too! I do
regular autobuilder runs on debian workers and haven't seen this issue
there either.
Sorry I can't be of more help :-(
Steve
> Regards,
>
> Frank.
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] perl5 do_install() fails (libperl.so: No such file or directory) #dunfell
2020-12-04 13:08 perl5 do_install() fails (libperl.so: No such file or directory) #dunfell frank.wolff
2020-12-04 16:03 ` [yocto] " Steve Sakoman
@ 2020-12-07 1:18 ` Nathan Rossi
2020-12-08 11:56 ` lobl.pavel
1 sibling, 1 reply; 4+ messages in thread
From: Nathan Rossi @ 2020-12-07 1:18 UTC (permalink / raw)
To: frank.wolff; +Cc: yocto
On Fri, 4 Dec 2020 at 23:08, <frank.wolff@smile.fr> wrote:
>
> Hi,
>
> I've got a weird problem when trying to build perl5 (from perl_5.30.1.bb, "dunfell" branch): the do_install() fails :
>
> rm: cannot remove '/home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so': No such file or directory'
>
> The thing is, there IS a 'libperl.so', which is a symlink, in a "x86_64-linux" subfolder :
>
> $ ls -la /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so
>
> lrwxrwxrwx 1 frank frank 26 2020-12-04 12:23 /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/x86_64-linux/CORE/libperl.so -> /usr/lib/libperl.so.5.30.0
>
> And if I try to manually delete it using the same command it works :
>
> & rm /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so
> & ls -la /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so
>
> zsh: no matches found: /home/frwol/Sources/yocto/build/tmp/work/core2-64-poky-linux/perl/5.30.1-r0/image//usr/lib/perl5/5.30.1/*/CORE/libperl.so
>
> So... I'm kind of confused to tell the truth. My guess is it's related to my setup (or PEBCAK) or else everybody would have encountered this.
>
> $ uname -a
> Linux laptop-frwol 5.9.0-3-amd64 #1 SMP Debian 5.9.9-1 (2020-11-19) x86_64 GNU/Linux
>
> I've made absolutely no modification whatsoever. I've just cloned the "dunfell" branch from poky and launched a "bitbake perl".
> Thanks in advance for your help.
I hit this recently too, on master though. Same distro Debian, likely
similar package versions (testing/unstable).
Just with some preliminary testing this looks like an issue caused by
pseudo, maybe something to do with path length? as I only see the
failure when building nativesdk-perl but not target/native.
Regards,
Nathan
>
> Regards,
>
> Frank.
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: perl5 do_install() fails (libperl.so: No such file or directory) #dunfell
2020-12-07 1:18 ` Nathan Rossi
@ 2020-12-08 11:56 ` lobl.pavel
0 siblings, 0 replies; 4+ messages in thread
From: lobl.pavel @ 2020-12-08 11:56 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 616 bytes --]
Hi,
debian testing here, dunfell branch. I was able to get rid of the error with following patch. Not sure what's the reason though.
--- a/meta/recipes-devtools/perl/perl_5.30.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.30.1.bb
@@ -146,7 +146,7 @@ do_install() {
install lib/ExtUtils/typemap ${D}${libdir}/perl5/${PV}/ExtUtils/
# Fix up shared library
- rm ${D}/${libdir}/perl5/${PV}/*/CORE/libperl.so
+ rm ${D}/${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/libperl.so
ln -sf ../../../../libperl.so.${PERL_LIB_VER} $(echo ${D}/${libdir}/perl5/${PV}/*/CORE)/libperl.so
}
BR,
Pavel
[-- Attachment #2: Type: text/html, Size: 791 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-08 11:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-04 13:08 perl5 do_install() fails (libperl.so: No such file or directory) #dunfell frank.wolff
2020-12-04 16:03 ` [yocto] " Steve Sakoman
2020-12-07 1:18 ` Nathan Rossi
2020-12-08 11:56 ` lobl.pavel
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.