I get this when trying to install gwaei: >>> Install gwaei-0.12.0 into /var/tmp/portage/app-dicts/gwaei-0.12.0/image/ category app-dicts make -j3 DESTDIR=/var/tmp/portage/app-dicts/gwaei-0.12.0/image/ 'scrollkeeper_localstate_dir=/var/tmp/portage/app-dicts/gwaei-0.12.0/image//var/lib/scrollkeeper ' install Making install in docs make[1]: Siirrytään hakemistoon "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/docs" make[2]: Siirrytään hakemistoon "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/docs" make[2]: Kohteelle "install-exec-am" ei tarvitse tehdä mitään. test -z "/usr/share/gnome/help/gwaei/C" || /bin/mkdir -p "/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/gnome/help/gwaei/C" /usr/bin/install -c -m 644 'C/index.xml' '/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/gnome/help/gwaei/C/index.xml' make[2]: Poistutaan hakemistosta "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/docs" make[1]: Poistutaan hakemistosta "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/docs" Making install in src make[1]: Siirrytään hakemistoon "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src" make[2]: Siirrytään hakemistoon "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src" test -z "/usr/bin" || /bin/mkdir -p "/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/bin" make[2]: Kohteelle "install-data-am" ei tarvitse tehdä mitään. /usr/bin/install -c 'gwaei' '/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/bin/gwaei' make[2]: Poistutaan hakemistosta "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src" make[1]: Poistutaan hakemistosta "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src" Making install in src/schemas make[1]: Siirrytään hakemistoon "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/schemas" make[2]: Siirrytään hakemistoon "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/schemas" make[2]: Kohteelle "install-exec-am" ei tarvitse tehdä mitään. GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults \ /usr/bin/gconftool-2 --makefile-install-rule ../../src/schemas/gwaei.schemas test -z "/etc/gconf/schemas" || /bin/mkdir -p "/var/tmp/portage/app-dicts/gwaei-0.12.0/image//etc/gconf/schemas" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL on asetettu: kaavaimet eivät asennu `/usr/bin/killall -HUP gconfd-2 || true` /usr/bin/install -c -m 644 '../../src/schemas/gwaei.schemas' '/var/tmp/portage/app-dicts/gwaei-0.12.0/image//etc/gconf/schemas/gwaei.schemas' Giving gconfd 4 extra seconds to update itself... make[2]: Poistutaan hakemistosta "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/schemas" make[1]: Poistutaan hakemistosta "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/schemas" Making install in src/xml make[1]: Siirrytään hakemistoon "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/xml" make[2]: Siirrytään hakemistoon "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/xml" make[2]: Kohteelle "install-exec-am" ei tarvitse tehdä mitään. test -z "/usr/share/gwaei" || /bin/mkdir -p "/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/gwaei" /usr/bin/install -c -m 644 'main.xml' '/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/gwaei/main.xml' /usr/bin/install -c -m 644 'radicals.xml' '/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/gwaei/radicals.xml' /usr/bin/install -c -m 644 'settings.xml' '/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/gwaei/settings.xml' /usr/bin/install -c -m 644 '../kanjipad/kanjipad.xml' '/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/gwaei/kanjipad.xml' make[2]: Poistutaan hakemistosta "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/xml" make[1]: Poistutaan hakemistosta "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/xml" Making install in src/kpengine make[1]: Siirrytään hakemistoon "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/kpengine" make[2]: Siirrytään hakemistoon "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/kpengine" make[2]: Kohteelle "install-exec-am" ei tarvitse tehdä mitään. test -z "/usr/share/gwaei" || /bin/mkdir -p "/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/gwaei" test -z "/usr/share/gwaei" || /bin/mkdir -p "/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/gwaei" /usr/bin/install -c -m 644 'jdata.dat' '/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/gwaei/jdata.dat' /usr/bin/install -c 'kpengine' '/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/gwaei/kpengine' make[2]: Poistutaan hakemistosta "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/kpengine" make[1]: Poistutaan hakemistosta "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/kpengine" Making install in src/img make[1]: Siirrytään hakemistoon "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/img" make[2]: Siirrytään hakemistoon "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/img" make[2]: Kohteelle "install-exec-am" ei tarvitse tehdä mitään. touch -c /usr/share/icons/hicolor test -z "/usr/share/icons/hicolor/16x16/apps" || /bin/mkdir -p "/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/icons/hicolor/16x16/apps" ACCESS DENIED utimensat: /usr/share/icons/hicolor test -z "/usr/share/icons/hicolor/24x24/apps" || /bin/mkdir -p "/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/icons/hicolor/24x24/apps" /usr/bin/install -c -m 644 '16x16/gwaei.png' '/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/icons/hicolor/16x16/apps/gwaei.png' test -z "/usr/share/icons/hicolor/32x32/apps" || /bin/mkdir -p "/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/icons/hicolor/32x32/apps" /usr/bin/install -c -m 644 '24x24/gwaei.png' '/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/icons/hicolor/24x24/apps/gwaei.png' touch: asetettaessa tiedoston ”/usr/share/icons/hicolor” aikoja: Lupa evätty make[2]: *** [update-icon-cache] Virhe 1 make[2]: *** Odotetaan keskeneräisiä töitä.... /usr/bin/install -c -m 644 '32x32/gwaei.png' '/var/tmp/portage/app-dicts/gwaei-0.12.0/image//usr/share/icons/hicolor/32x32/apps/gwaei.png' make[2]: Poistutaan hakemistosta "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/img" make[1]: *** [install-am] Virhe 2 make[1]: Poistutaan hakemistosta "/var/tmp/portage/app-dicts/gwaei-0.12.0/work/gwaei-0.12.0/src/img" make: *** [install-recursive] Virhe 1 * * ERROR: app-dicts/gwaei-0.12.0 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 720: Called gnome2_src_install * environment, line 669: Called die * The specific snippet of code: * emake DESTDIR="${D}" "scrollkeeper_localstate_dir=${D}${sk_tmp_dir} " "$@" install || die "install failed"; * The die message: * install failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-dicts/gwaei-0.12.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-dicts/gwaei-0.12.0/temp/environment'. * --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-5170.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: utimensat S: deny P: /usr/share/icons/hicolor A: /usr/share/icons/hicolor R: /usr/share/icons/hicolor C: touch -c /usr/share/icons/hicolor -------------------------------------------------------------------------------- >>> Failed to emerge app-dicts/gwaei-0.12.0, Log file: >>> '/var/tmp/portage/app-dicts/gwaei-0.12.0/temp/build.log'
Created attachment 178000 [details] build.log Oh, and sandbox is version 1.3.2
1. read metadata.xml before assigning bugs or don't touch fields you don't know (components here) 2. please don't forget to post your emerge --info 3. please remember that more developers will be able to read your build.log in english
4. forgot to say that the issue seems to be that gwaei is trying to run update gtk icon cache in make install which it shouldn't do has it is automatically done by gnome2 eclass at pkg_postinst time or the ebuild should call the appropriate function from fdo-mime or one of the other gnome eclass.
(In reply to comment #3) > 4. forgot to say that the issue seems to be that gwaei is trying to run update > gtk icon cache in make install which it shouldn't do has it is automatically > done by gnome2 eclass at pkg_postinst time or the ebuild should call the > appropriate function from fdo-mime or one of the other gnome eclass. > I'm the developer of gWaei. Should the Makefile actually be calling gtk-update-icon-cache instead of touch? I didn't personally make the ebuild, but it doesn't look like it's calling touch itself, so I think it is a problem in the Makefile. The icons don't seem to update otherwise.
What would fix the problem is if src_compile() { econf --disable-schemas-install || die "econf failed" emake || die "emake failed" } is added to the ebuild. The poking of the icons directory is stopped if --disable-schemas-install is set in configure, and this would stop the premature schemas installation.
Created attachment 178159 [details, diff] first attempt at a patch An attempted patch. Should add the needed lines. Need to know if this works or not.
Created attachment 178168 [details, diff] gwaei-0.12.0-gentoo.patch
fixed in cvs now.
*** Bug 254667 has been marked as a duplicate of this bug. ***