Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 570752 - =dev-libs/glib-2.46.2-r1 - touch: cannot touch '.../usr/lib64/gio/giomodule.cache': No such file or directory
Summary: =dev-libs/glib-2.46.2-r1 - touch: cannot touch '.../usr/lib64/gio/giomodule.c...
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:
Depends on:
Blocks:
 
Reported: 2016-01-03 16:35 UTC by Bertrand Jacquin
Modified: 2016-01-04 08:09 UTC (History)
0 users

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


Attachments
build.log (build.log,657.94 KB, text/x-log)
2016-01-03 16:35 UTC, Bertrand Jacquin
Details
emerge --info (info.log,16.72 KB, text/x-log)
2016-01-03 16:35 UTC, Bertrand Jacquin
Details

Note You need to log in before you can comment on or make changes to this bug.
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