Date: Sun, 13 Jun 2010 16:20:36 -0700 From: Garrett Cooper <yanefbsd@gmail.com> To: Torfinn Ingolfsen <tingox@gmail.com> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: graphics/png fails on FreeBSD 8.1-beta1/powerpc - is xz broken on this platform? Message-ID: <AANLkTinj63Mu9uZVlCvYcOKosLc7slQ5so66xSOcs_-S@mail.gmail.com> In-Reply-To: <AANLkTin59A78grFZfRgZVCsU28Zr1Q5Fa9N8Zynq0erv@mail.gmail.com> References: <AANLkTin59A78grFZfRgZVCsU28Zr1Q5Fa9N8Zynq0erv@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 13, 2010 at 2:50 PM, Torfinn Ingolfsen <tingox@gmail.com> wrote= : > I am trying to install the graphics/png port on my PowerMac G4, which run= s > 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 =A0 =A0 root@xserve.lan.xcllnt.net:/usr/obj/usr/src/sys/GENERIC =A0p= owerpc > root@kg-g4# cd /usr/ports/graphics/png > root@kg-g4# make clean > =3D=3D=3D> =A0Cleaning for png-1.4.1_1 > root@kg-g4# make > =3D=3D=3D> =A0Vulnerability check disabled, database not found > =3D=3D=3D> =A0License check disabled, port has not defined LICENSE > =3D=3D=3D> =A0Found saved configuration for png-1.4.1_1 > =3D=3D=3D> =A0Extracting for png-1.4.1_1 > =3D> MD5 Checksum OK for libpng-1.4.1.tar.xz. > =3D> SHA256 Checksum OK for libpng-1.4.1.tar.xz. > /usr/bin/xz: /usr/ports/distfiles//libpng-1.4.1.tar.xz: Compressed data i= s > corrupt > =3D=3D=3D> =A0Patching for png-1.4.1_1 > =3D=3D=3D> =A0Applying FreeBSD patches for png-1.4.1_1 > patch: **** can't cd to /usr/ports/graphics/png/work/libpng-1.4.1: No suc= h > file or directory > =3D> 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:0= 2 > CEST 2010 =A0 =A0 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC =A0amd64 > 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. This should be fixed with src revision r209089 . It was occurring because the little-endian generated config.h file got committed. HTH, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinj63Mu9uZVlCvYcOKosLc7slQ5so66xSOcs_-S>