You are not logged in.
Hi all!
Here is a PKGBUILD I use for emacs with unicode and xft support from GNU arch repository. It is mainly based on the emacs-cvs package.
The problem is that the make bootstrap step fails during makepkg. I have to do it manually, as a user.
A part from that, emacs seems to run correctly.
Any suggestions?
PKGBUILD:
# Contributor: Sebastien Piccand <sebcactus>
pkgname=emacs-unicode-xft-arch
pkgver=20060821
pkgrel=1
pkgdesc="Gnu Emacs with unicode, XFT and GTK2 support"
url="http://www.gnu.org/software/emacs/emacs.html"
license="GPL"
depends=('gtk2' 'libungif')
makedepends=('arch')
conflicts=('emacs')
provides=('emacs')
source=()
md5sums=()
_archreg=emacs@sv.gnu.org
_archmirror="http://arch.sv.gnu.org/archives/emacs"
_archmod=emacs--unicode-xft
build() {
cd $startdir/src
tla register-archive $_archreg $_archmirror
tla get -A $_archreg $_archmod
msg "ARCH checkout done or server timeout"
msg "Starting make..."
cp -r $_archmod--0--patch-30 $_archmod-build
cd $_archmod-build
./configure --prefix=/usr --with-xpm --with-jpeg --with-tiff --with-gif
--with-png --with-gtk --with-x --with-xft --enable-font-backend
make bootstrap || return 1
# we don't want to use /usr/libexec
sed -i "s|"/usr/libexec/emacs.*$|"/usr/lib/emacs/23.0.0"|g" src/epaths.h
make libexecdir=/usr/lib archlibdir=/usr/lib/emacs/23.0.0 || return 1
make prefix=$startdir/pkg/usr libexecdir=$startdir/pkg/usr/lib
archlibdir=$startdir/pkg/usr/lib/emacs/23.0.0 install
# remove conflict with ctags package
mv $startdir/pkg/usr/bin/{ctags,ctags.emacs} || return 1
mv $startdir/pkg/usr/bin/{etags,etags.emacs} || return 1
mv $startdir/pkg/usr/man/man1/{etags.1,etags.emacs.1} || return 1
mv $startdir/pkg/usr/man/man1/{ctags.1,ctags.emacs.1} || return 1
# fix all the 777 perms on directories
find $startdir/pkg/usr/share/emacs/23.0.0 -type d -exec chmod 755 {} ;
}
Error message:
Wrote /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/quail/ZIRANMA.elc
Wrote /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/quail/CTLau.elc
Wrote /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/quail/CTLau-b5.elc
if [ x`(cd /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim && /bin/pwd)` = x`(/bin/pwd)` ] ; then
EMACSLOADPATH=/var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -l /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/../lisp/international/quail
--eval "(update-leim-list-file ".")" ;
else
EMACSLOADPATH=/var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -l /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/../lisp/international/quail
--eval "(update-leim-list-file "." "/var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim")" ;
fi
Updating /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/leim-list.el ...
Loading vc-arch...
Wrong type argument: number-or-marker-p, nil
make[3]: *** [leim-list.el] Error 255
make[3]: Leaving directory `/var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim'
make[2]: *** [leim] Error 2
make[2]: Leaving directory `/var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build'
make: *** [bootstrap] Error 2
The non-error message when doing make bootstrap as a user:
Wrote /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/quail/CTLau-b5.elc
if [ x`(cd /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim && /bin/pwd)` = x`(/bin/pwd)` ] ; then
EMACSLOADPATH=/var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -l /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/../lisp/international/quail
--eval "(update-leim-list-file ".")" ;
else
EMACSLOADPATH=/var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -l /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/../lisp/international/quail
--eval "(update-leim-list-file "." "/var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim")" ;
fi
Updating /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/leim-list.el ...
Loading vc-arch...
Checking /var/abs/local/emacs-unicode-xft-arch/src/emacs--unicode-xft-build/leim/quail/CTLau-b5.el ...
Offline
Up
Offline
You didn't post the error message. How are we supposed to know how it failed? Compile error? cd into wrong directory? Bad md5sum?
Don't waste our time guessing...
.
Offline
I tried your PKGBUILD a few days ago. It also failed at make bootstrap. I didn't had time to check what was wrong. As soloport said, posting the error message might help (I didn't note it down).
Offline
You didn't post the error message. How are we supposed to know how it failed? Compile error? cd into wrong directory? Bad md5sum?
Don't waste our time guessing...
.
Sorry I thought it was a known issue with fakeroot, since I had the same pb with previous emacs-cvs and nobody answered me when I asked about it.
Offline
Sorry. Can't help until this evening (am behind proxy / firewall and tla doesn't work, here). *sigh*
Offline
That's funny, I am behind a proxy/firewall too, and CVS/SVN don't work but GNUarch does
Offline
Nobody has any clue?
I tried to do make bootstrap under fakeroot and it failed the same way.
If I do it as a normal user it finishes succesfully.
I think that fakeroot is the problem. Are you aware of such a problem with fakeroot (e.g. other packages pb)?
Seb
Offline