Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207326 - media-video/avidemux 2.4 fails to compile
Summary: media-video/avidemux 2.4 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-24 23:19 UTC by groepaz
Modified: 2008-02-17 21:27 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 groepaz 2008-01-24 23:19:39 UTC
what the topic says. that said, 2.3 builds and works fine, why drop it before the next version even works? :(

this is the error:

[ 79%] Building CXX object avidemux/ADM_userInterfaces/ADM_commonUI/CMakeFiles/ADM_commonUI.dir/DIA_builtin.o
/var/tmp/portage/media-video/avidemux-2.4/work/avidemux_2.4/avidemux/ADM_userInterfaces/ADM_commonUI/DIA_builtin.cpp: In function 'uint8_t DIA_builtin()':
/var/tmp/portage/media-video/avidemux-2.4/work/avidemux_2.4/avidemux/ADM_userInterfaces/ADM_commonUI/DIA_builtin.cpp:48: error: expected unqualified-id before numeric constant
/var/tmp/portage/media-video/avidemux-2.4/work/avidemux_2.4/avidemux/ADM_userInterfaces/ADM_commonUI/DIA_builtin.cpp:122: error: invalid lvalue in assignment
/var/tmp/portage/media-video/avidemux-2.4/work/avidemux_2.4/avidemux/ADM_userInterfaces/ADM_commonUI/DIA_builtin.cpp:125: error: assignment of function 'char* gettext(const char*)'
/var/tmp/portage/media-video/avidemux-2.4/work/avidemux_2.4/avidemux/ADM_userInterfaces/ADM_commonUI/DIA_builtin.cpp:125: error: cannot convert 'int' to 'char* ()(const char*)throw ()' in assignment
/var/tmp/portage/media-video/avidemux-2.4/work/avidemux_2.4/avidemux/ADM_userInterfaces/ADM_commonUI/DIA_builtin.cpp:158: error: 'fontconfig' was not declared in this scope
/var/tmp/portage/media-video/avidemux-2.4/work/avidemux_2.4/avidemux/ADM_userInterfaces/ADM_commonUI/DIA_builtin.cpp:160: error: invalid conversion from 'char* (*)(const char*)throw ()' to 'uint32_t'
/var/tmp/portage/media-video/avidemux-2.4/work/avidemux_2.4/avidemux/ADM_userInterfaces/ADM_commonUI/DIA_builtin.cpp:160: error:   initializing argument 1 of 'diaElemNotch::diaElemNotch(uint32_t, const char*, const char*)'
make[2]: *** [avidemux/ADM_userInterfaces/ADM_commonUI/CMakeFiles/ADM_commonUI.dir/DIA_builtin.o] Error 1
make[1]: *** [avidemux/ADM_userInterfaces/ADM_commonUI/CMakeFiles/ADM_commonUI.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

it's probably because i am trying to compile this on a box which "only" has an uptodate stable profile. oh well :/
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-25 08:09:58 UTC
emerge --info please.
Comment 2 groepaz 2008-01-25 14:08:34 UTC
Portage 2.1.3.19 (default-linux/ppc/ppc32/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 ppc)
=================================================================
System uname: 2.6.23-gentoo-r3 ppc 7447A, altivec supported
Timestamp of tree: Mon, 21 Jan 2008 13:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 3ds 7zip S3TC X Xaw3d a52 aac aalib adplug alsa altivec amarok amd amr amrnb amrwb ao aotuv apache2 apm arts artworkextra asf asm athena audiofile bash-completion bdf berkdb bigger-fonts bindist bitmap-fonts bl blender-game bluetooth bonobo browserplugin bzip2 bzlib c++ cacheemu cardbus cdda cddb cdio cdparanoia cdr cdrom cdsound chroot cid cjk cle266 cli codecs corba cracklib crypt css ctype cups curl curlwrappers dar32 dbus debugger delays dga dhcp dio directfb divx4linux dpms dri dts dumb-allegro dv dvb dvbplayer dvd dvdnav dvdr dvdread dxr3 edl eds emul-linux enca encode esd faad fame fat fb fbcon fbdev ffmpeg figlet firefox flac flash fluidsynth font-server foomaticdb fortran fpx freetype ftp gdb gdbm gif gimp gimpprint glut glx gpm gps gs gstreamer gtk gtkhtml gzip hal hfs html http httpd iconv id3 idea ieee1394 image imagekits imagemagick imlib2 inline ipv6 irc isdnlog jack java javacomm john jp2 jpeg jpeg2k jumpplay kde kdeenablefinal koffice-plugin ladcca ladspa lame latex ldap libcaca libdsk libsamplerate libwww live lua lzo lzw lzw-tiff mad matroska md5sum mdnsresponder-compat memlimit menubar midi mikmod mixer mjpeg mmap mng mod modplug monkey mozilla moznocompose moznoirc moznomail mozplaintext mozsvg mp2 mp3 mp3rtp mp4 mp4live mpeg mpeg2 mpeg4 mplayer mudflap multislot musepack musicbrainz mysql mythtv nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses net nls nptl nptlonly nsplugin nspr ntfs ntlm ogg openal openexr opengl openmp oss pam pbbuttonsd pci pcmcia pcre pdf pdfkit perl pic player plugin png pnm pnp portaudio posix povray ppc ppcsha1 pppd print python qt3 qt3support qt4 quicktime radio rdesktop readline recode reflection reiserfs resid rrdtool rtc ruby samba screen screenshot sdl sensord server session sftp sheep shorten sid slang sndfile sockets softmmu sox spamassassin speedo speex spell spl srt ssl stencil-buffer stream streamzap subp subtitles subversion svg svgz tcpd tetex tga theora threads threadsafe thumbnail tidy tiff timidity tivo toolbar transcode truetype truetype-fonts tta type1 type1-fonts unicode uptimed usb userlocales utf8 v4l v4l2 vcd vcdimager vidix vlm vnc vorbis wavpack wifi wma wmf wxwindows x264 xanim xchatdccserver xchattext xine xml xorg xv xvid yv12 zeroconf zlib zoran zvbi" ALSA_CARDS="powermac" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="fbdev radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-25 14:23:18 UTC
Noone will notice again if you don't reopen the bug... doing now.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-01-25 14:24:07 UTC
WFM with these USE flags:

[ebuild   R   ] media-video/avidemux-2.4  USE="aac aften alsa amrnb -arts dts encode -esd fontconfig gtk jack libsamplerate qt4 truetype vorbis x264 xv xvid" 0 kB 
Comment 5 groepaz 2008-01-25 19:25:48 UTC
tried with these flags, fails exactly the same way :(
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2008-01-25 20:07:36 UTC
I can't reproduce it here, seems to be a ppc related problem. Found this, "http://buildlogs.pld-linux.org/index.php?log=101776". I suggest you report 
this to upstream bugtracker at "http://fixounet.free.fr/avidemux". And as for removing 2.3, it had security issues plus it failed to build in many different ways.
Comment 7 groepaz 2008-01-26 23:19:52 UTC
reported upstream: http://bugs.avidemux.org/index.php?do=details&task_id=337
Comment 8 groepaz 2008-01-27 01:21:39 UTC
looks like it is fixed in current SVN ... atleast it works for me... so what'd be next? attempting to create a patch that backports the necessary changes to the 2.4 stable release?
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2008-02-17 16:18:57 UTC
17:10 <+CIA-23> yngwin * gentoo-x86/media-video/avidemux/ (metadata.xml ChangeLog avidemux-2.4.1.ebuild): 
17:10 <+CIA-23> media-video/avidemux version bump to 2.4.1
17:10 <+CIA-23> (Portage version: 2.1.4.4)

Should be fixed with this version, reopen if not..
Comment 10 groepaz 2008-02-17 20:09:31 UTC
2.4.1 confirmed working on ppc
Comment 11 Ben de Groot (RETIRED) gentoo-dev 2008-02-17 21:27:43 UTC
Change to resolved fixed.