Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win compilation: Qt setup fail #7162

Open
Kebap opened this issue Feb 25, 2024 · 0 comments
Open

Win compilation: Qt setup fail #7162

Kebap opened this issue Feb 25, 2024 · 0 comments
Labels
bug OS:Windows Public infrastructure Infrastructure available for pull requests

Comments

@Kebap
Copy link
Contributor

Kebap commented Feb 25, 2024

Brief summary of issue / Description of requested feature:

Running "setup-windows-sdk.ps1" fails with Qt errors

Steps to reproduce the issue / Reasons for adding feature:

  1. Start " .\setup-windows-sdk.ps1"
  2. Error message 1: Path "C:\Qt\Tools" can't be found, as it does not exist
  3. Error message 2: Name "qmake" not found

Indeed there is no path C:\Qt\ at all.

Error output / Expected result of feature

Full script log and error messages read:

PS C:\dev\GitHub\Mudlet> Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted
PS C:\dev\GitHub\Mudlet> .\setup-windows-sdk.ps1
workingBaseDir is C:\src\
Using C:\Qt\5.14.2\mingw73_32 as QT base directory.
Resolve-Path : Der Pfad "C:\Qt\Tools" kann nicht gefunden werden, da er nicht vorhanden ist.
In C:\dev\GitHub\Mudlet\CI\appveyor.functions.ps1:44 Zeichen:29
+     $tmp = $tmp -join "\" | Resolve-Path
+                             ~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Qt\Tools:String) [Resolve-Path], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand

Using  as MinGW base directory.
Using \lib\lua\5.1\?.dll; as LuaRocks path.
Running qmake
qmake : Die Benennung "qmake" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines
ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang.
In C:\dev\GitHub\Mudlet\setup-windows-sdk.ps1:28 Zeichen:1
+ qmake CONFIG+=debug ../src/mudlet.pro
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (qmake:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Script aborts after that.

C:\src\verbose_output.log for comparison:

Using C:\Qt\5.14.2\mingw73_32 as QT base directory.
==== compiling and installing 7z ====
---- 7z is already installed, skipping... ----
==== 7z compiled and installed ====
==== compiling and installing ccache ====
---- installing ccache ----
---- Downloading ----
---- Extracting source distribution ----

7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive for archives:
1 file, 1925188 bytes (1881 KiB)

Extracting archive: ccache.zip
--
Path = ccache.zip
Type = zip
Physical Size = 1925188

Everything is Ok

Folders: 1
Files: 7
Size:       6620624
Compressed: 1925188
Using C:\Qt\5.14.2\mingw73_32 as QT base directory.
==== compiling and installing 7z ====
---- 7z is already installed, skipping... ----
==== 7z compiled and installed ====
==== compiling and installing ccache ====
---- installing ccache ----
---- Downloading ----
---- Extracting source distribution ----
Using C:\Qt\5.14.2\mingw73_32 as QT base directory.
==== compiling and installing 7z ====
---- 7z is already installed, skipping... ----
==== 7z compiled and installed ====
==== compiling and installing ccache ====
---- installing ccache ----
---- Downloading ----
---- Extracting source distribution ----

7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive for archives:
1 file, 1925188 bytes (1881 KiB)

Extracting archive: ccache.zip
--
Path = ccache.zip
Type = zip
Physical Size = 1925188

Everything is Ok

Folders: 1
Files: 7
Size:       6620624
Compressed: 1925188
Using C:\Qt\5.14.2\mingw73_32 as QT base directory.
==== compiling and installing 7z ====
---- 7z is already installed, skipping... ----
==== 7z compiled and installed ====
==== compiling and installing ccache ====
---- installing ccache ----
---- Downloading ----
---- Extracting source distribution ----

7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive for archives:
1 file, 1925188 bytes (1881 KiB)

Extracting archive: ccache.zip
--
Path = ccache.zip
Type = zip
Physical Size = 1925188

Everything is Ok

Folders: 1
Files: 7
Size:       6620624
Compressed: 1925188
Using C:\Qt\5.14.2\mingw73_32 as QT base directory.
==== compiling and installing 7z ====
---- 7z is already installed, skipping... ----
==== 7z compiled and installed ====
==== compiling and installing ccache ====
---- installing ccache ----
---- Downloading ----
---- Extracting source distribution ----

7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive for archives:
1 file, 1925188 bytes (1881 KiB)

Extracting archive: ccache.zip
--
Path = ccache.zip
Type = zip
Physical Size = 1925188

Everything is Ok

Folders: 1
Files: 7
Size:       6620624
Compressed: 1925188
Using C:\Qt\5.14.2\mingw73_32 as QT base directory.
==== compiling and installing 7z ====
---- 7z is already installed, skipping... ----
==== 7z compiled and installed ====
==== compiling and installing ccache ====
---- installing ccache ----
---- Downloading ----
---- Extracting source distribution ----

7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive for archives:
1 file, 1925188 bytes (1881 KiB)

Extracting archive: ccache.zip
--
Path = ccache.zip
Type = zip
Physical Size = 1925188

Everything is Ok

Folders: 1
Files: 7
Size:       6620624
Compressed: 1925188
Using C:\Qt\5.14.2\mingw73_32 as QT base directory.
==== compiling and installing 7z ====
---- Downloading ----
---- installing 7z ----
Using C:\Qt\5.14.2\mingw73_32 as QT base directory.
==== compiling and installing 7z ====
---- 7z is already installed, skipping... ----
==== 7z compiled and installed ====
==== compiling and installing ccache ====
---- installing ccache ----
---- Downloading ----
---- Extracting source distribution ----

7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive for archives:
1 file, 1925188 bytes (1881 KiB)

Extracting archive: ccache.zip
--
Path = ccache.zip
Type = zip
Physical Size = 1925188

Everything is Ok

Folders: 1
Files: 7
Size:       6620624
Compressed: 1925188
Using C:\Qt\5.14.2\mingw73_32 as QT base directory.
==== compiling and installing 7z ====
---- 7z is already installed, skipping... ----
==== 7z compiled and installed ====
==== compiling and installing ccache ====
---- installing ccache ----
---- Downloading ----
---- Extracting source distribution ----

7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive for archives:
1 file, 1925188 bytes (1881 KiB)

Extracting archive: ccache.zip
--
Path = ccache.zip
Type = zip
Physical Size = 1925188

Everything is Ok

Folders: 1
Files: 7
Size:       6620624
Compressed: 1925188
Using C:\Qt\5.14.2\mingw73_32 as QT base directory.
==== compiling and installing 7z ====
---- Downloading ----
---- installing 7z ----
U s i n g   C : \ Q t \ 5 . 1 4 . 2 \ m i n g w 7 3 _ 3 2   a s   Q T   b a s e   d i r e c t o r y . 
 
 = = = =   c o m p i l i n g   a n d   i n s t a l l i n g   7 z   = = = = 
 
 - - - -   7 z   i s   a l r e a d y   i n s t a l l e d ,   s k i p p i n g . . .   - - - - 
 
 = = = =   7 z   c o m p i l e d   a n d   i n s t a l l e d   = = = = 
 
 = = = =   c o m p i l i n g   a n d   i n s t a l l i n g   c c a c h e   = = = = 
 
 - - - -   i n s t a l l i n g   c c a c h e   - - - - 
 
 - - - -   D o w n l o a d i n g   - - - - 
 
 - - - -   E x t r a c t i n g   s o u r c e   d i s t r i b u t i o n   - - - - 
 
 
 
 7 - Z i p   2 3 . 0 1   ( x 6 4 )   :   C o p y r i g h t   ( c )   1 9 9 9 - 2 0 2 3   I g o r   P a v l o v   :   2 0 2 3 - 0 6 - 2 0 
 
 
 
 S c a n n i n g   t h e   d r i v e   f o r   a r c h i v e s : 
 
 1   f i l e ,   1 9 2 5 1 8 8   b y t e s   ( 1 8 8 1   K i B ) 
 
 
 
 E x t r a c t i n g   a r c h i v e :   c c a c h e . z i p 
 
 - - 
 
 P a t h   =   c c a c h e . z i p 
 
 T y p e   =   z i p 
 
 P h y s i c a l   S i z e   =   1 9 2 5 1 8 8 
 
 
 
 E v e r y t h i n g   i s   O k 
 
 
 
 F o l d e r s :   1 
 
 F i l e s :   7 
 
 S i z e :               6 6 2 0 6 2 4 
 
 C o m p r e s s e d :   1 9 2 5 1 8 8 
 
 = = = =   c c a c h e   c o m p i l e d   a n d   i n s t a l l e d   = = = = 
 
 = = = =   c o m p i l i n g   a n d   i n s t a l l i n g   c m a k e   = = = = 
 
 - - - -   D o w n l o a d i n g   - - - - 
 
 - - - -   i n s t a l l i n g   c m a k e   - - - - 
 
 = = =   L o g g i n g   s t a r t e d :   2 5 . 0 2 . 2 0 2 4     2 2 : 1 6 : 4 4   = = = 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   I N S T A L L . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   F i n d R e l a t e d P r o d u c t s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 4 :   F i n d R e l a t e d P r o d u c t s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   A p p S e a r c h . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 4 :   A p p S e a r c h .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   V a l i d a t e P r o d u c t I D . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 4 :   V a l i d a t e P r o d u c t I D .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   C o s t I n i t i a l i z e . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 4 :   C o s t I n i t i a l i z e .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   F i l e C o s t . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 4 :   F i l e C o s t .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   C o s t F i n a l i z e . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 4 :   C o s t F i n a l i z e .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   S e t A R P I N S T A L L L O C A T I O N . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 4 :   S e t A R P I N S T A L L L O C A T I O N .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   M i g r a t e F e a t u r e S t a t e s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 4 :   M i g r a t e F e a t u r e S t a t e s .   R e t u r n   v a l u e   0 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   I n s t a l l V a l i d a t e . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 4 :   I n s t a l l V a l i d a t e .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   I n s t a l l I n i t i a l i z e . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 4 :   I n s t a l l I n i t i a l i z e .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   R e m o v e E x i s t i n g P r o d u c t s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 4 :   R e m o v e E x i s t i n g P r o d u c t s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 4 :   P r o c e s s C o m p o n e n t s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   P r o c e s s C o m p o n e n t s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   U n p u b l i s h F e a t u r e s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   U n p u b l i s h F e a t u r e s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   R e m o v e R e g i s t r y V a l u e s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   R e m o v e R e g i s t r y V a l u e s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   R e m o v e S h o r t c u t s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   R e m o v e S h o r t c u t s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   R e m o v e E n v i r o n m e n t S t r i n g s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   R e m o v e E n v i r o n m e n t S t r i n g s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   R e m o v e F i l e s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   R e m o v e F i l e s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   R e m o v e F o l d e r s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   R e m o v e F o l d e r s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   C r e a t e F o l d e r s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   C r e a t e F o l d e r s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   I n s t a l l F i l e s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   I n s t a l l F i l e s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   C r e a t e S h o r t c u t s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   C r e a t e S h o r t c u t s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   W r i t e R e g i s t r y V a l u e s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   W r i t e R e g i s t r y V a l u e s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   W r i t e E n v i r o n m e n t S t r i n g s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   W r i t e E n v i r o n m e n t S t r i n g s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   R e g i s t e r U s e r . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   R e g i s t e r U s e r .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   R e g i s t e r P r o d u c t . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   R e g i s t e r P r o d u c t .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   P u b l i s h F e a t u r e s . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   P u b l i s h F e a t u r e s .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   P u b l i s h P r o d u c t . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 4 5 :   P u b l i s h P r o d u c t .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   s t a r t   2 2 : 1 6 : 4 5 :   I n s t a l l F i n a l i z e . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 5 1 :   I n s t a l l F i n a l i z e .   R e t u r n   v a l u e   1 . 
 
 A c t i o n   e n d e d   2 2 : 1 6 : 5 1 :   I N S T A L L .   R e t u r n   v a l u e   1 . 
 
 M S I   ( s )   ( D 0 : 2 C )   [ 2 2 : 1 6 : 5 1 : 0 3 1 ] :   P r o d u c t :   C M a k e   - -   I n s t a l l a t i o n   c o m p l e t e d   s u c c e s s f u l l y . 
 
 
 
 M S I   ( s )   ( D 0 : 2 C )   [ 2 2 : 1 6 : 5 1 : 0 3 1 ] :   D a s   P r o d u k t   w u r d e   d u r c h   W i n d o w s   I n s t a l l e r   i n s t a l l i e r t .   P r o d u k t n a m e :   C M a k e .   P r o d u k t v e r s i o n :   3 . 1 4 . 4 .   P r o d u k t s p r a c h e :   1 0 3 3 .   H e r s t e l l e r :   K i t w a r e .   E r f o l g -   b z w .   F e h l e r s t a t u s   d e r   I n s t a l l a t i o n :   0 . 
 
 
 
 = = =   L o g g i n g   s t o p p e d :   2 5 . 0 2 . 2 0 2 4     2 2 : 1 6 : 5 1   = = = 
 
 = = = =   c m a k e   c o m p i l e d   a n d   i n s t a l l e d   = = = = 
 
 = = = =   c o m p i l i n g   a n d   i n s t a l l i n g   m i n g w - g e t   = = = = 
 
 - - - -   D o w n l o a d i n g   - - - - 
 
 U s i n g   C : \ Q t \ 5 . 1 4 . 2 \ m i n g w 7 3 _ 3 2   a s   Q T   b a s e   d i r e c t o r y . 
 
 U s i n g     a s   M i n G W   b a s e   d i r e c t o r y . 
 
 U s i n g   \ l i b \ l u a \ 5 . 1 \ ? . d l l ;   a s   L u a R o c k s   p a t h . 
 

Now the layout in the end broke a bit, inserting lots of space characters in between. Not sure why..!?

Extra information, such as the Mudlet version, operating system and ideas for how to solve / implement:

Noted on Win11 with most recent "development" branch commit db1b45d

@Kebap Kebap added bug OS:Windows Public infrastructure Infrastructure available for pull requests labels Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug OS:Windows Public infrastructure Infrastructure available for pull requests
Projects
None yet
Development

No branches or pull requests

1 participant