Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 773529

Summary: sys-libs/libstatgrab-0.92[examples] installs files to /
Product: Gentoo Linux Reporter: jannis <kripton>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 773202    
Attachments: emerge --info
build.log

Description jannis 2021-03-01 09:22:59 UTC
I just found out that I have strange files in my root folder:

momo / # ls -lha
insgesamt 1,3M
drwxr-xr-x  23 root root 4,0K 28. Feb 22:24 .
drwxr-xr-x  23 root root 4,0K 28. Feb 22:24 ..
drwxr-xr-x   2 root root 4,0K 27. Feb 23:27 bin
drwxr-xr-x   2 root root 4,0K 13. Sep 17:19 boot
-rw-------   1 root root 9,4M 14. Nov 18:12 core
-rw-r--r--   1 root root 3,9K 28. Feb 22:24 cpu_usage.c
drwxr-xr-x  19 root root  15K 27. Feb 00:12 dev
-rw-r--r--   1 root root 5,0K 28. Feb 22:24 disk_traffic.c
....

Checking the contents of the strange files, they seem to be related to a package called "statgrab". Running equery confirms this:

momo / # equery f sys-libs/libstatgrab
 * Searching for libstatgrab in sys-libs ...
 * Contents of sys-libs/libstatgrab-0.92:
/Makefile
/Makefile.am
/Makefile.in
/cpu_usage.c
.....


Build log will be attached

Reproducible: Always

Steps to Reproduce:
1. Install sys-libs/libstatgrab-0.92::gentoo
Comment 1 jannis 2021-03-01 09:25:28 UTC
Created attachment 688857 [details]
emerge --info
Comment 2 jannis 2021-03-01 09:26:02 UTC
Created attachment 688860 [details]
build.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-01 09:31:57 UTC
Thanks, let me poke.
Comment 4 Larry the Git Cow gentoo-dev 2021-03-01 09:59:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54d06b95e5bf0a3191d16208c3de655973d21a3d

commit 54d06b95e5bf0a3191d16208c3de655973d21a3d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-01 09:58:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-01 09:59:30 +0000

    sys-libs/libstatgrab: fix USE=examples
    
    Closes: https://bugs.gentoo.org/773529
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/libstatgrab/libstatgrab-0.92.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)