Installing NetSurf libnsgif is a dependency. Below is the relevant section of the build.log. Appears the issue might be "all warnings being treated as errors". COMPILE: src/libnsgif.c COMPILE: src/lzw.c x86_64-pc-linux-gnu-gcc -MMD -MP -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/tmp/portage/media-libs/libnsgif-0.2.0/work/libnsgif-0.2.0-abi_x86_64.amd64/include/ -I/var/tmp/portage/media-libs/libnsgif-0.2.0/work/libnsgif-0.2.0-abi_x86_64.amd64/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pedantic -Werror -O2 -march=bdver2 -mprefer-avx128 -mvzeroupper -pipe -D_ALIGNED="__attribute__((aligned))" -DNDEBUG -std=c99 -fPIC -DPIC -o build-release-x86_64-pc-linux-gnu-release-lib-shared/src_libnsgif.o -c src/libnsgif.c x86_64-pc-linux-gnu-gcc -MMD -MP -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/tmp/portage/media-libs/libnsgif-0.2.0/work/libnsgif-0.2.0-abi_x86_64.amd64/include/ -I/var/tmp/portage/media-libs/libnsgif-0.2.0/work/libnsgif-0.2.0-abi_x86_64.amd64/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pedantic -Werror -O2 -march=bdver2 -mprefer-avx128 -mvzeroupper -pipe -D_ALIGNED="__attribute__((aligned))" -DNDEBUG -std=c99 -fPIC -DPIC -o build-release-x86_64-pc-linux-gnu-release-lib-shared/src_lzw.o -c src/lzw.c ln -f -s libnsgif.so.0.2.0 build-release-x86_64-pc-linux-gnu-release-lib-shared/libnsgif.so src/lzw.c:1:32: error: unknown option after ‘#pragma GCC diagnostic’ kind [-Werror=pragmas] #pragma GCC diagnostic ignored "-Wimplicit-fallthrough" ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [/var/tmp/portage/media-libs/libnsgif-0.2.0/work/buildsystem-1.6/makefiles/Makefile.top:579: build-release-x86_64-pc-linux-gnu-release-lib-shared/src_lzw.o] Error 1
*** This bug has been marked as a duplicate of bug 645624 ***