<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>59172</bug_id>
          
          <creation_ts>2004-08-02 10:44 0000</creation_ts>
          <short_desc>desktop-file-utils ebuild fails</short_desc>
          <delta_ts>2004-08-13 17:01:17 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>neko@nekochan.net</reporter>
          <assigned_to>emacs@gentoo.org</assigned_to>
          <cc>cardoe@gentoo.org</cc>
    
    <cc>eonwe@users.sourceforge.net</cc>
    
    <cc>j.romildo@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>neko@nekochan.net</who>
            <bug_when>2004-08-02 10:44:55 0000</bug_when>
            <thetext>Fails with access violation; output clipping below:

make[2]: Nothing to be done for `install-exec-am&apos;.
 /bin/install -c -m 644 desktop-entry-mode.el /usr/share/emacs/site-lisp/desktop-entry-mode.el
ACCESS DENIED  open_wr:   /usr/share/emacs/site-lisp/desktop-entry-mode.el
/bin/install: cannot create regular file `/usr/share/emacs/site-lisp/desktop-entry-mode.el&apos;: Permission denied
 /bin/install -c -m 644 desktop-entry-mode.elc /usr/share/emacs/site-lisp/desktop-entry-mode.elc
ACCESS DENIED  open_wr:   /usr/share/emacs/site-lisp/desktop-entry-mode.elc
/bin/install: cannot create regular file `/usr/share/emacs/site-lisp/desktop-entry-mode.elc&apos;: Permission denied
make[2]: *** [install-lispLISP] Error 1
make[2]: Leaving directory `/var/tmp/portage/desktop-file-utils-0.7/work/desktop-file-utils-0.7/misc&apos;
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/desktop-file-utils-0.7/work/desktop-file-utils-0.7/misc&apos;
make: *** [install-recursive] Error 1

!!! ERROR: dev-util/desktop-file-utils-0.7 failed.
!!! Function src_install, Line 29, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = &quot;/tmp/sandbox-dev-util_-_desktop-file-utils-0.7-30631.log&quot;

open_wr:   /usr/share/emacs/site-lisp/desktop-entry-mode.el
open_wr:   /usr/share/emacs/site-lisp/desktop-entry-mode.elc
--------------------------------------------------------------------------------



Reproducible: Always
Steps to Reproduce:
1. emerge desktop-file-utils
2.
3.

Actual Results:  
emerge failed

Expected Results:  
successful emerge

root@misaki /home/neko # emerge info
Portage 2.0.50-r9 (2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0,
2.6.7-gentoo-r11)=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon-xp -O2 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -mcpu=i686 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow 3dnowext X aalib alsa apm arts avi berkdb bindist bonobo cdr cjk
crypt cups directfb dvd encode esd f77 fam foomaticdb gdbm gif gnome gphoto2 gpm
gtk gtk2 gtkhtml guile imap imlib java jpeg kde libg++ libwww mad mikmod mmx
mmxext motif mozilla mpeg mysql ncurses nls nvidia oggvorbis opengl oss pam
pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse ssl
stencil-buffer svga tcltk tcpd tiff truetype usb v4l wxwindows x86 xml xml2 xmms
xv xvid zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>marwo264@student.liu.se</who>
            <bug_when>2004-08-03 05:32:20 0000</bug_when>
            <thetext>I can confirm this. Add a USE flag atleast so that we can choose not to install this file.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>j.romildo@gmail.com</who>
            <bug_when>2004-08-03 11:44:44 0000</bug_when>
            <thetext>Created an attachment (id=36708)
Patch for desktop-file-utils-0.7.ebuild

This patch to the ebuild should fix it.

In the src_install function in the ebuild just define DESTDIR in the call to
&quot;make install&quot;.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>distler@kph.uni-mainz.de</who>
            <bug_when>2004-08-06 08:06:21 0000</bug_when>
            <thetext>Almost. In addition to comment #2 I had to add &apos;datadir=${D}/usr/share&apos; to the make install.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>keith@cs.oswego.edu</who>
            <bug_when>2004-08-06 08:48:30 0000</bug_when>
            <thetext>This patch along with the datadir suggestion in comment 3 works for me.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cardoe@gentoo.org</who>
            <bug_when>2004-08-08 22:46:15 0000</bug_when>
            <thetext>The ebuild fails for me as well.

