You are not logged in.

#1 2008-04-23 18:47:46

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

makepkg error?

I realised that git packages wont update properly, when i dont delete the src directory before i make the package...

Updating without removing src directory:

==> Beendete make: gmpc-git (Mi 23. Apr 20:26:19 CEST 2008)
[carnager@freebox gmpc-git]$ su
Passwort:
[root@freebox gmpc-git]# pacman -U gmpc-git-20080423-1-i686.pkg.tar.gz
Lade Paketdaten...
Prüfe Abhängigkeiten...
(1/1) Prüfe auf Dateikonflikte                      [#########################################################] 100%
(1/1) Aktualisiere gmpc-git                         [#########################################################] 100%
[root@freebox gmpc-git]# gmpc --version
Gnome Music Player Client
Version:        0.15.5.2
Revision:       996e1fa

One minute later, no changes in git, but now i remove the src direcory:

[carnager@freebox gmpc-git]$ gmpc --version
Gnome Music Player Client
Version:        0.15.5.2
Revision:       67dd005

the important bit of the PKGBUILD:

build() {
        cd $startdir/src
        msg "Connecting to repo.or.cz/gmpc server..."

        if [ -d $startdir/src/$_gitname ] ; then
                cd $_gitname && git-pull origin
                msg "The local files are updated."
        else   
                git clone $_gitroot
        fi
         
        msg "GIT checkout done or server timeout"
        msg "Starting make..."

anyone has an explanation?

Last edited by Rasi (2008-04-23 18:48:40)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#2 2008-04-24 08:53:54

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: makepkg error?

If I understand right, you did a makepkg -f between the two pacman calls?

Well, git is a version control system. The files in the git tree are abotut to change, theoretically also within minutes. That is the nature of a version control system.

Offline

Board footer

Powered by FluxBB