When I try to emerge tuxpaint 0.9.13 fails installing launcher icon into KDE 3.2 It seems to me it waits for /var/tmp/portage/tuxpaint-0.9.13/image//usr/kde/3.2/ directory and it's ..../kde/3.1/ what it finds. Reproducible: Always Steps to Reproduce: 1.emerge -uv tuxpaint 2. 3. Actual Results: # emerge -uv tuxpaint Calculating dependencies ...done! >>> emerge (1 of 1) media-gfx/tuxpaint-0.9.13 to / >>> md5 src_uri ;-) tuxpaint-0.9.13.tar.gz >>> Unpacking source... >>> Unpacking tuxpaint-0.9.13.tar.gz to /var/tmp/portage/tuxpaint-0.9.13/work >>> Source unpacked. ...Compiling Tux Paint from source... ...Compiling high quality scale filter helpers... ...Compiling high quality 4x scale filter... ...Linking Tux Paint... root ...Preparing translation files... ca_ES ...Catalan... cs_CZ ...Czech... da_DK ...Danish... de_DE ...German... el_GR ...Greek... en_GB ...British English... es_ES ...Spanish... eu_ES ...Basque... fi_FI ...Finnish... fr_FR ...French... he_IL ...Hebrew... hu_HU ...Hungarian... id_ID ...Indonesian... is_IS ...Icelandic... it_IT ...Italian... ja_JP ...Japanese... ko_KR ...Korean... lt_LT ...Lithuanian... ms_MY ...Malay... nl_NL ...Dutch... nb_NO ...Norwegian Bokmal... nn_NO ...Norwegian Nynorsk... pl_PL ...Polish... pt_BR ...Brazilian Portuguese... pt_PT ...Portuguese... ro_RO ...Romanian... ru_RU ...Russian... sk_SK ...Slovak... sv_SE ...Swedish... ta_IN ...Tamil... tr_TR ...Turkish... wa_BE ...Walloon... zh_CN ...Chinese... -------------------------------------------------------------- Done compiling. Now (probably as 'root' superuser), run 'make install' to install Tux Paint. >>> Install tuxpaint-0.9.13 into /var/tmp/portage/tuxpaint-0.9.13/image/ category media-gfx kde ...Installing program itself... ...Installing data files... ...Installing man pages... ...Installing documentation... ...Installing launcher icon into GNOME... ...Installing launcher icon into KDE... cp: no se puede crear el fichero regular `/var/tmp/portage/tuxpaint-0.9.13/image//usr/kde/3.2/share/applnk/Graphics/tuxpaint.desktop': No existe el fichero o el directorio chmod: fallo al obtener los permisos de `/var/tmp/portage/tuxpaint-0.9.13/image//usr/kde/3.2/share/applnk/Graphics/tuxpaint.desktop': No existe el fichero o el directorio make: *** [install-kde] Error 1 !!! ERROR: media-gfx/tuxpaint-0.9.13 failed. !!! Function src_install, Line 61, Exitcode 2 !!! (no error message) Expected Results: no errors! Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-ac1) ================================================================= System uname: 2.4.22-ac1 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -funroll-loops -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -funroll-loops -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib acpi apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww linguas_es mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl opie oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex truetype usb x86 xml2 xmms xv zlib"
Same here: >>> Install tuxpaint-0.9.13 into /var/tmp/portage/tuxpaint-0.9.13/image/ category media-gfx kde ...Installing program itself... ...Installing data files... ...Installing man pages... ...Installing documentation... ...Installing launcher icon into GNOME... Nothing to install ...Installing launcher icon into KDE... cp: cannot create regular file `/var/tmp/portage/tuxpaint-0.9.13/image//usr/kde/3.2/share/applnk/Graphics/tuxpaint.desktop': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/tuxpaint-0.9.13/image//usr/kde/3.2/share/applnk/Graphics/tuxpaint.desktop': No such file or directory make: *** [install-kde] Error 1 !!! ERROR: media-gfx/tuxpaint-0.9.13 failed. !!! Function src_install, Line 61, Exitcode 2 !!! (no error message)
However /var/tmp/portage/tuxpaint-0.9.13/image/usr/kde/3.1/share/applnk/Graphics/tuxpaint.desktop does exist... So I am guessing if someone would play around with changing the destination of that file.
Same here: --start-- Done compiling. Now (probably as 'root' superuser), run 'make install' to install Tux Paint. >>> Install tuxpaint-0.9.13 into /var/tmp/portage/tuxpaint-0.9.13/image/ category media-gfx kde ...Installing program itself... ...Installing data files... ...Installing man pages... ...Installing documentation... ...Installing launcher icon into GNOME... ...Installing launcher icon into KDE... cp: cannot create regular file `/var/tmp/portage/tuxpaint-0.9.13/image//usr/kde/3.2/share/applnk/Graphics/tuxpaint.desktop': No such file or directory chmod: cannot access `/var/tmp/portage/tuxpaint-0.9.13/image//usr/kde/3.2/share/applnk/Graphics/tuxpaint.desktop': No such file or directory make: *** [install-kde] Error 1 !!! ERROR: media-gfx/tuxpaint-0.9.13 failed. !!! Function src_install, Line 61, Exitcode 2 !!! (no error message) --end-- Notice the double / in the path?
Dorian Pula stated that "/var/tmp/portage/tuxpaint-0.9.13/image/usr/kde/3.1/share/applnk/Graphics/tuxpaint.desktop does exist". In my case only the directory exists. (In fact, everything below 3.1/ is a directory. No files are created. 3.1 $ find . -type f -print 3.1 $ find . -type d -print . ./share ./share/icons ./share/icons/hicolor ./share/icons/hicolor/16x16 ./share/icons/hicolor/16x16/apps ./share/icons/hicolor/32x32 ./share/icons/hicolor/32x32/apps ./share/icons/hicolor/48x48 ./share/icons/hicolor/48x48/apps ./share/applnk ./share/applnk/Graphics
It's defintely NOT elegant but it worked. I took a look at the Makefile in /var/tmp/portage/tuxpaint-0.9.13/work/tuxpaint-0.9.13 The following lines need to be changed: GNOME_PREFIX=/var/tmp/portage/tuxpaint-0.9.13/image/`gnome-config --prefix` KDE_PREFIX=/var/tmp/portage/tuxpaint-0.9.13/image/`kde-config --install apps --$ KDE_ICON_PREFIX=/var/tmp/portage/tuxpaint-0.9.13/image/`kde-config --install ic$ The "/" before the "`" needs to be deleted. I then had to 'mv /var/tmp/portage/tuxpaint-0.9.13/image/usr/kde/3.1 /var/tmp/portage/tuxpaint-0.9.13/image/usr/kde/3.2' and manually finish the rest of the installation. 'make install-kde install-kde-icons install-icon install-gettext install-importscript install-default-config install-example-stamps' From a cleanup point of view I'm not sure what's left to do. 'emerge' still needs to copy things to their real directories and clean up the binaries. I'm not sure how to tell emerge to do this. I was able to get around this little problem by editing the Makefile while emerge was running, and then moving .../kde/3.1 to ../kde/3.2 after the directory had been created but before it had been used.
Created attachment 34506 [details] Ebuild correct With this ebuild tuxpaint install correct on kde-3.2
Created attachment 36565 [details] a correct ebuild for tuxpaint 0.9.13. Installs for all kde versions A working ebuild. Put it into /usr/portage/media-gfx/tuxpaint
This doesn't seem to have been resolved or worked its way through to the repository? At the moment, this build isn't working with: ...Installing launcher icon into GNOME... /bin/sh: line 1: gnome-config: command not found /bin/sh: line 1: gnome-config: command not found /bin/sh: line 1: gnome-config: command not found /bin/sh: line 1: gnome-config: command not found /bin/sh: line 1: gnome-config: command not found /bin/sh: line 1: gnome-config: command not found /bin/sh: line 1: gnome-config: command not found ...Installing launcher icon into KDE... /bin/sh: line 1: kde-config: command not found /bin/sh: line 1: kde-config: command not found cp: cannot create regular file `/var/tmp/portage/tuxpaint-0.9.13/image//Graphics/tuxpaint.desktop': No such file or directory /bin/sh: line 1: kde-config: command not found chmod: cannot access `/var/tmp/portage/tuxpaint-0.9.13/image//Graphics/tuxpaint.desktop': No such file or directory make: *** [install-kde] Error 1 !!! ERROR: media-gfx/tuxpaint-0.9.13 failed. !!! Function src_install, Line 61, Exitcode 2 !!! (no error message)
*** Bug 64459 has been marked as a duplicate of this bug. ***
This shouldn't have been assigned to the graphics herd. I apologize for the late reply. KDE users, please test tuxpaint-0.9.13-r1, which should resolve these issues. Note that it may take a little while for the files to hit the mirrors. Thanks.
No reply, but this should work now.
tested. works.