Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New problem emerging avifile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
rberry88
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 86
Location: Arlington Heights, IL USA

PostPosted: Thu Apr 22, 2004 11:55 pm    Post subject: New problem emerging avifile Reply with quote

I'm trying to emerge K3B but it always fails with avifile problems. I've tried just emerge avifile and get the same result:

Code:
/usr/qt/3/bin/moc < codecdialog.h > codecdialog.moc
/usr/qt/3/bin/moc < okdialog.h > okdialog.moc
make[1]: *** [codecdialog.moc] Error 139
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [okdialog.moc] Error 139
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/libavqt'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.38.20030710 failed.
!!! Function src_compile, Line 146, Exitcode 2
!!! (no error message)



I've looked through the ebuild at line 146 and don't see anything out of the ordinary but I'm no expert:

Here is "nano -w +146 avifile-0.7.38.20030710.ebuild", I put stars *** next to line 146:

Code:
        sed -e "s:extern \"C\" void exit(int);:/* extern \"C\" void exit(int); */:" \
                < configure.orig > configure

        econf \
                --enable-samples \
                --disable-vidix \
                --with-fpic \
                --with-gnu-ld \
                --enable-lame-bin \
                ${myconf} || die
        emake || die                   <--- Line 146  ******
}

src_install() {
        dodir /usr/lib /usr/bin
        use avi && dodir /usr/lib/win32

        einstall || die


I searched these forums and tried the other solutions even though they didn't pertain to this error message but none of those worked either.

I'm stumped as to what really that line should be if it is wrong.

rberry88
Back to top
View user's profile Send private message
rberry88
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 86
Location: Arlington Heights, IL USA

PostPosted: Mon May 03, 2004 8:53 pm    Post subject: Reply with quote

I guess I'll submit a bug report for this since it is still giving me this error even after doing emerge sync.

rberry88
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Mon May 03, 2004 8:55 pm    Post subject: Reply with quote

What's the output of:

Code:
emerge info


:?:
_________________
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Back to top
View user's profile Send private message
rberry88
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 86
Location: Arlington Heights, IL USA

PostPosted: Tue May 04, 2004 11:11 pm    Post subject: Reply with quote

robmoss2k wrote:
What's the output of:

Code:
emerge info


:?:




Here is the results of emerge info:

Code:
root@pengy rberry88 # emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-rc1-mm1)
=================================================================
System uname: 2.6.6-rc1-mm1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://mirror.tucdemonic.org/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/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="3dnow X alsa apm arts avi berkdb cdr crypt cups dvd encode foomaticdb gdbm gif gpm gtk2 imlib jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"

root@pengy rberry88 #


Any help is appreciated. I would really like to give my new DVDRW drive a workout.

rberry88
Back to top
View user's profile Send private message
rberry88
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 86
Location: Arlington Heights, IL USA

PostPosted: Thu May 06, 2004 5:21 am    Post subject: Reply with quote

The saga continues. I did an emerge sync today and tried to install avifile again and this time it errors at line 149:

error:
Code:
make[1]: Entering directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/debian'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/debian'
Making all in libavqt
make[1]: Entering directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/libavqt'
/usr/qt/3/bin/moc < codecdialog.h > codecdialog.moc
/usr/qt/3/bin/moc < okdialog.h > okdialog.moc
make[1]: *** [codecdialog.moc] Error 139
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [okdialog.moc] Error 139
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/libavqt'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.38.20030710 failed.
!!! Function src_compile, Line 149, Exitcode 2
!!! (no error message)



And here is line 149 which appears to be the same place but how does it change lines?
Code:
        # Rather not use custom ones here .. build should set as high as
        # safe by itself.
        unset CFLAGS CXXFLAGS LDFLAGS CC CXX

        # Make sure we include freetype2 headers before freetype1 headers, else$
        # borks, bug #11941.
        export C_INCLUDE_PATH="${C_INCLUDE_PATH}:/usr/include/freetype2"
        export CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/usr/include/freetype2"

        # Fix qt detection
        cp configure configure.orig
        sed -e "s:extern \"C\" void exit(int);:/* extern \"C\" void exit(int); $
                < configure.orig > configure

        econf \
                --enable-samples \
                --disable-vidix \
                --with-fpic \
                --with-gnu-ld \
                --enable-lame-bin \
                ${myconf} || die
        emake || die                <----*************Line 149
}

src_install() {
        dodir /usr/lib /usr/bin
        use avi && dodir /usr/lib/win32


        einstall || die

        cd ${S}
        dodoc COPYING README INSTALL
        cd doc
        dodoc CREDITS EXCEPTIONS FreeBSD LICENSING TODO
        dodoc VIDEO-PERFORMANCE WARNINGS KNOWN_BUGS
}

pkg_postinst() {


I got to line number 149 by typing in:
Code:
nano -w +149 /usr/portage/media-video/avifile/avifile-0.7.38.20030710.ebuild


Any help?

rberry88
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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