Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8856 - Cinelerra-1.0.0 emerge fails on libquicktime.a
Summary: Cinelerra-1.0.0 emerge fails on libquicktime.a
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 10310 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-07 12:09 UTC by David Wilde
Modified: 2003-05-13 15:41 UTC (History)
2 users (show)

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 David Wilde 2002-10-07 12:09:43 UTC
Cinelerra build fails on libquicktime.a  <snip> g++ -c `cat i686/c_flags` settings.C -o i686/settings.o g++ -c `cat i686/c_flags` vrender.C -o i686/vrender.o g++ -c `cat i686/c_flags` xmovie.C -o i686/xmovie.o g++ -o i686/xmovie `cat i686/libs` g++: ../quicktime/i686/libquicktime.a: No such file or directory make[1]: *** [i686/xmovie] Error 1 make[1]: Leaving directory `/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/xmovie' make: *** [all] Error 2  !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 4, Exitcode 2 !!! make failed </snip>  I have tried compiling this on two different machines with the same error.  I tried backgrounding the build and soft linking libquicktime.a from /usr/lib to the correct location, cinelerra will finish compiling, but the executable will not link.
Comment 1 Nick Hadaway 2002-10-09 01:46:38 UTC
what version of gentoo are you using gcc2 or gcc3?  processor type?  c[xx]flags?
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2002-10-09 04:06:29 UTC
Admin/Bugzilla ?

should be somethink like gentoo linux/ebuild
Comment 3 David Wilde 2002-10-09 10:52:01 UTC
Sorry, my bad, I was in a hurry when I submitted this.  Gcc 2.95.3, Gentoo 1.2, 
I'm thinking it's probably a gcc issue, because none of the libraries under 
xmovie are building.
Comment 4 Corvus 2002-10-09 11:00:58 UTC
i just succesfully compiled cinerella on a gcc 2.95.3 system, but cinerella  
has to be patched to do this, see bug  7499 for further details 
 
 
Corvus V Corax 
Comment 5 Nick Hadaway 2002-10-29 13:23:51 UTC
cinelerra is known by Gentoo users AND upstream not to build with gcc2.  There 
are no known fixes that allow this to build properly on gcc2.  It has been 
tested with good success on gcc3 systems to build without any problems.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2002-10-30 02:03:07 UTC
in that case,
maybe the ebuild should depend on gcc3 ?
Comment 7 SpanKY gentoo-dev 2002-11-05 23:41:12 UTC
*** Bug 10310 has been marked as a duplicate of this bug. ***
Comment 8 FieldySnuts 2002-11-06 19:41:40 UTC
I notice this is marked as resolved, and the Changelog says the ebuild now
depends on gcc3, but it doesn't appear to be using gcc3. I have both gcc2 and
gcc3 installed.

And I am getting the same error I was before, not finding libquicktime.a which I
haven't seen addressed at all yet.

g++ -o i686/xmovie `cat i686/libs`
g++: ../quicktime/i686/libquicktime.a: No such file or directory
make[1]: *** [i686/xmovie] Error 1
make[1]: Leaving directory
`/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/xmovie'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 4, Exitcode 2
!!! make failed
Comment 9 Nick Hadaway 2002-11-15 03:39:35 UTC
I have updated the cinelerra ebuild so that those of you with both gcc3 and gcc2
installed will use gcc3 to compile cinelerra... Please let me know if things
work for you.
Comment 10 FieldySnuts 2002-11-15 07:38:15 UTC
Sorry:

g++ -o i686/mix2000 \
        i686/main.o i686/mixer.o \
        ../guicast/i686/libguicast.a \
        ../quicktime/i686/libquicktime.a \
        -L/usr/X11R6/lib -lGL -lX11 -lXext -lXv -lpthread -lglib -lm -lpng -lz
