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

Update fedora versions for CI workflows #8

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

vathpela
Copy link
Contributor

This updates the fedora versions in our CI workflows.

Currently on the "update submodule" step, we're getting this:

  git submodule update --init --recursive
  fatal: detected dubious ownership in repository at '/__w/certwrapper/certwrapper'
  To add an exception for this directory, call:

  	git config --global --add safe.directory /__w/certwrapper/certwrapper
  make: *** [Makefile:126: update] Error 128

Given the absolute lack of any details of what user the owner is and why
that might be dubious, I've chosen to follow it's advice without prying
too hard.

Signed-off-by: Peter Jones <[email protected]>
Right now on some CI builds we get:

  aarch64-linux-gnu-gcc -nostdlib -fPIC -Wl,--warn-common -Wl,--no-undefined \
  	-Wl,--fatal-warnings -Wl,-shared -Wl,-Bsymbolic -L/usr/lib64 \
  	-L/__w/certwrapper/certwrapper/gnu-efi/ -Wl,--build-id=sha1 \
  	-Wl,--hash-style=sysv  -o certmule.so certmule.o sbat_data.o  \
  	/usr/lib/gcc/aarch64-linux-gnu/12/libgcc.a \
  	-T /__w/certwrapper/certwrapper/elf_aarch64_efi.lds
  /usr/bin/aarch64-linux-gnu-ld: warning: certmule.so has a LOAD segment with RWX permissions
  collect2: error: ld returned 1 exit status
  make: *** [../Makefile:115: certmule.so] Error 1

Right now this breaks CI despite no code change from when CI worked (due
to the distros being updated).  The segments themselves don't really
matter (they exist in ELF but not in PE), so we could plausibly fix
them, but that belongs in a different patch series.  Unfortunately some
of the linkers we're testing against don't support
"--no-warn-rwx-segments", and some of them don't support
"--no-error-rwx-segments".  So for right now, I'm disabling
"--fatal-warnings" instead.

Signed-off-by: Peter Jones <[email protected]>
@vathpela vathpela merged commit ac0b732 into rhboot:main Jan 17, 2024
18 checks passed
@vathpela vathpela deleted the update-ci-distros branch January 17, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant