Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677126 - sys-apps/iproute2-4.20.0: files installed outside of prefix
Summary: sys-apps/iproute2-4.20.0: files installed outside of prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-02-02 19:14 UTC by Susan Wilson
Modified: 2019-08-24 13:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build-fail.log,130.03 KB, text/plain)
2019-02-02 19:15 UTC, Susan Wilson
Details
emerge --info (emerge.info,5.52 KB, text/plain)
2019-02-02 19:15 UTC, Susan Wilson
Details
POC patch for iproute2-4.20.0 that fixes this problem (iproute2-4.20.0.ebuild.patch,322 bytes, patch)
2019-02-02 19:16 UTC, Susan Wilson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Susan Wilson 2019-02-02 19:14:25 UTC
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
Comment 1 Susan Wilson 2019-02-02 19:15:05 UTC
Created attachment 563534 [details]
build.log
Comment 2 Susan Wilson 2019-02-02 19:15:37 UTC
Created attachment 563536 [details]
emerge --info
Comment 3 Susan Wilson 2019-02-02 19:16:41 UTC
Created attachment 563538 [details, diff]
POC patch for iproute2-4.20.0 that fixes this problem
Comment 4 Firas 2019-04-08 19:38:18 UTC
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.
Comment 5 Jan Breig 2019-08-24 13:44:42 UTC
I can confirm the issue for the currently latest version 5.2.0.
The issue is fixed after applying the POC patch.
Comment 6 Larry the Git Cow gentoo-dev 2019-08-24 13:59:10 UTC
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(+)