On 22/04/19 17:19, Damjan Marion wrote: > > >> On 22 Apr 2019, at 20:24, Renato Botelho do Couto <ren...@netgate.com> 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...
I will work on it and submit a patch. Thanks! -- Renato Botelho do Couto Software Engineer Netgate
-=-=-=-=-=-=-=-=-=-=-=- 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/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-