Skip to content
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

appveyor: don't install msys2 'python2' package; try using Appveyor python #1093

Closed
wants to merge 1 commit into from

Conversation

anthrotype
Copy link
Member

@anthrotype
Copy link
Member Author

@ebraminio I noticed that Appveyor is running 2 builds in parallel. I had never seen that before. Are we on a premium plan, or has something changed lately?

@anthrotype
Copy link
Member Author

pacman failed to install some package with a "maximum file size exceeded".. weird:
https://ci.appveyor.com/project/harfbuzz/harfbuzz/build/1.0.1832/job/afkaap7bp1gq77b2#L72

@ebraminio can you try restart the Appveyor build? I can't seem to be able to do it from my own Appveyor account.

@anthrotype
Copy link
Member Author

anthrotype commented Jul 10, 2018

I noticed something.
The test/fuzzing/Makefile.am is calling the fuzzer test scripts with a builddir="$(builddir)" variable:

EXEEXT="$(EXEEXT)" srcdir="$(srcdir)" builddir="$(builddir)" $(srcdir)/run-shape-fuzzer-tests.py
EXEEXT="$(EXEEXT)" srcdir="$(srcdir)" builddir="$(builddir)" $(srcdir)/run-subset-fuzzer-tests.py

however, the scripts themselves don't seem to be reading that environment variable; instead they are attempting to get another one with a similar name top_builddir:

top_builddir = os.environ.get ("top_builddir", ".")

top_builddir = os.environ.get ("top_builddir", ".")

Are they supposed to be using $builddir instead?

(git blame says @garretrieger wrote that)

@ebraminio
Copy link
Collaborator

You shuold be able to by logging out and logging in to harfbuzz account on appveyor but I also did it

@ebraminio
Copy link
Collaborator

I think I can say feel free to apply any improvements that makes sense and don't break our CI :)

@anthrotype
Copy link
Member Author

apparently my user (@anthrotype, email cosimo [at] anthrotype [dot] com) is not part of the harfbuzz Appveyor organization, it does not show up in the list when I log in:

image

@anthrotype
Copy link
Member Author

the mingw 64-bit build keeps failing, with
https://ci.appveyor.com/project/harfbuzz/harfbuzz/build/1.0.1834/job/26v56v60egbxj6q5#L66

failed retrieving file 'mingw-w64-x86_64-python3-markupsafe-1.0-2-any.pkg.tar.xz' from repo.msys2.org : Maximum file size exceeded

the i686 one seems to pass...

I don't understand why, by simply not installing python2 msys2 package, now it pulls in python3 plus other related deps like that markupsafe.

Maybe it's not worth the effort, let's keep it like it was.

@anthrotype
Copy link
Member Author

the pacman dowload failure may only be temporary, it seems connected to this
msys2/MSYS2-packages#942 (comment)

it'll probably fix itself at some point, we can retry another time.

@anthrotype
Copy link
Member Author

@ebraminio it looks like the Appveyor MSYS2 x86_64 build is failing on master, with the same error I encountered here:

failed retrieving file 'mingw-w64-x86_64-python3-markupsafe-1.0-2-any.pkg.tar.xz' from repo.msys2.org : Maximum file size exceeded

https://ci.appveyor.com/project/harfbuzz/harfbuzz/build/job/ky7lao1ii1bi7ew4#L71

I was able to fix it locally by doing an update of the msys2 package database and core system packages pacman -Syu. But then I had to close and reopen the mintty shell, as requested by the warning message printed at the bottom after the upgrade:

close your terminal window instead of calling exit

Not sure how that can be done in the Appveyor environment though..

@ebraminio
Copy link
Collaborator

it does not show up in the list when I log in

I fixed it I guess but forgot to leave a comment :/

Not sure and sad we could do this at the end but thanks for the effort :)

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

Successfully merging this pull request may close these issues.

None yet

3 participants