-ldl -lXxf86vm
g++: ../quicktime/i686/libquicktime.a: No such file or directory
make[1]: *** [i686/mix2000] Error 1
make[1]: Leaving directory
`/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/mix'
make[1]: Entering directory
`/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/xmovie'
g++ -c `cat i686/c_flags` arender.C -o i686/arender.o
g++ -c `cat i686/c_flags` asset.C -o i686/asset.o
g++ -c `cat i686/c_flags` audiodevice.C -o i686/audiodevice.o
g++ -c `cat i686/c_flags` file.C -o i686/file.o
g++ -c `cat i686/c_flags` fileavi.C -o i686/fileavi.o
g++ -c `cat i686/c_flags` filebase.C -o i686/filebase.o
g++ -c `cat i686/c_flags` filemov.C -o i686/filemov.o
g++ -c `cat i686/c_flags` filempeg.C -o i686/filempeg.o
g++ -c `cat i686/c_flags` filesndfile.C -o i686/filesndfile.o
g++ -c `cat i686/c_flags` load.C -o i686/load.o
g++ -c `cat i686/c_flags` mainmenu.C -o i686/mainmenu.o
g++ -c `cat i686/c_flags` mwindow.C -o i686/mwindow.o
g++ -c `cat i686/c_flags` mwindowgui.C -o i686/mwindowgui.o
g++ -c `cat i686/c_flags` playbackengine.C -o i686/playbackengine.o
g++ -c `cat i686/c_flags` playbackscroll.C -o i686/playbackscroll.o
g++ -c `cat i686/c_flags` playlist.C -o i686/playlist.o
g++ -c `cat i686/c_flags` renderengine.C -o i686/renderengine.o
g++ -c `cat i686/c_flags` theme.C -o i686/theme.o
g++ -c `cat i686/c_flags` transportque.C -o i686/transportque.o
g++ -c `cat i686/c_flags` settings.C -o i686/settings.o
g++ -c `cat i686/c_flags` vrender.C -o i686/vrender.o
g++ -c `cat i686/c_flags` xmovie.C -o i686/xmovie.o
g++ -o i686/xmovie `cat i686/libs`
g++: ../quicktime/i686/libquicktime.a: No such file or directory
make[1]: *** [i686/xmovie] Error 1
make[1]: Leaving directory
`/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/xmovie'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 4, Exitcode 2
!!! make failed

# emerge info
Portage 2.0.43 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r6)
=================================================================
System uname: 2.4.19 i686 AuthenticAMD
USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses
pdflib qtmt quicktime spell truetype xml2 xmms xv arts berkdb cdr esd gdbm gif
gnome-libs gpm guile imlib java kde libwww motif mozilla nls oggvorbis opengl
pam perl png python qt readline scanner sdl slang ssl svga tcpd tetex tiff X gtk
gtk2 gnome gnome2 -alsa"
ARCH="x86"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mcpu=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -mcpu=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j3"
JDK_HOME="/opt/blackdown-jdk-1.3.1"
JAVA_HOME="/opt/blackdown-jdk-1.3.1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"


# gcc --version
2.95.3

# gcc-3.0 --version
3.0.4
(openoffice wants this)

# gcc-3.2 --version
gcc-3.2 (GCC) 3.2

Any other info you could use?
Comment 11 Nick Hadaway 2002-11-15 11:37:21 UTC
Hrm, the problem is it is still using gcc2 instead of gcc3...

While I updated the ebuild maybe you didn't catch the fix in your rsync?
you responded rather quickly. :)  
Comment 12 FieldySnuts 2002-11-15 11:51:15 UTC
Nope, I did an rsync immediately before trying again. As for the speed, I'm
using a dual XP 1800+ system with parallel makes, so it flies.

My only idea was that I had three versions of GCC installed: 2.95.3 , 3.04, and 3.2.

I got the smart idea to remove 3.04 by doing emerge -C gcc. Needless to say,
that was a serious mistake. To make a long story short, I had a 3.2 binary
package that I reinstalled and used that to compile 2.95.3. So now I only have
2.95.3 and 3.2.

Note that if I do gcc -V i get 2.95.3. To invoke 3.2 I need to actually use
"gcc-3.2".

Am I missing something?
Comment 13 FieldySnuts 2002-11-15 11:53:26 UTC
Whoops. I meant --version passed to gcc* not -V.
Comment 14 FieldySnuts 2002-11-15 11:54:45 UTC
Okay. I just tried emerging with only gcc 2.95.3 and 3.2 on my system. emerge of
cinelerra is failing at the same spot.
Comment 15 Nick Hadaway 2002-11-25 22:12:06 UTC
Added cinelerra-110802 to portage.  Currently doesn't compile.  Get some 
linking errors on gcc3 with this cinelerra ebuild as gcc2 users were getting 
with the prior version.  It has been added as a work in progress and marked -
x86 until compile issues can be worked out.
Comment 16 Mike R 2003-03-24 20:17:26 UTC
I have attached a patch that fixes the problem, at least with gcc3.
Comment 17 Mike R 2003-03-24 20:19:59 UTC
Whooops, seems like it attached it to bug 10898 for some reason...
Comment 18 Martin Holzer (RETIRED) gentoo-dev 2003-05-13 13:27:59 UTC
1.1.5 is in cvs
Comment 19 FieldySnuts 2003-05-13 15:41:49 UTC
Okay, I will look into that. I even see 1.1.6. 
 
Thanks for the work people, keep it up!