acowley / ffmpeg-light

Minimal Haskell bindings to the FFmpeg library
BSD 3-Clause "New" or "Revised" License
67 stars 29 forks source link

switch to GitHub Actions #62

Closed gelisam closed 4 years ago

gelisam commented 4 years ago

This time the branch being merged is from the acowley/ffmpeg-light repo, not from my gelisam/ffmpeg-light fork, so I think the GitHub Actions should trigger automatically.

gelisam commented 4 years ago

sdl2 version >=2.0.2 is required but it could not be found.

Weird, why are the cabal builds successfully finding sdl2 while the stack build is not?

gelisam commented 4 years ago
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/s/systemd/libudev-dev_237-3ubuntu10.42_amd64.deb  404  Not Found [IP: 52.252.75.106 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I have no idea what's going on. I added an apt-get install libsdl2-dev, that's causing apt-get to also install libuvdev-dev... and that's failing? I have no idea how to fix that kind of problem.

acowley commented 4 years ago

I think that the requested deb really is not there. Hopefully this is just a transient problem, but I don't know why we're hitting it on this one configuration.

acowley commented 4 years ago

Should we wait until the ubuntu_latest has some minor bump that fixes this? Or we could try using ubuntu-20.04 as the runner, perhaps temporarily, or in addition to the 18.04 runner.

I'd also be happy to merge this because the failure doesn't look like a problem with the CI config, and the cabal builds are valuable.

acowley commented 4 years ago

@gelisam I tried re-running the jobs today, and am seeing more similar failures. One thing I came across says to do a sudo apt-get update before the install.

acowley commented 4 years ago

I think that got it, so I took the liberty of pushing to your branch. I hope that's okay. I have a separate PR I opened to get CI to run, but if everything looks okay I'll close that and merge this.

acowley commented 4 years ago

CI is green! @gelisam if you're happy with this branch please merge it however you'd like with respect to preserving the individual commits. I will then need to merge the 0.13 branch with master.