You are not logged in.

#1 2010-09-27 03:17:45

sleeping2620
Member
Registered: 2010-08-07
Posts: 6

Can't build kdepim from ABS

I'd like to compile Kontact to get debugging symbols. After fetching the ABS tree, I copy the /var/abs/extra/kdepim to my build directory, then call makepkg. I then get the following error :

user@host:~/ABS/kdepim$ makepkg
==> Making package: kdepim 4.4.6-1 (Sun Sep 26 23:09:05 EDT 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading kdepim-4.4.6.tar.bz2...
--2010-09-26 23:09:05--  http://download.kde.org/stable/kdepim-akonadiconsole-4.4.6/src/kdepim-4.4.6.tar.bz2
Resolving download.kde.org... 131.246.120.250
Connecting to download.kde.org|131.246.120.250|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://download.kde.org/download.php?url=stable/kdepim-akonadiconsole-4.4.6/src/kdepim-4.4.6.tar.bz2 [following]
--2010-09-26 23:09:06--  http://download.kde.org/download.php?url=stable/kdepim-akonadiconsole-4.4.6/src/kdepim-4.4.6.tar.bz2
Reusing existing connection to download.kde.org:80.
HTTP request sent, awaiting response... 302 Found
Location: ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/kdepim-akonadiconsole-4.4.6/src/kdepim-4.4.6.tar.bz2 [following]
--2010-09-26 23:09:06--  ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/kdepim-akonadiconsole-4.4.6/src/kdepim-4.4.6.tar.bz2
           => "kdepim-4.4.6.tar.bz2.part"
Resolving ftp.gtlib.cc.gatech.edu... 128.61.111.11, 128.61.111.9, 128.61.111.10, ...
Connecting to ftp.gtlib.cc.gatech.edu|128.61.111.11|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/kde/stable/kdepim-akonadiconsole-4.4.6/src ... 
No such directory "pub/kde/stable/kdepim-akonadiconsole-4.4.6/src".

==> ERROR: Failure while downloading kdepim-4.4.6.tar.bz2
    Aborting...

The build script seems to try to fetch something which does not exist.  How can I fix the package to successfully build Kontact?

Offline

#2 2010-09-27 03:33:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't build kdepim from ABS

Offline

#3 2010-09-27 03:43:53

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Can't build kdepim from ABS

not using kde but looking at the PKGBUILD and looking at the ftp server tree, it looks like you should use:

source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")

Offline

#4 2010-09-27 03:44:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't build kdepim from ABS

bangkok_manouel wrote:

not using kde but looking at the PKGBUILD and looking at the ftp server tree, it looks like you should use:

source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")

The problem is, the file ain't there.

Offline

#5 2010-09-27 03:46:41

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,430
Website

Re: Can't build kdepim from ABS

The problem really is that the download gets pinged out to on if its mirrors.  The OP was reaching a mirror that did not have the file...  That actually happens quite frequently to me.

Download the source from the location given above and put it in your build directory.

Offline

#6 2010-09-27 03:50:51

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Can't build kdepim from ABS

hmm look at what makepkg tries to download and look at the mirror structure, you'll see there's something strange there. therefore, my proposal (that should work but that I didnt try because huh, I'm not bored enough tongue )

Offline

Board footer

Powered by FluxBB