Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103210 - media-libs/jpeg-mmx-0.1.6-r1 access/sandbox error, tries to write to live fs
Summary: media-libs/jpeg-mmx-0.1.6-r1 access/sandbox error, tries to write to live fs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 103231 103245 103264 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-20 23:56 UTC by Rumen Yotov
Modified: 2005-08-21 11:09 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rumen Yotov 2005-08-20 23:56:38 UTC
Hi,
While going up from media-libs/jpeg-mmx-0.1.6 to media-libs/jpeg-mmx-0.1.6-r1
received access violation (sandbox) error. Log below:
...BEGIN...
>>> Install jpeg-mmx-0.1.6-r1 into /var/tmp/portage/jpeg-mmx-0.1.6-r1/image/
category media-libs
/bin/install -c -m 644 jconfig.h /usr/include/jpeg-mmx/jconfig.h
ACCESS DENIED  open_wr:   /usr/include/jpeg-mmx/jconfig.h
/bin/install: cannot create regular file `/usr/include/jpeg-mmx/jconfig.h':
Permission denied
make: *** [install-headers] Error 1

!!! ERROR: media-libs/jpeg-mmx-0.1.6-r1 failed.
!!! Function src_install, Line 39, Exitcode 2
!!! headers
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-media-libs_-_jpeg-mmx-0.1.6-r1-28463.log"

open_wr:   /usr/include/jpeg-mmx/jconfig.h
--------------------------------------------------------------------------------
...END...
My understanding is that it's tring to write directly to LiveFS instead to an
image directory first.
Tried with FEATURES="-sandbox" ebuild ... w/o cleaning work dir - same error,
Now going it step by step (unpack, compile, install, qmerge, clean) after
cleaning the work dir. Done it same error in 'install' step.
Some more info:'cat
/var/log/sandbox/sandbox-media-libs_-_jpeg-mmx-0.1.6-r1-1321.log' --> "open_wr:
  /usr/include/jpeg-mmx/jconfig.h"
Thanks. Rumen

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 AMD Athlon(tm) XP 2200+
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control /var/service"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks enotice
flawfinder gpg rats sandbox sfperms test userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://files.gentoo.gr
http://mirror.etf.bg.ac.yu/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X X509 a52 aac acl acpi alsa apache2 avi bash-completion berkdb
bitmap-fonts caps cdb cdr crypt cups curl dvd dvdr eds encode esd evo exif
ffmpeg flac foomaticdb freetype gd gif gmp gnutls gpm gstreamer gtk gtk2 gtkhtml
hal iconv imagemagick imap imlib ipv6 ithreads javascript jpeg kdexdeltas lcms
libg++ libwww mad maildir matroska mikmod mime mmx motif mozilla mp3 mpeg mysql
ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pdflib perl png
posix postgres ppds prelude python quicktime readline ruby sdl skey slang speex
spell sse ssl svg svga symlink tcltk tcpd theora threads tiff transcode truetype
truetype-fonts type1-fonts unicode usb vhosts vorbis win32codecs xine xml2 xmms
xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Shane O'Donnell 2005-08-21 01:48:29 UTC
In /var/tmp/portage/jpeg-mmx-0.1.6-r1/work/jpeg-mmx/Makefile I think the 
following line  
 
includedir = /usr/include/jpeg-mmx 
 
should be 
 
includedir = ${prefix}/include/jpeg-mmx 
 
This works for me, although may not be the correct way to do things! 
Comment 2 Ruud Althuizen 2005-08-21 02:17:15 UTC
(In reply to comment #1)
> In /var/tmp/portage/jpeg-mmx-0.1.6-r1/work/jpeg-mmx/Makefile I think the 
> following line  
>  
> includedir = /usr/include/jpeg-mmx 
>  
> should be 
>  
> includedir = ${prefix}/include/jpeg-mmx 
>  
> This works for me, although may not be the correct way to do things! 
That also works for me, the only thing that doesn't happen that way is the
unmerge of media-libs/jpeg-mmx-0.1.6.
Comment 3 Guillaume Castagnino 2005-08-21 02:18:33 UTC
Using this work for me :
--- jpeg-mmx-0.1.6-r1.ebuild.old        2005-08-21 11:17:48.000000000 +0200
+++ jpeg-mmx-0.1.6-r1.ebuild    2005-08-21 11:16:13.000000000 +0200
@@ -27,7 +27,7 @@

 src_compile() {
        econf \
-               --includedir=usr/include/jpeg-mmx \
+               --includedir='${prefix}/include/jpeg-mmx' \
                --enable-shared \
                --enable-static \
                || die "configure failed"
Comment 4 Patrizio Bassi 2005-08-21 02:19:36 UTC
same here  
Comment 5 Jurek Bartuszek (RETIRED) gentoo-dev 2005-08-21 02:34:22 UTC
The patch given above works for me. Thanks!
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-21 07:26:25 UTC
*** Bug 103231 has been marked as a duplicate of this bug. ***
Comment 7 Michael Gisbers 2005-08-21 07:26:56 UTC
That patch seems to solve this problem. 
Comment 8 Rumen Yotov 2005-08-21 08:11:26 UTC
Hi,
Fixed for me too, only through manually editing the "Makefile" in work dir.
The patch failed (must be some mistake i made though).
As i see this bug is assigned "maintainer-needed" will close it (using
WORKFORME) as it's evidently solved, but if need be this could be
changed/reopened later.
Thanks. Rumen
Comment 9 Tony Vroon (RETIRED) gentoo-dev 2005-08-21 09:40:44 UTC
The -r1 release is in package.mask until this is solved. The 0.1.6 release has
been added to the tree to allow this.
Please do not resolve bugs until the solution is actually in the tree.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-08-21 09:53:59 UTC
*** Bug 103245 has been marked as a duplicate of this bug. ***
Comment 11 Luka Vuletic 2005-08-21 10:50:54 UTC
Nothing seem to be fixed, same error occurs with 0.1.6
Comment 12 Luka Vuletic 2005-08-21 10:58:51 UTC
To be more precise, including error and emerge --info

>>> Install jpeg-mmx-0.1.6 into /var/tmp/portage/jpeg-mmx-0.1.6/image/ category
media-libs
/bin/install -c -m 644 jconfig.h /usr/include/jpeg-mmx/jconfig.h
ACCESS DENIED  open_wr:   /usr/include/jpeg-mmx/jconfig.h
/bin/install: cannot create regular file `/usr/include/jpeg-mmx/jconfig.h':
Permission denied
make: *** [install-headers] Error 1

