Package Details: libpng12 1.2.56-3

Git Clone URL: https://aur.archlinux.org/libpng12.git (read-only)
Package Base: libpng12
Description: A collection of routines used to create PNG format graphics files
Upstream URL: http://www.libpng.org/pub/png/libpng.html
Licenses: custom
Submitter: anatolik
Maintainer: arthurzam
Last Packager: arthurzam
Votes: 440
Popularity: 38.005049
First Submitted: 2014-11-21 23:32
Last Updated: 2016-05-08 19:17

Dependencies (1)

Required by (133)

Sources (2)

Latest Comments

arthurzam commented on 2016-06-11 11:20

@AndreasGB

I tested again today - the checksums are OK for me.
Please check this file is indeed an tar.xz archive (run the 'file libpng-1.2.56.tar.xz' command). If it isn't an archive, download directly from sourceforge (using the browser) by clicking the URL.

AndreasGB commented on 2016-06-11 10:38

Installation currently fails for me; it says the sha256sum is wrong for libpng-1.2.56.tar.xz

yorrd commented on 2016-05-12 09:11

@arthurzam

sorry, I'm confused. Which directory would those files be in? I already cleared yaourt cache because I expected that.

arthurzam commented on 2016-05-12 07:47

@yorrd

Delete the previous files. The author of the patch changed the directories in the patch, without version change therefore it the mismatch.
Another option is to download directly from sourceforge into the PKGBUILD directory.

yorrd commented on 2016-05-12 07:43

I'm also getting md5 checksum issues

libpng-1.2.56.tar.xz ... Passed
libpng-1.2.56-apng.patch.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build libpng12.

grandchild commented on 2016-05-06 13:48

Did armv6h get lost along the way?
It still builds on that architecture. Please re-add.

arthurzam commented on 2016-04-27 03:47

@jonnybarnes

First of all, I checked the checksums against sourceforge, therefore I guess it is problem with your system.
Please run in the directory 'file libpng-1.2.56.tar.xz'. If it shows only "XZ compressed data" then you are under MITM attack (someone changed the file while the transfering).
But because of the size I guess it will show you a HTML file. Please try to download directly from sourceforge. Maybe the automatic mirror you get from their site is problematic.

jonnybarnes commented on 2016-04-26 22:17

I’m getting the following error:

╭─jonny@jonny-arch in ~
╰$ sudo aura -Akua
aura >>= Fetching package information...
aura >>= Comparing package versions...
aura >>= AUR Packages to upgrade:
libpng12 : 1.2.56-2 => 1.2.56-3

aura >>= `libpng12` PKGBUILD is up to date.
aura >>= Determining dependencies...
aura >>= AUR Packages:
libpng12

aura >>= Continue? [Y/n]
aura >>= Building `libpng12`...
aura >>= Well, building `libpng12` failed.
aura >>= Dumping makepkg output in 3.. 2.. 1..
==> Making package: libpng12 1.2.56-3 (Tue 26 Apr 23:11:26 BST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading libpng-1.2.56.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 376 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 378 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 365 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 43148 100 43148 0 0 14583 0 0:00:02 0:00:02 --:--:-- 136k
-> Downloading libpng-1.2.56-apng.patch.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 400 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 402 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 389 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 42371 100 42371 0 0 15072 0 0:00:02 0:00:02 --:--:-- 150k
==> Validating source files with sha256sums...
libpng-1.2.56.tar.xz ... FAILED
libpng-1.2.56-apng.patch.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

fordprefect commented on 2016-04-26 12:00

good catch, forgot that i tampered with my ld-flags lately. sry for the noise!

arthurzam commented on 2016-04-26 11:15

@fordprefect

Thanks for your feedback.
I configured on my machine (x86_64 like yours).
The "gcc -V" happens on my machine also, but configures successfully.
The error is in your LDFLAGS, I think. Look in lines 91-93.

run in your terminal prior to makepkg the next line (my LDFLAGS):
export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"

If it works, please check where you change those LDFLAGS. Maybe ~/.bashrc or /etc/makepkg.

All comments