Description of problem: Installation of add-ons by calling "pack_install(AddOnName)." fails with a Prolog exception because library archive is not contained by pl package - presumably because of a build problem. Version-Release number of selected component (if applicable): 6.6.6-4.fc21.x86_64 How reproducible: Always Steps to Reproduce: 1. Call swipl 2. ?- pack_install(function_expansion). Actual results: Contacting server at http://www.swi-prolog.org/pack/query ... ok Install function_expansion.2 from http://packs.ndrix.com/function_expansion/function_expansion-0.1.2.tgz Y/n? ERROR: library `archive' does not exist Exception: (10) prolog_pack:pack_archive_info('/home/achim/lib/swipl/pack/Downloads/function_expansion-0.1.2.tgz', function_expansion, _G4039, _G4040) ? Expected results: Pack 'function_expansion' gets downloaded and installed. Additional info: Following files, necessary for downloading add-ons, are missing in package 'pl': /usr/lib64/pl-6.6.6/library/archive.pl /usr/lib64/pl-6.6.6/lib/x86_64-linux/archive4pl.so Perhaps SWI-Prolog's package 'archive' is not properly compiled or skipped during build process.
Created attachment 995314 [details] Proposed patch to fix the problem I.M.H.O libarchive-devel is missing in the BuildRequirements. After adding this build requirement, a new build in a mock environment should add the missing files: /usr/lib64/swipl-6.6.6/lib/x86_64-linux/archive4pl.so /usr/lib64/swipl-6.6.6/library/archive.pl
Thank you for the report. Indeed the patch fixes it. I will update the pl package.
pl-6.6.6-5.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/pl-6.6.6-5.fc22
pl-6.6.6-5.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/pl-6.6.6-5.fc21
pl-6.4.1-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/pl-6.4.1-2.fc20
Package pl-6.6.6-5.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pl-6.6.6-5.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-2784/pl-6.6.6-5.fc22 then log in and leave karma (feedback).
pl-6.6.6-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
pl-6.6.6-5.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
pl-6.4.1-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.