$ grep doicon skype-4.0.0.7-r2.ebuild doicon -s 48 icons/SkypeBlue_48x48.png skype.png $ ls -l icons/SkypeBlue_48x48.png -rw-r--r-- 1 portage portage 3208 Jun 12 02:45 icons/SkypeBlue_48x48.png $ pwd /var/tmp/portage/net-im/skype-4.0.0.7-r2/work/skype-4.0.0.7 Output follows as: >>> Install skype-4.0.0.7-r2 into /var/tmp/portage/net-im/skype-4.0.0.7-r2/image/ category net-im * skype.png is not a valid file/directory! * ERROR: net-im/skype-4.0.0.7-r2 failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 85: Called src_install * environment, line 2274: Called doicon '-s' '48' 'icons/SkypeBlue_48x48.png' 'skype.png' * environment, line 414: Called _iconins 'doicon' '-s' '48' 'icons/SkypeBlue_48x48.png' 'skype.png' * environment, line 297: Called die * The specific snippet of code: * fi ) || die
From eutils.eclass, just above doicon code is the example, matching this bug: # example 2: doicon -s 48 foobar.png fuqbar.png # results in: insinto /usr/share/icons/hicolor/48x48/apps # doins foobar.png fuqbar.png
Just plain `doicon -s 48 file.png` works, btw, but when you add one more argument it starts failing
brainfreeze, ignore me, completely read the example wrong.