Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128399

Summary: moto4lin won't install (access violation)
Product: Gentoo Linux Reporter: Milo Thurston <thurston>
Component: New packagesAssignee: Carlos Silva (RETIRED) <r3pek>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Milo Thurston 2006-04-01 09:11:47 UTC
emerge --info:

Portage 2.1_pre7-r3 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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 /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=athlon -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/local/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-gnome-current /usr/local/bmg-main /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts atm avi berkdb bitmap-fonts crypt cups dri eds emboss encode esd fbcon foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pdflib perl png pppd python quicktime readline real sdl sse ssl tcltk tcpd truetype truetype-fonts type1-fonts vorbis win32codecs xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Milo Thurston 2006-04-01 09:13:03 UTC
The moto4lin ebuilds fail with the following message, whether or not 'FEATURES="-sandbox"' is used:

>>> Install moto4lin-0.3 into /usr/local/tmp/portage/moto4lin-0.3/image/ category app-mobilephone
( [ -d moto_ui ] && cd moto_ui ; grep "^qmake_all:" Makefile && make -f Makefile qmake_all; ) || true
( [ -d moto_ui ] && cd moto_ui ; make -f Makefile install; ) || true
make[1]: Entering directory `/usr/local/tmp/portage/moto4lin-0.3/work/moto4lin-0.3/moto_ui'
cp -f "moto4lin" "/usr/local/tmp/portage/moto4lin-0.3/image/../../../../../../../bin/moto4lin"
ACCESS DENIED  open_wr:   /bin/moto4lin
cp: cannot create regular file `/usr/local/tmp/portage/moto4lin-0.3/image/../../../../../../../bin/moto4lin': Permission denied
make[1]: [install_target] Error 1 (ignored)
make[1]: Leaving directory `/usr/local/tmp/portage/moto4lin-0.3/work/moto4lin-0.3/moto_ui'
>>> Completed installing moto4lin-0.3 into /usr/local/tmp/portage/moto4lin-0.3/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-mobilephone_-_moto4lin-0.3-12753.log"

open_wr:   /bin/moto4lin
--------------------------------------------------------------------------------

Comment 2 Carlos Silva (RETIRED) gentoo-dev 2006-04-03 02:22:00 UTC
can you please test the latest version? (moto4lin-0.3_p20051125)
Comment 3 Milo Thurston 2006-04-03 15:50:50 UTC
(In reply to comment #2)
> can you please test the latest version? (moto4lin-0.3_p20051125)

Here's the result:

>>> Install moto4lin-0.3_p20051125-r1 into /usr/local/tmp/portage/moto4lin-0.3_p20051125-r1/image/ category app-mobilephone
( [ -d moto_ui ] && cd moto_ui ; grep "^qmake_all:" Makefile && make -f Makefile qmake_all; ) || true
( [ -d moto_ui ] && cd moto_ui ; make -f Makefile install; ) || true
make[1]: Entering directory `/usr/local/tmp/portage/moto4lin-0.3_p20051125-r1/work/moto4lin-0.3_p20051125/moto_ui'
cp -f "moto4lin" "/usr/local/tmp/portage/moto4lin-0.3_p20051125-r1/image/../../../../../../../bin/moto4lin"
ACCESS DENIED  open_wr:   /bin/moto4lin
cp: cannot create regular file `/usr/local/tmp/portage/moto4lin-0.3_p20051125-r1/image/../../../../../../../bin/moto4lin': Permission denied
make[1]: [install_target] Error 1 (ignored)
ACCESS DENIED  mkdir:     /share
mkdir: cannot create directory `/usr/local/tmp/portage/moto4lin-0.3_p20051125-r1/image/../../../../../../../share': Permission denied
make[1]: *** [install_sharedfiles] Error 1
make[1]: Leaving directory `/usr/local/tmp/portage/moto4lin-0.3_p20051125-r1/work/moto4lin-0.3_p20051125/moto_ui'
>>> Completed installing moto4lin-0.3_p20051125-r1 into /usr/local/tmp/portage/moto4lin-0.3_p20051125-r1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-mobilephone_-_moto4lin-0.3_p20051125-r1-9527.log"

open_wr:   /bin/moto4lin
mkdir:     /share
Comment 4 Carlos Silva (RETIRED) gentoo-dev 2006-04-10 04:24:00 UTC
You have something really strange with your env. this is what i get (and installs fine):
>>> Install moto4lin-0.3_p20051125 into /var/tmp/portage/moto4lin-0.3_p20051125/image/ category app-mobilephone
( [ -d moto_ui ] && cd moto_ui ; grep "^qmake_all:" Makefile && make -f Makefile qmake_all; ) || true
( [ -d moto_ui ] && cd moto_ui ; make -f Makefile install; ) || true
make[1]: Entering directory `/var/tmp/portage/moto4lin-0.3_p20051125/work/moto4lin-0.3_p20051125/moto_ui'
cp -f "moto4lin" "/var/tmp/portage/moto4lin-0.3_p20051125/image//usr/bin/moto4lin"
cp -f "data/full.pat" "/var/tmp/portage/moto4lin-0.3_p20051125/image//usr/share/moto4lin/"
cp -f "data/j2me.pat" "/var/tmp/portage/moto4lin-0.3_p20051125/image//usr/share/moto4lin/"
make[1]: Leaving directory `/var/tmp/portage/moto4lin-0.3_p20051125/work/moto4lin-0.3_p20051125/moto_ui'
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/bin/moto4lin
>>> Completed installing moto4lin-0.3_p20051125 into /var/tmp/portage/moto4lin-0.3_p20051125/image/

Can you please disable userpriv and usersandbox from FEATURES and try again?
Comment 5 Carlos Silva (RETIRED) gentoo-dev 2006-05-29 15:30:40 UTC
Check last comment