# rpmbuild --clean ovirt-guest-agent-windows.spec Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.ttlxBl + umask 022 + cd /root/rpmbuild/BUILD + rm -rf ovirt-guest-agent-1.0.14 + exit 0 # rpmbuild -bb ovirt-guest-agent-windows.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KfESBR + umask 022 + cd /root/rpmbuild/BUILD + cd /root/rpmbuild/BUILD + rm -rf ovirt-guest-agent-1.0.14 + /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/ovirt-guest-agent-1.0.14.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ovirt-guest-agent-1.0.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6QjZnC + umask 022 + cd /root/rpmbuild/BUILD + cd ovirt-guest-agent-1.0.14 + pushd windows-credprov ~/rpmbuild/BUILD/ovirt-guest-agent-1.0.14/windows-credprov ~/rpmbuild/BUILD/ovirt-guest-agent-1.0.14 + x86_64-w64-mingw32-g++ CredentialsChannel.cpp Helpers.cpp OVirtCredProv.cpp OVirtCredentials.cpp OVirtProvider.cpp Pch.cpp -I . -o oVirtCredentialsProvider64.dll -shared -static-libstdc++ -static-libgcc -lshlwapi -lsecur32 -lole32 -luuid In file included from Helpers.h:16:0, from Helpers.cpp:14: /usr/x86_64-w64-mingw32/sys-root/mingw/include/strsafe.h:838:12: warning: inline function 'HRESULT StringCchLengthW(STRSAFE_LPCWSTR, size_t, size_t*)' used but never defined STRSAFEAPI StringCchLengthW(STRSAFE_LPCWSTR psz,size_t cchMax,size_t *pcchLength); ^ /usr/x86_64-w64-mingw32/sys-root/mingw/include/strsafe.h:837:12: warning: inline function 'HRESULT StringCchLengthA(STRSAFE_LPCSTR, size_t, size_t*)' used but never defined STRSAFEAPI StringCchLengthA(STRSAFE_LPCSTR psz,size_t cchMax,size_t *pcchLength); ^ + i686-w64-mingw32-g++ CredentialsChannel.cpp Helpers.cpp OVirtCredProv.cpp OVirtCredentials.cpp OVirtProvider.cpp Pch.cpp -I . -o oVirtCredentialsProvider32.dll -shared -static-libstdc++ -static-libgcc -lshlwapi -lsecur32 -lole32 -luuid In file included from Helpers.h:16:0, from Helpers.cpp:14: /usr/i686-w64-mingw32/sys-root/mingw/include/strsafe.h:838:12: warning: inline function 'HRESULT StringCchLengthW(STRSAFE_LPCWSTR, size_t, size_t*)' used but never defined STRSAFEAPI StringCchLengthW(STRSAFE_LPCWSTR psz,size_t cchMax,size_t *pcchLength); ^ /usr/i686-w64-mingw32/sys-root/mingw/include/strsafe.h:837:12: warning: inline function 'HRESULT StringCchLengthA(STRSAFE_LPCSTR, size_t, size_t*)' used but never defined STRSAFEAPI StringCchLengthA(STRSAFE_LPCSTR psz,size_t cchMax,size_t *pcchLength); ^ + popd ~/rpmbuild/BUILD/ovirt-guest-agent-1.0.14 + pushd GinaSSO ~/rpmbuild/BUILD/ovirt-guest-agent-1.0.14/GinaSSO ~/rpmbuild/BUILD/ovirt-guest-agent-1.0.14 + i686-w64-mingw32-g++ GinaDlg.cpp GinaSSO.cpp stdafx.cpp -I . -o oVirtGinaSSO.dll -shared -static-libstdc++ -static-libgcc -lshlwapi -lsecur32 -lole32 -luuid -lwsock32 -DUNICODE GinaDlg.cpp:44:30: warning: deprecated conversion from string constant to 'LPTSTR {aka wchar_t*}' [-Wwrite-strings] static LPTSTR lpszPipename = L"\\\\.\\pipe\\VDSMDPipe"; ^ GinaDlg.cpp:47:14: warning: 'g_dwVersion' initialized and declared 'extern' extern DWORD g_dwVersion = WLX_VERSION_1_4; ^ + popd ~/rpmbuild/BUILD/ovirt-guest-agent-1.0.14 + export WINEPREFIX=/root/rpmbuild/BUILD/ovirt-guest-agent-1.0.14/wineprefix + WINEPREFIX=/root/rpmbuild/BUILD/ovirt-guest-agent-1.0.14/wineprefix + wine msiexec /i /usr/share/python-windows/python-2.7.14.msi /qn ADDLOCAL=ALL wine: created the configuration directory '/root/rpmbuild/BUILD/ovirt-guest-agent-1.0.14/wineprefix' 0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046} 0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa} 0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002 0012:err:ole:get_local_server_stream Failed: 80004002 0010:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0010:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 0014:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0014:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 0014:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0 0014:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0 0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046} 0014:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007 0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x800736b7 0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 800736b7 0014:err:ole:get_local_server_stream Failed: 800736b7 000b:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 000b:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 0016:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0016:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 0018:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0018:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. Could not load wine-gecko. HTML rendering will be disabled. 0027:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0027:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 0029:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0029:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 002b:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 002b:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. Could not load wine-gecko. HTML rendering will be disabled. wine: configuration in '/root/rpmbuild/BUILD/ovirt-guest-agent-1.0.14/wineprefix' has been updated. 0009:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 0009:err:mscoree:LoadLibraryShim error reading registry key for installroot 0009:err:mscoree:LoadLibraryShim error reading registry key for installroot 0009:err:mscoree:LoadLibraryShim error reading registry key for installroot 0009:err:mscoree:LoadLibraryShim error reading registry key for installroot 0009:err:msi:create_temp_binary failed to load dll L"C:\\users\\root\\Temp\\msib238.tmp" (193) 002e:err:msi:ACTION_CallDllFunction failed to load dll L"C:\\users\\root\\Temp\\msib238.tmp" (193) 0009:err:msi:create_temp_binary failed to load dll L"C:\\users\\root\\Temp\\msibf63.tmp" (193) 002f:err:msi:ACTION_CallDllFunction failed to load dll L"C:\\users\\root\\Temp\\msibf63.tmp" (193) 0009:fixme:msi:ITERATE_CreateShortcuts poorly handled shortcut format, advertised shortcut 0009:fixme:msi:ITERATE_CreateShortcuts poorly handled shortcut format, advertised shortcut 0009:fixme:msi:ITERATE_CreateShortcuts poorly handled shortcut format, advertised shortcut + export 'Path=%PATH%;C:\Python27' + Path='%PATH%;C:\Python27' + 7za x /usr/share/pywin32-py2.7/pywin32-222.win32-py2.7.exe 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,2 CPUs Intel(R) Pentium(R) D CPU 3.00GHz (F64),ASM) Scanning the drive for archives: 1 file, 6959333 bytes (6797 KiB) Extracting archive: /usr/share/pywin32-py2.7/pywin32-222.win32-py2.7.exe -- Path = /usr/share/pywin32-py2.7/pywin32-222.win32-py2.7.exe Type = zip Offset = 196877 Physical Size = 6762456 Everything is Ok Files: 593 Size: 14210156 Compressed: 6959333 + mv PLATLIB/PyWin32.chm PLATLIB/adodbapi PLATLIB/isapi PLATLIB/pythoncom.py PLATLIB/pythonwin PLATLIB/pywin32-222-py2.7.egg-info PLATLIB/pywin32.pth PLATLIB/pywin32.version.txt PLATLIB/pywin32_system32 PLATLIB/win32 PLATLIB/win32com PLATLIB/win32comext /root/rpmbuild/BUILD/ovirt-guest-agent-1.0.14/wineprefix/drive_c/Python27/Lib/site-packages/ + rmdir PLATLIB + mv SCRIPTS/pywin32_postinstall.py SCRIPTS/pywin32_testall.py /root/rpmbuild/BUILD/ovirt-guest-agent-1.0.14/wineprefix/drive_c/Python27/Lib/site-packages/ + rmdir SCRIPTS + pushd /root/rpmbuild/BUILD/ovirt-guest-agent-1.0.14/wineprefix/drive_c/Python27/Lib/site-packages/ ~/rpmbuild/BUILD/ovirt-guest-agent-1.0.14/wineprefix/drive_c/Python27/Lib/site-packages ~/rpmbuild/BUILD/ovirt-guest-agent-1.0.14 + wine python pywin32_postinstall.py -install -silent -quiet wine: Bad EXE format for C:\Python27\python.exe. error: Bad exit status from /var/tmp/rpm-tmp.6QjZnC (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.6QjZnC (%build)