Skip to content

[Bug]: unset [name]; export [name]=value; source rvcmds.sh has no effect #1322

Description

@michimussato

What happened?

rvcmds.sh does not behave as expected.

# source /rv_git/OpenRV/rvcmds.sh 
RV_VFX_PLATFORM already set to CY2024.
Using Qt 6.5 installation already set at /opt/Qt/6.5.3/gcc_64
Please ensure you have installed any required dependencies from doc/build_system/config_[os]

CMake parameters:
RV_BUILD_PARALLELISM is 8
RV_HOME is /rv_git/OpenRV
RV_BUILD_DIR is /rv_git/OpenRV/_build
RV_INST_DIR is /rv_git/OpenRV/_install
CMAKE_GENERATOR is Ninja
QT_HOME is /opt/Qt/6.5.3/gcc_64

To override any of them do unset [name]; export [name]=value; source /rv_git/OpenRV/rvcmds.sh

Use 'rvrelease' (default) or 'rvdebug' to switch between build configurations.
Call 'rvbootstrap' if its your first time building or after calling rvclean.
After 'rvbootstrap', use 'rvbuild' or 'rvmk' for incremental builds.

If build fails, use 'rverrsummary' to see error summary or 'rverrors' to view full log.

Ok, To override any of them do unset [name]; export [name]=value; source /rv_git/OpenRV/rvcmds.sh:

# unset RV_BUILD_DIR; export RV_BUILD_DIR=/rv_build; source /rv_git/OpenRV/rvcmds.sh
RV_VFX_PLATFORM already set to CY2024.
Using Qt 6.5 installation already set at /opt/Qt/6.5.3/gcc_64
Please ensure you have installed any required dependencies from doc/build_system/config_[os]

CMake parameters:
RV_BUILD_PARALLELISM is 8
RV_HOME is /rv_git/OpenRV
RV_BUILD_DIR is /rv_git/OpenRV/_build
RV_INST_DIR is /rv_git/OpenRV/_install
CMAKE_GENERATOR is Ninja
QT_HOME is /opt/Qt/6.5.3/gcc_64

To override any of them do unset [name]; export [name]=value; source /rv_git/OpenRV/rvcmds.sh

Use 'rvrelease' (default) or 'rvdebug' to switch between build configurations.
Call 'rvbootstrap' if its your first time building or after calling rvclean.
After 'rvbootstrap', use 'rvbuild' or 'rvmk' for incremental builds.

If build fails, use 'rverrsummary' to see error summary or 'rverrors' to view full log.

Had no effect.

# mkdir -p /rv_build
# unset RV_BUILD_DIR; export RV_BUILD_DIR=/rv_build; source /rv_git/OpenRV/rvcmds.sh
RV_VFX_PLATFORM already set to CY2024.
Using Qt 6.5 installation already set at /opt/Qt/6.5.3/gcc_64
Please ensure you have installed any required dependencies from doc/build_system/config_[os]

CMake parameters:
RV_BUILD_PARALLELISM is 8
RV_HOME is /rv_git/OpenRV
RV_BUILD_DIR is /rv_git/OpenRV/_build
RV_INST_DIR is /rv_git/OpenRV/_install
CMAKE_GENERATOR is Ninja
QT_HOME is /opt/Qt/6.5.3/gcc_64

To override any of them do unset [name]; export [name]=value; source /rv_git/OpenRV/rvcmds.sh

Use 'rvrelease' (default) or 'rvdebug' to switch between build configurations.
Call 'rvbootstrap' if its your first time building or after calling rvclean.
After 'rvbootstrap', use 'rvbuild' or 'rvmk' for incremental builds.

If build fails, use 'rverrsummary' to see error summary or 'rverrors' to view full log.

Also, no effect with existing /rv_build directory.

List all the operating systems versions where this is happening

Rocky 9.8

On what computer hardware is this happening?

x86_64

Relevant console log output

Environment variables

No response

Extra information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions