Summary: | gpm-1.20.1 complie error with emacs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Igor Balotsky <igor12> |
Component: | New packages | Assignee: | Emacs project <emacs> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | normal | CC: | andreas.kotowicz, base-system, cbm, farcepest, hrabe, jteix, ville |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Igor Balotsky
2005-01-31 08:10:47 UTC
could mine be a related problem, trying to emerge gpm-1.20.1-r3 ? the end of emerge output: ... make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc' /bin/sed -f /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/infofilter /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/doc.gpm > /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.texinfo awk -f /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/manpager doc.gpm awk: /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/manpager:35: warning: escape sequence `\{' treated as plain `{' awk: /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/manpager:36: warning: escape sequence `\}' treated as plain `}' for i in gpm-root.1 gpm-types.7 gpm.8 mev.1 mouse-test.1; do \ expand $i | sed s/^'[ ]*'//g > $i.new; \ mv $i.new $i; \ done; chmod 400 /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.texinfo if [ "/usr/bin/makeinfo" != "no" ]; then /usr/bin/makeinfo /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.texinfo -o /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.info; fi touch gpm.man /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.texinfo:277: warning: unlikely character ( in @var. /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.texinfo:277: warning: unlikely character ) in @var. rm /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc/gpm.texinfo make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/doc' make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/contrib' /usr/bin/emacs -batch -l /var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/contrib/emacs/exec.el -exec '(byte-compile-file "emacs/t-mouse.el")' /usr/bin/emacs: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory make[1]: *** [emacs/t-mouse.elc] Error 127 make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r3/work/gpm-1.20.1/contrib' make: *** [do-all] Error 1 !!! ERROR: sys-libs/gpm-1.20.1-r3 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. no, your problem is not related I don't know whether you mean by "compile error with emacs" that you had emacs installed or that the compile error was related to emacs. Anyway, I got the same error. The build script tries to use emacs, but I only have xemacs. The real fix would add a USE flag that would tell whether to use emacs, xemacs or skip the documentation building part of the build (and accordingly depend on either emacs or xemacs). But here is a quick hack fix for xemacs users: # cd /usr/local/bin # ln -s /usr/bin/xemacs emacs Now, make sure root has /usr/local/bin in the PATH and try again. Good luck! Maybe the link is not very wise in the long run (there could be surprising differences between xemacs and emacs), but it seems to work in this case. *** Bug 85061 has been marked as a duplicate of this bug. *** I have a similar but slightly different error. /usr/bin/emacs -batch -l /var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/contrib/emacs/exec.el -exec '(byte-compile-file "emacs/t-mouse.el")' Warning: Lisp directory `/usr/share/emacs/site-lisp' does not exist. Opening directory: no such file or directory, /usr/share/emacs/site-lisp make[1]: *** [emacs/t-mouse.elc] Error 255 make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/contrib' make: *** [do-all] Error 1 Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 x86_64) ================================================================= System uname: 2.6.11-gentoo-r4 x86_64 AMD Opteron(tm) Processor 850 Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 29 2005, 15:14:59)] distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/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" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa berkdb bitmap-fonts crypt cups curl emul-linux esd fam font-server fortran gdbm gif gnome gnome2 gpm gstreamer gtk gtk2 imlib ipv6 jp2 jpeg libwww lzw lzw-tiff motif mozilla mp3 mutlilib mysql ncurses nls ntpl ntplonly opengl oss pam perl pic png python readline ssl sysvipc tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xrandr xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY any solution to this bug yet? I do have emacs installed but this package still doesn't compile. now I've unmerged gpm and evolution stoped working, so I really need this package to compile again. Any news or solutions for this bug? ive never used emacs nor do i understand its language so i have no idea how to fix this :p I added emacs IUSE to gpm-1.20.1-r4. I'm not going to add xemacs IUSE (it's up to xemacs herd). I cannot reproduce the bug on my laptop, so people who had this problem previously please try emerging gpm-1.20.1-r4 w/ and w/o emacs USE flag and report back if this works or not. Thanks in advance. You added IUSE="emacs" but there is no DEPEND for emacs. Thus when building a new system, attempts to merge gpm with USE="emacs" fails because emacs is not installed first, and the build attempts to run emacs on some .el files to compile them. This occurs with gpm-1.20.1-r4. Thanks for your report. I tried to add emacs to DEPEND, but emacs does not have m68k and sh keywords. Could you guys check and add your arch keyword to app-editors/emacs? In the meantime, please turn off emacs USE when you build system. i'll use.mask emacs on m68k/sh in the future you can ignore those arches when it comes to DEPENDs, i'll take care of it later when i see it Got bitten by this "emacs-use-flag-without-dependency" issue while helping a friend install a new system. He had emacs in his use flags and there is no dependency on virtual emacs. Why is this broken package in stable? Either add the dependency or pull the version with the broken emacs use flag from stable. The system was x86 2005.0 FWIW. *** Bug 91836 has been marked as a duplicate of this bug. *** The latest version, gpm-1.20.1-r4 works just fine. I have not had this problem for many months now. Fixed in CVS. Colin: sorry for any inconvenience. I noticed the problem from comment #10 but I was not able to fix it because of broken deps to emacs on sh and m68k. Now emacs USE flag is masked on those arches, so I can close this bug. The change was committed to stable version of gpm because it didn't change any files except elisp, and for those who had problems with elisp failed to compile gpm anyways. However, my assumption was not correct as it turned out that it affected people having emacs USE flag without emacs on system :-( If you have any trouble with it, please post comments on this bug. Thanks in advance. *** Bug 93591 has been marked as a duplicate of this bug. *** |