Re: Adrien Nader
> I think the most recent version of that script would be in my
> repository: https://salsa.debian.org/adrien-n/armhf-time_t/

Hi Adrien,

I actually got the script running, I think. I pushed a few
https://salsa.debian.org/vorlon/armhf-time_t/-/merge_requests/132 that
have not been merged yet, though.

I guess when it says "Compatibility: 100%", everything is ok? I got
that on libpq-dev.

What I'm completely missing is an overview which *source* packages are
affected. I really want to avoid having postgresql-16 included in this
transition, and I am not yet sure if it's considered to be affected or
not.

> I'll probably give it a quick shot again today but I don't have much
> time; unless errors are few and obvious, it's unlikely that I will make
> much progress on it though.

On libpg-query-dev, the problem is that the script puts some
windows-only headers into the include path that then shadow a system
header that should actually be used:

The GCC parameters:
  gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w 
"/tmp/8yhLzFzeyA/dump1.h"  -I/usr/include/pg_query/postgres 
-I/usr/include/pg_query/postgres/utils 
-I/usr/include/pg_query/postgres/port/win32_msvc 
-I/usr/include/pg_query/postgres/port/win32

In file included from /usr/include/pg_query/postgres/port/win32/netinet/tcp.h:5,
                 from /usr/include/pg_query/postgres/libpq/libpq-be.h:26,
                 from /usr/include/pg_query/postgres/libpq/auth.h:17,
                 from /tmp/8yhLzFzeyA/dump1.h:174:
/usr/include/pg_query/postgres/port/win32/sys/socket.h:14:10: fatal error: 
winsock2.h: No such file or directory
   14 | #include <winsock2.h>
      |          ^~~~~~~~~~~~
compilation terminated.


This -I/usr/include/pg_query/postgres/port/win32 should not be there.

Thanks,
Christoph

Reply via email to