Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466022 - media-gfx/splashutils-1.5.4.4-r2: USE="png" build fails because ld cannot find -lz
Summary: media-gfx/splashutils-1.5.4.4-r2: USE="png" build fails because ld cannot fin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-15 20:14 UTC by 5FBCDB43
Modified: 2013-04-15 21:55 UTC (History)
0 users

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


Attachments
build.log (build.log,15.64 KB, text/plain)
2013-04-15 20:20 UTC, 5FBCDB43
Details
emerge --info (file_466022.txt,4.79 KB, text/plain)
2013-04-15 20:24 UTC, 5FBCDB43
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 5FBCDB43 2013-04-15 20:14:37 UTC
Reproducible: Always
Comment 1 5FBCDB43 2013-04-15 20:17:08 UTC
Whoops, sorry, I accidentaly pressed Enter and posted a draft.
Comment 2 5FBCDB43 2013-04-15 20:20:34 UTC
Created attachment 345640 [details]
build.log

Sorry, I accidentaly pressed Enter and posted an unfinished report. :x
Comment 3 5FBCDB43 2013-04-15 20:24:45 UTC
Created attachment 345642 [details]
emerge --info

In the Makefile the only place "-lz" appears is:

PNG_CFLAGS = -I/usr/include/libpng16
PNG_LIBS = -lpng16 -lm -lz -lm

With zlib package compiled with static-libs USE flag it compiles fine, so ld must look in the system directory instead of the 'libs' directory.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-04-15 21:55:46 UTC
Should be fixed with,

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/splashutils/splashutils-1.5.4.4-r2.ebuild?r1=1.7&r2=1.8

  15 Apr 2013; Samuli Suominen <ssuominen@gentoo.org>
  splashutils-1.5.4.4-r2.ebuild:
  Pull in sys-libs/zlib with USE="static-libs" enabled for USE="png" also when
  USE="freetype" is disabled wrt #466022 by "dottomi"