Summary: | desktop-file-utils ebuild fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pete Plank <neko> |
Component: | New packages | Assignee: | Emacs project <emacs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cardoe, eonwe, jrmalaq |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch for desktop-file-utils-0.7.ebuild |
Description
Pete Plank
2004-08-02 10:44:55 UTC
I can confirm this. Add a USE flag atleast so that we can choose not to install this file. Created attachment 36708 [details, diff]
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
"make install".
Almost. In addition to comment #2 I had to add 'datadir=${D}/usr/share' to the make install. This patch along with the datadir suggestion in comment 3 works for me. 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' WARNING: Warnings can be ignored. :-) if test emacs != no; then \ set x; \ list='desktop-entry-mode.el'; for p in $list; do \ if test -f "$p"; then d=; else d="./"; fi; \ set x "$@" "$d$p"; shift; \ done; \ shift; \ EMACS=emacs /bin/sh ../elisp-comp "$@" || 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's function definition is void: global-semantic-show-dirty-mode make[2]: *** [elc-stamp] Error 1 make[2]: *** Waiting for unfinished jobs.... Symbol'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' 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' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/desktop-file-utils-0.7/work/desktop -file-utils-0.7' 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="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-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" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/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" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-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" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs sandbox sign" GENTOO_MIRRORS="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/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /home/cardoe/workspace/gentoo-x86" SYNC="rsync://rsync2.us.gentoo.org/gentoo-portage" USE="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" Rather then adding all of that you could just make it use einstall Um why has this not yet gone away? :( Sorry for the delay. Fixed in CVS. Thanks for the bug report. |