Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge pciutils-2.2.0-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
lancelott
Apprentice
Apprentice


Joined: 29 Mar 2005
Posts: 152

PostPosted: Fri Nov 18, 2005 11:16 pm    Post subject: Can't emerge pciutils-2.2.0-r1 Reply with quote

This is the problem I'm having:

Code:
>>> Install pciutils-2.2.0-r1 into /var/tmp/portage/pciutils-2.2.0-r1/image/ category sys-apps
make -C lib all
make[1]: Entering directory `/var/tmp/portage/pciutils-2.2.0-r1/work/pciutils-2.2.0/lib'
i686-pc-linux-gnu-gcc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline   -c -o access.o access.c
i686-pc-linux-gnu-gcc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline   -c -o generic.o generic.c
rm -f libpci.a
ar rcs libpci.a access.o generic.o dump.o names.o filter.o sysfs.o proc.o i386-ports.o
libpci.a
make[1]: libpci.a: Command not found
make[1]: *** [libpci.a] Error 127
make[1]: Leaving directory `/var/tmp/portage/pciutils-2.2.0-r1/work/pciutils-2.2.0/lib'
make: *** [lib/libpci.a] Error 2
!!! ERROR: sys-apps/pciutils-2.2.0-r1 failed.
!!! Function src_install, Line 57, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


It looks to me that it's a problem with libpci.a being on its own line, but why is it doing that? And how can I fix it? 2.1.x works.

Here is my emerge info:

Code:
 Gentoo Base System version 1.12.0_pre10
 Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 2.6.14-archck5 i686)
 =================================================================
 System uname: 2.6.14-archck5 i686 AMD Athlon(tm)
 ccache version 2.4 [enabled]
 dev-lang/python:     2.4.2
 sys-apps/sandbox:    1.2.13
 sys-devel/autoconf:  2.13, 2.59-r7
 sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
 sys-devel/binutils:  2.16.1, 2.16.91.0.4
 sys-devel/libtool:   1.5.20-r1
 virtual/os-headers:  2.6.11-r2
 ACCEPT_KEYWORDS="x86 ~x86"
 AUTOCLEAN="yes"
 CBUILD="i686-pc-linux-gnu"
 CFLAGS="-O2 -march=athlon-xp -fno-ident -fomit-frame-pointer -pipe"
 CHOST="i686-pc-linux-gnu"
 CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
 CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
 CXXFLAGS="-O2 -march=athlon-xp -fno-ident -fomit-frame-pointer -pipe"
 DISTDIR="/usr/portage/distfiles"
 FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms"
 GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
 MAKEOPTS="-j2"
 PKGDIR="/usr/portage/packages"
 PORTAGE_TMPDIR="/var/tmp"
 PORTDIR="/usr/portage"
 PORTDIR_OVERLAY="/usr/local/portage"
 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
 USE="x86 3dnow 3dnowext X a52 aac aalib acpi adns aim alsa async avi bash-completion berkdb bitmap-fonts blas bonobo browserplugin bzip2 cairo cdparanoia cdr cjk cli css cups curl dbus dvd dvdr dvdread effects encode erandom escreen fbcon ffmpeg firefox flac fortran ftp gdbm gif gimpprint glibc-omitfp glitz glut gnutls gpm gtk gtk2 hal i8x0 imagemagick imlib inkjar jabber javascript joystick jpeg kde kqemu live lm_sensors logitech-mouse lzo mad maildir matroska mikmod mmx mmxext mng mozdevelop moznocompose moznoirc moznomail mozsvg mp3 mpeg msn multislot musepack musicbrainz ncurses net nls no_wxgtk1 nocd nodrm nomac nomalloccheck nonfsv4 nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl oscar pam pango pcre perl plugin png pwlog python qt quicktime readline real rtc ruby samba sdl sftplogging slang sndfile speex spell sse ssl startup-notification svg syslog tabs tcltk theora tiff truetype truetype-fonts type1-fonts unicode urandom usb userlocales vcd vim-with-x vorbis win32codecs xanim xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc"

_________________
Desktop: AMD Athlon 64 3000+ @ 2.15GHz | 7600GT 256MB | 320GB + 250GB SATA 3.0 | Creative X-Fi XtremeGamer | Gentoo Linux amd64
Server: Intel Pentium 2 MMX 350MHz | 30GB HDD | Gentoo Linux x86
Back to top
View user's profile Send private message
lancelott
Apprentice
Apprentice


Joined: 29 Mar 2005
Posts: 152

PostPosted: Sat Nov 19, 2005 4:50 am    Post subject: Reply with quote

OK. I don't know HOW, but I got this to compile and install. But when I try again it keeps giving me this error. It's crazy. I don't really understand it...
_________________
Desktop: AMD Athlon 64 3000+ @ 2.15GHz | 7600GT 256MB | 320GB + 250GB SATA 3.0 | Creative X-Fi XtremeGamer | Gentoo Linux amd64
Server: Intel Pentium 2 MMX 350MHz | 30GB HDD | Gentoo Linux x86
Back to top
View user's profile Send private message
gorbag
n00b
n00b


Joined: 29 Apr 2004
Posts: 19

PostPosted: Sun Nov 27, 2005 6:17 pm    Post subject: Reply with quote

I suffered from the same problem. Examination of the Makefile (/var/tmp/portage/pciutils-2.2.0-r1/work/pciutils-2.2.0/lib/Makefile) showed that it was the line

$(RANLIB) $@

that wasn't working. It appears that $(RANLIB) is not being set in the configure process, causing the attempt to run libpci.a ($@)

I solved it by setting RANLIB, using export RANLIB=ranlib, before emerging pciutils.
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Tue Nov 29, 2005 9:58 pm    Post subject: Reply with quote

Unfortunately I could only solve the problem typing

Code:
echo ">=sys-apps/pciutils-2.2.0" >> /etc/portage/package.mask


and then emerged pciutils in a 2.1 version. That worked fine for me. Anyhow this does not really give me satisfaction. Hope it will be fixed, soon.
_________________
* Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1
Back to top
View user's profile Send private message
Jiffy
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2003
Posts: 86

PostPosted: Mon Dec 05, 2005 1:54 pm    Post subject: Reply with quote

Code:
RANLIB=ranlib emerge -uv sys-apps/pciutils
worked for me too (same as exporting it first).
Thanks for the tip, gorbag.
Back to top
View user's profile Send private message
papapenguin
l33t
l33t


Joined: 20 Sep 2005
Posts: 694
Location: Bellevue

PostPosted: Mon Jan 02, 2006 8:32 pm    Post subject: Reply with quote

I had the same problem with an Athlon-XP-M machine. The fix

RANLIB=ranlib emerge -uv sys-apps/pciutils

worked for me too.

I could then run coldplug.

Is this a problem with Athlon XP machines?
Back to top
View user's profile Send private message
ngl
n00b
n00b


Joined: 03 Jan 2006
Posts: 2

PostPosted: Tue Jan 03, 2006 11:20 pm    Post subject: Reply with quote

papapenguin wrote:
Is this a problem with Athlon XP machines?

I encountered this problem today on an x86 system while doing a fresh install from a pentium3 stage3 tarball and had success with
Code:
RANLIB="ranlib" emerge pciutils

So this does not appear to be Athlon XP specific.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum