Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387553 - <sci-physics/root-5.28 fails to compile with libpng15 due to bundled copy of libafterimage
Summary: <sci-physics/root-5.28 fails to compile with libpng15 due to bundled copy of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.5
  Show dependency tree
 
Reported: 2011-10-18 15:30 UTC by Daniel Savard
Modified: 2011-10-18 16:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Savard 2011-10-18 15:30:22 UTC
sci-physics/root-5.26.00e-r1 and sci-physics/root-5.26.00-r2 failed to compile with libpng15. Problem reported on the CERN site with a fix, should be backported to the ebuilds.

Reproducible: Always

Steps to Reproduce:
1. emerge =sci-physics/root-5.26.00e-r1 or =sci-physics/root-5.26.00-r2

Actual Results:  
gcc -m64 -DNO_DEBUG_OUTPUT -pipe -m64 -Wall -W -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -DNO_DEBUG_OUTPUT -pipe -m64 -Wall -W -fPIC -Iinclude -DR__HAVE_CONFIG -pthread    -I/usr/include/freetype2    -c imencdec.c -o imencdec.o
export.c: In function 'ASImage2file':
export.c:169:2: warning: comparison of unsigned expression < 0 is always false
export.c: In function 'ASImage2png_int':
export.c:494:8: error: dereferencing pointer to incomplete type
export.c: In function 'asim_png_flush_data':
export.c:677:38: warning: unused parameter 'png_ptr'
export.c: In function 'ASImage2xcf':
export.c:890:24: warning: unused parameter 'im'
export.c:890:40: warning: unused parameter 'path'
export.c:890:68: warning: unused parameter 'params'
export.c: In function 'ASImage2ppm':
export.c:914:24: warning: unused parameter 'im'
export.c:914:40: warning: unused parameter 'path'
export.c:914:68: warning: unused parameter 'params'
export.c: In function 'ASImage2bmp':
export.c:971:68: warning: unused parameter 'params'
export.c: In function 'ASImage2ico':
export.c:1019:24: warning: unused parameter 'im'
export.c:1019:40: warning: unused parameter 'path'
export.c:1019:68: warning: unused parameter 'params'
export.c: In function 'ASImage2gif':
export.c:1036:2: warning: missing initializer
export.c:1036:2: warning: (near initialization for 'defaultsGif.animate_repeats')
export.c: In function 'ASImage2tiff':
export.c:1297:36: warning: comparison between signed and unsigned integer expressions
make[1]: *** [export.o] Error 1
make[1]: *** Waiting for unfinished jobs....


Expected Results:  
emerge should complete.

The fixed export.c and import.c source are available here: http://root.cern.ch/viewvc?view=rev&revision=40326
Comment 1 Samuli Suominen gentoo-dev 2011-10-18 16:35:34 UTC
This is already fixed in sci-physics/root-5.28.00d by removal of internal copy of libafterimage.

The fix is already available in Portage in media-libs/libafterimage.

Backported to stable version now:

+  18 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> root-5.26.00e-r1.ebuild,
+  +files/root-5.26.00e-libpng15.patch:
+  Fix building with libpng15 wrt #387553 by Daniel Savard
*