Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307429 - sci-astronomy/celestia-1.6.0 fails to compile against >=media-libs/libpng-1.4.0
Summary: sci-astronomy/celestia-1.6.0 fails to compile against >=media-libs/libpng-1.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL: http://repos.archlinux.org/wsvn/packa...
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.4
  Show dependency tree
 
Reported: 2010-03-02 08:43 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2010-03-08 18:24 UTC (History)
0 users

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


Attachments
celestia-1.6.0.ebuild.diff (celestia-1.6.0.ebuild.diff,341 bytes, patch)
2010-03-02 08:43 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-03-02 08:43:26 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I..    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=barcelona -mtune=barcelona -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common   -Wall    -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/gtkglext-1.0 -I/usr/lib64/gtkglext-1.0/include   -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14        -DLUA_VER=0x050100 -DCELX -MT image.o -MD -MP -MF .deps/image.Tpo -c -o image.o image.cpp          
image.cpp:557:7: warning: "TARGET_OS_MAC" is not defined                        
image.cpp: In function ‘void PNGReadData(png_struct*, png_byte*, png_size_t)’:  
image.cpp:632: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result                       
image.cpp: In function ‘Image* LoadPNGImage(const std::string&)’:               
image.cpp:740: error: ‘png_set_gray_1_2_4_to_8’ was not declared in this scope  
image.cpp:658: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result                       
make[3]: *** [image.o] Error 1                                                  
make[3]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.6.0/work/celestia-1.6.0/src/celengine'                                                    
make[2]: *** [all-recursive] Error 1                                            
make[2]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.6.0/work/celestia-1.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-astronomy/celestia-1.6.0/work/celestia-1.6.0'
make: *** [all] Error 2


Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-03-02 08:43:54 UTC
Created attachment 221759 [details, diff]
celestia-1.6.0.ebuild.diff

quick'n'dirty fix
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-08 18:24:16 UTC
applied (as a patch, seemed cleaner)