[slurm-users] pkgconfig conflict
William Brown
william at signalbox.org.uk
Thu Dec 12 16:00:08 UTC 2019
Version 19.05.3-2
CentOS 7.7
I was wanting to install the slurm-devel RPM that I had built, but I get
this translation check error:
$ sudo yum localinstall
/home/apps/slurm/19.05/RPMS/slurm-devel-19.05.3-2.el7.x86_64.rpm
.
.
Transaction check error:
file /usr/lib64/pkgconfig from install of
slurm-devel-19.05.3-2.el7.x86_64 conflicts with file from package
pkgconfig-1:0.27.1-4.el7.x86_64
file /usr/lib64/pkgconfig from install of
slurm-devel-19.05.3-2.el7.x86_64 conflicts with file from package
MariaDB-devel-10.4.10-1.el7.centos.x86_64
Reading elsewhere on the Internet seems to suggest that the RPM shouldn't
include the directory itself:
$ rpm -qlp /home/apps/slurm/19.05/RPMS/slurm-devel-19.05.3-2.el7.x86_64.rpm
/usr/include/slurm
/usr/include/slurm/pmi.h
/usr/include/slurm/pmi2.h
/usr/include/slurm/slurm.h
/usr/include/slurm/slurm_errno.h
/usr/include/slurm/slurmdb.h
/usr/include/slurm/smd_ns.h
/usr/include/slurm/spank.h
/usr/lib64/pkgconfig <<<<<<<<<<<<<<<<<<<
/usr/lib64/pkgconfig/slurm.pc
Anyone else seen this?
I am not very familiar with building RPMs but it sounds as if it is
possible when building an RPM to put in the 'spec file' to tag some files
(and I guess directories) as 'noreplace'.
William
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20191212/7b1e75dc/attachment.htm>
More information about the slurm-users
mailing list