Emerging the package (on ~amd64) produces a compilation error. Reproducible: Always Steps to Reproduce: 1. emerge -av libcanberra Actual Results: CC test-canberra.o x86_64-pc-linux-gnu-gcc -std=c99 -DHAVE_CONFIG_H -I. -I.. -pthread -DCA_PLUGIN_PATH=\"/usr/lib64/libcanberra-0.28\" -march=native -fomit-frame-pointer -O2 -pipe -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -fno-strict-aliasing -c test-canberra.c In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from canberra-gtk-module.c:27: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] GEN libcanberra-logout-sound.sh GEN libcanberra-ready-sound.desktop GEN libcanberra-login-sound.desktop GEN canberra-system-bootup.service GEN canberra-system-shutdown.service GEN canberra-system-shutdown-reboot.service CCLD libcanberra.la canberra-gtk.c: In function 'ca_gtk_proplist_set_for_widget': canberra-gtk.c:315:25: warning: implicit declaration of function 'typeof' [-Wimplicit-function-declaration] canberra-gtk.c:315:56: error: expected ';' before '_x' canberra-gtk.c:315:76: error: expected ';' before '_low' canberra-gtk.c:315:111: error: expected ';' before '_high' canberra-gtk.c:315:139: error: '_x' undeclared (first use in this function) canberra-gtk.c:315:139: note: each undeclared identifier is reported only once for each function it appears in canberra-gtk.c:315:144: error: '_high' undeclared (first use in this function) canberra-gtk.c:315:168: error: '_low' undeclared (first use in this function) canberra-gtk.c:330:56: error: expected ';' before '_x' canberra-gtk.c:330:76: error: expected ';' before '_low' canberra-gtk.c:330:112: error: expected ';' before '_high' canberra-gtk-play.c: In function 'main': canberra-gtk-play.c:130:60: warning: ISO C forbids conversion of function pointer to object pointer type [-pedantic] make[2]: *** [libcanberra_gtk3_la-canberra-gtk.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from canberra-gtk.c:27: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] canberra-gtk.c: In function 'ca_gtk_proplist_set_for_widget': canberra-gtk.c:315:25: warning: implicit declaration of function 'typeof' [-Wimplicit-function-declaration] canberra-gtk.c:315:56: error: expected ';' before '_x' canberra-gtk.c:315:76: error: expected ';' before '_low' canberra-gtk.c:315:111: error: expected ';' before '_high' canberra-gtk.c:315:139: error: '_x' undeclared (first use in this function) canberra-gtk.c:315:139: note: each undeclared identifier is reported only once for each function it appears in canberra-gtk.c:315:144: error: '_high' undeclared (first use in this function) canberra-gtk.c:315:168: error: '_low' undeclared (first use in this function) canberra-gtk.c:330:56: error: expected ';' before '_x' canberra-gtk.c:330:76: error: expected ';' before '_low' canberra-gtk.c:330:112: error: expected ';' before '_high' make[2]: *** [libcanberra_gtk_la-canberra-gtk.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/libcanberra-0.28-r5/work/libcanberra-0.28/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/libcanberra-0.28-r5/work/libcanberra-0.28' make: *** [all] Error 2 * ERROR: media-libs/libcanberra-0.28-r5 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =media-libs/libcanberra-0.28-r5', * the complete build log and the output of 'emerge -pqv =media-libs/libcanberra-0.28-r5'. * The complete build log is located at '/var/tmp/portage/media-libs/libcanberra-0.28-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/libcanberra-0.28-r5/temp/environment'. * S: '/var/tmp/portage/media-libs/libcanberra-0.28-r5/work/libcanberra-0.28' >>> Failed to emerge media-libs/libcanberra-0.28-r5, Log file: >>> '/var/tmp/portage/media-libs/libcanberra-0.28-r5/temp/build.log' * Messages for package media-libs/libcanberra-0.28-r5: * ERROR: media-libs/libcanberra-0.28-r5 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =media-libs/libcanberra-0.28-r5', * the complete build log and the output of 'emerge -pqv =media-libs/libcanberra-0.28-r5'. * The complete build log is located at '/var/tmp/portage/media-libs/libcanberra-0.28-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/libcanberra-0.28-r5/temp/environment'. * S: '/var/tmp/portage/media-libs/libcanberra-0.28-r5/work/libcanberra-0.28'
Please provide emerge --info and attach a build log.