-
Notifications
You must be signed in to change notification settings - Fork 577
ext/File-Glob/t/basic.t: Use of PERL_EXTERNAL_GLOB causes test failure on Linux #16733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From @jkeenanLast week, on Oct 17, in the two commits below we fatalized Karl Williamson has encountered one gotcha, which I have confirmed. If, ##### ... then when you run ext/File-Glob/t/basic.t, you get 1 test failure I have produced this error on Linux with both gcc and g++ -- but I do There is no adequate documentation of PERL_EXTERNAL_GLOB in INSTALL, ##### Thank you very much. |
From @jkeenanLast week, on Oct 17, in the two commits below we fatalized File::Glob::glob() as per our schedule of deprecations and fatalizations. Karl Williamson has encountered one gotcha, which I have confirmed. If, on Linux, you include this obscure (to me, at least) 'ccflag' configuration option: ##### ... then when you run ext/File-Glob/t/basic.t, you get 1 test failure and 3 shell-level warnings. See attachments. I have produced this error on Linux with both gcc and g++ -- but I do *not* get the error on FreeBSD (where clang is the default compiler). There is no adequate documentation of PERL_EXTERNAL_GLOB in INSTALL, pod/perlintern.pod or similar locations. Its name suggests that it means something like "Use a glob outside Perl", but that doesn't help us very much. Looking at the source code, I think the following sections of code need investigation: ##### Thank you very much. |
From @jkeenanSummary of my perl5 (revision 5 version 29 subversion 5) configuration: Characteristics of this binary (from libperl): |
From @jkeenanOn Tue, 23 Oct 2018 12:42:23 GMT, jkeenan@pobox.com wrote:
Add attachment holding test results. -- |
From @jkeenan1..49 |
The RT System itself - Status changed from 'new' to 'open' |
From @jkeenanOn Tue, 23 Oct 2018 12:49:02 GMT, jkeenan wrote:
And as reflected in this smoke test: http://perl5.test-smoke.org/report/72937 -- |
From [Unknown Contact. See original ticket]On Tue, 23 Oct 2018 12:49:02 GMT, jkeenan wrote:
And as reflected in this smoke test: http://perl5.test-smoke.org/report/72937 -- |
From @LeontOn Tue, Oct 23, 2018 at 2:43 PM James E Keenan (via RT) <
Before File::Glob entered core in 5.6.0 globbing was implemented by Leon |
From @LeontOn Tue, Oct 23, 2018 at 2:43 PM James E Keenan (via RT) <
I suspect this difference is actually related to the absence (Linux) or Leon |
From @jkeenanOn Wed, 24 Oct 2018 00:28:40 GMT, LeonT wrote:
On Wed, 24 Oct 2018 00:33:26 GMT, LeonT wrote:
Thanks. Would you be able to take a look at the 3 *.c code fragments I posted the other day and suggest a patch? -- |
5.30 is already released. What did we end up doing about this? |
It seems we ignored it. I don't think we should necessarily fix it (we can't really, as it's an external dependency), but perhaps we should document that running an external glob requires having a csh installed. |
Its kinda a https://github.com/Perl/metaconfig/issues documentation update, right? we could open a ticket there? |
On Linux I installed I tried this both with and without Thank you very much. |
Since with 0a790ce we have documented PERL_EXTERNAL_GLOB, I believe this ticket is now closable. Anyone disagree? |
Nope. thanks @jkeenan |
Migrated from rt.perl.org#133612 (status was 'open')
Searchable as RT133612$
The text was updated successfully, but these errors were encountered: