[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-windows
Subject:    Re: Building KDevelop master with craft on Windows failing
From:       Morten Volden <mvolden2 () gmail ! com>
Date:       2018-11-22 10:04:45
Message-ID: CADKV3PQ+fq_sij=b=zOMAKosjuwbAQABef2nVadEwteOxFrBvg () mail ! gmail ! com
[Download RAW message or body]

Hi Kevin

Thanks - Much appreciated.

I am now able to build KDevelop in Debug mode. Curiously, I am not able to
start it though.

The executable is there, but when I type kdevelop in the craft terminal
nothing happens.

I am, however, able to execute the unittests from within the terminal and
that was what I wanted in the first place. Will try to investigate that
issue when time permits.

Cheers,



Den tir. 20. nov. 2018 kl. 13.40 skrev Kevin Funk <kfunk@kde.org>:

> On Monday, 19 November 2018 19:23:08 CET Morten Volden wrote:
> > Hi All
> >
> > I have done a craft --destroy-craft-root to try and build from a clean
> root
> > directory.
>
> That will not destroy/reset the Git checkouts iirc.
>
> Could you try `git reset --hard` in the kdevelop-pg-qt dir and continue
> with
> craft?
>
> Regards,
> Kevin
>
> > However, I am still experiencing problems with building master branch of
> > KDevelop in Debug mode on Windows.
> >
> > More specific, kdev-pg-qt build fails:
> >
> > FAILED:
> > kdev-pg/CMakeFiles/kdev-pg-qt.dir/kdev-pg-default-visitor-gen.cpp.obj
> >
> C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1414~1.264\bin\Hostx64\x64\
> > cl.exe /nologo /TP -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS
> > -DQT_DISABLE_DEPRECATED_B EFORE=0x050400 -DQT_NO_URL_CAST_FROM_STRING
> > -DQT_STL
> > -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DUNICODE
> > -DWIN32_LEAN_AND_MEAN -DWINVER=0x0600 -D_
> > CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE
> > -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
> > -D_USE_MATH_DEFINES -D_WIN32_IE=0x0600 -D_WIN
> > 32_WINNT=0x0600 -Ikdev-pg
> > -IC:\CraftRoot\download\git\extragear\kdevelop-pg-qt\kdev-pg
> > -Ikdev-pg\kdev-pg-qt_autogen\include -IC:\CraftRoot\download\git\extragea
> > r\kdevelop-pg-qt\include -IC:\CraftRoot\include\qt5
> > -IC:\CraftRoot\include\qt5\QtCore -IC:\CraftRoot\.\mkspecs\win32-msvc
> > /DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd42
> > 50 /wd4251 /wd4396 /wd4661 -EHsc /MDd /Zi /Ob0 /Od /RTC1 /showIncludes
> > /Fokdev-pg\CMakeFiles\kdev-pg-qt.dir\kdev-pg-default-visitor-gen.cpp.obj
> > /Fdkdev-pg\CMake
> > Files\kdev-pg-qt.dir\ /FS -c
> >
> C:\CraftRoot\download\git\extragear\kdevelop-pg-qt\kdev-pg\kdev-pg-default-v
> > isitor-gen.cpp
> >
> C:\CraftRoot\download\git\extragear\kdevelop-pg-qt\kdev-pg\kdev-pg-default-
> > visitor-gen.cpp(22): fatal error C1083: Cannot open include file:
> > 'kdev-pg-default-vi
> > sitor-gen.h': No such file or directory
> >
> > So it cannot find a .h file that I know is part of kdev-pg-qt. This had
> me
> > confused for a while, until I noticed this line further up in the build
> > process:
> >
> > executing command: C:\CraftRoot\dev-utils\bin\git.exe checkout 2.1
> > Already on '2.1'
> > D       kdev-pg/kdev-pg-default-visitor-gen.h
> > Your branch is up to date with 'origin/2.1'.
> > Already up to date.
> > executing command: C:\CraftRoot\dev-utils\bin\git.exe checkout 2.1
> > Already on '2.1'
> > D       kdev-pg/kdev-pg-default-visitor-gen.h
> > Your branch is up to date with 'origin/2.1'.
> > *** Action: unpack for extragear/kdevelop-pg-qt ***
> >
> > So this seems like something within craft is deliberately deleting the .h
> > file. However, it is not super clear to me what that something is.
> Looking
> > through the different python, text, and json files I was not able to spot
> > anything.
> >
> > Also, in the BlueprintSettings.ini file I have specified that I want the
> > master version. Like so:
> >
> > [extragear/kdevelop-pg-qt]
> > version = master
> >
> > But that does not seem to have any effect on the version that is chosen
> for
> > the build (2.1)
> >
> > Any pointer(s) as to what I might be doing wrong would be much
> appreciated.
>
>
> --
> Kevin Funk | kfunk@kde.org | http://kfunk.org



-- 
Regards / Med venlig hilsen

Morten Danielsen Volden
Software Developer
M.Sc. EE

[Attachment #3 (text/html)]

<div dir="ltr"><div>Hi Kevin</div><div><br></div><div>Thanks - Much appreciated. \
<br></div><div><br></div><div>I am now able to build KDevelop in Debug mode. \
Curiously, I am not able to start it though.</div><div><br></div><div>The executable \
is there, but when I type kdevelop in the craft terminal nothing \
happens.</div><div><br></div><div>I am, however, able to execute the unittests from \
within the terminal and that was what I wanted in the first place. Will try to \
investigate that issue when time \
permits.</div><div><br></div><div>Cheers,</div><div><br></div><div>  \
<br></div></div><br><div class="gmail_quote"><div dir="ltr">Den tir. 20. nov. 2018 \
kl. 13.40 skrev Kevin Funk &lt;<a href="mailto:kfunk@kde.org" \
target="_blank">kfunk@kde.org</a>&gt;:<br></div><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Monday, 19 \
November 2018 19:23:08 CET Morten Volden wrote:<br> &gt; Hi All<br>
&gt; <br>
&gt; I have done a craft --destroy-craft-root to try and build from a clean root<br>
&gt; directory.<br>
<br>
That will not destroy/reset the Git checkouts iirc.<br>
<br>
Could you try `git reset --hard` in the kdevelop-pg-qt dir and continue with <br>
craft?<br>
<br>
Regards,<br>
Kevin<br>
<br>
&gt; However, I am still experiencing problems with building master branch of<br>
&gt; KDevelop in Debug mode on Windows.<br>
&gt; <br>
&gt; More specific, kdev-pg-qt build fails:<br>
&gt; <br>
&gt; FAILED:<br>
&gt; kdev-pg/CMakeFiles/kdev-pg-qt.dir/kdev-pg-default-visitor-gen.cpp.obj<br>
&gt; C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1414~1.264\bin\Hostx64\x64\<br>
&gt; cl.exe /nologo /TP -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS<br>
&gt; -DQT_DISABLE_DEPRECATED_B EFORE=0x050400 -DQT_NO_URL_CAST_FROM_STRING<br>
&gt; -DQT_STL<br>
&gt; -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DUNICODE<br>
&gt; -DWIN32_LEAN_AND_MEAN -DWINVER=0x0600 -D_<br>
&gt; CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE<br>
&gt; -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE<br>
&gt; -D_USE_MATH_DEFINES -D_WIN32_IE=0x0600 -D_WIN<br>
&gt; 32_WINNT=0x0600 -Ikdev-pg<br>
&gt; -IC:\CraftRoot\download\git\extragear\kdevelop-pg-qt\kdev-pg<br>
&gt; -Ikdev-pg\kdev-pg-qt_autogen\include -IC:\CraftRoot\download\git\extragea<br>
&gt; r\kdevelop-pg-qt\include -IC:\CraftRoot\include\qt5<br>
&gt; -IC:\CraftRoot\include\qt5\QtCore -IC:\CraftRoot\.\mkspecs\win32-msvc<br>
&gt; /DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd42<br>
&gt; 50 /wd4251 /wd4396 /wd4661 -EHsc /MDd /Zi /Ob0 /Od /RTC1 /showIncludes<br>
&gt; /Fokdev-pg\CMakeFiles\kdev-pg-qt.dir\kdev-pg-default-visitor-gen.cpp.obj<br>
&gt; /Fdkdev-pg\CMake<br>
&gt; Files\kdev-pg-qt.dir\ /FS -c<br>
&gt; C:\CraftRoot\download\git\extragear\kdevelop-pg-qt\kdev-pg\kdev-pg-default-v<br>
&gt; isitor-gen.cpp<br>
&gt; C:\CraftRoot\download\git\extragear\kdevelop-pg-qt\kdev-pg\kdev-pg-default-<br>
&gt; visitor-gen.cpp(22): fatal error C1083: Cannot open include file:<br>
&gt; &#39;kdev-pg-default-vi<br>
&gt; sitor-gen.h&#39;: No such file or directory<br>
&gt; <br>
&gt; So it cannot find a .h file that I know is part of kdev-pg-qt. This had me<br>
&gt; confused for a while, until I noticed this line further up in the build<br>
&gt; process:<br>
&gt; <br>
&gt; executing command: C:\CraftRoot\dev-utils\bin\git.exe checkout 2.1<br>
&gt; Already on &#39;2.1&#39;<br>
&gt; D           kdev-pg/kdev-pg-default-visitor-gen.h<br>
&gt; Your branch is up to date with &#39;origin/2.1&#39;.<br>
&gt; Already up to date.<br>
&gt; executing command: C:\CraftRoot\dev-utils\bin\git.exe checkout 2.1<br>
&gt; Already on &#39;2.1&#39;<br>
&gt; D           kdev-pg/kdev-pg-default-visitor-gen.h<br>
&gt; Your branch is up to date with &#39;origin/2.1&#39;.<br>
&gt; *** Action: unpack for extragear/kdevelop-pg-qt ***<br>
&gt; <br>
&gt; So this seems like something within craft is deliberately deleting the .h<br>
&gt; file. However, it is not super clear to me what that something is. Looking<br>
&gt; through the different python, text, and json files I was not able to spot<br>
&gt; anything.<br>
&gt; <br>
&gt; Also, in the BlueprintSettings.ini file I have specified that I want the<br>
&gt; master version. Like so:<br>
&gt; <br>
&gt; [extragear/kdevelop-pg-qt]<br>
&gt; version = master<br>
&gt; <br>
&gt; But that does not seem to have any effect on the version that is chosen for<br>
&gt; the build (2.1)<br>
&gt; <br>
&gt; Any pointer(s) as to what I might be doing wrong would be much appreciated.<br>
<br>
<br>
-- <br>
Kevin Funk | <a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a> | <a \
href="http://kfunk.org" rel="noreferrer" \
target="_blank">http://kfunk.org</a></blockquote></div><br clear="all"><br>-- \
<br><div dir="ltr" class="m_-4393701773096275149gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards / \
Med venlig hilsen<br><br></div><div>Morten Danielsen Volden<br></div><div>Software \
Developer<br></div><div>M.Sc. EE<br></div></div></div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic