You are not logged in.

#1 2006-09-03 12:11:43

idjut
Member
From: Oslo
Registered: 2006-05-15
Posts: 177

Compile error emacs cvs (solved)

I have some problem with makepkg of emacs cvs, I get "Invalid Quail key"..

PKGBUILD

pkgname=emacs-cvs
pkgver=22.0
pkgrel=1
pkgdesc="Gnu Emacs from CVS"
url="http://www.gnu.org/software/emacs/emacs.html"
license="GPL"
makedepends=('cvs' 'openssh')
provides=('emacs')
source=()
md5sums=()

build() {
        cd $startdir/src
        cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs

        cd emacs
        ./configure --prefix=/usr  --with-xpm  --with-jpeg --with-tiff --with-gif 
                    --with-png --with-gtk --without-toolkit-scroll-bars 

        make bootstrap
        make || return 1
        make prefix=$startdir/pkg/usr install
}

The last page of the compile process:

Wrote /var/abs/local/emacs-cvs/src/emacs/leim/quail/latin-pre.elc
EMACSLOADPATH=/var/abs/local/emacs-cvs/src/emacs/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -f batch-byte-compile /var/abs/local/emacs-cvs/src/emacs/leim/quail/latin-post.el
Wrote /var/abs/local/emacs-cvs/src/emacs/leim/quail/latin-post.elc
EMACSLOADPATH=/var/abs/local/emacs-cvs/src/emacs/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -f batch-byte-compile /var/abs/local/emacs-cvs/src/emacs/leim/quail/latin-alt.el
Wrote /var/abs/local/emacs-cvs/src/emacs/leim/quail/latin-alt.elc
EMACSLOADPATH=/var/abs/local/emacs-cvs/src/emacs/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -f batch-byte-compile /var/abs/local/emacs-cvs/src/emacs/leim/quail/latin-ltx.el
Loading subst-ksc...
Loading subst-gb2312...
Loading subst-big5...
Loading subst-jis...
Wrote /var/abs/local/emacs-cvs/src/emacs/leim/quail/latin-ltx.elc
EMACSLOADPATH=/var/abs/local/emacs-cvs/src/emacs/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -f batch-byte-compile /var/abs/local/emacs-cvs/src/emacs/leim/quail/welsh.el
Wrote /var/abs/local/emacs-cvs/src/emacs/leim/quail/welsh.elc
EMACSLOADPATH=/var/abs/local/emacs-cvs/src/emacs/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -f batch-byte-compile /var/abs/local/emacs-cvs/src/emacs/leim/quail/czech.el

In toplevel form:
quail/czech.el:42:1:Error: Invalid Quail key `[kp-1]'
make[3]: *** [/var/abs/local/emacs-cvs/src/emacs/leim/quail/czech.elc] Error 1
make[3]: Leaving directory `/var/abs/local/emacs-cvs/src/emacs/leim'
make[2]: *** [leim] Error 2
make[2]: Leaving directory `/var/abs/local/emacs-cvs/src/emacs'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/var/abs/local/emacs-cvs/src/emacs'
make: *** [bootstrap] Error 2
cd lib-src; make all  
          CC='gcc' CFLAGS='-march=i686 -O2 -pipe' CPPFLAGS='-D_BSD_SOURCE  ' 
          LDFLAGS='-Wl,-znocombreloc ' MAKE='make'
make[1]: Entering directory `/var/abs/local/emacs-cvs/src/emacs/lib-src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/abs/local/emacs-cvs/src/emacs/lib-src'
cd src; make all  
          CC='gcc' CFLAGS='-march=i686 -O2 -pipe' CPPFLAGS='-D_BSD_SOURCE  ' 
          LDFLAGS='-Wl,-znocombreloc ' MAKE='make'
make[1]: Entering directory `/var/abs/local/emacs-cvs/src/emacs/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/abs/local/emacs-cvs/src/emacs/src'
(export PARALLEL; PARALLEL=0; cd leim; make all  
          CC='gcc' CFLAGS='-march=i686 -O2 -pipe' CPPFLAGS='-D_BSD_SOURCE  ' 
          LDFLAGS='-Wl,-znocombreloc ' MAKE='make')
make[1]: Entering directory `/var/abs/local/emacs-cvs/src/emacs/leim'
EMACSLOADPATH=/var/abs/local/emacs-cvs/src/emacs/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -f batch-byte-compile /var/abs/local/emacs-cvs/src/emacs/leim/quail/czech.el

In toplevel form:
quail/czech.el:42:1:Error: Invalid Quail key `[kp-1]'
make[1]: *** [/var/abs/local/emacs-cvs/src/emacs/leim/quail/czech.elc] Error 1
make[1]: Leaving directory `/var/abs/local/emacs-cvs/src/emacs/leim'
make: *** [leim] Error 2
==> ERROR: Build Failed.  Aborting...

I did it again with

$ makepkg -c 2>&1 | tee build.lst

Here is the errorfile, with many of the permission denied entries edited out, but I still wonder why they are there so I left some..

==> Entering fakeroot environment
==> Making package: emacs-cvs 22.0-1 (Sun Sep  3 22:55:07 CEST 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Validating source files with MD5sums
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
cvs checkout: warning: failed to open /home/idjut/.cvspass for reading: No such file or directory
cvs [checkout aborted]: cannot write emacs//CVS/Template: Permission denied
./configure: line 88: conf3537.sh: Permission denied
./configure: line 89: conf3537.sh: Permission denied
chmod: cannot access `conf3537.sh': No such file or directory
./configure: line 201: conf3537.file: Permission denied
./configure: line 1005: config.log: Permission denied
(cd src;      make  mostlyclean)
make[1]: Entering directory `/var/abs/local/emacs-cvs/src/emacs/src'
rm -f temacs prefix-args core *.core #* *.o libXMenu11.a liblw.a
rm: cannot remove `temacs': Permission denied
rm: cannot remove `prefix-args': Permission denied
rm: cannot remove `abbrev.o': Permission denied
rm: cannot remove `alloc.o': Permission denied
rm: cannot remove `atimer.o': Permission denied
rm: cannot remove `buffer.o': Permission denied
rm: cannot remove `bytecode.o': Permission denied
rm: cannot remove `callint.o': Permission denied
rm: cannot remove `callproc.o': Permission denied
rm: cannot remove `casefiddle.o': Permission denied
rm: cannot remove `casetab.o': Permission denied
rm: cannot remove `category.o': Permission denied
rm: cannot remove `ccl.o': Permission denied
rm: cannot remove `charset.o': Permission denied
rm: cannot remove `cm.o': Permission denied
rm: cannot remove `cmds.o': Permission denied
rm: cannot remove `coding.o': Permission denied
rm: cannot remove `composite.o': Permission denied
rm: cannot remove `data.o': Permission denied
rm: cannot remove `dired.o': Permission denied
rm: cannot remove `dispnew.o': Permission denied
rm: cannot remove `doc.o': Permission denied
rm: cannot remove `doprnt.o': Permission denied
make[1]: *** [mostlyclean] Error 1
make[1]: Leaving directory `/var/abs/local/emacs-cvs/src/emacs/src'
make: *** [bootstrap-clean-before-fast] Error 2
cd lib-src; make all  
          CC='gcc' CFLAGS='-march=i686 -O2 -pipe' CPPFLAGS='-D_BSD_SOURCE  ' 
          LDFLAGS='-Wl,-znocombreloc ' MAKE='make'
make[1]: Entering directory `/var/abs/local/emacs-cvs/src/emacs/lib-src'
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/var/abs/local/emacs-cvs/src/emacs/lib-src -I/var/abs/local/emacs-cvs/src/emacs/lib-src/../src -Wl,-znocombreloc  -D_B
SD_SOURCE   -march=i686 -O2 -pipe -o test-distrib /var/abs/local/emacs-cvs/src/emacs/lib-src/test-distrib.c
/usr/bin/ld: cannot open output file test-distrib: Permission denied
collect2: ld returned 1 exit status
make[1]: *** [test-distrib] Error 1
make[1]: Leaving directory `/var/abs/local/emacs-cvs/src/emacs/lib-src'
make: *** [lib-src] Error 2
==> ERROR: Build Failed.  Aborting...

Linux user #403491

"Men have called me mad; but the question is not yet settled, whether madness is or is not the loftiest intelligence– whether much that is glorious– whether all that is profound– does not spring from disease of thought– from moods of mind exalted at the expense of the general intellect." - E. A. Poe from Eleonora

Offline

#2 2006-09-04 08:48:18

bogus
Member
Registered: 2004-09-13
Posts: 9

Re: Compile error emacs cvs (solved)

Can't confirm.
Just compile it with no errors.

Try to remove src directory first or run 'make clean'.
And check files permissions.

Offline

#3 2006-09-04 12:44:00

idjut
Member
From: Oslo
Registered: 2006-05-15
Posts: 177

Re: Compile error emacs cvs (solved)

Deleted the src folder..  :oops:


Linux user #403491

"Men have called me mad; but the question is not yet settled, whether madness is or is not the loftiest intelligence– whether much that is glorious– whether all that is profound– does not spring from disease of thought– from moods of mind exalted at the expense of the general intellect." - E. A. Poe from Eleonora

Offline

Board footer

Powered by FluxBB