Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381999 - media-gfx/shotwell-0.11.0: file collisions with glib-2.0 schemas
Summary: media-gfx/shotwell-0.11.0: file collisions with glib-2.0 schemas
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 00:19 UTC by nm (RETIRED)
Modified: 2011-09-10 23:51 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nm (RETIRED) gentoo-dev 2011-09-06 00:19:10 UTC
While emerging shotwell-0.11 on amd64

* Detected file collision(s):
 * 
 * 	/usr/share/glib-2.0/schemas/gschemas.compiled
*
* None of the installed packages claim the file(s).
 * 
 * Package 'media-gfx/shotwell-0.11.0' merged despite file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

There's nothing else in the elog output or other Portage logfiles.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-07 05:23:45 UTC
This is the result of a strange and distribution-hostile decision on upstream's part. I will simply quote the output of shotwell's configure --help:

--disable-schemas-install
			Disable installation of GConf schemas;
			GSettings schemas are always installed

Obviously, shotwell needs to install its schema *source* files (*.gschema.xml). However, on Gentoo (or indeed, on any distro), packages must not install the *compiled* gsettings schema file because there is only one compiled schema file under /usr/share/glib-2.0/schemas, and so it cannot belong to any individual package. Instead, the systemwide compiled schemas file is regenerated in pkg_postinst() by the gnome2 eclass.

The ebuild will need to work around upstream's silliness, for example by doing

sed -e '/glib-compile-schemas $(DESTDIR)/ d' -i Makefile || die

in src_prepare().
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2011-09-10 08:09:47 UTC
should be fixed in 0.11.1 (upstream changed the Makefile), please check
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-10 23:51:34 UTC
(In reply to comment #2)
> should be fixed in 0.11.1 (upstream changed the Makefile), please check

Yes, it's fixed.