Introduction:
I am encountering build errors while trying to install the "reproc" package on Arch Linux. The error seems to be related to a declaration conflict with "reproc++," which results in changes of meaning for certain variables. It is worth noting that I am installing the "reproc" package as it is a prerequisite for the installation of "zrhtym."
Error Messages:
During the installation process, the following errors were encountered:
In file included from /home/mene/.cache/yay/reproc/src/reproc-14.2.4/reproc++/src/reproc.cpp:1:
/home/mene/.cache/yay/reproc/src/reproc-14.2.4/reproc++/include/reproc++/reproc.hpp:95:5: error: declaration of ‘reproc::options::<unnamed struct> reproc::options::env’ changes meaning of ‘env’ [-Wchanges-meaning]
95 | } env = {};
| ^~~
/home/mene/.cache/yay/reproc/src/reproc-14.2.4/reproc++/include/reproc++/reproc.hpp:91:5: note: used here to mean ‘class reproc::env’
91 | env::type behavior;
| ^~~
In file included from /home/mene/.cache/yay/reproc/src/reproc-14.2.4/reproc++/include/reproc++/reproc.hpp:11:
/home/mene/.cache/yay/reproc/src/reproc-14.2.4/reproc++/include/reproc++/env.hpp:8:7: note: declared here
8 | class env : public detail::array {
| ^~~
/home/mene/.cache/yay/reproc/src/reproc-14.2.4/reproc++/include/reproc++/reproc.hpp:107:5: error: declaration of ‘reproc::options::<unnamed struct> reproc::options::redirect’ changes meaning of ‘redirect’ [-Wchanges-meaning]
107 | } redirect = {};
| ^~~~~~~~
/home/mene/.cache/yay/reproc/src/reproc-14.2.4/reproc++/include/reproc++/reproc.hpp:102:5: note: used here to mean ‘struct reproc::redirect’
102 | redirect err;
| ^~~~~~~~
/home/mene/.cache/yay/reproc/src/reproc-14.2.4/reproc++/include/reproc++/reproc.hpp:68:8: note: declared here
68 | struct redirect {
| ^~~~~~~~
make[2]: *** [reproc++/CMakeFiles/reproc++.dir/build.make:76: reproc++/CMakeFiles/reproc++.dir/src/reproc.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:683: reproc++/CMakeFiles/reproc++.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Expected Outcome:
I expected the "reproc" package to be installed successfully without any build errors, as it is a prerequisite for the installation of "zrthym."
Steps Taken So Far:
I have attempted to install the "reproc" package using yay -S reproc, and also tried the temporary fix by setting the CXXFLAGS environment variable to -Wno-changes-meaning, but the build errors persist.
System Information:
Arch Linux
Compiler version: GNU 13.1.1
Request for Assistance:
I kindly request assistance from the "reproc" community to resolve the build errors encountered during the installation of the "reproc" package. The package is essential as it serves as a prerequisite for installing "zrthym." Any guidance, suggestions, or possible solutions to address the declaration conflict with "reproc++" would be highly appreciated.
Conclusion:
I am experiencing build errors while installing the "reproc" package on Arch Linux due to a declaration conflict with "reproc++." It is important to note that "reproc" is required as a prerequisite for the installation of "zrthym." I have provided the error messages, system information, and details about the attempted temporary fix. I am seeking assistance from the "reproc" forum or community to find a proper solution to this issue. Thank you for your time and support.
Introduction:
I am encountering build errors while trying to install the "reproc" package on Arch Linux. The error seems to be related to a declaration conflict with "reproc++," which results in changes of meaning for certain variables. It is worth noting that I am installing the "reproc" package as it is a prerequisite for the installation of "zrhtym."
Error Messages:
During the installation process, the following errors were encountered:
Expected Outcome:
I expected the "reproc" package to be installed successfully without any build errors, as it is a prerequisite for the installation of "zrthym."
Steps Taken So Far:
I have attempted to install the "reproc" package using yay -S reproc, and also tried the temporary fix by setting the CXXFLAGS environment variable to -Wno-changes-meaning, but the build errors persist.
System Information:
Request for Assistance:
I kindly request assistance from the "reproc" community to resolve the build errors encountered during the installation of the "reproc" package. The package is essential as it serves as a prerequisite for installing "zrthym." Any guidance, suggestions, or possible solutions to address the declaration conflict with "reproc++" would be highly appreciated.
Conclusion:
I am experiencing build errors while installing the "reproc" package on Arch Linux due to a declaration conflict with "reproc++." It is important to note that "reproc" is required as a prerequisite for the installation of "zrthym." I have provided the error messages, system information, and details about the attempted temporary fix. I am seeking assistance from the "reproc" forum or community to find a proper solution to this issue. Thank you for your time and support.