x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -pthread -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -DGTK_DISABLE_DEPRECATED -DLOCALE_DIR=\"/usr/share/locale\" -march=barcelona -mtune=barcelona -O2 -pipe -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -MT lqt_gtk.o -MD -MP -MF .deps/lqt_gtk.Tpo -c -o lqt_gtk.o lqt_gtk.c lqt_gtk.c: In function ‘lqtgtk_create_codec_config_window’: lqt_gtk.c:944: warning: implicit declaration of function ‘GTK_OBJECT_FLAGS’ lqt_gtk.c:944: error: lvalue required as left operand of assignment lqt_gtk.c:945: error: lvalue required as left operand of assignment lqt_gtk.c:946: error: lvalue required as left operand of assignment lqt_gtk.c: In function ‘lqtgtk_create_codec_info_window’: lqt_gtk.c:1243: error: lvalue required as left operand of assignment make[3]: *** [lqt_gtk.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-libs/libquicktime-1.1.5/work/libquicktime-1.1.5/utils/gtk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/libquicktime-1.1.5/work/libquicktime-1.1.5/utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/libquicktime-1.1.5/work/libquicktime-1.1.5' make: *** [all] Error 2 emake failed * ERROR: media-libs/libquicktime-1.1.5 failed: * emake failed # emerge --info libquicktime gtk+ Portage 2.2.0_alpha2 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5-asneeded, glibc-2.11.2-r2, 2.6.35.8 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.35.8-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2389-with-gentoo-2.0.1 Timestamp of tree: Sat, 30 Oct 2010 18:00:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.7, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4 sys-devel/make: 3.82 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) Repositories: gentoo poly-c ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bonobo-activation /etc/ca-certificates /etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/games /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gre.d /etc/gtk-2.0 /etc/hp /etc/hsqldb /etc/htdig /etc/init.d /etc/iproute2 /etc/java-config-2 /etc/lftp /etc/logrotate.d /etc/ntop /etc/opt /etc/pango /etc/profile.d /etc/qt4 /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sensors.d /etc/sgml /etc/sound /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/vbox /etc/xdg /etc/xinetd.d /etc/xml" CXXFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe" DISTDIR="/var/tmp/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y" FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed" LINGUAS="de en" MAKEOPTS="-j8" PKGDIR="/var/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.0.254/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo caps cdda cdr cli cracklib crypt css cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac gdbm gif gmp gnutls gtk iconv idn jpeg jpeg2k kde lame lcms libnotify lzma mad midi mmap mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf png ppds pppd qt3support qt4 quicktime readline schroedinger sdl session slang spell sse sse2 ssl startup-notification svg sysfs theora threads tiff truetype twolame udev unicode usb vaapi vcd vdpau vorbis vpx x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="de en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= media-libs/libquicktime-1.1.5 was built with the following: USE="X aac alsa -doc -dv encode ffmpeg gtk jpeg lame mmx (multilib) opengl png schroedinger vorbis x264" x11-libs/gtk+-2.22.0 was built with the following: USE="(-aqua) cups -debug -doc (-introspection) jpeg jpeg2k (multilib) -test tiff -vim-syntax -xinerama"
Created attachment 252615 [details] build.log
Created attachment 252743 [details, diff] libquicktime-1.1.5-gtk+-2.22.patch Patch to allow libquicktime-1.1.5 to build with gtk+-2.22 It replaces calls to GTK_WIDGET_SET_FLAGS(foo, GTK_CAN_DEFAULT) with gtk_widget_set_can_default(foo, TRUE). Compatibility notes: the gtk_widget_set_can_default() function first appeared in gtk+-2.18. Since the oldest version of gtk2 in portage is 2.18.7, we do not need any gtk+ version-dependent ifdefs. Upstream might want them though, depending on whether they want to support obsolete gtk+ versions.
It should be enough to remove -DGTK_DISABLE_DEPRECATED from the build system. The GTK+ patch should go upstream developers meanwhile.
Created attachment 254287 [details] EBUILD
I confirm both problem and patch resolution. You can also find an ebuild including this patch on my overlay and in attchement. (hg clone http://hg.cryptelium.net/hg/system/gentoo/overlay/ or play with layman and the layman.xml in my overlay)
please send the patch upstream + 14 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> + libquicktime-1.1.5.ebuild: + Remove -DGTK_DISABLE_DEPRECATED from build flags wrt #343419 by Lars + Wendler.