make[3]: Entering directory `/var/tmp/portage/desktop-file-utils-0.7/work/deskto p-file-utils-0.7/misc&apos;
WARNING: Warnings can be ignored. :-)
if test emacs != no; then \
  set x; \
  list=&apos;desktop-entry-mode.el&apos;; for p in $list; do \
            if test -f &quot;$p&quot;; then d=; else d=&quot;./&quot;; fi; \
    set x &quot;$@&quot; &quot;$d$p&quot;; shift; \
  done; \
  shift; \
  EMACS=emacs /bin/sh ../elisp-comp &quot;$@&quot; || exit 1; \
else : ; fi
Loading php-mode...
Loading php-mode...
Loading /usr/libexec/emacs/21.3/i686-pc-linux-gnu/fns-21.3.1.el (source)...
Loading /usr/libexec/emacs/21.3/i686-pc-linux-gnu/fns-21.3.1.el (source)...
Symbol&apos;s function definition is void: global-semantic-show-dirty-mode
make[2]: *** [elc-stamp] Error 1
make[2]: *** Waiting for unfinished jobs....
Symbol&apos;s function definition is void: global-semantic-show-dirty-mode
make[3]: *** [elc-stamp] Error 1
make[3]: Leaving directory `/var/tmp/portage/desktop-file-utils-0.7/work/desktop -file-utils-0.7/misc&apos;
make[2]: *** [desktop-entry-mode.elc] Error 2
make[2]: Leaving directory `/var/tmp/portage/desktop-file-utils-0.7/work/desktop -file-utils-0.7/misc&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/desktop-file-utils-0.7/work/desktop -file-utils-0.7&apos;
make: *** [all] Error 2

!!! ERROR: dev-util/desktop-file-utils-0.7 failed.
!!! Function src_compile, Line 22, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

emerge info
Portage 2.0.51_pre17 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040619-r1, 2.6.7-gentoo-r11 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHz)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHz
Gentoo Base System version 1.5.2
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=pentium4 -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -falign-functions=4 -fforce-addr -funroll-loops -maccumulate-outgoing-args -frerun-loop-opt -fprefetch-loop-arrays -frerun-cse-after-loop -mfpmath=sse -ftracer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=pentium4 -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -falign-functions=4 -fforce-addr -funroll-loops -maccumulate-outgoing-args -frerun-loop-opt -fprefetch-loop-arrays -frerun-cse-after-loop -mfpmath=sse -ftracer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache cvs sandbox sign&quot;
GENTOO_MIRRORS=&quot;http://open-systems.ufl.edu/mirrors/gentoo/distfiles/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.chem.wisc.edu/gentoo/&quot;
MAKEOPTS=&quot;-j4&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage /home/cardoe/workspace/gentoo-x86&quot;
SYNC=&quot;rsync://rsync2.us.gentoo.org/gentoo-portage&quot;
USE=&quot;X aalib acpi alsa apm arts audiofile avi berkdb cdr crypt cups dvd encode esd faad flac foomaticdb footmaticdb gdbm gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mozsvg mpeg mysql nas ncurses nogcj nptl nvidia oav oggvorbis opengl oss pam pcmcia pdflib perl pic png pnp ppds python qt quicktime readline samba sdl slang slp smooth spell sse ssl svga tcltk tcpd theora tiff truetype usb wmf x86 xml2 xmms xv zlib&quot;

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>skobel@gmail.com</who>
            <bug_when>2004-08-11 20:51:48 0000</bug_when>
            <thetext>Rather then adding all of that you could just make it use einstall</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>charlie@vexi.org</who>
            <bug_when>2004-08-13 16:02:56 0000</bug_when>
            <thetext>Um why has this not yet gone away? :(</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-08-13 17:01:17 0000</bug_when>
            <thetext>Sorry for the delay. Fixed in CVS. Thanks for the bug report.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>36708</attachid>
            <date>2004-08-03 11:44 0000</date>
            <desc>Patch for desktop-file-utils-0.7.ebuild</desc>
            <filename>desktop-file-utils-0.7.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGRlc2t0b3AtZmlsZS11dGlscy0wLjcuZWJ1aWxkLm9yaWcJMjAwNC0wOC0wMyAxNTozNjoz
NC4wMDAwMDAwMDAgLTAzMDAKKysrIGRlc2t0b3AtZmlsZS11dGlscy0wLjcuZWJ1aWxkCTIwMDQt
MDgtMDMgMTU6NDA6NDcuMzQ4NDE5NDMyIC0wMzAwCkBAIC0yMywxMCArMjMsNiBAQAogfQogCiBz
cmNfaW5zdGFsbCgpIHsKLQltYWtlIHByZWZpeD0ke0R9L3VzcgkJCQkJXAotCSAgICAgc3lzY29u
ZmRpcj0ke0R9L2V0YwkJCQlcCi0JICAgICBsb2NhbHN0YXRlZGlyPSR7RH0vdmFyL2xpYgkJCVwK
LQkgICAgIGluc3RhbGwgfHwgZGllCi0KKwltYWtlIERFU1RESVI9JHtEfSBpbnN0YWxsIHx8IGRp
ZQogCWRvZG9jIEFVVEhPUlMgQ09QWUlORyBDaGFuZ2VMb2cgTkVXUyBSRUFETUUKIH0K
</data>        

          </attachment>
    </bug>

</bugzilla>