Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 357167

Summary: media-libs/imlib: compilation fails with media-libs/libpng-1.5.x
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) <polynomial-c>
Component: [OLD] LibraryAssignee: Gentoo Graphics Project <graphics>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/graphics/imlib/patches/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 354479    

Description Lars Wendler (Polynomial-C) gentoo-dev 2011-03-02 22:45:59 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DSYSTEM_IMRC=\"/etc/imlib/imrc\" -DSYSCONFDIR=\"/etc/imlib\" -I. -I.. -I. -I. -I.. -I./.. -I/usr/include -I/usr/include -march=barcelona -mtune=barcelona -O2 -pipe -finline-functions -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c  -fPIC -DPIC -o .libs/load.o
load.c: In function '_LoadPNG':
load.c:200:7: error: dereferencing pointer to incomplete type
load.c:205:15: error: dereferencing pointer to incomplete type
load.c: In function 'Imlib_load_image':
load.c:1910:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
load.c:1955:12: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c: In function 'isbmp':
load.c:1714:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c: In function 'isxpm':
load.c:1699:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c: In function 'isgif':
load.c:1684:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c: In function 'iseim':
load.c:1669:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c: In function 'istiff':
load.c:1653:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
load.c: In function 'ispng':
load.c:1638:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c: In function 'isjpeg':
load.c:1623:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c: In function 'ispnm':
load.c:1599:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
load.c: In function '_LoadPPM':
load.c:1360:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
load.c:1409:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
load.c:1422:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c: In function '_LoadBMP':
load.c:632:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c:634:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c:639:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c:652:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c:654:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c:661:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c:668:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c:709:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
load.c:721:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
make[2]: *** [load.lo] Error 1
Comment 1 Lars Wendler (Polynomial-C) gentoo-dev 2011-03-02 22:48:04 UTC
NetBSD people seem to have patches at hand (see URL) but I failed to apply them. 
Comment 2 SpanKY gentoo-dev 2011-03-03 07:14:09 UTC
be nice if we could simply kill this package ...
Comment 3 Samuli Suominen gentoo-dev 2011-03-03 15:00:41 UTC
(In reply to comment #2)
> be nice if we could simply kill this package ...
> 

+1 on that.   

far as I can see, the intresting reverse deps for this package are kuickshow (up-to-date KDE package! not optional. no idea why upstream is using this over imlib2), icewm (optional) and wmakerconf (optional)

http://tinderbox.dev.gentoo.org/misc/rindex/media-libs/imlib
Comment 4 Samuli Suominen gentoo-dev 2011-08-07 16:43:29 UTC
well try this

+  07 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> imlib-1.9.15-r3.ebuild,
+  +files/imlib-1.9.15-libpng15.patch:
+  Fix building with libpng15 wrt #357167 by Lars Wendler