Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jun 2010 23:50:11 +0200
From:      Torfinn Ingolfsen <tingox@gmail.com>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   graphics/png fails on FreeBSD 8.1-beta1/powerpc - is xz broken on  this platform?
Message-ID:  <AANLkTin59A78grFZfRgZVCsU28Zr1Q5Fa9N8Zynq0erv@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I am trying to install the graphics/png port on my PowerMac G4, which runs
8.1-beta1:
root@kg-g4# uname -a
FreeBSD kg-g4.kg4.no 8.1-BETA1 FreeBSD 8.1-BETA1 #0: Fri May 28 04:38:56 UTC
2010     root@xserve.lan.xcllnt.net:/usr/obj/usr/src/sys/GENERIC  powerpc
root@kg-g4# cd /usr/ports/graphics/png
root@kg-g4# make clean
===>  Cleaning for png-1.4.1_1
root@kg-g4# make
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for png-1.4.1_1
===>  Extracting for png-1.4.1_1
=> MD5 Checksum OK for libpng-1.4.1.tar.xz.
=> SHA256 Checksum OK for libpng-1.4.1.tar.xz.
/usr/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Compressed data is
corrupt
===>  Patching for png-1.4.1_1
===>  Applying FreeBSD patches for png-1.4.1_1
patch: **** can't cd to /usr/ports/graphics/png/work/libpng-1.4.1: No such
file or directory
=> Patch patch-ac failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/graphics/png.
*** Error code 1

Stop in /usr/ports/graphics/png.
root@kg-g4# which xz
/usr/bin/xz
root@kg-g4# pkg_info -W xz
root@kg-g4# xz --version
xz (XZ Utils) 4.999.9beta
liblzma 4.999.9beta

When I try to do this on my amd64 workstation it works without problem.
The difference is that it runs 8.0-stable:
root@kg-v2# uname -a
FreeBSD kg-v2.kg4.no 8.0-STABLE FreeBSD 8.0-STABLE #2: Sun Apr 11 19:39:02
CEST 2010     root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
and that xz is installed from a port:
root@kg-v2# which xz
/usr/local/bin/xz
root@kg-v2# pkg_info -W xz
/usr/local/bin/xz was installed by package xz-4.999.9_1
root@kg-v2# xz --version
xz (XZ Utils) 4.999.9beta
liblzma 4.999.9beta

What else could be wrong?
Update: I installed xz from the port (edited IGNORE out of the Makefile),
renamed /usr/bin/xz, and now then png port install sucessfully.

HTH
-- 
Regards,
Torfinn Ingolfsen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin59A78grFZfRgZVCsU28Zr1Q5Fa9N8Zynq0erv>