View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0002517 | LibSVGTiny | [All Projects] General | public | 2017-01-24 16:06 | 2017-01-28 14:02 | ||||||||
Reporter | Lars Wendler | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | acknowledged | Resolution | open | ||||||||||
Platform | Linux | OS | Gentoo | OS Version | |||||||||
Summary | 0002517: libsvgtiny fails to build with gperf-3.1 | ||||||||||||
Description | 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 | ||||||||||||
Steps To Reproduce | - install gperf-3.1 - try to build libsvgtiny | ||||||||||||
Tags | No tags attached. | ||||||||||||
Fixed in CI build # | |||||||||||||
Reported in CI build # | |||||||||||||
Attached Files |
|
Notes | |
Lars Wendler (reporter) 2017-01-24 16:07 |
Downstream bug report: https://bugs.gentoo.org/604818 |
Vincent Sanders (administrator) 2017-01-28 14:02 |
From the gperf 3.1 release announcement http://lists.gnu.org/archive/html/bug-gperf/2017-01/msg00000.html it seems the signature of the lookup function has changed. The way to fix this is make the function signature dependant on the gperf version |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2017-01-24 16:06 | Lars Wendler | New Issue | |
2017-01-24 16:06 | Lars Wendler | File Added: build.log | |
2017-01-24 16:07 | Lars Wendler | Note Added: 0001508 | |
2017-01-28 14:02 | Vincent Sanders | Note Added: 0001511 | |
2017-01-28 14:02 | Vincent Sanders | Status | new => acknowledged |