Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42971 - merging tuxpaint 0.9.13 fails with kde 3.2
Summary: merging tuxpaint 0.9.13 fails with kde 3.2
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Leonardo Boshell (RETIRED)
URL:
Whiteboard:
Keywords:
: 64459 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-26 04:24 UTC by jomasasu
Modified: 2005-02-13 08:29 UTC (History)
3 users (show)

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


Attachments
Ebuild correct (tuxpaint-0.9.13.ebuild,1.81 KB, text/plain)
2004-06-30 10:58 UTC, Antonio
Details
a correct ebuild for tuxpaint 0.9.13. Installs for all kde versions (tuxpaint-0.9.13.ebuild,1.89 KB, text/plain)
2004-08-01 01:41 UTC, gunix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jomasasu 2004-02-26 04:24:30 UTC
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"
Comment 1 Sascha Silbe 2004-02-27 10:39:27 UTC
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)


Comment 2 Dorian Pula 2004-04-28 15:34:56 UTC
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.
Comment 3 Rene Androsch 2004-05-15 13:15:15 UTC
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?
Comment 4 Tim S. 2004-05-30 21:04:17 UTC
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
Comment 5 Tim S. 2004-05-30 21:45:51 UTC
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.

Comment 6 Antonio 2004-06-30 10:58:37 UTC
Created attachment 34506 [details]
Ebuild correct

With this ebuild tuxpaint install correct on kde-3.2
Comment 7 gunix 2004-08-01 01:41:32 UTC
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
Comment 8 A Cripps 2004-09-08 02:18:30 UTC
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)
Comment 9 Leonardo Boshell (RETIRED) gentoo-dev 2004-11-23 11:13:19 UTC
*** Bug 64459 has been marked as a duplicate of this bug. ***
Comment 10 Leonardo Boshell (RETIRED) gentoo-dev 2004-11-23 17:48:54 UTC
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.
Comment 11 Leonardo Boshell (RETIRED) gentoo-dev 2005-02-11 18:07:47 UTC
No reply, but this should work now.
Comment 12 Ole Tange 2005-02-13 08:29:11 UTC
tested. works.