Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116179 - cinelerra-cvs-20051005 build fails (fourier library)
Summary: cinelerra-cvs-20051005 build fails (fourier library)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Marc Hildebrand (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-20 07:56 UTC by Milosz Kosobucki
Modified: 2006-03-05 09:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild with fixed dependencies (cinelerra-cvs-20051005.ebuild,1.87 KB, text/plain)
2005-12-24 05:50 UTC, Milosz Kosobucki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milosz Kosobucki 2005-12-20 07:56:36 UTC
Latest cinelerra-cvs package fails with the following output:

make[4]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20051005/work/cinelerra-cvs-20051005/plugins/suv'
make[3]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20051005/work/cinelerra-cvs-20051005/plugins/suv'
Making all in libfourier
make[3]: Entering directory `/var/tmp/portage/cinelerra-cvs-20051005/work/cinelerra-cvs-20051005/plugins/libfourier'
if /bin/sh ../../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../guicast -I../../cinelerra  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -MT fourier.lo -MD -MP -MF ".deps/fourier.Tpo" \
  -c -o fourier.lo `test -f 'fourier.C' || echo './'`fourier.C; \
then mv -f ".deps/fourier.Tpo" ".deps/fourier.Plo"; \
else rm -f ".deps/fourier.Tpo"; exit 1; \
fi
mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../guicast -I../../cinelerra -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -MT fourier.lo -MD -MP -MF .deps/fourier.Tpo -c fourier.C  -fPIC -DPIC -o .libs/fourier.o
In file included from fourier.C:6:
fourier.h:7:19: fftw3.h: No such file or directory
In file included from fourier.C:6:
fourier.h:13: error: `fftw_plan' does not name a type
fourier.h:14: error: `fftw_plan' does not name a type
fourier.h:39: error: `fftw_complex' has not been declared
fourier.h:39: error: ISO C++ forbids declaration of `data' with no type
fourier.h:104: error: ISO C++ forbids declaration of `fftw_complex' with no type
fourier.h:104: error: expected `;' before '*' token
fourier.C: In member function `int FFT::ready_fftw(unsigned int)':
fourier.C:179: error: `fftw_complex' undeclared (first use this function)
fourier.C:179: error: (Each undeclared identifier is reported only once for each function it appears in.)
fourier.C:179: error: `temp_data' undeclared (first use this function)
fourier.C:179: error: expected primary-expression before ')' token
fourier.C:179: error: expected `;' before "fftw_malloc"
fourier.C:182: error: 'struct fftw_plan_desc' has no member named 'plan_forward'
fourier.C:182: error: `FFTW_FORWARD' undeclared (first use this function)
fourier.C:182: error: `FFTW_ESTIMATE' undeclared (first use this function)
fourier.C:182: error: `fftw_plan_dft_1d' undeclared (first use this function)
fourier.C:183: error: 'struct fftw_plan_desc' has no member named 'plan_backward'
fourier.C:183: error: `FFTW_BACKWARD' undeclared (first use this function)
fourier.C:185: error: `fftw_free' undeclared (first use this function)
fourier.C: At global scope:
fourier.C:198: error: `fftw_complex' has not been declared
fourier.C:199: error: ISO C++ forbids declaration of `data' with no type
fourier.C: In member function `int FFT::do_fftw_inplace(unsigned int, int, int*)':
fourier.C:201: error: 'struct fftw_plan_desc' has no member named 'plan_forward'
fourier.C:201: error: `fftw_execute_dft' undeclared (first use this function)
fourier.C:203: error: 'struct fftw_plan_desc' has no member named 'plan_backward'
fourier.C: In member function `int CrossfadeFFT::reset()':
fourier.C:240: error: `fftw_data' undeclared (first use this function)
fourier.C: In member function `int CrossfadeFFT::delete_fft()':
fourier.C:254: error: `fftw_data' undeclared (first use this function)
fourier.C:254: error: `fftw_free' undeclared (first use this function)
fourier.C: In member function `int CrossfadeFFT::process_buffer_oversample(int64_t, long int, double*, int)':
fourier.C:508: error: `fftw_data' undeclared (first use this function)
fourier.C:508: error: `fftw_complex' undeclared (first use this function)
fourier.C:508: error: expected primary-expression before ')' token
fourier.C:508: error: expected `;' before "fftw_malloc"
make[3]: *** [fourier.lo] Błąd 1
make[3]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20051005/work/cinelerra-cvs-20051005/plugins/libfourier'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20051005/work/cinelerra-cvs-20051005/plugins'
make[1]: *** [all-recursive] Eroor 1
make[1]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20051005/work/cinelerra-cvs-20051005'
make: *** [all] Błąd 2

!!! ERROR: media-video/cinelerra-cvs-20051005 failed.
!!! Function src_compile, Line 66, Exitcode 2

---------------------------------------------------------------------

Compilation also earlier failed because of lacking a52dec package, I fixed that simply by emerging a52dec but I thinkt that with a52 flag enabled a52dec should be a cinelerra dependency.

---------------------------------------------------------------------

My info:

Portage 2.1_pre1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14.2 i686)
=================================================================
System uname: 2.6.14.2 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://src.gentoo.pl http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aalib activefilter alsa amuled apache2 apm arts artswrappersuid audiofile avi bash-completion bitmap-fonts bzip2 calendar cdparanoia cdr config_wizard crypt cups curl custom-cflags dba divx4linux dv dvd dvdr dvdread eds emacs-w3 emboss encode esd ethereal exif expat extraicons extramodules extras fam fbcon ffmpeg flac foomaticdb fortran gcj gd gdbm geoip gif gimp gimpprint gkrellm glut gphoto2 gpm gsm gstreamer gtk gtk2 id3 ieee1394 imagemagick imlib jabber java javascript joystick jpeg lame lcms libcaca libg++ libwww lzo mad matroska mikmod mmx mng motif mozilla mp3 mpeg mpeg2 mule musepack mysql ncurses network nls nptl nptlonly nvidia ogg oggvorbis openal opengl oss pam pcre pdflib php png ppds python qt quicktime readline real remote rtc samba scanner sdl session sox speech spell sse ssl stats tcltk tcpd theora tidy tiff tlen truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l2 videos voice vorbis wifi win32codecs wmf wxwindows x264 xanim xine xml2 xmms xosd xprint xv xvid xvmc zlib elibc_glibc kernel_linux linguas_pl linguas_en userland_GNU"
-------------------------------------------------
Comment 1 Milosz Kosobucki 2005-12-20 08:55:15 UTC
Sorry for mistake, cinelerra-cvs should always depend on a52dec because a52 flag has no influence on cinelerra-cvs configuration which always requires a52dec.
Comment 2 Milosz Kosobucki 2005-12-24 04:22:00 UTC
Cinelerra ebuild is lacking fftw dependency, adding it should do the thing
Comment 3 Milosz Kosobucki 2005-12-24 05:50:37 UTC
Created attachment 75450 [details]
ebuild with fixed dependencies
Comment 4 Marc Hildebrand (RETIRED) gentoo-dev 2006-03-05 09:08:42 UTC
Fixed in newest version (20060219), thanks for the patience.