First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 64829
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: SpanKY <vapier@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: huw jenkins <huwtjenkins@yahoo.co.uk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 64829 depends on: Show dependency tree
Bug 64829 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-09-21 02:47 0000
When I emerge svgalib (tried both 1.9.19-r1 and 1.9.18) the install fails
trying to write to /etc/ld.so.conf.

Reproducible: Always
Steps to Reproduce:
1. emerge svgalib


Actual Results:  
Installing shared library image as
/var/tmp/portage/svgalib-1.9.19-r1/image//usr/lib/libvga.so.1.9.19
/var/tmp/portage/svgalib-1.9.19-r1/image//usr/lib/libvgagl.so.1.9.19.
ACCESS DENIED  open_wr:   /etc/ld.so.conf
./fixldsoconf: line 6: /etc/ld.so.conf: Permission denied
make: *** [installsharedlib] Error 1

!!! ERROR: media-libs/svgalib-1.9.19-r1 failed.
!!! Function src_install, Line 103, Exitcode 2
!!! Failed to install svgalib!

--------------------------- ACCESS VIOLATION SUMMARY
---------------------------LOG FILE =
"/tmp/sandbox-media-libs_-_svgalib-1.9.19-r1-30669.log"

open_wr:   /etc/ld.so.conf
--------------------------------------------------------------------------------

Expected Results:  
installed svgalib

root@euphoria env.d # ls -l /etc/ld.so.conf
-rw-r--r--  1 root root 292 Sep 21 09:44 /etc/ld.so.conf

root@euphoria root # emerge info
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r1)
=================================================================
System uname: 2.6.8-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -Os -frename-registers -ftracer -mieee-fp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf
/etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -Os -frename-registers -ftracer -mieee-fp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/mirror/www.ibiblio.org/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
rsync://linux.rz.ruhr-uni-bochum.de/gentoo/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
rsync://ftp.join.uni-muenster.de/gentoo/
http://www.mirrorservice.org/sites/www.ibiblio.org/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="X acpi alsa avi berkdb bitmap-fonts crypt encode esd f77 foomaticdb gdbm
gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod mmx motif
mozcalendar
mozilla moznocompose moznoirc moznomail mpeg ncurses nls opengl pam pcmcia
pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcltk
tcpd tetex tiff truetype wmf x86 xml2 xmms xprint xv zlib"

------- Comment #1 From huw jenkins 2004-09-21 03:00:35 0000 -------
this is the problem:

during the build process a shell script called fixldsoconf is executed

This is shown below:
#!/bin/sh
if grep -q /usr/local/lib /etc/ld.so.conf
 then
  echo > /dev/null
 else
  echo /usr/local/lib >> /etc/ld.so.conf
 fi


I don't have  /usr/local/lib and so the build tries to add that line to /etc/ld.so.conf - hence the ACCESS violation. 

manually adding /usr/local/lib to /etc/ld.so.conf lets the emerge complete. 



------- Comment #2 From SpanKY 2004-09-23 18:07:52 0000 -------
you should have /usr/local/lib in your /etc/ld.so.conf since it comes from
/etc/env.d/00basic which comes from baselayout ...

added a patch to cvs to remove fixldsoconf

First Last Prev Next    No search results available      Search page      Enter new bug