Skip to content

Cannot build PREP against iRODS 5 #234

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

Closed
1 task done
Tracked by #8369 ...
MartinFlores751 opened this issue Mar 19, 2025 · 0 comments
Closed
1 task done
Tracked by #8369 ...

Cannot build PREP against iRODS 5 #234

MartinFlores751 opened this issue Mar 19, 2025 · 0 comments
Assignees
Labels

Comments

@MartinFlores751
Copy link
Contributor

MartinFlores751 commented Mar 19, 2025

  • main only

Discovered when working on #233.

PREP failed to build with multiple errors showing the following:

stderr: /irods_plugin_source/src/types/irods/getRodsEnv.cpp:102:81: error: no member named 'irodsPluginHome' in 'RodsEnvironment'
                        .add_property("irodsPluginHome", +[](rodsEnv *s) { return array_ref<char>{s->irodsPluginHome}; })
                                                                                                  ~  ^
/irods_plugin_source/src/types/irods/getRodsEnv.cpp:102:37: error: invalid argument type '(lambda at /irods_plugin_source/src/types/irods/getRodsEnv.cpp:102:38)' to unary expression
                        .add_property("irodsPluginHome", +[](rodsEnv *s) { return array_ref<char>{s->irodsPluginHome}; })
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/irods_plugin_source/src/types/irods/getRodsEnv.cpp:65:16: error: no member named 'irodsPluginHome' in 'RodsEnvironment'
                                        &rodsEnv::irodsPluginHome,
                                         ~~~~~~~~~^

It looks like in iRODS 5.0, irodsPluginHome may have been changed to irodsPluginDirectory.

This variable name would need to be updated to build against iRODS 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants