Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 570752

Summary: =dev-libs/glib-2.46.2-r1 - touch: cannot touch '.../usr/lib64/gio/giomodule.cache': No such file or directory
Product: Gentoo Linux Reporter: Bertrand Jacquin <bertrand>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description Bertrand Jacquin 2016-01-03 16:35:14 UTC
While building =dev-libs/glib-2.46.2-r1, the following error is raised:

 * abi_x86_64.amd64: running multilib_pkg_preinst
touch: cannot touch '/var/tmp/portage/dev-libs/glib-2.46.2-r1/image//usr/lib64/gio/giomodule.cache': No such file or directory
 * ERROR: dev-libs/glib-2.46.2-r1::gentoo failed (preinst phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called pkg_preinst
 *   environment, line 4954:  Called multilib_foreach_abi 'multilib_pkg_preinst'
 *   environment, line 4448:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib_pkg_preinst'
 *   environment, line 4126:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib_pkg_preinst'
 *   environment, line 4124:  Called _multilib_multibuild_wrapper 'multilib_pkg_preinst'
 *   environment, line  862:  Called multilib_pkg_preinst
 *   environment, line 4951:  Called die
 * The specific snippet of code:
 *               touch "${ED}"/${cache} || die;

Attached is the build log and emerge --info

Reproducible: Always
Comment 1 Bertrand Jacquin 2016-01-03 16:35:42 UTC
Created attachment 421790 [details]
build.log
Comment 2 Bertrand Jacquin 2016-01-03 16:35:59 UTC
Created attachment 421792 [details]
emerge --info
Comment 3 Bertrand Jacquin 2016-01-03 16:39:58 UTC
Pull request https://github.com/gentoo/gentoo/pull/602 have been created as a fix proposal
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2016-01-04 08:09:42 UTC
I was there wondering why this didn't break for gdk-pixbuf and gtk+ until I realized glib doesn't install gio modules of its own. Added a keepdir instead of mkdir since the directory needs to exist even for the other branch (that should have failed too).

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd69ef94726d543e16c0988395218e042c2db03