You are not logged in.

#1 2012-02-26 01:56:13

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Glibc/gcc-libs dependencies off?

I keep getting annoying messages about gmp in my chroot. Mostly looks like this:

error: could not open file /var/lib/pacman/local/gmp-5.0.4-1/desc: No such file or directory
[snip]
expr: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory

This started to get me digging on my regular installation (which, up till the digging, worked just fine tongue).

So it turned out pacman thought gmp was installed (I fixed that). However, when I tell pacman to remove gmp (which seems to have been a pretty much low-level dependency at some point, but not anymore), this is what pacman suggests:

# pacman -Rsn gmp
checking dependencies...
warning: glibc is designated as a HoldPkg.
HoldPkg was found in target list. Do you want to continue? [y/N]

So just for kicks 'n' giggles I said yes. Of course that hosed my system, but the real question is (after multiple package database refreshes): is there something botched with packages depending on glibc? It's afaik *the* low-level C library, and just by tossing out gmp along it goes.

Just testing the waters and seeing if I did something wrong. Seems gcc-libs is in the same boat: very popular once, but now, not anymore. Removing gmp would dump gcc-libs as well.

To illustrate the case with the actual chroot output:

$ chrbuild32
Wachtwoord: 
==> Creating clean working copy...done
==> WARNING: Cannot find the git binary required to determine latest git revision.
==> Making package: crystalhd-git-lts 20120209-1 (Sun Feb 26 01:57:35 UTC 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
error: could not open file /var/lib/pacman/local/gmp-5.0.4-1/desc: No such file or directory
==> Installing missing dependencies...
resolving dependencies...
error: could not open file /var/lib/pacman/local/gmp-5.0.4-1/desc: No such file or directory
looking for inter-conflicts...

Targets (3): perl-error-0.17017-1  git-1.7.9.2-1  linux-lts-headers-3.0.22-1

Total Installed Size:   48.80 MiB

Proceed with installation? [Y/n] 
(3/3) checking package integrity                                                                                                                [########################################################################################] 100%
(3/3) loading package files                                                                                                                     [########################################################################################] 100%
(3/3) checking for file conflicts                                                                                                               [########################################################################################] 100%
warning: could not get filesystem information for /var/lib/nfs/rpc_pipefs: No such file or directory
warning: could not get filesystem information for /home/bla/media/films: No such file or directory
warning: could not get filesystem information for /home/bla/media/series: No such file or directory
warning: could not get filesystem information for /home/bla/media/documentaires: No such file or directory
warning: could not get filesystem information for /home/bla/media/mediadb: No such file or directory
warning: could not get filesystem information for /home/bla/.gvfs: No such file or directory
(3/3) checking available disk space                                                                                                             [########################################################################################] 100%
(1/3) installing linux-lts-headers                                                                                                              [########################################################################################] 100%
(2/3) installing perl-error                                                                                                                     [########################################################################################] 100%
(3/3) installing git                                                                                                                            [########################################################################################] 100%
Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn
    perl-mime-tools: git send-email
    perl-net-smtp-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    python2: various helper scripts
    subversion: git svn
    cvsps: git cvsimport
error: could not open file /var/lib/pacman/local/gmp-5.0.4-1/desc: No such file or directory
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to Linuxtv.org GIT server....
Cloning into 'crystalhd'...
==> Compiling kernel module...
expr: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
expr: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
expr: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
expr: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
expr: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
expr: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
expr: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory

The expr error keeps on coming (and actual compilation does not seem to progress).

Last edited by .:B:. (2012-02-26 01:59:17)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#2 2012-02-26 05:57:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,493
Website

Re: Glibc/gcc-libs dependencies off?

Something is wrong with you chroot...

error: could not open file /var/lib/pacman/local/gmp-5.0.4-1/desc: No such file or directory

That tells me you gmp install went astray...  Did you cancel mid upgarde/power off/run out of space? 

> pacman -Rsn gmp
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: cloog: requires gmp
:: coreutils: requires gmp
:: mpfr: requires gmp>=5.0
:: ppl: requires gmp>=5.0

I am guessing you have all these packages in your chroot, so if your system is letting you remove gmp there is something seriously screwed about your local database.

Offline

#3 2012-02-26 14:14:30

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Glibc/gcc-libs dependencies off?

I'll try re-installing gmp in the chroot again, see what that gives, thanks.

How about the glibc issue, which exists on the normal installation, not in the chroot?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2012-02-26 21:57:56

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,493
Website

Re: Glibc/gcc-libs dependencies off?

Not sure how you can remove glibc...

pacman -Qi glibc gives me:

Required By    : a52dec  alsa-lib  attr  babl  bash  binutils  bison  bzip2
                 calc  cdparanoia  coreutils  cracklib  device-mapper  dhcpcd
                 diffutils  eject  elfutils  eventlog  expat  faac  faad2
                 fakeroot  file  findutils  flex  foomatic-filters  fribidi
                 fuse  gawk  gcc-libs  gcc-snapshot  gdbm  gnuchess  grep  gsm
                 gzip  hspell  hyphen  idnkit  initscripts  iproute2  iptables
                 iputils  json-c  kbd  keyutils  kmod  libasyncns  libcap
                 libcap-ng  libcddb  libdatrie  libdrm  libdvdcss  libexif
                 libffi  libgpg-error  libgssglue  libice  libidn  libirman
                 libjpeg-turbo  libksba  libmad  libmikmod  libnl  libogg
                 libpcap  libpciaccess  libpipeline  libtasn1  libtextcat
                 libusb  libvpx  libxau  libxdmcp  lpsolve  lsof  m4  make
                 mkinitcpio-busybox  mlocate  mp3gain  nasm  ncurses  net-tools
                 nspr  openal  opencore-amr  optipng  orc  p11-kit  pam  patch
                 pciutils  perl  pixman  pkg-config  popt  ppp  pth  readline
                 recode  run-parts  sdl  sdparm  sg3_utils  sudo  sysfsutils
                 sysvinit  talloc  tar  usbutils  v4l-utils  valgrind  wget
                 which  x264  xf86-input-evdev  xvidcore  zlib

Offline

#5 2012-02-26 22:51:41

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Glibc/gcc-libs dependencies off?

Well, that's the whole issue. It gives nothing here. Looks like my system is pretty much hosed huh? I can't remember anything like that though - hangups or hard resets...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2012-02-26 22:58:53

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,493
Website

Re: Glibc/gcc-libs dependencies off?

Run "testdb" and see if it gives any output.

Offline

#7 2012-02-27 01:10:40

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Glibc/gcc-libs dependencies off?

Thanks, I'll get back to you.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2012-02-27 02:44:17

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Glibc/gcc-libs dependencies off?

Ok, here's the output:

The actual Arch Linux installation I'm running:

# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
[root@okeanos ~]# testdb
[root@okeanos ~]# pacman -Qi glibc
Name           : glibc
Version        : 2.15-6
URL            : http://www.gnu.org/software/libc
Licenses       : GPL  LGPL
Groups         : base
Provides       : None
Depends On     : linux-api-headers>=3.1.6  tzdata
Optional Deps  : None
Required By    : bash  gcc-libs  ncurses  readline
Conflicts With : None
Replaces       : None
Installed Size : 37496,00 KiB
Packager       : Allan McRae <allan@archlinux.org>
Architecture   : x86_64
Build Date     : di 14 feb 2012 07:12:42 CET
Install Date   : zo 26 feb 2012 03:46:56 CET
Install Reason : Installed as a dependency for another package
Install Script : Yes
Description    : GNU C Library

As for the chroot, testdb reported the same issue - gmp's description file missing (further investigation turns out the whole package was actually not installed). So that is fixed. The glibc issue on my real setup still puzzles me though...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB