Source: xjig
Version: 2.4-14.2
Severity: serious
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu kinetic

Hi Dave,

The xjig package build-depends on libnetpbm10-dev, which is obsolete. 
Unfortunately, updating the package to build-depend on libnetpbm11-dev is
not enough, as the package fails to build:

[...]
c++ -g -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now 
-DUSE_MIT_SHM  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ppm_image.o ppm_image.C
ppm_image.C:5:10: fatal error: ppm.h: No such file or directory
    5 | #include <ppm.h>
      |          ^~~~~~~
compilation terminated.
make[2]: *** [<builtin>: ppm_image.o] Error 1
[...]

Building with -I/usr/include/netpbm also doesn't work:

$ c++ -g -Wall -I/usr/include/netpbm -Wdate-time -D_FORTIFY_SOURCE=2 
-Wl,-z,relro -Wl,-z,now -DUSE_MIT_SHM  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
ppm_image.o ppm_image.C
ppm_image.C:7:1: error: expected declaration before '}' token
    7 | }
      | ^
ppm_image.C: In member function 'virtual int ppmImage::LoadImageFile(FILE*)':
ppm_image.C:30:28: warning: ISO C++ forbids converting a string constant to 
'char*' [-Wwrite-strings]
   30 |         char *fake_argv[]={"xjig-ppm-loader", 0};
      |                            ^~~~~~~~~~~~~~~~~
$

So it looks like this package needs some attention.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: PGP signature

Reply via email to