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
Created attachment 421790 [details] build.log
Created attachment 421792 [details] emerge --info
Pull request https://github.com/gentoo/gentoo/pull/602 have been created as a fix proposal
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