Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144670 - x11-misc/googleearth-4_beta fails to patch with mime-magic.patch
Summary: x11-misc/googleearth-4_beta fails to patch with mime-magic.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-21 11:32 UTC by Lukas Barth
Modified: 2006-08-30 13:46 UTC (History)
1 user (show)

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


Attachments
Requested output of patch. (mime-magic.patch-3530.out,2.93 KB, text/plain)
2006-08-21 11:33 UTC, Lukas Barth
Details
googleearth-4_beta.ebuild (googleearth-4_beta.ebuild,1.93 KB, patch)
2006-08-25 18:42 UTC, Rick Harris
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Barth 2006-08-21 11:32:05 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060813 Firefox/1.5.0.5
Build Identifier: 

When emerging x11-misc/googleearth it fetchs the binary, installs it under
/var/tmp/portage, then it comes to patching:

Installing mimetypes...
xdg-mime: unknown command '--system'
Try 'xdg-mime --help' for more information.
Installing desktop menu entries...
 * Applying mime-magic.patch ...

 * Failed Patch: mime-magic.patch !
 *  ( /usr/portage/x11-misc/googleearth/files/mime-magic.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/googleearth-4_beta/temp/mime-magic.patch-3530.out

The output file is attached.

Reproducible: Always

Steps to Reproduce:
1. emerge googleearth
2. wait


Actual Results:  
See "Details"

Expected Results:  
Well, I hoped it would merge googleearth. ;-)

blackbox tinloaf # emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4,
2.6.17-gentoo-r4-1 i686)
=================================================================
System uname: 2.6.17-gentoo-r4-1 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -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/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.1.100/gentoo-portage"
USE="x86 3dnow X alsa apm avi berkdb bitmap-fonts cli crypt cups dlloader dri
dvd eds emacs emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk
gtk2 imlib ipv6 isdnlog java jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg
ncurses nls nptl ogg opengl pam pcre pdflib perl png pppd python qt3 qt4
quicktime readline reflection samba sdl session spell spl sse ssl tcpd truetype
truetype-fonts type1-fonts udev vorbis win32codecs xml xmms xorg xv xvid zlib
elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de
linguas_en userland_GNU video_cards_nvidia video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Lukas Barth 2006-08-21 11:33:52 UTC
Created attachment 94790 [details]
Requested output of patch.
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-22 07:38:06 UTC
I mailed the portland list about this:

http://lists.freedesktop.org/archives/portland/2006-August/000835.html

It would be cool if you could contribute a patch (see my mail for details) for it.
Thanks!
Comment 3 Rick Harris 2006-08-25 18:42:24 UTC
Created attachment 95094 [details, diff]
googleearth-4_beta.ebuild

Here is a workaround, tell Googleearth's postinstall.sh script to use it's own internal xdg-utils scripts (xdg-mime/xdg-menu), instead of the global one in /usr/bin/
Comment 4 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2006-08-30 01:24:14 UTC
thx alot Rick, after applying your changes I were finally able to use googleearth
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-30 13:46:19 UTC
simple workaround, did not think about that, thanks for it!

I was on holidays, sorry for the delay :(