Because the netgen binary is renamed in %install the cmake config module still references netgen which causes the following error during config/import for cmake: CMake Error at /usr/share/cmake/netgen-targets.cmake:164 (message): The imported target "netgen" references the file "/usr/bin/netgen" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/share/cmake/netgen-targets.cmake" If I have time I'll look at patching the output to correct this.
Scratch build complete: http://koji.fedoraproject.org/koji/taskinfo?taskID=26687550 Please review as I didn't dig into the spec file that much, just added a cmake patch and removed all the netgen->netgen-mesher renames.
Thanks, looks good, just a question: what's the rationale behind the -DOpenGL_GL_PREFERENCE=GLVND line?
Newer versions of cmake need to know about this for GL apps, it complained and mentioned the behavior will change in the future. Instead of adding another patch to deal with setting the cmake policy I just set it since I'm pretty sure all supported versions of Fedora use it. I didn't check to see if there was an EPEL branch...
Ok thanks
Ahh, I just really figured out why you're doing multiple builds... That change should apply to all 3... Here's the error when not set: CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:270 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning. FindOpenGL found both a legacy GL library: OPENGL_gl_LIBRARY: /usr/lib64/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /usr/lib64/libOpenGL.so OPENGL_glx_LIBRARY: /usr/lib64/libGLX.so OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used.
netgen-mesher-6.2-0.5.git94fd571.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1959cd8f32
netgen-mesher-6.2-0.5.git94fd571.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ce59a68e06
netgen-mesher-6.2-0.5.git94fd571.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1959cd8f32
netgen-mesher-6.2-0.5.git94fd571.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ce59a68e06
netgen-mesher-6.2-0.5.git94fd571.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
netgen-mesher-6.2-0.5.git94fd571.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.