Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713368 - app-crypt/seahorse-3.32.2: compilation fails with COLLECTION_CREATE_NONE' does not exist
Summary: app-crypt/seahorse-3.32.2: compilation fails with COLLECTION_CREATE_NONE' doe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-03-19 10:19 UTC by Jonas Jelten
Modified: 2020-03-23 12:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch fixing the problem (seahorse-collectioncreateflags-renamed.patch,705 bytes, patch)
2020-03-19 10:19 UTC, Jonas Jelten
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Jelten 2020-03-19 10:19:19 UTC
Created attachment 622116 [details, diff]
patch fixing the problem

seahorse does not compile:
/usr/bin/valac-0.46 -C --target-glib=2.44 --pkg posix --pkg pkcs11 /tmp/portage/app-crypt/seahorse-3.32.2/work/seahorse-3.32.2/common/config.vapi --pkg pwquality --pkg libsecret-1 --pkg gcr-ui-3 --pkg gcr-3 --pkg gtk+-3.0 --pkg gmodule-2.0 --pkg gio-unix-2.0 --pkg gio-2.0 --pkg gobject-2.0 --target-glib 2.44 --pkg glib-2.0 --color=always --directory gkr/a117048@@seahorse-gkr@sta --basedir ../seahorse-3.32.2/gkr --library seahorse-gkr --header gkr/seahorse-gkr.h --vapi ../seahorse-gkr.vapi --gresources /tmp/portage/app-crypt/seahorse-3.32.2/work/seahorse-3.32.2/data/seahorse.gresource.xml --vapidir /tmp/portage/app-crypt/seahorse-3.32.2/work/seahorse-3.32.2/gkr --pkg=pwquality ../seahorse-3.32.2/gkr/gkr-backend.vala ../seahorse-3.32.2/gkr/gkr-dialogs.vala ../seahorse-3.32.2/gkr/gkr-item-add.vala ../seahorse-3.32.2/gkr/gkr-item-properties.vala ../seahorse-3.32.2/gkr/gkr-item.vala ../seahorse-3.32.2/gkr/gkr-keyring-add.vala ../seahorse-3.32.2/gkr/gkr-keyring-properties.vala ../seahorse-3.32.2/gkr/gkr-keyring.vala ../seahorse-3.32.2/gkr/gkr-module.vala ../seahorse-3.32.2/gkr/gkr-password-entry.vala common/common.vapi
../seahorse-3.32.2/gkr/gkr-keyring-add.vala:45.40-45.90: error: The name `COLLECTION_CREATE_NONE' does not exist in the context of `Secret.CollectionCreateFlags'
                                       Secret.CollectionCreateFlags.COLLECTION_CREATE_NONE,
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)



This is because libsecret changed the enum value from COLLECTION_CREATE_NONE to NONE.
Comment 1 Mart Raudsepp gentoo-dev 2020-03-19 21:58:13 UTC
I fixed this 4 days ago.

commit ab0357318c79665d5949098f67f29e022cabff2f
Author: Mart Raudsepp <leio@gentoo.org>
Date:   Sun Mar 15 13:39:26 2020 +0200

    app-crypt/seahorse: fix build against libsecret-0.20
Comment 2 Jonas Jelten 2020-03-23 12:51:13 UTC
thx!