I've attempted to build and install math/R on my system using Synth. OpenMP is enabled in the port options. Based on the build logs for this package, the build and packaging processes were successful. However, the installation of
the resulting package did not occur. The following output was produced after Synth had completed the building process:
# synth install math/R
Stand by, recursively scanning 1 port serially.
Scanning existing packages.
R-3.6.2.txz failed dependency check.
Packages validated, rebuilding local repository.
Local repository successfully rebuilt
Updating Synth repository catalogue...
Fetching meta.txz: 100% 260 B 0.3kB/s 00:01
Fetching packagesite.txz: 100% 209 KiB 214.3kB/s 00:01
Processing entries: 100%
Synth repository update completed. 848 packages processed.
All repositories are up to date.
pkg: No packages available to install matching 'R-3.6.2' have been found in the repositories
Unfortunately, the system upgraded failed.
The following line was present near the end of the build logs for this port:
actual-package-depends: dependency on /usr/lib/libomp.so not registered (normal if it belongs to base)
My understanding is that openmp was added to the base system in 12.1. To me, this issue appears to be similar to the situation described at the two links below, where, as I understand, Synth is expecting to find a port that makes
this file available, but doesn't succeed since it's in base instead.
I should perhaps have noted that in the (apparently similar) cases at the links above, the suggestion was that the way in which the port dealt with this dependency was what was leading to the observed behaviour.