Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44710 - Cinelerra 1.1.7 & 1.1.9 will not build binary.....
Summary: Cinelerra 1.1.7 & 1.1.9 will not build binary.....
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-14 16:25 UTC by hollywoodb
Modified: 2005-01-17 05:37 UTC (History)
1 user (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 hollywoodb 2004-03-14 16:25:35 UTC
this is kind of a repeat of 33048.... this is the output of emerge cinelerra:

make[3]: Leaving directory
`/var/tmp/portage/cinelerra-1.1.7/work/cinelerra-1.1.7/plugins/zoomblur'
make[2]: Leaving directory
`/var/tmp/portage/cinelerra-1.1.7/work/cinelerra-1.1.7/plugins'
make[1]: Leaving directory `/var/tmp/portage/cinelerra-1.1.7/work/cinelerra-1.1.7'
 
>>> Install cinelerra-1.1.7 into /var/tmp/portage/cinelerra-1.1.7/image/
category media-video
>>> dobin: making cinelerra executable...
install: cannot stat `cinelerra': No such file or directory
 
!!! ERROR: media-video/cinelerra-1.1.7 failed.
!!! Function src_install, Line 51, Exitcode 1
!!! cinelerra not built

I get the exact same error with 1.1.7 & 1.1.9....
I went into the work directory, ran 'make', and it seemed to compile fine. I did not 'make install'

Reproducible: Always
Steps to Reproduce:
1.emerge cinelerra
2.
3.
Comment 1 hollywoodb 2004-03-14 16:46:14 UTC
going into /var/tmp/portage/cinelerra-1.1.7/work/cinelerra-1.1.7
and running 'make', then using:
FEATURES="keepwork keeptemp" emerge cinelerra
will bring me straight to the same error above...
Comment 2 Luca Barbato gentoo-dev 2004-03-15 23:00:15 UTC
cinelerra is problematic: their makefiles won't stop on errors making fixing local problems a pain.
Comment 3 hollywoodb 2004-03-16 13:39:32 UTC
After reading that sometimes apps will not compile on AthlonXPs even at their default speed, I tried declocking my athlon 2100+ down to 1330 MHz just to see if it would solve the error, it didn't...

Is there a way to build the program correctly, and use the keepwork/keeptemp features so as to use the emerge command to install it?
Comment 4 Richard Westwell 2004-04-17 13:11:48 UTC
I had the same problem myself
I narrowed it down to the CFLAGS
normally I have the -mcpu setting set to pentium4 in /etc/make.conf
-mcpu=pentium4

I had to set this to i686 (-mcpu=i686) in order to get this build to work
as far as I can tell the -march setting is not important

it has something to do with the compilation of files within a subdirectory of the quicktime subdirectory within cinelerra
Comment 5 Craig Lawson 2004-04-25 22:51:07 UTC
I was able to build, but Cinelerra crashed when trying to render AVI format.

This Gentoo Forum thread put me on the right track:

  http://forums.gentoo.org/viewtopic.php?t=80970

Solution:
  Edit your /etc/make.conf and replace CFLAGS with simply "-O2".

I don't know why only this flag works, but it does.

It would be nice if the ebuild enforced this flag.

# emerge info
 
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-rc1)
=================================================================
System uname: 2.6.6-rc1 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
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="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://mirror.tucdemonic.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bonobo cdr crypt cups dga doc dvd dvdr emacs encode foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib jack java jikes jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl png ppds python quicktime readline scanner sdl slang spell sse ssl tcltk tcpd tiff truetype usb video_cards_radeon videos x86 xml2 xmms xv zlib"
 
Comment 6 Luca Barbato gentoo-dev 2005-01-17 05:37:33 UTC
please use cinelerra-cvs, cinelerra will be phased out soon. the cvs.cinelerra.org branch is more mantainable and seems working better.