8000 The folder named r+e.gex[c]a(r)s breaks our build · Issue #13350 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

The folder named r+e.gex[c]a(r)s breaks our build #13350

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

Closed
MatthewHarrigan opened this issue Jan 9, 2015 · 11 comments
Closed

The folder named r+e.gex[c]a(r)s breaks our build #13350

MatthewHarrigan opened this issue Jan 9, 2015 · 11 comments
Labels

Comments

@MatthewHarrigan
Copy link

We run rpmbuild as part of our build process and the folder /src/Symfony/Component/Finder/Tests/Fixtures/r+e.gex[c]a(r)s/ seems to be linked to a "error: File not found by glob: ..." error. Presumably the some character in the folder name is being treated as a wild card or something strange?

@jakzal
Copy link
Contributor
jakzal commented Jan 9, 2015

What operating system is your CI running on?

re #11984 #11989

@jakzal jakzal added the Finder label Jan 9, 2015
@MatthewHarrigan
Copy link
Author

Centos

@jakzal
Copy link
Contributor
jakzal commented Jan 9, 2015

Could you paste the full error message? Also, is it a Symfony test failing or yours?

@MatthewHarrigan
Copy link
Author

We use a grunt plugin that wraps the creation of RPMs called easy_rpm, it's running this on our CI that's failing. We're not running the Symfony tests as part of the build. If we remove the r+e.gex[c]a(r)s folder before the following step then the RPM creation works.

Running "easy_rpm:dist" (easy_rpm) task
Creating RPM folder structure at /var/lib/jenkins/workspace/kandltimelines/kandltimelines/target/tmp-eyD1KYxq9g
Copying files to tmp directory
Generating RPM spec file
Building RPM package
Execute: rpmbuild -bb --buildroot /var/lib/jenkins/workspace/kandltimelines/kandltimelines/target/tmp-eyD1KYxq9g/BUILDROOT/ tmp-eyD1KYxq9g/SPECS/kandltimelines-1277-noarch.spec
Error: error: File not found by glob: /var/lib/jenkins/workspace/kandltimelines/kandltimelines/target/tmp-eyD1KYxq9g/BUILDROOT/usr/share/kandltimelines/vendor/symfony/finder/Symfony/Component/Finder/Tests/Fixtures/r+e.gex[c]a(r)s/dir/bar.dat
File not found by glob: /var/lib/jenkins/workspace/kandltimelines/kandltimelines/target/tmp-eyD1KYxq9g/BUILDROOT/usr/share/kandltimelines/vendor/symfony/finder/Symfony/Component/Finder/Tests/Fixtures/r+e.gex[c]a(r)s/dir/bar.dat
Warning: Task "easy_rpm:dist" failed.� Use --force to continue.

@jakzal
Copy link
Contributor
jakzal commented Jan 9, 2015

It looks like a bug in the easy_rpm plugin, not Symfony.

@MatthewHarrigan
Copy link
Author

Fair enough. It is a strange name for a folder but I suppose r+e.gex[c]a(r)s is a valid. I'd consider finding another way to test this though as it's likely to cause other strange issues: it's probably best to stick to upper, lowercase ".", "_". Happy to close though.

@jakzal
Copy link
Contributor
jakzal commented Jan 9, 2015

It was implemented to fix a specific issue (#11970), and checking for lowercase ".", "_" is not enough in this case.

I'd advice to try fixing the easy_rpm plugin first, and if that fails, reopen this issue with proposition how to solve it differently.

@jakzal jakzal closed this as completed Jan 9, 2015
@JunaidBabu
Copy link

Getting a similar error while uploading the laravel app to Google App Engine.

ERROR appcfg.py:1909 Invalid character in filename: vendor/symfony/finder/Tests/Fixtures/r+e.gex[c]a(r)s/dir/bar.dat

@yclaes
Copy link
yclaes commented Nov 17, 2015

Also getting the same error as @JunaidBabu:
ERROR appcfg.py:1910 Invalid character in filename: vendor/symfony/finder/Tests/Fixtures/r+e.gex[c]a(r)s/dir/bar.dat

@kosuodhmwa
Copy link

Yes, and it also makes stress with svn...

Regards,
Jan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants
0