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

Bug 466108

Summary: =sys-process/numactl-2.0.8 installs empty /usr/bin/numastat file
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://article.gmane.org/gmane.linux.kernel.numa/808
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: numactl-2.0.8.ebuild.diff

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-04-16 14:17:14 UTC
Created attachment 345696 [details, diff]
numactl-2.0.8.ebuild.diff

See URL

# stat `which numastat` | head -n2
  File: ‘/usr/bin/numastat’
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file


Please also note that numastat no longer is a perl script but a regular C file. Attached is a patch that removes the dependency on perl from the ebuild and removes the empty numastat file from sources.
Comment 1 SpanKY gentoo-dev 2013-04-20 03:58:06 UTC
Comment on attachment 345696 [details, diff]
numactl-2.0.8.ebuild.diff

> src_prepare() {
> 	echo "printf $(get_libdir)" > getlibdir
> 	epatch "${FILESDIR}"/${PN}-2.0.8-static_libs.patch
>+
>+	# remove empty numactl file so it gets recreated correctly
>+	rm -f "${S}"/numastat

default dir is ${S}, so no need for abs path
Comment 2 SpanKY gentoo-dev 2013-04-20 04:16:05 UTC
should be all set now in the tree; thanks for the report!

Commit message: Fix build of numastat
http://sources.gentoo.org/sys-process/numactl/numactl-2.0.8-r1.ebuild?rev=1.1