Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61895 - Avidemux 2.0.28 build failed
Summary: Avidemux 2.0.28 build failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-27 01:16 UTC by Stephane Bonnell
Modified: 2004-08-29 13:02 UTC (History)
0 users

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


Attachments
patch 2.0.28 to add needed includes (ebuild.patch,1.15 KB, patch)
2004-08-29 01:37 UTC, Rob Nichols
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Bonnell 2004-08-27 01:16:23 UTC
Can't emerge avidemux 2.0.28

---
Making all in ADM_encoder
make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.28/work/avidemux-2.0.28/avidemux/ADM_encoder'
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/malloc -I/usr/include/SDL -D_REENTRANT  -I.. -IADM_library -I../ADM_l
ibrary  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -O3 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse -msse2 -fn
o-exceptions -fno-check-new -O3 -MT adm_encConfig.o -MD -MP -MF ".deps/adm_encConfig.Tpo" -c -o adm_encConfig.o adm_encConfig
.cpp; \
then mv -f ".deps/adm_encConfig.Tpo" ".deps/adm_encConfig.Po"; else rm -f ".deps/adm_encConfig.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/malloc -I/usr/include/SDL -D_REENTRANT  -O2  -O3 -march=pentium4 -fom
it-frame-pointer -pipe -mmmx -msse -msse2 -MT xvid_vbr.o -MD -MP -MF ".deps/xvid_vbr.Tpo" -c -o xvid_vbr.o xvid_vbr.c; \
then mv -f ".deps/xvid_vbr.Tpo" ".deps/xvid_vbr.Po"; else rm -f ".deps/xvid_vbr.Tpo"; exit 1; fi
xvid_vbr.c: In function `vbr_init_2pass2':
xvid_vbr.c:905: warning: passing arg 3 of `vbr_make_variance' from incompatible pointer type
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/malloc -I/usr/include/SDL -D_REENTRANT  -I.. -IADM_library -I../ADM_l
ibrary  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -O3 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse -msse2 -fn
o-exceptions -fno-check-new -O3 -MT adm_encxvid.o -MD -MP -MF ".deps/adm_encxvid.Tpo" -c -o adm_encxvid.o adm_encxvid.cpp; \
then mv -f ".deps/adm_encxvid.Tpo" ".deps/adm_encxvid.Po"; else rm -f ".deps/adm_encxvid.Tpo"; exit 1; fi
adm_encxvid.cpp: In member function `virtual uint8_t
   EncoderXvid::configure(AVDMGenericVideoStream*)':
adm_encxvid.cpp:79: error: `ADM_assert' undeclared (first use this function)
adm_encxvid.cpp:79: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
adm_encxvid.cpp: In member function `virtual uint8_t EncoderXvid::startPass1()
   ':
adm_encxvid.cpp:140: error: `ADM_assert' undeclared (first use this function)
adm_encxvid.cpp: In member function `virtual uint8_t
   EncoderXvid::encode(unsigned int, uint32_t*, uint8_t*, uint32_t*)':
adm_encxvid.cpp:195: error: `ADM_assert' undeclared (first use this function)
adm_encxvid.cpp: In member function `virtual uint8_t EncoderXvid::startPass2()
   ':
adm_encxvid.cpp:284: error: `ADM_assert' undeclared (first use this function)
make[3]: *** [adm_encxvid.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.28/work/avidemux-2.0.28/avidemux/ADM_encoder'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.28/work/avidemux-2.0.28/avidemux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.28/work/avidemux-2.0.28'
make: *** [all] Error 2

!!! ERROR: media-video/avidemux-2.0.28 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! make failed
---

Reproducible: Always
Steps to Reproduce:
1. emerge -av avidemux
2.
3.




my emerge info
---
Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ http://gentoo.mirror.sdv.fr
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.lug.ro/gentoo/"
MAKEOPTS="-j1"
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 aalib acl acpi aim alsa apache2 apm arts avi berkdb bidi cdparanoia cdr
crypt cups divx4linux dvd dvdr edl encode esd faac faad flash foomaticdb gd gdbm
gif gnome gpm gtk gtk2 guile icq imap imlib jabber java jpeg kde libg++ libwww
linguas_fr linguas_us lirc live lzo mad maildir matroska mikmod mmx motif
mozilla mpeg msn mysql mythtv ncurses network nls oggvorbis opengl oscar oss pam
pam-mysql pcre pda pdflib perl php png python qt quicktime readline rtc samba
sasl sdl slang speex spell sse ssl svg svga tcltk tcpd tga theora tiff truetype
usb v4l v4l2 vhosts video_cards_radeon wmf wxwindows x86 xinerama xml2 xmms xosd
xv xvid yahoo zlib"
---
Comment 1 AlterEgo 2004-08-27 07:30:34 UTC
Had the same error message: 
Fixed my error by adding the "xvid" USE flag:
USE="xvid" emerge avidemux
using
media-video/avidemux-2.0.28
media-libs/xvid-1.0.1

see: http://forums.gentoo.org/viewtopic.php?p=1474667

Still, this should not happen, right?
Comment 2 Stephane Bonnell 2004-08-27 11:26:27 UTC
It wasn't working.
Had to re-emerge xvid for this to work.

Thanks
Comment 3 Rob Nichols 2004-08-29 01:37:55 UTC
Created attachment 38416 [details, diff]
patch 2.0.28 to add needed includes

Hope this is helpful.  

This will patch the source to add the needed includes.	Tested this on my
machine (USE does not contain xvid) and it worked fine.
Comment 4 Marc Hildebrand (RETIRED) gentoo-dev 2004-08-29 06:40:18 UTC
Thanks for the patch.
Please resync your tree and test again.
Cheers,

Marc.
Comment 5 Rob Nichols 2004-08-29 13:02:54 UTC
Resynced and remerged, and worked fine.  Thanks!