-
Notifications
You must be signed in to change notification settings - Fork 65
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
mingw-w64-i686-oniguruma-5.9.6-1-any.pkg.tar.xz maximum size exceeded (??) #613
Comments
@FeodorFitsner Well, OK, that's kinda depressing. It seems people break the packaging metadata all the time? And it leaves the rest of us to twiddle our thumbs and hope someone who can fix it does fix it. Great. Maybe we should put Oniguruma inside jq. |
Trying this:
|
That's causing https://ci.appveyor.com/project/nicowilliams/jq/build/job/xb160ymi5xr1hnf9 If it's just a matter of upgrading pacman, can AppVeyor just do that a priori? Probably not. Can caching help? |
E.g.,
Who knows when this will finish. |
Is the slowness something to do with the appveyor build environment? Is there anything I can do to make this faster? |
Look, we are going to update build worker images this week (Node.js, git, etc.). Give me a list of commands to update the whole thing. |
Thanks. I think it's this:
(From the first link you pasted.) I don't know yet that it will work. I'm watching it go (though since it's like watching paint dry, i'll look again in a few hours; I'm guessing it will have timed out). https://ci.appveyor.com/project/nicowilliams/jq/build/job/xb160ymi5xr1hnf9 |
I don't think it's because of slowness of build environment. You are building on VM with 2 vCPUs and 7 GB of RAM. Access to download locations maybe slow (depending on location/mirror, especially SF has been always a pain) - I don't know if you can control mirrors. |
The need to upgrade strikes me as odd, FYI. If you didn't touch the |
I haven't touched |
We can try re-installing msys64 entirely, if that help. |
I don't either! Heh. |
Is chocolatey available? Maybe I should use that... |
You can give Chocolatey a try, of course. |
Alright, I'll try it tonight or tomorrow. Thanks. |
You can logon via RDP. Remove c:\msys64 completely (I don't remember if there is an uninstaller) then install it again using commands from those issue and see how that goes for your build. If that fixes your issue then we definitely need to reinstall it. |
Oh, maybe the problem is the |
In fairness, I copied this from some other |
It seems this is unfixable with pacman. Here's what I get (I've tried every reasonable combination of pacman commands) from https://ci.appveyor.com/project/nicowilliams/jq/build/job/mp0mx2uftiqf0tqp
Chocolatey doesn't have a package handy for Oniguruma. So I can't use that. I can't use pacman because it broke. I guess we just have to grab the oniguruma tarball (which is now hard to find) and build it in the appveyor config. This fails:
To say that this is frustrating is an understatement. I can't even find who's responsible for pacman so I can file an issue. All I know is that the build was working, then something changed in the pacman mirrors, and now I can't build. None of this is AppVeyor's fault, just some anonymous third party's. @FeodorFitsner I don't know what commands you'd run to update pacman, beyond this: |
@FeodorFitsner Maybe you should just re-do the MSYS and pacman installs. Maybe that will work (until it breaks again). |
Oh, and
|
Tomorrow I may try to fix pacman.conf per https://www.reddit.com/r/archlinux/comments/2axo9x/unable_to_update_using_pacman_maximum_file_size/ to use curl and not enforce the known file length. I suspect that too won't work. |
Changing the Oh, hmmm, looking more carefully at the |
Nope, didn't work. I managed to find the name of the pkg maintainer: @Alexpux. And I found this: Alexpux/MSYS2-pacman#12. @Alexpux The summary is that the oniguruma pkgs for MSYS have the wrong checksum now, so https://github.com/stedolan/jq's AppVeyor build fails. Any help would be greatly appreciated. |
I'll re-install it and publish a test image for you to try. |
Thanks. Let me know here when you've done that. If you run into the same problem then give up (EDIT: but let me know either way!). I'll just figure out how to build Oniguruma on Windows and be done. |
That's weird! I've reinstalled msys2 completely using these instructions: #597 (comment) Running on "test" image (it's not public yet, but it's available under your account), but installing "mingw-w64-i686-oniguruma" fails with the same error: https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/1.0.1627 I tend to believe this is something package-specific. |
@FeodorFitsner Yup! The breakage is upstream. I'll just figure out how to build Oniguruma on Windows from the jq appveyor.yml (I'll have to patch some things, no doubt), and in the worst case scenario I'll use a cross-compiled, pre-built version (since I know how to do that) that I could probably host on github. We can close this issue, but I'll let you do it as you might want to apply some label to indicate that this is not an AppVeyor CI issue but an issue elsewhere. Thanks for trying! |
OK. Anyway, we've updated MSYS 2 which is good :) |
@nicowilliams oniguruma got an updated package into msys, 6 days ago, maybe that will help? -> https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-oniguruma |
... and it does: jqlang/jq#1132 |
https://ci.appveyor.com/project/stedolan/jq/build/1.0.17/job/xhouqgbcvmmx0xuy
How do we fix this?
The text was updated successfully, but these errors were encountered: