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

Bug 425022

Summary: sys-apps/pciutils - lib/configure: Looking for access methods... Unfortunately, your OS is not supported by the PCI Library
Product: Gentoo Linux Reporter: DaboD <daiderek>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: this patch fix host parsing issue in lib/configure

Description DaboD 2012-07-06 09:41:11 UTC
Created attachment 317406 [details, diff]
this patch fix host parsing issue in lib/configure

>>> Emerging (1 of 1) sys-apps/pciutils-3.1.9-r2 for /opt/hec-mx53/debug/
 * pciutils-3.1.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
>>> Unpacking source...
>>> Unpacking pciutils-3.1.9.tar.gz to /var/tmp/portage/sys-apps/pciutils-3.1.9-r2/work
>>> Source unpacked in /var/tmp/portage/sys-apps/pciutils-3.1.9-r2/work
>>> Preparing source in /var/tmp/portage/sys-apps/pciutils-3.1.9-r2/work/pciutils-3.1.9 ...
 * Applying pciutils-3.1.7-install-lib.patch ...                         [ ok ]
 * Applying pciutils-3.1.7-fbsd.patch ...                                [ ok ]
 * Applying pciutils-3.1.9-static-pc.patch ...                           [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/pciutils-3.1.9-r2/work/pciutils-3.1.9 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/pciutils-3.1.9-r2/work/pciutils-3.1.9 ...
make -j8 HOST=arm-linux-gnueabi CROSS_COMPILE=arm-linux-gnueabi- CC=/opt/hec-mx53/debug/opt/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc DNS=yes IDSDIR=$(SHAREDIR)/misc MANDIR=$(SHAREDIR)/man PREFIX=/usr SHARED=yes STRIP= ZLIB=no PCI_COMPRESSED_IDS=0 PCI_IDS=pci.ids LIBDIR=${PREFIX}/lib 'OPT=-O2 -pipe -Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu' all 
cd lib && ./configure
Configuring libpci for your system... arm-linux-gnueabi  arm gnueabi
Looking for access methods... Unfortunately, your OS is not supported by the PCI Library
make -C lib all
/opt/hec-mx53/debug/opt/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -O2 -pipe -Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o lspci.o lspci.c
make[1]: Entering directory `/var/tmp/portage/sys-apps/pciutils-3.1.9-r2/work/pciutils-3.1.9/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/sys-apps/pciutils-3.1.9-r2/work/pciutils-3.1.9/lib'
/opt/hec-mx53/debug/opt/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -O2 -pipe -Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o ls-vpd.o ls-vpd.c
/opt/hec-mx53/debug/opt/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -O2 -pipe -Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o ls-caps.o ls-caps.c
/opt/hec-mx53/debug/opt/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -O2 -pipe -Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o ls-ecaps.o ls-ecaps.c
/opt/hec-mx53/debug/opt/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -O2 -pipe -Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o ls-kernel.o ls-kernel.c
/opt/hec-mx53/debug/opt/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -O2 -pipe -Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o ls-tree.o ls-tree.c
/opt/hec-mx53/debug/opt/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -O2 -pipe -Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o ls-map.o ls-map.c
/opt/hec-mx53/debug/opt/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -O2 -pipe -Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o common.o common.c
lspci.c: In function ‘main’:
lspci.c:917:21: error: expected ‘)’ before ‘PCILIB_VERSION’
Comment 1 SpanKY gentoo-dev 2012-07-06 14:58:56 UTC
you must post `emerge --info` with every bug report
Comment 2 DaboD 2012-07-10 09:18:23 UTC
$ emerge --info
Portage 2.1.11.4 (!/opt/hec-pg/portage/hec-profiles/profiles/products/hec-mx53-debug/stage4, gcc-4.6.3, glibc-2.15-r2, 3.4.4-gentoo i686)
=================================================================
System uname: Linux-3.4.4-gentoo-i686-Intel-R-_Core-TM-2_Quad_CPU_Q8400_@_2.66GHz-with-gentoo-2.1
Timestamp of tree: Wed, 04 Jul 2012 00:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p29
dev-lang/python:          2.6.7-r2, 2.7.3-r2, 3.1.5, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r6::hec
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.4
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo hec-pg_cross-toolchain hec
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu"
CHOST="arm-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CTARGET="arm-linux-gnueabi"
CXXFLAGS="-O2 -pipe -Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu"
DISTDIR="/var/lib/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y --deep"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles news nodoc noinfo parallel-fetch parallel-install parse-eapi-ebuild-head protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/share/man"
LANG="en_US.UTF-8"
LDFLAGS=""
MAKEOPTS="-j8"
PKGDIR="/opt/hec-pg/portage/packages/hec-mx53/debug"
PORTAGE_CONFIGROOT="/opt/hec-mx53/debug/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/lib/portage/gentoo"
PORTDIR_OVERLAY="/var/lib/portage/cross-toolchain /var/lib/portage/hec"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X arm drm egl elibc_glibc gles2 gtk3 jpeg kernel_linux minimal neon nocxx nptl opengl openvg pulseaudio systemd udev unicode userland_GNU xa xcb xinerama zlib" BOARDS="loco" INPUT_DEVICES="evdev keyboard mouse tslib" SOC="mx53" VIDEO_CARDS="fbdev mx53"
USE_PYTHON="2.7 3.1"
Unset:  CPPFLAGS, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Felix Janda 2015-11-19 04:09:08 UTC
Should be fixed with upstream commit 3c93f3c698c1ff444384b37f90e942243c1a7bbb (-> pciutils-3.4.0).