On ~amd64, USE="sound -pulseaudio" emerge =x11-wm/xpra-0.11.3 crash at compilation time. I don't use pulseaudio since my box got a soundcard with a hw mixer take in charge by the kernel. So I expect to use sound with alsa whithout pulseaudio. Reproducible: Always Steps to Reproduce: 1. USE="sound -pulseaudio" emerge =x11-wm/xpra-0.11.3 on ~amd64 Actual Results: Last emerge log lines: x86_64-pc-linux-gnu-gcc -pthread -march=native -O2 -pipe -fPIC -I/usr/include/python2.7 -c xpra/codecs/dec_avcodec2/decoder.c -o /gentoo/tmp/portage/x11-wm/xpra-0.11.3/work/xpra-0.11.3-python2_7/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec2/decoder.o -Wall -Werror=implicit-function-declaration xpra/codecs/dec_avcodec2/decoder.c: In function '__pyx_f_4xpra_6codecs_12dec_avcodec2_7decoder_14AVFrameWrapper_free': xpra/codecs/dec_avcodec2/decoder.c:2609:5: error: implicit declaration of function 'av_frame_unref' [-Werror=implicit-function-declaration] av_frame_unref(__pyx_v_self->frame); ^ xpra/codecs/dec_avcodec2/decoder.c: In function '__pyx_pf_4xpra_6codecs_12dec_avcodec2_7decoder_7Decoder_init_context': xpra/codecs/dec_avcodec2/decoder.c:3423:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_False); ^ xpra/codecs/dec_avcodec2/decoder.c:3499:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_False); ^ xpra/codecs/dec_avcodec2/decoder.c:3574:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_False); ^ xpra/codecs/dec_avcodec2/decoder.c:3640:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_False); ^ xpra/codecs/dec_avcodec2/decoder.c:3702:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_False); ^ xpra/codecs/dec_avcodec2/decoder.c:3714:26: error: 'AVCodecContext' has no member named 'refcounted_frames' __pyx_v_self->codec_ctx->refcounted_frames = 1; ^ xpra/codecs/dec_avcodec2/decoder.c:3849:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_False); ^ xpra/codecs/dec_avcodec2/decoder.c:3861:3: error: implicit declaration of function 'av_frame_alloc' [-Werror=implicit-function-declaration] __pyx_v_self->frame = av_frame_alloc(); ^ xpra/codecs/dec_avcodec2/decoder.c:3861:23: warning: assignment makes pointer from integer without a cast [enabled by default] __pyx_v_self->frame = av_frame_alloc(); ^ xpra/codecs/dec_avcodec2/decoder.c:3909:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_False); ^ xpra/codecs/dec_avcodec2/decoder.c:4002:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_True); ^ xpra/codecs/dec_avcodec2/decoder.c: In function '__pyx_pf_4xpra_6codecs_12dec_avcodec2_7decoder_7Decoder_4clean_decoder': xpra/codecs/dec_avcodec2/decoder.c:4374:5: error: implicit declaration of function 'av_frame_free' [-Werror=implicit-function-declaration] av_frame_free((&__pyx_v_self->frame)); ^ xpra/codecs/dec_avcodec2/decoder.c: In function '__pyx_pf_4xpra_6codecs_12dec_avcodec2_7decoder_7Decoder_10is_closed': xpra/codecs/dec_avcodec2/decoder.c:5013:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_self->codec_ctx == NULL)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;} ^ xpra/codecs/dec_avcodec2/decoder.c:5013:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] cc1: some warnings being treated as errors error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 * ERROR: x11-wm/xpra-0.11.3::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3478: Called distutils-r1_src_compile * environment, line 1224: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 334: Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3332: Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2535: Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2483: Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2481: Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2526: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 751: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1213: Called distutils-r1_python_compile * environment, line 1096: Called esetup.py 'build' * environment, line 1663: Called die * The specific snippet of code: * "${@}" || die * * If you need support, post the output of `emerge --info '=x11-wm/xpra-0.11.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-wm/xpra-0.11.3::gentoo'`. * The complete build log is located at '/gentoo/log/x11-wm:xpra-0.11.3:20140220-150945.log.gz'. * The ebuild environment file is located at '/gentoo/tmp/portage/x11-wm/xpra-0.11.3/temp/environment'. * Working directory: '/gentoo/tmp/portage/x11-wm/xpra-0.11.3/work/xpra-0.11.3' * S: '/gentoo/tmp/portage/x11-wm/xpra-0.11.3/work/xpra-0.11.3' >>> Failed to emerge x11-wm/xpra-0.11.3, Log file: Expected Results: Succeed to emerge x11-wm/xpra-0.11.3 Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.18-r1, 3.12.10-gentoo x86_64) ================================================================= System uname: Linux-3.12.10-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_X_990_@_3.47GHz-with-gentoo-2.2 KiB Mem: 12279920 total, 4471572 free KiB Swap: 0 total, 0 free Timestamp of tree: Thu, 20 Feb 2014 14:15:01 +0000 ld GNU ld (GNU Binutils) 2.24 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p45-r1 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.6, 3.3.4 dev-util/ccache: 3.1.9-r3 dev-util/cmake: 2.8.12.2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1 sys-devel/binutils: 2.24-r2 sys-devel/gcc: 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.18-r1 Repositories: gentoo zentoo Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /gentoo/config /lib/udev/rules.d /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/cloud/gentoo/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg candy clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirror.leaseweb.com/gentoo/" LANG="C" LC_ALL="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1" MAKEOPTS="-j12" PKGDIR="/cloud/gentoo/packages" PORTAGE_BUNZIP2_COMMAND="pbunzip2 -p12 --ignore-trailing-garbage=1" PORTAGE_BZIP2_COMMAND="pbzip2 -p12" PORTAGE_COMPRESS="/usr/bin/pbzip2" PORTAGE_COMPRESS_FLAGS="-9" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/gentoo/tmp" PORTDIR="/gentoo/portage" PORTDIR_OVERLAY="/gentoo/overlays/zentoo" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi aes-ni aim aio alsa amd64 branding bzip2 cairo caps ccache cdda cdparanoia cdr clamav cli consolekit cpdflib cracklib crypt cups curlwrappers cxx dbus dio dlloader dts dvd dvdr dvdread emboss encode evo exif fam fftw firefox flac ftp gif gpm gtk gtk3 iconv icq imap ipv6 jabber jce jpeg jpeg2k lcms libnotify lm_sensors mad maildir mailwrapper mbox memlimit mime mmx mng modules mp3 mp4 mpeg msn multilib ncurses nls nocd nptl nptlonly nvidia offensive ogg opengl openmp pam pango pch pcre pdf png policykit posix ppds python3 qt4 readline sasl session sharedmem smp sndfile sockets socks5 sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg szip tcpd threads tiff truetype udev udisks unicode upower usb userlocales utf8 v4l v4l2 vdpau videos vorbis wxwidgets x264 xcb xpm xv xvid yahoo zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias 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 access compat socache_shmcb" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="interface df irq load memory swap syslog rrdtool contextswitch cpu cpufreq disk filecount fscache hddtemp logfile network processes sensors tcpconns thermal uptime vmem" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="nv 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, USE_PYTHON
Created attachment 370888 [details] x11-wm:xpra-0.11.3:20140220-150945.log.gz
MEA CULPA: I could emerge it with USE="sound -pulseaudio". The problem is still here but it's the USE FLAG "dec_av2" that brings it. It's not possible to emerge xpra with "dec_av2" USE FLAG.
Right now, x11-wm/xpra-0.13.2 (last ~amd64 version) compile fine with dec_av2 USE flag.
Duplicate of bug 520432. Both might be closable if the compile issue has been resolved, as reported by comment 3.
I confirm that actual ~amd64 version x11-wm/xpra-0.13.9 compiles fine with dec_av2.
*** Bug 520432 has been marked as a duplicate of this bug. ***