AcademySoftwareFoundation / AcademySoftwareFoundation/rez

Version Range in Variant breaks build

Open
#456 2 comments 0 reactions 0 assignees View on GitHub
bug rez-build shell
Dominant language
Python
Stars
1.1k
Forks
369
Avg merge
12d 3h
Merged PRs (30d)
5

Description

As discussed over IM, using a package variant like this `usd-0.8.0+<0.8.1` will break a build.

```
CMake Error at ./rezplugins/build_system/cmake_files/InstallPython.cmake:103
(add_custom_command)
add_custom_command called with OUTPUT containing a "<". This character is not allowed.
```

Contributor guide

Open the contributing guide

Research direction

Start in rezplugins/build_system/cmake_files/InstallPython.cmake around line 103 and reproduce the failure with the `usd-0.8.0+<0.8.1` package variant. Trace how the variant becomes the CMake output name; done means the build no longer rejects the generated output because it contains `<`.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.