On 2021-08-30 23:07, Aurelien Jarno wrote:
> On 2021-08-30 20:15, Sebastiaan Couwenberg wrote:
> > On 8/27/21 12:14 PM, Aurelien Jarno wrote:
> > > On 2021-08-26 13:27, Bas Couwenberg wrote:
> > >> The recent changes in glibc break libdap and its rdeps:
> > >>
> > >>  In file included from /usr/include/libdap/XDRUtils.h:37,
> > >>                   from /usr/include/libdap/Sequence.h:50,
> > >>                   from libdap_headers.h:52,
> > >>                   from ogr_dods.h:44,
> > >>                   from ogrdodsdriver.cpp:29:
> > >>  /usr/include/libdap/xdr-datatypes.h:16:10: fatal error: rpc/types.h: No 
> > >> such file or directory
> > >>     16 | #include <rpc/types.h>
> > >>        |          ^~~~~~~~~~~~~
> > >>
> > >> /usr/include/rpc/types.h was provided by libc6-dev in bullseye, but it 
> > >> is no longer included in libc6-dev (2.31-17).
> > > 
> > > The problem is that libdap has proper TI RPC support, but it doesn't
> > > export that information properly to libdap.pc and dap-config, sorry
> > > about that.
> > > 
> > > Please find a patch attached to fix that.
> > 
> > Thanks for the patch, I've prepared an NMU with it applied.
> > 
> > I can confirm that it fixes the libdap issue breaking the gdal build.
> > Unfortunately ecs.h from ogdi-dfsg still includes rpc/rpc.h also
> > breaking the gdal build.
> 
> It's normal keeps including rpc/rpc.h, but it should get its cflags
> updated. It has just been binNMUed today, and with libogdi-dev version
> 4.1.0+ds-5+b1, I get:
> 
> $ /usr/bin/ogdi-config --cflags
> -I/usr/include/ogdi -I/usr/include/tirpc
> $ pkg-config --cflags ogdi
> -I/usr/include/ogdi -I/usr/include/tirpc
> 
> So that should be fixed already.

In pratice it doesn't work due to an issue with the gdal packaging.  The
patch debian/patches/ogdi should be dropped.

Regards,
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                 http://www.aurel32.net

Reply via email to