On 04/22/2019 06:58 PM, Renato Botelho do Couto wrote:
On 22/04/19 17:19, Damjan Marion wrote:
On 22 Apr 2019, at 20:24, Renato Botelho do Couto <[email protected]> wrote:
Hello,
When I build vpp using 'make pkg-rpm' on a CentOS 7 without having
vpp-ext-deps installed it adds some includes to vpp-devel package that
makes it to conflict with rdma-core-devel and kernel-headers:
Transaction check error:
file /usr/include/infiniband from install of
vpp-devel-19.08-rc0~74_g99ad2fc3e.x86_64 conflicts with file from
package rdma-core-devel-17.2-3.el7.x86_64
file /usr/include/infiniband/verbs.h from install of
vpp-devel-19.08-rc0~74_g99ad2fc3e.x86_64 conflicts with file from
package rdma-core-devel-17.2-3.el7.x86_64
file /usr/include/rdma from install of
vpp-devel-19.08-rc0~74_g99ad2fc3e.x86_64 conflicts with file from
package rdma-core-devel-17.2-3.el7.x86_64
file /usr/include/rdma from install of
vpp-devel-19.08-rc0~74_g99ad2fc3e.x86_64 conflicts with file from
package kernel-headers-3.10.0-957.10.1.el7.x86_64
file /usr/include/rdma/ib_user_verbs.h from install of
vpp-devel-19.08-rc0~74_g99ad2fc3e.x86_64 conflicts with file from
package kernel-headers-3.10.0-957.10.1.el7.x86_64
Are these files supposed to be part of vpp-devel?
no
If vpp-ext-deps is installed on system during build these headers don't
end up on vpp-devel rpm.
Yes, not surprised. RPM packaging id not in great shape. Instead of respecting
cmake project components, it simply throws all .h files found in build tree
into vpp-devel package...
Will be great if somebody will pick it up and do it properly. I don't have much
interest in messing with RPMs...
We were focused on getting cmake support into downstream CentOS.
Yes, all header files are stuck in vpp-devel by default.
I think there should be a separate rpm for extensions and the spec file
should be modified as well.
Probably we should look into using cmake to build an rpm and devel rpm
for each ext component.
I will work on it and submit a patch. Thanks!
I will be happy to help and collaborate. Please add me to review on your
patch.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12837): https://lists.fd.io/g/vpp-dev/message/12837
Mute This Topic: https://lists.fd.io/mt/31300770/675058
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
--
*Thomas F Herbert*
NFV and Fast Data Planes
Networking Group Office of the CTO
*Red Hat*
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12844): https://lists.fd.io/g/vpp-dev/message/12844
Mute This Topic: https://lists.fd.io/mt/31300770/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-