Hi, Under gentoo-prefix, iproute2 installs files outside of prefix and merge fails with: ``` * QA Notice: the following files are outside of the prefix: * /usr * /usr/share * /usr/share/bash-completion * /usr/share/bash-completion/completions * /usr/share/bash-completion/completions/tc * /usr/include * /usr/include/iproute2 * /usr/include/iproute2/bpf_elf.h * ERROR: sys-apps/iproute2-4.20.0::gentoo failed: * Aborting due to QA concerns: there are files installed outside the prefix ``` Reproducible: Always Steps to Reproduce: 1. emerge iproute2 under gentoo-prefix Actual Results: merge fails Expected Results: successful merge
Created attachment 563534 [details] build.log
Created attachment 563536 [details] emerge --info
Created attachment 563538 [details, diff] POC patch for iproute2-4.20.0 that fixes this problem
Hi, This bug is reproducible. While trying to install net-misc/x2goserver, the emerge failed due to an identical error in this bug. I could solve it using the modified .ebuild above. Thanks.
I can confirm the issue for the currently latest version 5.2.0. The issue is fixed after applying the POC patch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a83ec9671400d7ece89ed9dcbf5c70090afe15ac commit a83ec9671400d7ece89ed9dcbf5c70090afe15ac Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-08-24 13:58:51 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-08-24 13:58:51 +0000 sys-apps/iproute2: Fixed prefix installation Thanks-to: Susan Wilson <susanw@airmail.cc> Closes: https://bugs.gentoo.org/677126 Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-apps/iproute2/iproute2-4.19.0-r1.ebuild | 1 + sys-apps/iproute2/iproute2-5.1.0.ebuild | 1 + sys-apps/iproute2/iproute2-5.2.0.ebuild | 1 + sys-apps/iproute2/iproute2-9999.ebuild | 1 + 4 files changed, 4 insertions(+)