pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/53010: graphics/gexiv2 conflicting return type error
>Number: 53010
>Category: pkg
>Synopsis: error: conflicting return type specified for 'virtual long int StreamIo::size() const'
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 11 14:55:00 +0000 2018
>Originator: MLH
>Release: NetBSD 8.99.12 Fri Jan 26 16:22:36 EST 2018
>Organization:
none
>Environment:
System: NetBSD tiamat 8.99.12 NetBSD 8.99.12 (HDMIAUDIO) #3: Fri Jan 26 16:22:36 EST 2018 /src/sys/arch/amd64/compile/HDMIAUDIO amd64
Architecture: x86_64
Machine: amd64
>Description:
===> Building for gexiv2-0.10.3
/bin/sh ./libtool --tag=CXX --mode=compile c++ -DPACKAGE_NAME=\"gexiv2\" -DPACKAGE_TARNAME=\"gexiv2\" -DPACKAGE_VERSION=\"0.10.3\" -DPACKAGE_STRING=\"g\" -DPACKAGE_BUGREPORT=\"gexiv2-list%gnome.org@localhost\" -DPACKAGE_URL=\"https://wiki.gnome.org/Projects/gexiv2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYSAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIRDSIZEOF_INT_P=8 -DARCH_X86=1 -DARCH_X86_64=1 -I. -I/usr/pkg/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include nclude/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/us/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0
-I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -MT gexiv2/libgexiv2_la-gexiv2-metadata.lo -MD -MP -MF gexiv2/.deps/libgexiv2_la-gexiv2--c -o gexiv2/libgexiv2_la-gexiv2-metadata.lo `test -f 'gexiv2/gexiv2-metadata.cpp' || echo './'`gexiv2/gexiv2-metadata.cpp
libtool: compile: c++ -DPACKAGE_NAME=\"gexiv2\" -DPACKAGE_TARNAME=\"gexiv2\" -DPACKAGE_VERSION=\"0.10.3\" "-DPACKAGE_STRING=\"gexiv2 0.10.3\"" -DPACKAGE_exiv2-list%gnome.org@localhost\" -DPACKAGE_URL=\"https://wiki.gnome.org/Projects/gexiv2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=NG_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSIZEOF_INT_P=1 -DARCH_X86_64=1 -I. -I/pkg_comp/obj/pkgsrc/graphics/gexiv2/default/.buildlink/include -I/pkg_comp/obj/pkgsrc/graphics/gexiv2/default/.buildlink/include0 -I/pkg_comp/obj/pkgsrc/graphics/gexiv2/default/.buildlink/lib/glib-2.0/include -I/pkg_comp/obj/pkgsrc/graphics/gexiv2/default/.buildlink/include/glib/gi2 -D_FORTIFY_SOURCE=2 -MT gexiv2/libgexiv2_la-gexiv2-metadata.lo
-MD -MP -MF gexiv2/.deps/libgexiv2_la-gexiv2-metadata.Tpo -c gexiv2/gexiv2-metadata.cpp -fPIC -DPIC -o gexiv2/.libs/libgexiv2_la-gexiv2-metadata.o
In file included from gexiv2/gexiv2-metadata.cpp:13:0:
gexiv2/gexiv2-stream-io.h:42:15: error: conflicting return type specified for 'virtual long int StreamIo::size() const'
virtual long size () const;
^
In file included from /pkg_comp/obj/pkgsrc/graphics/gexiv2/default/.buildlink/include/exiv2/image.hpp:31:0,
from gexiv2/gexiv2-metadata-private.h:14,
from gexiv2/gexiv2-metadata.cpp:12:
/pkg_comp/obj/pkgsrc/graphics/gexiv2/default/.buildlink/include/exiv2/basicio.hpp:225:24: error: overriding 'virtual size_t Exiv2::BasicIo::size() const
virtual size_t size() const = 0;
^
Makefile:637: recipe for target 'gexiv2/libgexiv2_la-gexiv2-metadata.lo' failed
gmake: *** [gexiv2/libgexiv2_la-gexiv2-metadata.lo] Error 1
*** Error code 2
>How-To-Repeat:
build graphics/gexiv2 from pkgsrc
>Fix:
Home |
Main Index |
Thread Index |
Old Index