Comments (7)
Module:
Description
The error in the
ls
command preventsPerl
from passing the integrity check[ 57s] + /bin/sh Configure -des -Doptimize=none '-Dccflags=-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' '-Dldflags=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' '-Dccdlflags=-Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' '-Dlddlflags=-shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' -Dshrpdir=/usr/lib64 -DDEBUGGING=-g -Dversion=5.38.0 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5 -Dprivlib=/usr/share/perl5 -Dsitearch=/usr/local/lib64/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl -Darchlib=/usr/lib64/perl5 -Dvendorarch=/usr/lib64/perl5/vendor_perl -Darchname=aarch64-linux-thread-multi '-Dlibpth=/usr/local/lib64 /lib64 /usr/lib64' -Duseshrplib -Dusethreads -Duseithreads -Ui_ndbm -Di_gdbm -Dusedtrace=/usr/bin/dtrace -Ubincompat5005 -Dusesitecustomize -Duselargefiles -Dd_semctl_semun -Di_db -Duse64bitint -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dscriptdir=/usr/bin -Dinstallusrbinperl=n -Uversiononly '-Dpager=/usr/bin/less -isr' -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto
@hongjinghao, you are using an enormous number of switches to your invocation of ./Configure
. At the same time, you have provided us with no information about the platform on which you are attempting to build perl. This makes it extremely difficult for us to diagnose the problem.
I would recommend that (a) provide us with that system information; and (b) that you start out with a simple invocation like this:
sh ./Configure -des
... and then add other switches one at a time until ./Configure
breaks in the way you describe above. For instance, the following switches are often used, singly or in combination, in configuring a perl build:
-Dusethreads
-DDEBUGGING
-Duse64bitint
...
from perl5.
Is it possible to replace ls
with -e
in the Configure
to check if files exist?
from perl5.
The error in the ls command prevents Perl from passing the integrity check
I'm not sure where that conclusion comes from? That error is strongly suggesting it comes from grep not ls.
Can you try to check if any of the many arguments you pass to Configure is related to this?
from perl5.
I don't see anything in that part of Configure
calling grep
.
from perl5.
The error in the ls command prevents Perl from passing the integrity check
I'm not sure where that conclusion comes from? That error is strongly suggesting it comes from grep not ls.
Can you try to check if any of the many arguments you pass to Configure is related to this?
I’m also puzzled why using ls
triggers a warning related to grep
. I wonder if checking the integrity of Perl
relies on ls
. If ls
fails due to reasons other than missing files, this could lead to false positives.
from perl5.
I don't see anything in that part of
Configure
callinggrep
.
Yes, I also didn’t see any grep
in Perl
integrity check during Configure
. However, when I executed the command without the ls
part, there were no warnings.
for filelist in x??; do
(cd "$rsrc"; cat "$tmppwd/$filelist" \
>/dev/null 2>>"$tmppwd/missing")
done
It’s possible that this behavior is related to my environment. As for validating Perl
integrity, is it really necessary to use ls
? If the sole purpose using ls
is to confirm file existence,. Can we use -e
as a replacement?
from perl5.
@Tux you have any ideas?
from perl5.
Related Issues (20)
- Segmentation fault in Perl_csighandler3 when used XS with threads. HOT 10
- BBC: Blead Breaks File::Tabular HOT 10
- feature 'class': out of memory error if subclassing a class with an explicit new HOT 3
- t/op/try.t: one test fails during deparsing tests HOT 3
- strftime crashes with a blessed format HOT 3
- [doc] Bug in Perl Threads tutorial section "A Thread Pitfall: Deadlocks"
- BBC: Blead Breaks Mojolicious HOT 3
- Cross compilation HOT 2
- BBC: Blead Breaks CPAN HOT 4
- Class methods can still be replaced outside the class HOT 10
- BBC: Blead Breaks DBIx::Class HOT 2
- Extensive CPAN breakage from two code removal projects HOT 6
- Perl is always configured for AFS on RHEL9 and derivatives
- 0351a629e7 led to build-time failure in Class-MethodCache
- CPAN distributions broken by switch removal HOT 3
- BBC: Scalar-List-Utils-1.65 breaks Tie::RefHash::Weak HOT 10
- Deprecation of GIMME long promised but not yet scheduled
- Script run does not always confine digits to the same set of ten HOT 1
- goto &SUB segfaults with builtin::refaddr, reftype, stringify, etc
- Some closures leak memory in v5.40 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perl5.