Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374449 - media-libs/libpng-1.4.8 fails to compile tests
Summary: media-libs/libpng-1.4.8 fails to compile tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 13:20 UTC by Markus Walter
Modified: 2011-07-08 13:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
full build log (build.log,14.97 KB, text/plain)
2011-07-08 13:20 UTC, Markus Walter
Details
emerge --info (info.txt,5.29 KB, text/plain)
2011-07-08 13:20 UTC, Markus Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2011-07-08 13:20:21 UTC
Created attachment 279437 [details]
full build log

When trying to merge libpng-1.4.8 with gcc-4.6.1 on ~amd64 the tests fail to compile with the following error.


libtool: link: x86_64-pc-linux-gnu-gcc -ggdb -Wl,-O1 -o .libs/pngtest pngtest.o  -Wl,--as-needed ./.libs/libpng14.so -lz -lm
pngtest.o: In function `test_one_file':
/var/tmp/portage/media-libs/libpng-1.4.8/work/libpng-1.4.8/pngtest.c:1162: undefined reference to `png_debug2'
/var/tmp/portage/media-libs/libpng-1.4.8/work/libpng-1.4.8/pngtest.c:1300: undefined reference to `png_debug1'
collect2: ld returned 1 exit status
Comment 1 Markus Walter 2011-07-08 13:20:46 UTC
Created attachment 279439 [details]
emerge --info
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-07-08 13:56:12 UTC
Nothing to be worried about, minor incompability with the 1.4.7 apng patch, fixed now

+  08 Jul 2011; Samuli Suominen <ssuominen@gentoo.org> libpng-1.4.8.ebuild,
+  +files/libpng-1.4.8-build.patch:
+  Restore pngpriv.h in pngtest.c because we are using apng patch from 1.4.7 wrt
+  #374449 by Markus Oehme