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

build(copr): fix build #3458

Merged
merged 1 commit into from
Dec 21, 2024
Merged

build(copr): fix build #3458

merged 1 commit into from
Dec 21, 2024

Conversation

ReenigneArcher
Copy link
Member

@ReenigneArcher ReenigneArcher commented Dec 17, 2024

Description

Fedora copr builds are failing after an update to https://copr.fedorainfracloud.org/coprs/slaanesh/cuda-gcc

Additionally, cuda has been updated.

Screenshot

Issues Fixed or Closed

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update (updates to dependencies)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files, e.g. .github/...)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.16%. Comparing base (e47aa9f) to head (ac37802).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3458   +/-   ##
=======================================
  Coverage   11.16%   11.16%           
=======================================
  Files         100      100           
  Lines       17310    17310           
  Branches     8069     8069           
=======================================
  Hits         1933     1933           
- Misses      12671    12754   +83     
+ Partials     2706     2623   -83     
Flag Coverage Δ
Linux 8.43% <ø> (ø)
Windows 5.38% <ø> (ø)
macOS-13 13.70% <ø> (-0.02%) ⬇️
macOS-14 12.71% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 25 files with indirect coverage changes

@ReenigneArcher
Copy link
Member Author

copr is looking in /usr/bin/cuda for something?

CMake Error at /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:838 (message):
  Compiling the CUDA compiler identification source file
  "CMakeCUDACompilerId.cu" failed.

  Compiler: /builddir/build/BUILD/cuda/bin/nvcc

  Build flags:

  Id flags: --keep;--keep-dir;tmp -v



  The output was:

  1

  /usr/bin/cuda: No such file or directory

  nvcc fatal : Failed to preprocess host compiler properties.





Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:8 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:53 (__determine_compiler_id_test)
  /usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID)
  cmake/compile_definitions/linux.cmake:19 (enable_language)
  cmake/compile_definitions/common.cmake:47 (include)
  CMakeLists.txt:57 (include)


-- Configuring incomplete, errors occurred!
error: Bad exit status from /var/tmp/rpm-tmp.KCOa7W (%build)

but nvcc is at /builddir/build/BUILD/cuda/bin/nvcc

https://cmake.org/cmake/help/latest/module/FindCUDAToolkit.html

@ReenigneArcher ReenigneArcher added the help wanted Extra attention is needed label Dec 17, 2024
@ReenigneArcher ReenigneArcher force-pushed the build/copr/fix-build branch 3 times, most recently from e08ecb0 to 65340d6 Compare December 21, 2024 00:33
@ReenigneArcher ReenigneArcher removed the help wanted Extra attention is needed label Dec 21, 2024
@ReenigneArcher ReenigneArcher marked this pull request as ready for review December 21, 2024 00:36

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • packaging/linux/fedora/Sunshine.spec: Language not supported
@ReenigneArcher ReenigneArcher enabled auto-merge (squash) December 21, 2024 00:36
Co-Authored-By: Matthew Schwartz <[email protected]>
@ReenigneArcher ReenigneArcher merged commit 6cd0cd9 into master Dec 21, 2024
37 checks passed
@ReenigneArcher ReenigneArcher deleted the build/copr/fix-build branch December 21, 2024 18:39
TheElixZammuto pushed a commit to TheElixZammuto/Sunshine-1 that referenced this pull request Dec 23, 2024
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