Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild causing Access Violation only on new version
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Telexen
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 189

PostPosted: Mon Jan 21, 2008 11:02 pm    Post subject: ebuild causing Access Violation only on new version Reply with quote

I have an ebuild I pulled from a dev overlay for Elisa (media center software). The ebuild is for elisa-0.3.2, and since 0.3.3 is available I tried to just copy the ebuild. However, while installing using the ebuild with 0.3.2 works just fine, using 0.3.3 gives me an access violation error. Can someone point out to me why this is? Thanks

Here's the error:
Code:
>>> Completed installing elisa-0.3.3 into /var/tmp/portage/media-video/elisa-0.3.3/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-29481.log"

open_wr:   /root/.gstreamer-0.10/registry.x86_64.xml.tmpWZUE5T
mkdir:     /root/.gstreamer-0.10
open_wr:   /root/.gstreamer-0.10/registry.x86_64.xml.tmpXAXE5T
--------------------------------------------------------------------------------


and here's the ebuild:
Code:
# Copyright 2006-2007 BreakMyGentoo.org
    # Distributed under the terms of the GNU General Public License v2
    
    inherit distutils python
    
    DESCRIPTION="Elisa is an open source, cross platform media center solution for Linux, MacOSX and Windows on top of GStreamer."
    HOMEPAGE="http://elisa.fluendo.com/"
    SRC_URI="http://elisa.fluendo.com/static/download/${PN}/${P}.tar.gz"
    
    RESTRICT="nomirror"
    
    LICENSE="GPL-2"
    SLOT="0"
    KEYWORDS="-* ~amd64 ~ppc ~x86"
    IUSE="daap doc dvd ipod lirc upnp"
    
    MAKEOPTS="-j1"
    
    RDEPEND=">=dev-lang/python-2.4
            dev-python/setuptools
           >=dev-python/imaging-1
                >=dev-python/twisted-2.2
           dev-python/twisted-web
           dev-python/gnome-python-extras
           >=media-libs/gstreamer-0.10.4
           >=dev-python/gst-python-0.10
           >=media-plugins/gst-plugins-ogg-0.10
           >=media-plugins/gst-plugins-vorbis-0.10
           >=media-plugins/gst-plugins-theora-0.10
           >=media-libs/pigment-0.3
           >=dev-db/sqlite-3.2.8
           >=dev-python/pysqlite-2.0.5
           dev-python/ctypes
           upnp? (
                   dev-python/elementtree
                   dev-python/celementtree
                   dev-python/soappy
           )
           dvd? (
                   media-libs/libdvdcss
                    >=media-plugins/gst-plugins-ffmpeg-0.10
                    >=media-libs/gst-plugins-bad-0.10
                    >=media-libs/gst-plugins-ugly-0.10
                    dev-python/tagpy
            )
            lirc? (
                    app-misc/lirc
                    dev-python/pylirc
            )
            daap? (
                    dev-python/PythonDaap
                    >=sys-apps/dbus-1
                    >=dev-python/dbus-python-0.71
                    >=net-dns/avahi-0.6
            )
            ipod? (
                    media-libs/libgpod
                    >=sys-apps/dbus-1
                    >=dev-python/dbus-python-0.71
                    >=sys-apps/hal-0.5
            )"
    
    
    DEPEND="${DEPEND}
            >=dev-util/pkgconfig-0.9"
    
    DOCS="AUTHORS ChangeLog COPYING NEWS"
    
    pkg_setup() {
            if use daap ; then
                    if built_with_use net-dns/avahi python ; then
                            einfo "Avahi Python bindings found ..."
                    else
                            eerror "Please rebuild net-dns/avahi with python support enabled!"
                            eerror "Try USE=\"python\" emerge net-dns/avahi,"
                            eerror "or add \"python\" to your USE string in /etc/make.conf and"
                            eerror "emerge net-dns/avahi."
                            die "USE flag \"python\" must be enabled in net-dns/avahi"
                    fi
            fi
    
    
            if use ipod ; then
                    if built_with_use media-libs/libgpod python ; then
                            einfo "libgpod Python bindings found ..."
                    else
                            eerror "Please rebuild media-libs/libgpod with python support enabled!"
                            eerror "Try USE=\"python\" emerge media-libs/libgpod,"
                            eerror "or add \"python\" to your USE string in /etc/make.conf and"
                            eerror "emerge media-libs/libgpod."
                            die "USE flag \"python\" must be enabled in media-libs/libgpod"
                    fi
            fi
    }
    
    pkg_postinst() {
    
            einfo "After first run of the box, edit elisa.conf and add some media"
            einfo "locations in [movies], [music] and [pictures] config sections"
           einfo "e.g."
            einfo "[plugins.pictures]"
            einfo "locations = ['file://./sample_data/pictures',]"
            einfo ""
            einfo "[plugins.movies]"
            einfo "locations = ['file://./sample_data/movies', 'file:///data/movies/', 'smb://mediaserver/movies/']"
            einfo ""
            einfo "[plugins.music]"
            einfo "locations = ['file://./sample_data/music', 'file:///data/music/']"
    
    }
Back to top
View user's profile Send private message
ZmiyGorinich
Guru
Guru


Joined: 27 Feb 2004
Posts: 369
Location: Zaporizhzhe, Ukraine

PostPosted: Tue Jan 22, 2008 1:52 pm    Post subject: Reply with quote

I have same problem too
_________________
Home: Athlon XP 2000+, ATI Radeon 9200 64Mb, 512Mb, hda:40Gb, hdb:120Gb, DVD-RW
Work : Duron 1.4, S3 ProSavage8 32Mb, 512Mb, hda:40Gb, CD-RW
Design, programming, hosting
Back to top
View user's profile Send private message
salog
n00b
n00b


Joined: 14 Feb 2004
Posts: 10

PostPosted: Tue Jan 22, 2008 6:05 pm    Post subject: Reply with quote

This problem resolved for me after updating to portage-2.1.4
If it works for you, consider changing subject to (solved).
Back to top
View user's profile Send private message
ZmiyGorinich
Guru
Guru


Joined: 27 Feb 2004
Posts: 369
Location: Zaporizhzhe, Ukraine

PostPosted: Tue Jan 22, 2008 9:47 pm    Post subject: Reply with quote

Working now.

Thanks
_________________
Home: Athlon XP 2000+, ATI Radeon 9200 64Mb, 512Mb, hda:40Gb, hdb:120Gb, DVD-RW
Work : Duron 1.4, S3 ProSavage8 32Mb, 512Mb, hda:40Gb, CD-RW
Design, programming, hosting
Back to top
View user's profile Send private message
dave_p_b
n00b
n00b


Joined: 07 Jul 2007
Posts: 2

PostPosted: Tue Jan 22, 2008 11:57 pm    Post subject: Reply with quote

Hi

Updating portage didn't work for me at all. I still got the same error messages.
A work around for me was to do FEATURES="-sandbox" emerge elisa.

Maybe this might help someone in a similar situation :)

All the best

Dave
Back to top
View user's profile Send private message
jsteidl
n00b
n00b


Joined: 19 Jun 2005
Posts: 9

PostPosted: Wed Jan 23, 2008 10:30 am    Post subject: Reply with quote

I've got the same problem with elisa-0.3.3 as dave_p_b. FEATURES="-sandbox" is a way to overcome the "bug" but the question is why is the ebuild writing in /root/*

anyway, it works like this until it is fixed :)
_________________
Jabber / Mail: johannes@jsteidl.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum