I am trying to make an ebuild for the Scheme implementation Scheme 48. I got it to build, but not to install. The problem is that s48's Makefile doesn't respect DESTDIR=${D} and tries to install directly on /usr making an access viosation (I am using the sandbox): >>> Install scheme48-1.3 into /var/tmp/portage/scheme48-1.3/image/ category dev-lisp for dir in /usr/lib /usr/bin /usr/include; do \ ./mkinstalldirs $dir || exit 1; \ done ./mkinstalldirs /usr/lib/scheme48 mkdir -p -- /usr/lib/scheme48 ACCESS DENIED mkdir: /usr/lib/scheme48 mkdir: cannot create directory `/usr/lib/scheme48': Permission denied make: *** [dirs] Error 1 man: prepallstrip: strip: i686-pc-linux-gnu-strip --strip-unneeded >>> Completed installing scheme48-1.3 into /var/tmp/portage/scheme48-1.3/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-dev-lisp_-_scheme48-1.3-18785.log" mkdir: /usr/lib/scheme48 -------------------------------------------------------------------------------- Reproducible: Always Steps to Reproduce: 1. 2. 3. # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.12-suspend2-r6 i686) ================================================================= System uname: 2.6.12-suspend2-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 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.6 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=pentium4 -O2 -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 /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/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.datapipe.net/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.arcticnetwork.ca/ http://www.las.ic.unicamp.br/pub/gentoo/" LC_ALL="en_US.utf8" LINGUAS="en es eo io" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 X Xaw3d a52 aac acpi alsa apache2 apm arts audiofile avi bash-completion bcmath bdf berkdb bitmap-fonts bzip2 calendar cdb cdparanoia cdr crypt cscope ctype cups curl curlwrappers dba dbus dbx dga directfb divx4linux dts dv dvb dvd dvdr dvdread eds emacs emboss encode esd ethereal exif expat fam fame fbcon ffmpeg flac flash foomaticdb fortran fpx ftp gcj gd gdbm gif gimpprint glitz gnome gpm graphviz gstreamer gtk gtk2 guile hal i8x0 iconv ieee1394 imagemagick imap imlib inifile innodb ipv6 jabber jack javascript joystick jpeg jpeg2k kde kdeenablefinal lcms ldap ldb leim libg++ libwww live lm_sensors logitech-mouse logrotate lzo mad maildir matroska mbox mcal mhash mikmod mime mjpeg mmx mng motif mozilla mp3 mpeg musicbrainz mysql mysqli nas ncurses network nls objc ogg oggvorbis openal opengl oss pam pcmcia pcre pda pdflib perl php plotutils png portaudio posix postgres ppds python qt quicktime rdesktop readline real rrdtool samba sasl scanner sdl sensord session sharedext shorten simplexml slang slp smime sndfile sockets speex spell spl sql sqlite sse ssl subversion svg svga symlink tcpd tetex tga theora threads tidy tiff truetype truetype-fonts trutype type1-fonts unicode usb v4l v4l2 vcd vhosts videos vidix vim-with-x vorbis wifi win32codecs wmf xine xinerama xml xml2 xmlrpc xosd xpm xprint xsl xv xvid xvmc yv12 zeo zeroconf zlib linguas_en linguas_es linguas_eo linguas_io userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS
Created attachment 67122 [details] Non working ebuild for Scheme48
(In reply to comment #0) > I am trying to make an ebuild for the Scheme implementation Scheme 48. > I got it to build, but not to install. The problem is that s48's Makefile > doesn't respect DESTDIR=${D} and tries to install directly on /usr making an > access viosation (I am using the sandbox): Did you try to work around the broken makefile using einstall? It's an acceptable solution in these cases. Wrt the doc use flags, yes, you should put it in IUSE and modify the ebuild if the documentation is heavy. :) Please, try to fix the ebuild and reopen then.
Meanwhile, marking CANTFIX, we cannot put ebuilds that break sandbox into portage.
I am working re-writting part of this ebuild at the moment.
(In reply to comment #4) > I am working re-writting part of this ebuild at the moment. So please reopen after you have attached a fixed ebuild.
reopening
*** This bug has been marked as a duplicate of bug 60611 ***