| Summary: | [mingw32-msys2] Error compiling libvirt-glib | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | a.letterer | ||||
| Component: | libvirt-glib | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | a.letterer, berrange, libvirt-maint | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Windows | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-04-16 17:34:52 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
That seems to be the place $(_gir_silent_compiler) $(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) --includedir=. $(1) -o $(2) Closing old bug, since I see sucessful builds of libvirt-glib in the msys project that post-date this. |
Created attachment 1219116 [details] Logfile compiling Description of problem: Libvirt-glib does not compile here under Windows with MinGW32 MSYS2 environment. Libvirt itself compiles. It always gets stuck at GIR Task GISCAN LibvirtGLib-1.0.gir Version-Release number of selected component (if applicable): 1.0.0 How reproducible: I could reproduce it on my side Steps to Reproduce: 1. install libvirt 2. make package with makepkg 3. get error message Actual results: Fatal error: can't create tmp-introspectkjaw8g/download/portablexdr/MINGW-packages/mingw-w64-libvirt-glib/src/build-x86_64-w64-mingw32/libvirt-glib/tmp-introspectkjaw8g/LibvirtGLib-1.0.o: No such file or directory D:/download/portablexdr/MINGW-packages/mingw-w64-libvirt-glib/src/build-x86_64-w64-mingw32/libvirt-glib/tmp-introspectkjaw8g/LibvirtGLib-1.0.c:616:1: fatal error: error writing to -: Invalid argument } ^ compilation terminated. Traceback (most recent call last): File "C:/msys64/mingw64/bin/g-ir-scanner", line 66, in <module> sys.exit(scanner_main(sys.argv)) Problem is here, that path could not be found: tmp-introspectkjaw8g/download/portablexdr/MINGW-packages/mingw-w64-libvirt-glib... Expected results: From my point of view path should be: /d/download/portablexdr/MINGW-packages/mingw-w64-libvirt-glib... Additional info: So question is how to fix that. Issue is in following component /mingw64/share/gobject-introspection-1.0/Makefile.introspection Could you please help how I could change LibvirtGLib-1.0.gir.files or how is the interaction with gobject-introspection? Thank you in advance