Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434760 - app-crypt/seahorse-3.2.2 fails to emerge due to gck.h from app-crypt/gcr
Summary: app-crypt/seahorse-3.2.2 fails to emerge due to gck.h from app-crypt/gcr
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-11 20:40 UTC by Moritz Schlarb
Modified: 2012-09-11 20:53 UTC (History)
1 user (show)

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


Attachments
Output of emerge --info '=app-crypt/seahorse-3.2.2' (einfo,4.74 KB, text/plain)
2012-09-11 20:41 UTC, Moritz Schlarb
Details
Proposed patch for seahorse-3.2.2.ebuild (seahorse-3.2.2-r1.patch,381 bytes, patch)
2012-09-11 20:53 UTC, Moritz Schlarb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Schlarb 2012-09-11 20:40:47 UTC
Emerging app-crypt/seahorse-3.2.2 fails due to some function from 
# qfile /usr/include/gck-1/gck/gck.h
app-crypt/gcr (/usr/include/gck-1/gck/gck.h)

Seahorse doesn't even directly depend on gcr, so probably there's a missing dependency restriction.

# MAKEOPTS="" emerge -v =app-crypt/seahorse-3.2.2
...
  CC     seahorse-pkcs11-object.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../libseahorse -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm   -I/usr/include/gpgme -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gck-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/p11-kit-1   -pthread -I/usr/include/gcr-3 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm   -DDATA_DIR=\""/usr/share"\" -DSEAHORSE_UIDIR=\""/usr/share/seahorse/ui/"\" -DLOCALEDIR=\"/usr/share/locale\" -DEXECDIR=\""/usr/lib/seahorse/"\" -DGCR_API_SUBJECT_TO_CHANGE -DGCK_API_SUBJECT_TO_CHANGE -DGETTEXT_PACKAGE=\""seahorse\""    -Wall 	-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 	-Wnested-externs -Wpointer-arith 	-Wcast-align -Wsign-compare 	-O2 -march=pentium-m -pipe -fomit-frame-pointer -Wno-strict-aliasing -Wno-sign-compare -c -o seahorse-pkcs11-object.lo seahorse-pkcs11-object.c
seahorse-pkcs11-object.c: In function 'load_object_attributes':
seahorse-pkcs11-object.c:98:8: warning: assignment discards qualifiers from pointer target type
seahorse-pkcs11-object.c:126:8: warning: assignment discards qualifiers from pointer target type
seahorse-pkcs11-object.c: In function 'seahorse_pkcs11_object_init':
seahorse-pkcs11-object.c:190:2: error: too few arguments to function 'gck_attributes_new'
/usr/include/gck-1/gck/gck.h:339:22: note: declared here
seahorse-pkcs11-object.c: In function 'seahorse_pkcs11_object_require_attribute':
seahorse-pkcs11-object.c:355:7: warning: assignment discards qualifiers from pointer target type
make[2]: *** [seahorse-pkcs11-object.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-crypt/seahorse-3.2.2/work/seahorse-3.2.2/pkcs11'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-crypt/seahorse-3.2.2/work/seahorse-3.2.2'
make: *** [all] Error 2
 * ERROR: app-crypt/seahorse-3.2.2 failed (compile phase):
Comment 1 Moritz Schlarb 2012-09-11 20:41:34 UTC
Created attachment 323546 [details]
Output of emerge --info '=app-crypt/seahorse-3.2.2'
Comment 2 Moritz Schlarb 2012-09-11 20:45:15 UTC
Oh well, emerging app-crypt/seahorse-3.4.1 fixes this compile problem.

Sorry for the fuzz!
Comment 3 Moritz Schlarb 2012-09-11 20:53:34 UTC
Created attachment 323548 [details, diff]
Proposed patch for seahorse-3.2.2.ebuild

This patch introduces a dependency on a version of gnome-keyring before 3.3 where gcr was split from it and it propably was made incompatible.
This allows the seahorse-3.2.2.ebuild to be still buildable even if gnome-keyring would have to be downgrade for that.