Closed Germano0 closed 6 years ago
I don't see any error, only warnings "This warning is for project developers. Use -Wno-dev to suppress it."
The warnings probably lead to this problem I am experiencing in building RPMs %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)
why not define then correct CMAKE_INSTALL_LIBDIR with cmake parameters?
The warnings probably lead to this problem I am experiencing in building RPMs %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)
I was wrong
noarch only builds do not have %{_lib} or %{_libdir} defined
Feel free to close the ticket :-)
Update: I am investigating about such RPM spec macros in noarch environment and I am currently reading https://pagure.io/packaging-committee/issue/203
Concerning noarch: the noarch attribute has been removed after having read the suggestions of Björn Persson https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/PSMY5RIDMSH33OKOXBN6MHP232MH7JKV/
You can use cmake parameter -DCMAKE_INSTALL_LIBDIR=/usr/... to fix location in spec file
I was building firefox-pkcs11-loader using the procedure in README file, when I got errors
OS: Fedora 27