Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 606988

Summary: media-libs/libsvgtiny-0.1.5 fails to build with dev-util/gperf-3.1
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: Current packagesAssignee: Michael Weber (RETIRED) <xmw>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 604878    
Attachments: build.log

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-01-24 07:40:55 UTC
Created attachment 461136 [details]
build.log

x86_64-pc-linux-gnu-gcc -MMD -MP -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/tmp/portage/media-libs/libsvgtiny-0.1.5/work/libsvgtiny-0.1.5-abi_x86_64.amd64/include/ -I/var/tmp/portage/media-libs/libsvgtiny-0.1.5/work/libsvgtiny-0.1.5-abi_x86_64.amd64/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pedantic -Werror -march=native -mtune=native -O2 -pipe -D_ALIGNED="__attribute__((aligned))" -DNDEBUG  -std=c99 -I/usr/include/libxml2 -fPIC -DPIC -o build-release-x86_64-pc-linux-gnu-release-lib-shared/build-release-x86_64-pc-linux-gnu-release-lib-shared_src_colors.o -c build-release-x86_64-pc-linux-gnu-release-lib-shared/src_colors.c
src/colors.gperf:114:1: error: conflicting types for ‘svgtiny_color_lookup’
 lime,  svgtiny_RGB(  0, 255,   0)
 ^
In file included from src/colors.gperf:18:0:
/var/tmp/portage/media-libs/libsvgtiny-0.1.5/work/libsvgtiny-0.1.5-abi_x86_64.amd64/src/svgtiny_internal.h:107:3: note: previous declaration of ‘svgtiny_color_lookup’ was here
   svgtiny_color_lookup(register const char *str,
   ^
make: *** [/var/tmp/portage/media-libs/libsvgtiny-0.1.5/work/buildsystem-1.4/makefiles/Makefile.top:579: build-release-x86_64-pc-linux-gnu-release-lib-shared/build-release-x86_64-pc-linux-gnu-release-lib-shared_src_colors.o] Error 1
 * ERROR: media-libs/libsvgtiny-0.1.5::gentoo failed (compile phase):
 *   emake failed
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-01-24 07:52:33 UTC

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