Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193705 - media-video/avidemux-2.3.0 fails to build
Summary: media-video/avidemux-2.3.0 fails to build
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-25 05:01 UTC by Nathan Caldwell
Modified: 2007-12-01 09:20 UTC (History)
1 user (show)

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


Attachments
Remove cross initialization (avidemux-2.3.0-cross-init.patch,1.58 KB, patch)
2007-09-25 17:21 UTC, Charles Clément
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Caldwell 2007-09-25 05:01:21 UTC
avidemux 2.3.0 fails to compile ADM_libavformat.cpp.

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../ADM_lavcodec -I.. -DHAVE_AV_CONFIG_H -I../ADM_lavutil  -I/usr/include/malloc -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -I.. -I../ADM_lavutil -IADM_library -I../ADM_library  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mtune=athlon-fx -march=athlon-fx -pipe -O2 -O3 -fomit-frame-pointer -O2 -falign-loops=16 -c -o ADM_lavformat.o ADM_lavformat.cpp
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../ADM_lavcodec -I.. -DHAVE_AV_CONFIG_H -I../ADM_lavutil  -I/usr/include/malloc -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -mtune=athlon-fx -march=athlon-fx -pipe -O2 -O3 -fomit-frame-pointer -O2 -falign-loops=16 -c aviobuf.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../ADM_lavcodec -I.. -DHAVE_AV_CONFIG_H -I../ADM_lavutil  -I/usr/include/malloc -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -mtune=athlon-fx -march=athlon-fx -pipe -O2 -O3 -fomit-frame-pointer -O2 -falign-loops=16 -c cutils.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../ADM_lavcodec -I.. -DHAVE_AV_CONFIG_H -I../ADM_lavutil  -I/usr/include/malloc -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -mtune=athlon-fx -march=athlon-fx -pipe -O2 -O3 -fomit-frame-pointer -O2 -falign-loops=16 -c img2.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../ADM_lavcodec -I.. -DHAVE_AV_CONFIG_H -I../ADM_lavutil  -I/usr/include/malloc -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -mtune=athlon-fx -march=athlon-fx -pipe -O2 -O3 -fomit-frame-pointer -O2 -falign-loops=16 -c file.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../ADM_lavcodec -I.. -DHAVE_AV_CONFIG_H -I../ADM_lavutil  -I/usr/include/malloc -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -mtune=athlon-fx -march=athlon-fx -pipe -O2 -O3 -fomit-frame-pointer -O2 -falign-loops=16 -c mpegtsenc.c
distcc[18582] ERROR: compile /var/tmp/ccache/ADM_lavfor.tmp.khopesh.18563.ii on Inti.local,lzo failed
ADM_lavformat.cpp:322:2: warning: #warning FIXME : Probe deeper
ADM_lavformat.cpp: In member function ‘virtual uint8_t lavMuxer::open(const char*, uint32_t, ADM_MUXER_TYPE, aviInfo*, uint32_t, uint8_t*, WAVHeader*, uint32_t, uint8_t*)’:
ADM_lavformat.cpp:267: error: jump to case label
ADM_lavformat.cpp:263: error:   crosses initialization of ‘AVRational <anonymous>’
ADM_lavformat.cpp:278: error: jump to case label
ADM_lavformat.cpp:263: error:   crosses initialization of ‘AVRational <anonymous>’
ADM_lavformat.cpp:283: error: jump to case label
ADM_lavformat.cpp:279: error:   crosses initialization of ‘AVRational <anonymous>’
ADM_lavformat.cpp:263: error:   crosses initialization of ‘AVRational <anonymous>’
make[3]: *** [ADM_lavformat.o] Error 1
make[3]: *** Waiting for unfinished jobs....
img2.c: In function ‘img_read_packet’:
img2.c:244: warning: initialization from incompatible pointer type
img2.c: In function ‘img_write_packet’:
img2.c:327: warning: initialization from incompatible pointer type
make[3]: Leaving directory `/var/tmp/portage/media-video/avidemux-2.3.0/work/avidemux_2.3.0/avidemux/ADM_lavformat'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/avidemux-2.3.0/work/avidemux_2.3.0/avidemux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/avidemux-2.3.0/work/avidemux_2.3.0'
make: *** [all] Error 2
 * 
 * ERROR: media-video/avidemux-2.3.0 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   avidemux-2.3.0.ebuild, line 102:   Called die
 * 
 * emake failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/media-video:avidemux-2.3.0:20070925-045246.log'.
 * 


Reproducible: Always

Steps to Reproduce:
1. emerge avidemux
2.
3.

Actual Results:  
Build fails

Expected Results:  
Build succedes

Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-klight3 x86_64)
=================================================================
System uname: 2.6.22-klight3 x86_64 AMD Athlon(tm) 64 FX-55 Processor
Timestamp of tree: Mon, 24 Sep 2007 14:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=athlon-fx -march=athlon-fx -pipe -O2 -O3 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mtune=athlon-fx -march=athlon-fx -pipe -O2 -O3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://cudlug.cudenver.edu/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/common /usr/local/overlays/gentopia /usr/local/overlays/stormfront /usr/local/overlays/picard /usr/local/overlays/proaudio /usr/local/overlays/custom_kernels /usr/local/overlays/enlightenment"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avahi avi bash-completion berkdb bitmap-fonts boost bzip2 cairo cli cracklib crypt css dbus divx4linux dri dssi dts dvd dvdread edb emboss encode exif fam ffmpeg fftw firefox flac fortran galago gd gdbm gif gimp glade gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal iconv ieee1394 ipv6 isdnlog jack jackmidi java jpeg kdeenablefinal kdehiddenvisibility kerberos keyring ladspa lame lash ldap libnotify libsamplerate logrotate mad matroska midi mikmod mmap mmx mmxext mng mono mozilla mp3 mp4 mpeg mpeg4 mudflap mysql nautilus ncurses nfs nls nptl nptlonly nsplugin ogg openal openexr opengl openmp osc pam patch-loader pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection samba sasl sdl session sndfile spell spl sql sqlite srt sse sse2 ssl subtitles subversion svg tcpd theora threads tidy tiff tracker transcode truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis x264 xml xml2 xorg xv xvid xvmc zeroconf zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon logitech" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Charles Clément 2007-09-25 17:21:11 UTC
Created attachment 131882 [details, diff]
Remove cross initialization

Seems like a cross initialization in a switch, here's how the affectation is done upstream.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-12-01 09:20:13 UTC
Please try w/ 2.4_pre3 and reopen if you still have issues.