Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93943 - media-video/avidemux-2.0.40 compile error w/o any audio flag
Summary: media-video/avidemux-2.0.40 compile error w/o any audio flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-05-25 07:05 UTC by Daniel Webert
Modified: 2005-05-25 14:10 UTC (History)
0 users

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 Daniel Webert 2005-05-25 07:05:24 UTC
media-video/avidemux-2.0.40 compile error

2.0.24 works fine, but all +2.0.30 dont compile 

USE="-a52 -aac -alsa -arts -encode -mad -nls -oss -sdl -truetype -vorbis -xv -xvid" emerge avidemux -va

<snip>
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2    -I/usr/include/malloc  -I.. -IADM_library -I../ADM_library  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -falign-loops=16 -c -o DIA_audiodevice.o DIA_audiodevice.cpp
DIA_BSMear.cpp:28:2: warning: no newline at end of file
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2    -I/usr/include/malloc  -I.. -IADM_library -I../ADM_library  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -falign-loops=16 -c -o DIA_dectel.o DIA_dectel.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2    -I/usr/include/malloc  -I.. -IADM_library -I../ADM_library  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -falign-loops=16 -c -o DIA_decimate.o DIA_decimate.cpp
distcc[18244] ERROR: compile /root/.ccache/DIA_prefs.tmp.pancasoo.18233.ii on 192.168.2.254 failed
DIA_prefs.cpp: In function `uint8_t DIA_Preferences()':
DIA_prefs.cpp:90: error: `AVDM_getCurrentDevice' undeclared (first use this 
   function)
DIA_prefs.cpp:90: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
DIA_prefs.cpp:173: error: `AVDM_switch' undeclared (first use this function)
make[3]: *** [DIA_prefs.o] Error 1
make[3]: *** Waiting for unfinished jobs....
DIA_dectel.cpp: In function `uint8_t DIA_getDecombTelecide(TelecideParam*)':
DIA_dectel.cpp:72: warning: converting to `unsigned int' from `float'
make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.40/work/avidemux-2.0.40/avidemux/ADM_dialog'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.40/work/avidemux-2.0.40/avidemux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.40/work/avidemux-2.0.40'
make: *** [all] Error 2

!!! ERROR: media-video/avidemux-2.0.40 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
</snip>

<snip>
pancasoo ~ # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 20 2005, 09:47:10)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.4_p6, 1.5, 1.7.9-r1, 1.9.5, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -O3 -pipe"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.coprodeli.org/gentoo/ http://mirror.datapipe.net/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="es en de"
MAKEOPTS="-j6"
PKGDIR="/usr/local/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.mirrors.coprodeli.org/gentoo-portage"
USE="x86 3dnow X Xaw3d a52 aac aalib acc accessibility acl acpi adns aim alsa amarok amd apache2 arts artworkextra audiofile avi bash-completion berkdb bidi bitmap-fonts bl bmp bzip2 caca caps ccache cdda cddb cdio cdparanoia cdr cdrom chipcard chroot clamav client cpudetection crypt cscope cups curl dbus dga dillo divx4linux dts dv dvd dvdr dvdread ecc editor edl eds elf emboss encode epiphany erandom escreen esd estraier ethereal exif extraicons extramodules extras fam fame fbcon ffmpeg firefox flac flood font-server foomaticdb fpx gd gdbm gg gif gimpprint gmp gnokii gnome gphoto2 gpm gps graphviz gstreamer gtk gtk2 gtkhtml guile hal hardened hardenedphp i8x0 icq idn ieee1394 imagemagick imap imlib imlib2 inkjar ipv6 irc jabber java javascript jbig jce jpeg jpeg2k kde lcms ldap lib libcaca libclamav libwww live lj lm_sensors logrotate lua lzo mad maildir mailwrapper matroska md5sum memlimit menubar migemo mikmod mjpeg mmx mmx2 mmxext mng motif mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg msn mysql mythtv nas ncurses netboot network nls nntp oav ogg oggvorbis opengl oscar oss pam pcre pda pdflib perl php pic plugin png povray ppds python qt quicktime quotas readline real rpm rrdtool rss rtc ruby samba sasl scanner sdl sftplogging silc skey slang slp smartcard smime smux sndfile snmp socks5 sox speex spell sqlite sse sse2 ssl svg svga tcltk tcpd tetex tga theora threads thumbnail tiff truetype truetype-fonts ts underscores unicode usb userlocales v4l v4l2 vchroot vhosts vidix vim-with-x vorbis wifi win32codecs winbind wmf xanim xchatdccserver xchattext xface xine xinerama xml xml2 xmms xprint xscreensaver xv xvid xvmc yahoo yv12 yv2 zero-penalty-hit zlib linguas_es linguas_en linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
</snip>
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-25 08:26:51 UTC
Hmm seems like disabling all the audio output (-alsa -arts -oss) makes it  
fail. Fair enough anyway. 
 
Added a check to ensure that at least one of the three useflag is enabled. 
 
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-25 08:28:25 UTC
Forgot to mark as fixed. 
Comment 3 Daniel Webert 2005-05-25 08:46:34 UTC
that's not that easy - if u have a look at my emerge info u will see that i have
normally all avidemux-flags activated ... currently i'm searching which one
breaks the ebuild ... adding flag for flag is taking some minutes
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-25 09:00:45 UTC
I've just tried, and it fails *with that error* just with all the audio flag  
disabled. 
If you have other errors, open another bug report. 
 
If the *same* error come up, please reopen this bug report telling the current 
flag combination. 
 
Comment 5 Daniel Webert 2005-05-25 09:39:41 UTC
when adding the aac-flag i get the error

works
media-video/avidemux-2.0.40  +a52 -aac +alsa (-altivec) +arts -debug +encode
+mad +nls +oss +sdl +truetype +vorbis +xv +xvid
---
does not work
media-video/avidemux-2.0.40  +a52 +aac* +alsa (-altivec) +arts -debug +encode
+mad +nls +oss +sdl +truetype +vorbis +xv +xvid
Comment 6 Sam 2005-05-25 13:19:25 UTC
Same behavior here:
won't compile with aac use flag
will compile without aac use flag

This problem was reported on the Avidemux forum. The Avidemux developer
indicated that the version of faad2 was likely the problem. He runs Gentoo with
faad2-2.0-r4 . After downgrading my faad to 2.0-r4, emerging avidemux 2.0.40
gives following error.

Calculating dependencies -
!!! All ebuilds that could satisfy ">=media-libs/faad2-2.0-r6" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-libs/faad2-2.0-r6 (masked by: ~x86 keyword)

Being pretty new to Gentoo, I don't know how to change the above dependency to
be able to test previous versions of faad2.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-25 13:29:46 UTC
I can't find the error. And surely can't be the error above. 
Please open a new bug when you'll have the right error output. 
Comment 8 Daniel Webert 2005-05-25 13:41:36 UTC
Diego - why do u close the bug as fixed? no error would be invalid ... the new
faad-related bug number is 93991 
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-25 14:10:42 UTC
I closed that one wrt to original report, which talked about -* situation. 
That was a valid, resolved fixed, bug.