[kde-windows] [Bug 326743] New: compilation of kdelibs fails to compile: winioctl_backport.h not found

dasaan.san at gmail.com dasaan.san at gmail.com
Sun Oct 27 14:57:41 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=326743

            Bug ID: 326743
           Summary: compilation of kdelibs fails to compile:
                    winioctl_backport.h not found
    Classification: Unclassified
           Product: kde-windows
           Version: unspecified
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: buildsystem
          Assignee: kde-windows at kde.org
          Reporter: dasaan.san at gmail.com

whilst trying to emerge kdelibs I get the following output:
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:39:31: error:
winioctl_backport.h: No such file or directory

Some googling suggests that this file can get installed by kdewin but seeing as
things haven't gotten that far yet I'd guess that's why it's missing.

As kdelibs has the potential to use this file I would suggest that it also
installs it if required (new cmake check?)

Reproducible: Always

Steps to Reproduce:
0. fresh %KDEROOT% with only etc/kdesettings.bat and a newly cloned emerge
(kde-4.11 branch)
1. emerge qt
2. patched giflib (see bug 326346)
3. emerge kdelibs
4. patched kdelibs (see bug 326583)
5. emerge kdelibs
Actual Results:  
[ 11%] Building CXX object
solid/solid/CMakeFiles/solid.dir/backends/win/winopticaldisc.obj
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:39:31: error:
winioctl_backport.h: No such file or directory
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp: In member
function 'void Solid::Backends::Win::WinDevice::initStorageDevice()':
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:151: error:
'STORAGE_PROPERTY_QUERY' was not declared in this scope
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:151: error:
expected ';' before 'query'
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:152: error:
'query' was not declared in this scope
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:153: error:
'StorageDeviceProperty' was not declared in this scope
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:154: error:
'PropertyStandardQuery' was not declared in this scope
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:157: error:
'STORAGE_PROPERTY_QUERY' cannot appear in a constant-expression
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:157: error:
'IOCTL_STORAGE_QUERY_PROPERTY' was not declared in this scope
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:158: error:
'STORAGE_DEVICE_DESCRIPTOR' was not declared in this scope
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:158: error:
'info' was not declared in this scope
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:158: error:
expected primary-expression before ')' token
c:\kdeRoot\git\kdelibs\solid\solid\backends\win\windevice.cpp:158: error:
expected ')' before 'buff'
jom:
C:\kderoot\build\kde\kdelibs-20110130\work\mingw4-RelWithDebInfo-gitHEAD\solid\solid\CMakeFiles\solid.dir\build.make
[solid\solid\CMakeFiles\solid.dir\backends\win\windevice.obj] Error 1
[ 11%] Building CXX object
solid/solid/CMakeFiles/solid.dir/backends/win/winprocessor.obj
jom:
C:\kderoot\build\kde\kdelibs-20110130\work\mingw4-RelWithDebInfo-gitHEAD\CMakeFiles\Makefile2
[solid\solid\CMakeFiles\solid.dir\all] Error 2
jom:
C:\kderoot\build\kde\kdelibs-20110130\work\mingw4-RelWithDebInfo-gitHEAD\Makefile
[all] Error 2
emerge fatal error: while running make cmd: c:\kderoot\dev-utils\bin\jom.exe
emerge fatal error: running python
c:\kderoot\emerge\portage\kde\kdelibs\kdelibs-20110130.py compile
emerge debug: Task: Emerge stopped after: 1:01:31.737000

Expected Results:  
kdelibs should compile to completion

using emerge from the kde-4.11 branch

using python 3.2

c:\kdeRoot>gcc -v
Using built-in specs.
Target: i686-w64-mingw32
Configured with: ../gcc44-svn/configure --host=i686-w64-mingw32
--target=i686-w64-mingw32 --disable-multilib --enable-checking=release
--prefix=/mingw32 --with-sysroot=/mingw32
--enable-languages=c,c++,fortran,objc,obj-c++ --enable-libgomp
--with-gmp=/mingw32 --with-mpfr=/mingw32 --disable-nls --disable-win32-registry
Thread model: win32
gcc version 4.4.7 20111023 (prerelease) [svn/rev.180339 - mingw-w64/oz] (GCC)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kde-windows mailing list