You are not logged in.
I am maintaining athcool in the AUR. It is an older piece of software which is i686 only. Recently, compiling it fails for reasons that are not obvious to me. Can someone with some more experience take a peek? I'd like to keep this obscure software for those running these older chips. Thanks.
Here is where it fails when building an arch32 chroot:
==> Starting build()...
gcc -O2 -Wall -I. -I/usr/include -DPACKAGE=\"athcool\" -DVERSION=\"0.3.12\" -c athcool.c -o athcool.o
gcc -O2 -Wall -I. -I/usr/include -DPACKAGE=\"athcool\" -DVERSION=\"0.3.12\" -c scanpci.c -o scanpci.o
athcool.c:63:21: fatal error: pci/pci.h: No such file or directory
compilation terminated.
Makefile:50: recipe for target 'athcool.o' failed
make: *** [athcool.o] Error 1
make: *** Waiting for unfinished jobs....
scanpci.c:9:21: fatal error: pci/pci.h: No such file or directory
compilation terminated.
Makefile:50: recipe for target 'scanpci.o' failed
make: *** [scanpci.o] Error 1
Last edited by graysky (2016-02-12 17:52:13)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
pci/pci.h seems to be in pciutils
Online
Thanks, Scimmia. That was the problem. Compiled for years without that.. I was combing through the Makefile looking for some reason.
% pkgfile pci.h
core/glibc
core/linux-api-headers
core/linux-headers
core/linux-lts-headers
core/pciutils
extra/linux-zen-headers
community/kernel-headers-musl
community/linux-grsec-headers
I assumed glibc.
Last edited by graysky (2016-02-12 17:51:46)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
[eschwartz@arch ~]$ pkgfile -vr pci/pci.h
core/pciutils 3.4.0-1 /usr/include/pci/pci.h
Makes it more immediately obvious which package you need.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
@Eschwartz. Good tip, thanks.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline