Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658666 - media-libs/libnsgif fails on compile
Summary: media-libs/libnsgif fails on compile
Status: RESOLVED DUPLICATE of bug 645624
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-21 17:20 UTC by Jeff Gerhardt
Modified: 2018-06-27 10:25 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 Jeff Gerhardt 2018-06-21 17:20:57 UTC
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
Comment 1 Pacho Ramos gentoo-dev 2018-06-27 10:25:30 UTC

*** This bug has been marked as a duplicate of bug 645624 ***