On Thu, Oct 8, 2015 at 7:30 PM, Antonio Trande anto.trande@gmail.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 10/08/2015 07:10 PM, arnaud gaboury wrote:
I wrote a .spec file to build a pacakge with many shared librairies installed by Intel parallel studio 2016.
There is no Fedora package for Intel, but the installation script install many .rpm packages, and all are correctly listed when running $ dnf list
Building my package goes fine. I am no left with one issue when I want to install it.
# dnf install R-core-3.2.2-intel.fc22.1.x86_64 Error: nothing provides libimf.so()(64bit) needed by libRmath-3.2.2-intel.fc22.1.x86_64. nothing provides libifcoremt.so.5()(64bit) needed by R-core-3.2.2-intel.fc22.1.x86_64. nothing provides libifcoremt.so.5()(64bit) needed by R-core-3.2.2-intel.fc22.1.x86_64. nothing provides libifcoremt.so.5()(64bit) needed by R-core-3.2.2-intel.fc22.1.x86_64. nothing provides libimf.so()(64bit) needed by libRmath-3.2.2-intel.fc22.1.x86_64. nothing provides libimf.so()(64bit) needed by libRmath-3.2.2-intel.fc22.1.x86_64. nothing provides libifcoremt.so.5()(64bit) needed by R-core-3.2.2-intel.fc22.1.x86_64. nothing provides libifcoremt.so.5()(64bit) needed by R-core-3.2.2-intel.fc22.1.x86_64. nothing provides libimf.so()(64bit) needed by libRmath-3.2.2-intel.fc22.1.x86_64
% rpm -i --test R-core-3.2.2-intel.fc22.1.x86_64 error: Failed dependencies: libifcoremt.so.5()(64bit) is needed by R-core-3.2.2-intel.fc22.1.x86_64 libifport.so.5()(64bit) is needed by R-core-3.2.2-intel.fc22.1.x86_64 libimf.so()(64bit) is needed by R-core-3.2.2-intel.fc22.1.x86_64 libintlc.so.5()(64bit) is needed by R-core-3.2.2-intel.fc22.1.x86_64 libiomp5.so()(64bit) is needed by R-core-3.2.2-intel.fc22.1.x86_64 libiomp5.so(VERSION)(64bit) is needed by R-core-3.2.2-intel.fc22.1.x86_64 libirc.so()(64bit) is needed by R-core-3.2.2-intel.fc22.1.x86_64 libirng.so()(64bit) is needed by R-core-3.2.2-intel.fc22.1.x86_64 libmkl_rt.so()(64bit) is needed by R-core-3.2.2-intel.fc22.1.x86_64 libsvml.so()(64bit) is needed by R-core-3.2.2-intel.fc22.1.x86_64
All these shared objects are installed on my system and are part of the Intel mega package.
Are you sure?
$ ls /opt/intel/lib/intel64/ ...... libifcoremt.so.5 libimf.so ......
$ env LD_LIBRARY_PATH=/opt/intel/lib/intel64/
What is the output of
repoquery --whatprovides libifcoremt.so.5
% dnf repoquery --whatprovides libifcoremt.so.5 Last metadata expiration check performed 0:02:04 ago on Thu Oct 8 19:54:40 2015.
I am not surprised as I installed Intel parallel studio from their own install package which provieds the needed rpm.
?
I thought writing this in my spec file was enough. Example: BuildRequire: inetl-ifort-l-ps-109
**BuildRequires:**
Yes, I made a typo
this package has been installed by Intel parallel studio and provides libifport.so.5.:
% dnf info intel-ifort-l-ps-109-16.0.0-109.x86_64
Last metadata expiration check performed 12 days, 6:08:27 ago on Sat Sep 26 12:51:00 2015. Installed Packages Name : intel-ifort-l-ps-109 Arch : x86_64 Epoch : 0 Version : 16.0.0 Release : 109 Size : 26 M Repo : @System Summary : Intel(R) Fortran Compiler 16.0 for Linux* License : Intel Copyright 1999-2015 Description : Intel(R) Fortran Compiler 16.0 for Linux*
How can I solve this issue properly? Is there anything I can do at build time or add in the spec file? I can fo course # rpm -i --nodeps MyPackage, but I would prefer to avoid and write an academic spec file.
Can read all your custom SPECs would be useful.
Antonio Trande
mailto: sagitter 'at' fedoraproject 'dot' org http://fedoraos.wordpress.com/ https://fedoraproject.org/wiki/User:Sagitter GPG Key: 0x565E653C Check on https://keys.fedoraproject.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQEcBAEBCAAGBQJWFqgqAAoJEF5tK7VWXmU80PAH/RKFlznY6TebSz96rtNvZX9x eQO75x72S1VKzB0THvHaVeBvzpUN+7BSbR4vOX7FPq+dayWJCyAdk+DxKnKCHsA1 XqjhJktGNdEUwhFhqfMPt4LkUw4alXhXVgzkb3UQx2DpmyYRliaW3mQH0Tjs8CTm GZDzuaPPRyTXDQyY3YX722ly3vBYqKSnUdS/uhmcMDLqiFJMGNoRhcHnYQYi+RKj 1DkNdx1iLohBY8vCAhwVJVFS9a3t8giu4Ymmfq5InIMNluSx6EF7KG1d2UqqDkP9 65SvJuNK7do8G3ghFAi5shq3u0BAHzQTtNoP9Gq1ZLDbgBqCynsyBGjMS8Kvh9Y= =coyi
-----END PGP SIGNATURE-----
devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct