Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42965 - Kvim build error "ACCESS VIOLETION"
Summary: Kvim build error "ACCESS VIOLETION"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-26 02:16 UTC by Massimo Fidanza
Modified: 2004-07-06 04:53 UTC (History)
0 users

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 Massimo Fidanza 2004-02-26 02:16:03 UTC
During "emerge kvim" I get the following error

--------- ACCESS VIOLETION SUMMARY --------------
chmod /dev/pty/s2
-------------------------------------------------

Reproducible: Always
Steps to Reproduce:
1. emerge kvim

Actual Results:  
The build process fail

iconv -f iso-8859-2 -t cp1250 sk.po | \
        sed -e 's/charset=ISO-8859-2/charset=cp1250/' -e 's/# Original translati
ons/# Generated from sk.po, DO NOT EDIT/' > sk.cp1250.po
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.cp1250.mo sk.cp1250.po
1296 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
1282 translated messages, 3 untranslated messages.
make[2]: Leaving directory `/var/tmp/portage/kvim-6.2.14/work/kvim-6.2.14/src/po
'
make[1]: Leaving directory `/var/tmp/portage/kvim-6.2.14/work/kvim-6.2.14/src'
--------------------------- ACCESS VIOLATION SUMMARY ------------
---------------
LOG FILE = "/tmp/sandbox-app-editors_-_kvim-6.2.14-6289.log"

chmod:     /dev/pty/s2
-----------------------------------------------------------------------
---------



Gentoo Base System version 1.4.3.13
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r7)
=================================================================
System uname: 2.4.22-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1
/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla
/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/tex
mf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/plate
x/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif g
nome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod motif mozill
a mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres pytho
n qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 x
ml2 xmms xv zlib"
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2004-02-26 19:02:41 UTC
try adding:

    for file in /dev/pty/s* /dev/console; do
        addwrite $file
    done

to the src_compile() before myconf="--with-features etc"
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-03-01 13:28:55 UTC
I think there's already a bug open against portage for this...  Portage should be doing addwrite by default for /dev/pty/s*
Comment 3 Ciaran McCreesh 2004-07-06 04:53:13 UTC
Closing this, since the class contains a workaround. Please reopen if it still occurs.