Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453776 - sys-power/cpupower-3.8_rc4 should depend on sys-apps/pciutils - utils/helpers/amd.c:7:21: fatal error: pci/pci.h: No such file or directory
Summary: sys-power/cpupower-3.8_rc4 should depend on sys-apps/pciutils - utils/helpers...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-24 08:45 UTC by Mieszko Ślusarczyk
Modified: 2013-01-24 13:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mieszko Ślusarczyk 2013-01-24 08:45:39 UTC
sys-power/cpupower-3.8_rc4 fails to emerge without sys-apps/pciutils.
Please add a dependency on it.

Reproducible: Always

Steps to Reproduce:
1. emerge -av sys-power/cpupower
Actual Results:  
>>> Emerging (1 of 1) sys-power/cpupower-3.8_rc4
>>> Downloading 'http://distfiles.gentoo.org/distfiles/linux-3.8-rc4.tar.bz2'
--2013-01-24 09:32:18--  http://distfiles.gentoo.org/distfiles/linux-3.8-rc4.tar.bz2
Resolving distfiles.gentoo.org... 64.50.236.52, 140.211.166.134, 156.56.247.195, ...
Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 84590599 (81M) [application/x-bzip2]
Saving to: '/strg01/distribution/gentoo/distfiles/linux-3.8-rc4.tar.bz2'

100%[======================================>] 84,590,599   206KB/s   in 2m 7s  

2013-01-24 09:34:26 (648 KB/s) - '/strg01/distribution/gentoo/distfiles/linux-3.8-rc4.tar.bz2' saved [84590599/84590599]

 * linux-3.8-rc4.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking linux-3.8-rc4.tar.bz2 to /var/tmp/portage/sys-power/cpupower-3.8_rc4/work
>>> Source unpacked in /var/tmp/portage/sys-power/cpupower-3.8_rc4/work
>>> Preparing source in /var/tmp/portage/sys-power/cpupower-3.8_rc4/work/linux-3.8-rc4/tools/power/cpupower ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-power/cpupower-3.8_rc4/work/linux-3.8-rc4/tools/power/cpupower ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-power/cpupower-3.8_rc4/work/linux-3.8-rc4/tools/power/cpupower ...
make -j3 DEBUG=false V=1 CPUFREQ_BENCH=true NLS=true docdir=/usr/share/doc/cpupower-3.8_rc4/cpupower mandir=/usr/share/man libdir=/usr/lib64 AR=x86_64-pc-linux-gnu-ar CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-gcc STRIP=true 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'OPTIMIZATION=-march=core2 -O2 -pipe' 
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -DVERSION=\"3.8.0-rc4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"cpufreq@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -march=core2 -O2 -pipe -fomit-frame-pointer -fPIC -o lib/cpufreq.o -c lib/cpufreq.c
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -DVERSION=\"3.8.0-rc4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"cpufreq@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -march=core2 -O2 -pipe -fomit-frame-pointer -fPIC -o lib/sysfs.o -c lib/sysfs.c
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -DVERSION=\"3.8.0-rc4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"cpufreq@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -march=core2 -O2 -pipe -fomit-frame-pointer -I./lib -I ./utils -o utils/helpers/amd.o -c utils/helpers/amd.c
utils/helpers/amd.c:7:21: fatal error: pci/pci.h: No such file or directory
compilation terminated.
make: *** [utils/helpers/amd.o] Error 1
make: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -DVERSION=\"3.8.0-rc4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"cpufreq@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -march=core2 -O2 -pipe -fomit-frame-pointer -I./lib -I ./utils -o utils/helpers/topology.o -c utils/helpers/topology.c
In file included from utils/helpers/topology.c:19:0:
./utils/helpers/helpers.h:123:21: fatal error: pci/pci.h: No such file or directory
compilation terminated.
make: *** [utils/helpers/topology.o] Error 1
make: *** wait: No child processes.  Stop.


After installing sys-apps/pciutils (3.1.10) it compiles fine.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-01-24 13:57:09 UTC
thanks, added missing dep