Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30045 - smarteiffel ebuild stops src_compile with permission denied
Summary: smarteiffel ebuild stops src_compile with permission denied
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-30 23:31 UTC by Kurt Hindenburg
Modified: 2003-10-22 10:25 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 Kurt Hindenburg 2003-09-30 23:31:34 UTC
Running latest Gentoo as of now.

% emerge smarteiffel
[...]
SmartEiffel installation done.
rm -f ./install
/usr/sbin/ebuild.sh: line 38: index.html: Permission denied
 
!!! ERROR: dev-lang/smarteiffel-1.0_beta5 failed.
!!! Function src_compile, Line 38, Exitcode 1
!!! (no error message)
 
% emerge -V
Portage 2.0.49-r3-k2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7)



Reproducible: Always
Steps to Reproduce:
1.emerge smarteiffel
2.
3.
Comment 1 Kurt Hindenburg 2003-10-06 11:00:25 UTC
Removing userpriv from /etc/make.conf allows the ebuild to work.

I should have thought of that earlier.
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2003-10-06 11:10:58 UTC
Yes, it will, but this still means the build process is broken and some fiddling
is required in ebuild :(.
I'll try to get to this one soon. Meanwhile could you please post output
of your "emerge info" please?

George
Comment 3 Kurt Hindenburg 2003-10-06 22:09:34 UTC
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test6)
=================================================================
System uname: 2.6.0-test6 i686 AMD Duron(tm) processor
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache notitles"
GENTOO_MIRRORS="ftp://gentoo.noved.org/ http://gentoo.noved.org/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/dev/shm/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ libwww mad mikmod
mpeg ncurses pdflib png quicktime spell xml2 xmms xv zlib gdbm berkdb slang
arts svga sdl gpm tcpd pam perl python esd imlib qt kde opengl mozilla X
alsa ssl truetype gtk2 -gtk mmx 3dnow cups maildir oggvorbis ruby readline
-nls -java -motif cdr -gnome"
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2003-10-16 20:20:45 UTC
Hi Kurt

I have just added the 1.1 version to portage. Its build procedure has changed
quite a bit, so, lacking a submission of ebuild I got at creating one only
now.
Testing is very welcome!
Actually with all the changes it is likely to not have this problem you encoutered.

George
Comment 5 Kurt Hindenburg 2003-10-19 16:04:03 UTC
1.1.ebuild works fine.  Thanks!

FEATURES="sandbox ccache userpriv notitles"
Comment 6 Kurt Hindenburg 2003-10-22 10:25:01 UTC
George, the final installation is not quite correct.  In /usr/lib/SmartEiffel/SmartEiffel.conf
some of the variables are not set correctly which prevents compling eiffel
programs.

As you can see, my TMPDIR is /dev/shm/

As installed:
bin: /dev/shm/portage/smarteiffel-1.1/work/SmartEiffel/bin/
sys: /dev/shm/portage/smarteiffel-1.1/work/SmartEiffel/sys/
short: /dev/shm/portage/smarteiffel-1.1/work/SmartEiffel/short/

Should be :
bin: /usr/bin/
sys: /usr/lib/SmartEiffel/sys/
short: not sure

Also, further down in the file

As installed:
lib: /dev/shm/portage/smarteiffel-1.1/work/SmartEiffel/lib/loadpath.se
tools: /dev/shm/portage/smarteiffel-1.1/work/SmartEiffel/tools/loadpath.se
tutorial: /dev/shm/portage/smarteiffel-1.1/work/SmartEiffel/tutorial/loadpath.se

Should be:
lib: /usr/lib/SmartEiffel/lib/loadpath.se
tools: /usr/lib/SmartEiffel/tools/loadpath.se
tutorial: not sure

Changing these variables allows compile_to_c to work correctly.