You are not logged in.

#1 2012-04-11 01:21:21

andyras
Member
Registered: 2012-04-11
Posts: 9

[SOLVED] Error when installing git

I am trying to install git on a new install of Arch on an MSI Wind U100.  I am using abs (recently synced), so in my build directory I run:

cp -r /var/abs/extras/git/ .
makepkg -s

I said 'yes' to installing the various dependencies.  Everything seemed to go fine, until the end:

    GEN bin-wrappers/test-sigchain
    GEN bin-wrappers/test-subprocess
    GEN bin-wrappers/test-svn-fe
emacs -batch -f batch-byte-compile git.el
Wrote /home/andyras/abs/git/src/git-1.7.10/contrib/emacs/git.elc
emacs -batch -f batch-byte-compile git-blame.el

In git-blame-cleanup:
git-blame.el:307:6:Warning: `mapcar' called for effect; use `mapc' or `dolist'
    instead

In git-blame-filter:
git-blame.el:339:31:Warning: `save-excursion' defeated by `set-buffer'

In git-blame-create-overlay:
git-blame.el:387:50:Warning: `save-excursion' defeated by `set-buffer'
git-blame.el:390:12:Warning: `goto-line' used from Lisp code
That command is designed for interactive use only
Wrote /home/andyras/abs/git/src/git-1.7.10/contrib/emacs/git-blame.elc
==> Starting check()...
==> ERROR: A failure occurred in check().
    Aborting...

What is wrong here?  I am very new to Arch and using the ABS, so I'm not sure if there is something I am missing.  git installed fine when I used pacman, but I'd like to educate myself about using ABS and Googling this error didn't turn up much.

Last edited by andyras (2012-04-22 16:53:29)

Offline

#2 2012-04-11 18:25:04

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] Error when installing git

It looks like you're doing everything correctly. I'm not home at the moment and can't test the behaviour myself, but running makepkg with a PKGBUILD from abs should automatically create the exact same package that pacman would download.

When something similar happened to me recently, I filed a bug report: https://bugs.archlinux.org/task/28463

If you're just doing it for educational purposes, then of course you can just try building a different package. smile

Offline

#3 2012-04-22 14:45:22

andyras
Member
Registered: 2012-04-11
Posts: 9

Re: [SOLVED] Error when installing git

Ah, it turns out that a quick

pacman -Syu

did the trick.

Offline

#4 2012-04-22 16:28:25

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Error when installing git

Good to hear that you've resolved the issue.

It's always a good idea to first get your system up to date (or keep it up to date in general) when experiencing issues.

PS: don't forget to mark your thread as [SOLVED].


Burninate!

Offline

Board footer

Powered by FluxBB