Package: src:png++
Followup-For: Bug #809913

Dear Maintainer,

the package png++ is not building with libpng16 (the build checked by
Gianfranco seems to have built against libpng12)
Therefore reopening.

The build log contains this error: 

g++ -M -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector-
strong -Wformat -Werror=format-security -Wall -I/usr/local/include -I..
-g pixel_generator.cpp -o- | \
  sed 's/\(pixel_generator\)\.o[ :]*/\1.o pixel_generator.dep : /g' >
pixel_generator.dep
g++ -c -o pixel_generator.o pixel_generator.cpp -Wall -g -O2 -fstack-
protector-strong -Wformat -Werror=format-security -Wall
-I/usr/local/include -I.. -g `libpng-config --cflags`
In file included from ../png.hpp:38:0,
                 from pixel_generator.cpp:35:
../error.hpp: In constructor 'png::std_error::std_error(const string&,
int)':
../error.hpp:77:67: error: 'strerror' was not declared in this scope
             : std::runtime_error((message + ": ") + strerror(error))
                                                                   ^
Makefile:72: recipe for target 'pixel_generator.o' failed


It seems (not checked) that some #include <string.h> is missing and
likely this will fix the issue.

I try to take a look ASAP, maybe NMUing it. 


I also did not check if the new upstream version 0.2.9 does fix this.


-- 
tobi


-- System Information:
Debian Release: 8.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.5-revert-done (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Reply via email to