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
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!
(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.
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"
same here
The patch given above works for me. Thanks!
*** Bug 103231 has been marked as a duplicate of this bug. ***
That patch seems to solve this problem.
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
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.
*** Bug 103245 has been marked as a duplicate of this bug. ***
Nothing seem to be fixed, same error occurs with 0.1.6
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
*** Bug 103264 has been marked as a duplicate of this bug. ***
fixed in cvs