pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52916: shotwell make failed with libgee-0.18.0nb4



>Number:         52916
>Category:       pkg
>Synopsis:       shotwell make failed with libgee-0.18.0nb4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 09 04:55:00 +0000 2018
>Originator:     Jun Ebihara
>Release:        pkgsrc-current 20180109
>Organization:
SOUM Corporation
>Environment:
NetBSD amibase.soum.co.jp 8.99.10 NetBSD 8.99.10 (GENERIC) #0: Wed Jan  3 09:46:41 UTC 2018  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
# make
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for shotwell-0.22.0nb17
/usr/pkg/bin/valac-0.38 -c -g --enable-checking --target-glib=2.32 --thread --fatal-warnings --enable-experimental --enable-deprecated  --define WITH_GPHOTO_25  --vapidir=plugins/ -X -DGETTEXT_PACKAGE='"shotwell"' -X -I. --pkg=gobject-2.0 --pkg=glib-2.0 --pkg=gdk-3.0 --pkg=gtk+-3.0 --pkg=gee-0.8 --includedir=plugins --vapi=plugins/shotwell-plugin-dev-1.0.vapi --header=plugins/shotwell-plugin-dev-1.0.h src/plugins/SpitInterfaces.vala src/plugins/TransitionsInterfaces.vala src/plugins/PublishingInterfaces.vala src/plugins/DataImportsInterfaces.vala
gee-0.8.vapi:278.3-278.31: error: overriding method `Gee.HashSet.foreach' is incompatible with base method `Gee.AbstractCollection.foreach': incompatible type of parameter 1.
                public override bool @foreach (Gee.ForallFunc f);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:278.3-278.31: error: Gee.HashSet.foreach: no suitable method found to override
                public override bool @foreach (Gee.ForallFunc f);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:368.3-368.31: error: overriding method `Gee.PriorityQueue.foreach' is incompatible with base method `Gee.AbstractCollection.foreach': incompatible type of parameter 1.
                public override bool @foreach (Gee.ForallFunc f);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gee-0.8.vapi:368.3-368.31: error: Gee.PriorityQueue.foreach: no suitable method found to override
                public override bool @foreach (Gee.ForallFunc f);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 4 error(s), 0 warning(s)
src/plugins/mk/interfaces.mk:26: recipe for target 'plugins/shotwell-plugin-dev-1.0.vapi' failed
gmake: *** [plugins/shotwell-plugin-dev-1.0.vapi] Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/graphics/shotwell
*** Error code 1


>How-To-Repeat:
with NetBSD 8.99.10:
cd /usr/pkgsrc/graphics/shotwell
make
sed -i "s/static const/const/g" `find . -name "*.vala"`
make
>Fix:
1. sed -i "s/static const/const/g" `find . -name "*.vala"`
2. CircleEffect.vala
work/shotwell-0.22.0/plugins/shotwell-transitions/CircleEffect.vala
        int radius = (int)((alpha) * Math.fmax(width,height));
->
        int radius = (int)(alpha * Math.fmax(width,height));

3. Resources.vala
        ../common/Resources.vala GalleryConnector.vala shotwell-publishing-extras.vala YandexPublishing.vala TumblrPublishing.vala RajcePublishing.vala ../../src/util/string.vala ../common/RESTSupport.vala
TumblrPublishing.vala:309.33-310.88: error: Too few arguments for specified format
TumblrPublishing.vala:319.29-320.84: error: Too few arguments for specified format

4. system.vala
src/util/system.vala:39.15-39.20: error: The type name `status' could not be found
    return (((status) & 0xff00) >> 8);
->
    return ((status & 0xff00) >> 8);

5. update libgee-0.20.0 
6. and more



Home | Main Index | Thread Index | Old Index