-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add a build pipeline for FreeBSD #266
Conversation
It might be easier to do this in multiple parts? E.g. first PR just adds the build and test, and then the second PR adds the upload step. Then the first PR won't require any treehash re-signing. |
I thought I only added a build step here, not test nor upload? I don't actually know what any of this stuff does, I was just blindly following instructions. 😅 |
Oh I see - it's the changes to the shebang that are causing the treehashes to need re-signing. |
The FreeBSD build log is 500 lines of
then finally
Issue with permissions on |
Yes, it's owned by |
Looks like Elliot fixed permissions on
Looks like that should be getting set by one of the scripts in |
That should now be fixed in |
Alright, let's add tests next! |
This comment was marked as outdated.
This comment was marked as outdated.
Looks like FreeBSD might need the same adjustment as is being done on Linux regarding |
Okay apparently that wasn't the issue. |
Here are the backtraces for the current test failures on FreeBSD. I could not reproduce any of them 4 days ago but I'm retrying now just to be sure. EDIT: Still can't reproduce. file test failures and errors
read test error
Profile test abort trap
Here's the actual FreeBSD source that the libthr error is pointing to: https://github.com/freebsd/freebsd-src/blob/release/12.2.0/lib/libthr/thread/thr_cond.c#L287 Pkg test failures
Process hang
Error in temporary file cleanup at exit
I suspect something about the VMs is misconfigured, perhaps the filesystem? |
The We probably need |
Nothing AFAIK, I just noticed that we were avoiding |
Note that Bash scripts on FreeBSD need to use `/usr/bin/env bash` rather than `/bin/bash` in the shebang line as the latter does not exist on FreeBSD.
You still need to add the upload step to the signed pipeline launcher script, like here: julia-buildkite/pipelines/main/launch_upload_jobs.yml Lines 15 to 24 in 15bdcb1
|
Looks like the |
c19d4a4
to
874010b
Compare
Looks like it worked, so I've merged my fix to |
and also
Welp. |
Ref #26 (comment)