Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 16:47
    szhorvat commented #13267
  • 15:59
    MehdiChinoune commented #13267
  • 15:56
    pal1000 opened #13271
  • 15:53
    mati865 commented #13267
  • 15:11
    szhorvat commented #13267
  • 15:10
    szhorvat commented #13267
  • 14:57
    mmuetzel commented #13267
  • 14:03
    swanah edited #13270
  • 14:01
    swanah labeled #13270
  • 14:01
    swanah opened #13270
  • 13:26
    lb90 opened #13269
  • 13:12
    szhorvat commented #8399
  • 13:11
    szhorvat commented #8399
  • 13:04
    szhorvat commented #13267
  • 13:04
    szhorvat commented #13267
  • 12:55
    MehdiChinoune commented #13267
  • 12:55
    MehdiChinoune commented #13267
  • 12:22
    lb90 commented #13258
  • 12:19
    szhorvat edited #13267
  • 12:18
    szhorvat edited #13267
Алексей
@Alexpux
well rpcgen generate files in build folder
but if i revert patch then it try to find generated files in source folder
Алексей
@Alexpux
like this
src/remote/qemu_protocol.c:7:10: fatal error: ../libvirt-7.0.0/src/remote/qemu_protocol.h: No such file or directory
    7 | #include "../libvirt-7.0.0/src/remote/qemu_protocol.h"
Biswapriyo Nath
@Biswa96
Yes, I get that error from tarball but not from git repo.
Алексей
@Alexpux
@Biswa96 im building 7.0.0-rc1
it released today
Biswapriyo Nath
@Biswa96
Yes, both from v7 and v6.10. After reverting the patch that lazka said. Zero idea about meson though.
Алексей
@Alexpux
yes this is with reverted patch
Алексей
@Alexpux
well i try to build inside source directory then
does meson allow it?
Christoph Reiter
@lazka
Алексей
@Alexpux
?
Christoph Reiter
@lazka
It at tries to build with that
Алексей
@Alexpux
i have this patch locally
Christoph Reiter
@lazka
now it fails with "rpc/rpc.h: No such file or directory"
(I made that patch manually, no revert)
Алексей
@Alexpux
do you have installed rpcsvc-proto and mingw-portablexdr?
Christoph Reiter
@lazka
ah, right, I'll try more
Алексей
@Alexpux
probably problem that src/rpc/genprotocol.pl not fix VPATH correctly
it have
    # Fix VPATH builds
    s,#include ".*/([^/]+)protocol\.h",#include "${1}protocol.h",;
Christoph Reiter
@lazka
now I have undefined reference to 'virNetClientProgramCall'
Алексей
@Alexpux
where it stops?
what build step
Christoph Reiter
@lazka
[1/332] Linking target src/libvirt-admin-0.dll
Алексей
@Alexpux
what version you build?
Christoph Reiter
@lazka
git master
Алексей
@Alexpux
i dont know how you build it but from our PKGBUILD it looks like
Found ninja-1.10.2 at D:\msys64\mingw64\bin/ninja.EXE
[1/775] Generating virt_keycode_atset1 with a custom command (wrapped by meson to capture output)
[2/775] Generating virt_keycode_atset2 with a custom command (wrapped by meson to capture output)
Unai Martinez-Corral
@umarcor
Can someone provide me the link to the discussion about prefixes (mingw-w64-, clang-, etc.)? I can't find it ATM.
Алексей
@Alexpux
@lazka @Biswa96 I pass error with headers now
get other errro
[341/775] Compiling C object tests/libvirgdbusmock.dll.p/virgdbusmock.c.obj
FAILED: tests/libvirgdbusmock.dll.p/virgdbusmock.c.obj
"cc" @tests/libvirgdbusmock.dll.p/virgdbusmock.c.obj.rsp
In file included from ../libvirt-7.0.0/tests/virgdbusmock.c:23:
../libvirt-7.0.0/tests/virgdbusmock.c: In function 'g_dbus_connection_call_sync':
../libvirt-7.0.0/tests/virmock.h:111:29: warning: implicit declaration of function 'dlsym' [-Wimplicit-function-declaration]
  111 |             !(wrap_##name = dlsym(RTLD_DEFAULT, \
      |                             ^~~~~
../libvirt-7.0.0/tests/virgdbusmock.c:57:1: note: in expansion of macro 'VIR_MOCK_LINK_RET_ARGS'
   57 | VIR_MOCK_LINK_RET_ARGS(g_dbus_connection_call_sync,
      | ^~~~~~~~~~~~~~~~~~~~~~
../libvirt-7.0.0/tests/virmock.h:111:29: warning: nested extern declaration of 'dlsym' [-Wnested-externs]
  111 |             !(wrap_##name = dlsym(RTLD_DEFAULT, \
      |                             ^~~~~
../libvirt-7.0.0/tests/virgdbusmock.c:57:1: note: in expansion of macro 'VIR_MOCK_LINK_RET_ARGS'
   57 | VIR_MOCK_LINK_RET_ARGS(g_dbus_connection_call_sync,
      | ^~~~~~~~~~~~~~~~~~~~~~../libvirt-7.0.0/tests/virmock.h:111:35: error: 'RTLD_DEFAULT' undeclared (first use in this function); did you mean 'CW_DEFAULT'?
  111 |             !(wrap_##name = dlsym(RTLD_DEFAULT, \
      |                                   ^~~~~~~~~~~~
Unai Martinez-Corral
@umarcor
Алексей
@Alexpux
probably need dlfcn for building tests
Christoph Reiter
@lazka
meson configure -Dtests=disabled I guess
Алексей
@Alexpux
yes im trying
Christoph Reiter
@lazka
I have lots of multiple definition of
I'm giving up
Christoph Reiter
@lazka
ah, some files were blocked. @Alexpux it builds fine here now
Алексей
@Alexpux
im building it too seems
with patching genprotocol.pl
will pull changes when finish 32 bit build
push
Christoph Reiter
@lazka
I didn't need to patch genprotocol.pl. only add rpcgen_prog.path()
Алексей
@Alexpux
where?
Алексей
@Alexpux
im pushed changes
lets see how it builds in CI
Christoph Reiter
@lazka
I've filed a meson bug for the .path() issue: mesonbuild/meson#8172