Bug 326743 - compilation of kdelibs fails to compile: winioctl_backport.h not found
Summary: compilation of kdelibs fails to compile: winioctl_backport.h not found
Status: RESOLVED WORKSFORME
Alias: None
Product: kde-windows
Classification: Miscellaneous
Component: buildsystem (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: KDE-Windows
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-27 14:57 UTC by dasaan.san
Modified: 2023-01-22 05:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dasaan.san 2013-10-27 14:57:41 UTC
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)
Comment 1 dasaan.san 2013-10-27 15:34:09 UTC
Whoops, checked my manifest directory and kdewin was already installed.

the winioctl_backport.h file in the kdewin package mentions that it originated from the mingw-w64 w32 package but it's not turned up in any of my searches
Comment 2 Andrew Crouthamel 2018-11-10 03:18:03 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-20 03:56:38 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Justin Zobel 2022-12-23 00:28:15 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Bug Janitor Service 2023-01-07 05:22:36 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2023-01-22 05:06:44 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!