Bug 2245 - gthumb fails to install configration files correctly
Summary: gthumb fails to install configration files correctly
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard: (P2)
Depends on:
Blocks:
 
Reported: 2012-04-04 21:49 UTC by Saul Wold
Modified: 2012-07-04 14:39 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saul Wold 2012-04-04 21:49:06 UTC
| (gconftool-2:15782): GConf-WARNING **: Failed to write "/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/sysroots/x86_64-linux/etc/gconf/gconf.xml.defaults/%gconf-tree.xml": Failed to move temporary file "/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/sysroots/x86_64-linux/etc/gconf/gconf.xml.defaults/%gconf-tree.xml.new" to final location "/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/sysroots/x86_64-linux/etc/gconf/gconf.xml.defaults/%gconf-tree.xml": No such file or directory

This could be a parallel make or multi-build issue
Comment 1 Joshua Lock - Disabled 2012-04-04 22:08:03 UTC
This isn't strictly a gthumb issue. Looks like gconf.bbclass needs some robustness for highly parallel builds.

If someone else has time to look at this that would be appreciated.
Comment 2 Darren Hart 2012-04-18 15:54:55 UTC
When do the messages reported in Comment 1 appear? Which log?
Comment 3 Joshua Lock - Disabled 2012-04-18 16:08:22 UTC
(In reply to comment #2)
> When do the messages reported in Comment 1 appear? Which log?

gconftool is used during postinst I believe so they'd be in log.do_rootfs
Comment 4 Ross Burton 2012-06-22 10:57:09 UTC
Turns out that gconf schema registration was happening in make install, which is wrong for a packaging system.

poky-contrib/ross/gconf should go towards fixing this, and might even solve the parallel problem in gthumb[1]

[1] http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=688b1ca792a9ce5b3aff3fd3b0fa075fca5a8e81
Comment 5 Ross Burton 2012-06-26 10:28:17 UTC
My hunch is that this problem is caused by multiple recipes running their do_install stage at once and simultaneously running gconftool to register their schemas, so they're racing to badly do atomic writes.

This shouldn't happen as schema registration should happen in postinst, package builds should be disabling the registration process.  I've just sent a patch to oe-core to fix this.
Comment 6 Ross Burton 2012-06-26 10:28:40 UTC
(moving to core as it's a problem in gconf.bbclass)
Comment 7 Ross Burton 2012-07-04 14:39:53 UTC
Fixed gconf.bbclass merged.

(http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d3343f7307290e14eb90226a510de350b1cfd8b2)