Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212616 - app-mobilephone/kmobiletools make install fails -- has invalid path
Summary: app-mobilephone/kmobiletools make install fails -- has invalid path
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-07 19:22 UTC by William Kilian
Modified: 2008-03-07 20:30 UTC (History)
0 users

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


Attachments
possible fix (kmobiletools-0.4.3.3.ebuild.fix-kmobiletools.desktop-location.1.patch,416 bytes, patch)
2008-03-07 20:06 UTC, William Kilian
Details | Diff
better fix (kmobiletools-0.4.3.3.ebuild.fix-kmobiletools.desktop-location.2.patch,793 bytes, patch)
2008-03-07 20:07 UTC, William Kilian
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Kilian 2008-03-07 19:22:18 UTC
make install fails because the Makefile apparently believes kmobiletools.desktop is in usr/share/applnk/Utilities but it is actually in usr/share/applications/kde/

mv: cannot stat `/var/tmp/portage/app-mobilephone/kmobiletools-0.4.3.3/image//usr/share/applnk/Utilities/kmobiletools.desktop': No such file or directory
 *
 * ERROR: app-mobilephone/kmobiletools-0.4.3.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 4122:  Called die
 * The specific snippet of code:
 *       mv "${D}"/usr/share/applnk/Utilities/kmobiletools.desktop "${D}"/usr/share/applications/kde || die "Moving kmobiletools.desktop failed."
 *  The die message:
 *   Moving kmobiletools.desktop failed.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/app-mobilephone:kmobiletools-0.4.3.3:20080307-190321.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-mobilephone/kmobiletools-0.4.3.3/temp/environment'.
 *

[2.49 CST 2008-03-07 13:09:36 will ~]

[root@phantom ~]# find

[0.54 CST 2008-03-07 13:11:37 will ~]

[root@phantom ~]# find /var/tmp/portage/app-mobilephone/kmobiletools-0.4.3.3/image//usr/share/ -name kmobiletools.desktop
/var/tmp/portage/app-mobilephone/kmobiletools-0.4.3.3/image//usr/share/applications/kde/kmobiletools.desktop



Reproducible: Always

Steps to Reproduce:
1. emerge kmobiletools
2.
3.

Actual Results:  
make install fails

Expected Results:  
Install should succeed
Comment 1 William Kilian 2008-03-07 19:24:00 UTC
# emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Athlon(tm) XP 1500+
Timestamp of tree: Fri, 29 Feb 2008 19:46:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1, 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://prometheus.cs.wmich.edu/gentoo"
LANG="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amr automount bash-completion berkdb bitmap-fonts bootsplash branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups curl dbus dedicated dga directfb divx4linux djbfft dlloader doc dri dts dv dvb dvd dvdr dvdread emboss encode evo examples exif expat fam fbcon ffmpeg firefox flac fortran gdbm gif gnutls gphoto2 gpm gstreamer hal hardened howl iconv idea imlib ipv6 isdnlog jack java javascript jbig jikes jpeg jpeg2k kde kdeenablefinal kerberos krb4 lcms libcaca live lm_sensors logitech-mouse lua lzo mad mailwrapper matroska midi mikmod mmap mmx mmx2 mng mozilla mp3 mpeg mplayer mudflap mythtv ncurses network nls nptl nptlonly nsplugin objc oci8 ogg openexr opengl openmp pam pcre pdf perl pg-intdatetime pic png pnp portaudio ppds pppd python qmail qt3 qt3support qt4 quicktime readline real reflection rle rtc samba sasl scanner sdl session slang slp sndfile socks5 softmmu speex spell spl sse ssl subversion svg sysfs tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts unicode urandom usb utempter v4l v4l2 vcd vhosts vidix vorbis wifi win32codecs wmf x86 xanim xforms xine xml xorg xprint xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 William Kilian 2008-03-07 20:06:08 UTC
Created attachment 145498 [details, diff]
possible fix

this patch removes the mv command from the ebuild
Comment 3 William Kilian 2008-03-07 20:07:13 UTC
Created attachment 145500 [details, diff]
better fix

since the mv command is probably there for a reason, this patch makes the mv command conditional on the kmobiletools.desktop being in the wrong place
Comment 4 William Kilian 2008-03-07 20:08:08 UTC
*sigh* I forgot to emerge sync before submitting this bug, so it may have already been fixed in portage. I'm sorry if that is the case
Comment 5 William Kilian 2008-03-07 20:30:53 UTC
doh! confirmed bug does not exist in latest portage. lol