Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466108 - =sys-process/numactl-2.0.8 installs empty /usr/bin/numastat file
Summary: =sys-process/numactl-2.0.8 installs empty /usr/bin/numastat file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://article.gmane.org/gmane.linux....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-16 14:17 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2013-04-20 04:16 UTC (History)
0 users

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


Attachments
numactl-2.0.8.ebuild.diff (numactl-2.0.8.ebuild.diff,838 bytes, patch)
2013-04-16 14:17 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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