!!! ERROR: media-libs/jpeg-mmx-0.1.6 failed.
!!! Function src_install, Line 39, Exitcode 2
!!! headers
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-media-libs_-_jpeg-mmx-0.1.6-31250.log"

open_wr:   /usr/include/jpeg-mmx/jconfig.h
--------------------------------------------------------------------------------
blackhole luka # emerge --info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 AMD Athlon(tm)  3200+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fforce-addr
-maccumulate-outgoing-args -funroll-loops -mno-push-args"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fforce-addr
-maccumulate-outgoing-args -funroll-loops -mno-push-args"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
http://gentoo.mirror.solnet.ch http://mirror.etf.bg.ac.yu/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.math.bme.hu
http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.easynet.nl/mirror/gentoo/
http://ftp.du.se/pub/os/gentoo http://ftp.rhnet.is/pub/gentoo/
http://distfiles.gentoo.org http://www.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 acpi alsa apm avi bash-completion berkdb
bitmap-fonts cdda cddb cdr crypt css cups curl custom-cflags dga divx4linux dvd
dvdr dvdread emboss encode esd exif fam fame ffmpeg flac foomaticdb fortran ftp
gdbm gif gimpprint gpm gstreamer gtk gtk2 imagemagick imlib jpeg kde
kdeenablefinal lame libg++ libwww logitech-mouse mad mbox mikmod mjpeg mmx motif
mozsvg mp3 mpeg mplayer ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam
pdflib perl plugin png procmail python qt quicktime readline sdl slang spell sse
ssl subtitles tcpd tiff toolbar truetype truetype-fonts type1-fonts underscores
unicode userlocales v4l v4l2 vcd vorbis win32codecs xface xine xml2 xmms xv xvid
xvmc yv12 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 13 SpanKY gentoo-dev 2005-08-21 11:09:17 UTC
*** Bug 103264 has been marked as a duplicate of this bug. ***
Comment 14 SpanKY gentoo-dev 2005-08-21 11:09:51 UTC
fixed in cvs