Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357161 - app-cdr/qpxtool: compilation fails with media-libs/libpng-1.5.x
Summary: app-cdr/qpxtool: compilation fails with media-libs/libpng-1.5.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: optical media herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.5
  Show dependency tree
 
Reported: 2011-03-02 22:03 UTC by Lars Wendler (Polynomial-C)
Modified: 2011-08-07 15:54 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 Lars Wendler (Polynomial-C) gentoo-dev 2011-03-02 22:03:58 UTC
x86_64-pc-linux-gnu-g++ -march=barcelona -mtune=barcelona -O2 -pipe -finline-functions -Wall -O2 -fPIC -DUSE_LIBPNG  -I. -I../../lib/include -I/usr/include/libpng15   -c -o f1tattoo.o f1tattoo.cpp
f1tattoo.cpp: In function ‘bool tattoo_read_png(unsigned char*, uint32_t, FILE*)’:
f1tattoo.cpp:132:44: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:132:61: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:134:14: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:134:42: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:146:38: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:147:18: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:153:18: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:171:37: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:172:14: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:176:14: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:177:45: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:181:38: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:185:47: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:192:15: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:195:19: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:197:29: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:203:29: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:205:18: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:206:18: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:207:18: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:213:29: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:222:29: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
f1tattoo.cpp:231:29: error: invalid use of incomplete type ‘struct png_info’
/usr/include/libpng15/png.h:670:16: error: forward declaration of ‘struct png_info’
make[2]: *** [f1tattoo.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-cdr/qpxtool-0.7.0-r1/work/qpxtool-0.7.0/console/f1tattoo'
make[1]: *** [f1tattoo] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-cdr/qpxtool-0.7.0-r1/work/qpxtool-0.7.0/console'
make: *** [console] Error 2
emake failed
Comment 1 Samuli Suominen gentoo-dev 2011-08-07 15:54:55 UTC
If you have time to review this patch, please do

+  07 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> qpxtool-0.7.0-r1.ebuild,
+  +files/qpxtool-0.7.0-libpng15.patch:
+  Fix building with libpng15 wrt #357161 by Lars Wendler