You are not logged in.

#1 2014-09-03 17:53:04

Frabato
Member
Registered: 2007-10-24
Posts: 267

[SOLVED] can't build t4k_common

Hi,

[a@StudioA ~]$ cd /A/pkgsrc/archlinux/t4k_common
[a@StudioA t4k_common]$ makepkg -g >> PKGBUILD
==> Retrieving sources...
  -> Found t4k_common-0.1.1.tar.gz
  -> Found libpng15.patch
==> Generating checksums for source files...
[a@StudioA t4k_common]$ makepkg
==> Making package: t4k_common 0.1.1-2 (Wed Sep  3 10:40:17 UTC 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found t4k_common-0.1.1.tar.gz
  -> Found libpng15.patch
==> Validating source files with sha1sums...
    t4k_common-0.1.1.tar.gz ... Passed
    libpng15.patch ... Passed
==> Extracting sources...
==> Starting prepare()...
/A/pkgsrc/archlinux/t4k_common/PKGBUILD: line 19: cd: /A/pkgsrc/archlinux/t4k_common/src/t4k_common-0.1.1: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
[a@StudioA t4k_common]$

running "makepkg -g >> PKGBUILD" seems to have fixed a problem the sha1sums but now this. I know it must be quite simple but I'm not very experienced.

Thanks!

Last edited by Frabato (2014-09-09 17:07:57)

Offline

#2 2014-09-08 06:42:14

ronalde
Member
From: Oss, The Netherlands
Registered: 2013-04-18
Posts: 6
Website

Re: [SOLVED] can't build t4k_common

The download is non-existing in alioth.debian.org so the resulting file (of which you created a valid sha sum wink  is really a 404 html file.

This works:

#download and extract the source aur package
wget "https://aur.archlinux.org/packages/t4/t4k_common/t4k_common.tar.gz" -O - | tar xzf -
cd t4k_common
# download the real tarball
wget "http://ftp.de.debian.org/debian/pool/main/t/t4kcommon/t4kcommon_0.1.1.orig.tar.gz" -O t4k_common-0.1.1.tar.gz
# recreate the sha sums
makepkg -g >> PKGBUILD
# build the package
makepkg

The tuxmath aur itself suffers from the same problem. Fix it with:

wget "https://aur.archlinux.org/packages/tu/tuxmath/tuxmath.tar.gz" -O - | tar xzf -
cd tuxmath
wget "http://distro.ibiblio.org/slitaz/sources/packages/t/tuxmath_w_fonts-2.0.3.tar.gz" -O tuxmath_w_fonts-2.0.3.tar.gz
makepkg -g >> PKGBUILD
makepkg

It compiles, builds, installs and runs fine over here.

I'll try to get the aurs fixed.

Regards,
Ronald

Last edited by ronalde (2014-09-08 07:14:02)

Offline

#3 2014-09-09 17:07:28

Frabato
Member
Registered: 2007-10-24
Posts: 267

Re: [SOLVED] can't build t4k_common

Thanks, that did the trick!

Offline

Board footer

Powered by FluxBB