Package: gsoap
Version: 2.8.104-2

When I call soapcpp2, I get the following error:

 Importing 'custom/struct_timeval.h': Critical error: Cannot open file 
"custom/struct_timeval.h" to import: No such file or directory
 Hint: use option -I<path> (for example -Igsoap:gsoap/import:gsoap/custom:.)

This does not occur with gsoap 2.8.75-1 (Buster) and 2.8.35-4+deb9u
(Stretch).

strace shows:

 write(2, "Importing 'custom/struct_timeval"..., 37) = 37
 openat(AT_FDCWD, "custom/struct_timeval.h", O_RDONLY) = -1 ENOENT (No such 
file or directory)
 openat(AT_FDCWD, "/usr/share/gsoap/import/custom/struct_timeval.h", O_RDONLY) 
= -1 ENOENT (No such file or directory)
 write(2, "Critical error: Cannot open file"..., 172) = 172

So it looks in /usr/share/gsoap/import/custom/struct_timeval.h, but
the file is installed at /usr/share/gsoap/custom/struct_timeval.h

The difference between those versions is that only the Bullseye
version (2.8.104-2) has

 #import "custom/struct_timeval.h"

.. in /srv/chroot/buster/usr/share/gsoap/import/saml1.h, but older
versions do not have this "#import" line.

Reply via email to