Thank you for elaborating.

I was able to verify all that you presented so nicely - that said I'm
good changing that in the packaging.

I checked where it comes from, and the TL;DR is that dpdk install-sdk target 
itself is creating this symlink via:
$(Q)$(call rte_symlink, $(DESTDIR)$(libdir),     $(DESTDIR)$(targetdir)/lib)

But it does not know about multiarch spec.
That is only added later when moving the files into packages:
LIBDIR=usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
[...]
mv debian/dpdk/usr/lib/lib*.a debian/libdpdk-dev/$(LIBDIR)/
(and similar)

The headers don't have an multiarch difference so that is only true for the lib 
dir.
Everything else works fine with it - juts the lib symlink as you identified is 
after this move pointing to the wrong subdir.

>From package build log (to verify the intended change is actually happening)
Current:
./usr/share/dpdk/x86_64-default-linuxapp-gcc/lib -> ../../../lib
With change:
./usr/share/dpdk/x86_64-default-linuxapp-gcc/lib -> 
../../../lib/x86_64-linux-gnu

Since we are working together with other partners on that in the deb_dpdk 
project I submitted a change as for review and integration there: 
https://gerrit.fd.io/r/#/c/4548
>From there it will tickle down back to Ubuntu.

Since this is not the most common case and easily workaroundable by
manually modifying the symlink I'm not sure yet if it would be worth an
SRU into existing releases.

Thank you a lot for your report Patrick and your preanalysis what is the issue.
Please let me know if you consider the bug more urgent than I do.

** Changed in: dpdk (Ubuntu)
       Status: Incomplete => Triaged

** Changed in: dpdk (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1653179

Title:
  dpdk-dev incorrect symlink under $RTE_SDK

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1653179/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to