2024-11-24 14:34 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002517LibSVGTiny[All Projects] Generalpublic2017-01-28 14:02
ReporterLars Wendler 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformLinuxOSGentooOS Version
Summary0002517: libsvgtiny fails to build with gperf-3.1
Descriptionx86_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
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
Attached Files

-Relationships
+Relationships

-Notes
Lars Wendler

~0001508

Lars Wendler (reporter)

Downstream bug report: https://bugs.gentoo.org/604818
Vincent Sanders

~0001511

Vincent Sanders (administrator)

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
+Notes

-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
+Issue History