-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Installing symfony/flex fails with composer2 using VirtualBox #9361
Comments
Seems related to composer/package-versions-deprecated#14 as well. It does look like an environment/filesystem issue though. Can you try with composer 1 if it also fails? Can you run the require with |
It fails under composer 1.x as well. Logs for composer 2.0.2
Logs for composer 1.10.16
When I use a workaround described elsewhere of creating a #!/bin/sh
/usr/bin/unzip "\$@"
sleep 0.2 Logs for composer 1.10.16 with unzip workaround
Logs for composer 2.0.2 with unzip workaround
At any rate this somewhat proofs that When I run this in my host machine all works well BTW. |
Ok so definitely an environment issue with virtualbox. Hopefully they fix the issue.. Closing here as I am not sure what we can do about it. |
It's been over a year, I'm not very hopeful. Thanks for your time and consideration anyway! |
@rpkamp do you know if the issue reported to VirtualBox? What I'm seeing is that no one has yet to really pin point what's causing the problem. |
@bilogic I don't have proof, nor an idea how to go about proofing this, but I highly suspect a syncing issue with
When I use the hack I described above with And yes, there are multiple issues on VirtualBox and vagrant, but nobody thinks it's their problem and won't fix it 🤷 |
@rpkamp Sorry, read too fast. Anyway, I agree with your analysis. Do you have any links I could follow up on? |
This is pretty much the biggest issue that links to all kinds of places: Ocramius/PackageVersions#107 |
Ok, thanks, but it isn't at VirtualBox. I doubt it will get anywhere. |
Host system
Linux Fedora 32 (Linux localhost.localdomain 5.8.16-200.fc32.x86_64)
VirtualBox Version 6.1.16 r140961 (Qt5.14.2)
Vagrant 2.2.9
VM
Ubuntu 18.04 (v20201016)
UnZip version 6.00
Filesystems mounted using
vboxfs
Composer
Composer version 2.0.2 2020-10-25 23:03:59
The problem
Doing this in a directory without any
composer.json
,composer.lock
orvendor/
present.When I run this command:
I get the following output:
And I expected this to happen:
symfony/flex should have installed correctly
Problem seems related to Ocramius/PackageVersions#107 in that composer thinks the file has been extracted (running
unzip
), but it hasn't been synced to disk yet, so it can't be loaded when it tries to do so.The text was updated successfully, but these errors were encountered: