Hi Damjan,

I've encountered non install-able rpm package was build after this changes.

$ make pkg-rpm
$ sudo rpm -Uvh vpp-*327_g004869d0*rpm
error: Failed dependencies:
        libsvm.so.18.10()(64bit) is needed by vpp-18.10-rc0~327_g004869d0.x86_64

Reason is built shared lib naming format was changed, that prevent from 
including package specified by spec file.
Before, lib are named like
"lib64/libsvm.so. *0.0.0* "
Now, named as
"lib64/libsvm.so. *18.10* "

Patch below works on my environment but not sure whether it's a right way to 
fix this.
diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec
index 555e9444..fd708f20 100644
--- a/extras/rpm/vpp.spec
+++ b/extras/rpm/vpp.spec
@@ -192,7 +192,7 @@ install -p -m 644 
%{_mu_build_dir}/../src/vpp/conf/80-vpp.conf %{buildroot}/etc/
 mkdir -p -m755 %{buildroot}%{_libdir}
 mkdir -p -m755 %{buildroot}/etc/bash_completion.d
 mkdir -p -m755 %{buildroot}/usr/share/vpp
-for file in $(find %{_mu_build_dir}/%{_vpp_install_dir}/*/lib* -type f -name 
'*.so.*.*.*' -print )
+for file in $(find %{_mu_build_dir}/%{_vpp_install_dir}/*/lib* -type f -name 
'*.so.*.*' -print )
 do
        install -p -m 755 $file %{buildroot}%{_libdir}
 done

Please advice.

Thanks,
Mori
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10382): https://lists.fd.io/g/vpp-dev/message/10382
Mute This Topic: https://lists.fd.io/mt/25155374/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to