[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-24 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=472422

--- Comment #15 from Halla Rempt  ---
"Green Hills MULTI Generator."

No, that's nonsense. Krita doesn't use that.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-23 Thread David
https://bugs.kde.org/show_bug.cgi?id=472422

--- Comment #14 from David  ---
On 7/23/23 16:31, david wrote:
> On 7/23/23 15:47, vanyossi wrote:
>> https://bugs.kde.org/show_bug.cgi?id=472422
>>
>> vanyossi  changed:
>>
>> What|Removed |Added
>> 
>>   CC||ghe...@gmail.com
>>   Resolution|--- |NOT A BUG
>>   Status|REOPENED|RESOLVED
>>
>> --- Comment #12 from vanyossi  ---
>> As said before by other developers, not being able to configure the build is
>> not a bug in krita. (when that is the case we know almost immediatly as most
>> builders and local repos break). Please do not change the bug status back
>> yourself.
>>
>> I suggest you re read the entire build process documentation page
>> https://docs.krita.org/en/untranslatable_pages/building_krita.html  and ask 
>> for
>> assistance onhttps://krita-artists.org/  or krita on irc. If you have doubts 
>> on
>> how to use cmake, checking cmake documentation and/or tutorials is also of
>> help.
>>
> OK. I've read through the building krita page multiple times. It 
> doesn't help. It seems to just blithely assume "everything works" and 
> provides little or no help when it doesn't.
>
> I've built many other applications using cmake, and the build has 
> never failed the way the Krita build fails. Perhaps it's a peculiarity 
> of the Krita project.
>
> Oh, well, I guess I'll ask on krita-artists. Thanks.
>
Final update. I asked on krita-artists.org. A responder said he thought 
it was connected with the Green Hills MULTI Generator. I don't have that 
on Debian Bookworm, so I guess that's some 3rd party tool you're using? 
Based on their website, it seems to be a commercial product of some sort.

Oh, well.  Guess I'll just stick with the version in Debian Bookworm.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-23 Thread David
https://bugs.kde.org/show_bug.cgi?id=472422

--- Comment #13 from David  ---
On 7/23/23 15:47, vanyossi wrote:
> https://bugs.kde.org/show_bug.cgi?id=472422
>
> vanyossi  changed:
>
> What|Removed |Added
> 
>   CC||ghe...@gmail.com
>   Resolution|--- |NOT A BUG
>   Status|REOPENED|RESOLVED
>
> --- Comment #12 from vanyossi  ---
> As said before by other developers, not being able to configure the build is
> not a bug in krita. (when that is the case we know almost immediatly as most
> builders and local repos break). Please do not change the bug status back
> yourself.
>
> I suggest you re read the entire build process documentation page
> https://docs.krita.org/en/untranslatable_pages/building_krita.html  and ask 
> for
> assistance onhttps://krita-artists.org/  or krita on irc. If you have doubts 
> on
> how to use cmake, checking cmake documentation and/or tutorials is also of
> help.
>
OK. I've read through the building krita page multiple times. It doesn't 
help. It seems to just blithely assume "everything works" and provides 
little or now help when it doesn't.

I've built many other applications using cmake, and the build has never 
failed the way the Krita build fails. Perhaps it's a peculiarity of the 
Krita project.

Oh, well, I guess I'll ask on krita-artists. Thanks.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-23 Thread vanyossi
https://bugs.kde.org/show_bug.cgi?id=472422

vanyossi  changed:

   What|Removed |Added

 CC||ghe...@gmail.com
 Resolution|--- |NOT A BUG
 Status|REOPENED|RESOLVED

--- Comment #12 from vanyossi  ---
As said before by other developers, not being able to configure the build is
not a bug in krita. (when that is the case we know almost immediatly as most
builders and local repos break). Please do not change the bug status back
yourself.

I suggest you re read the entire build process documentation page
https://docs.krita.org/en/untranslatable_pages/building_krita.html and ask for
assistance on https://krita-artists.org/ or krita on irc. If you have doubts on
how to use cmake, checking cmake documentation and/or tutorials is also of
help.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-23 Thread David
https://bugs.kde.org/show_bug.cgi?id=472422

David  changed:

   What|Removed |Added

 Resolution|NOT A BUG   |---
 Ever confirmed|0   |1
 Status|RESOLVED|REOPENED

--- Comment #11 from David  ---
I reopened it since it's not resolved. I still can't compile.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-23 Thread David
https://bugs.kde.org/show_bug.cgi?id=472422

--- Comment #10 from David  ---
On 7/22/23 22:07, Alvin Wong wrote:
> https://bugs.kde.org/show_bug.cgi?id=472422
>
> Alvin Wong  changed:
>
> What|Removed |Added
> 
>   CC||al...@alvinhc.com
>
> --- Comment #8 from Alvin Wong  ---
> Looks like you may be running cmake with the source path pointing to ` root>/krita/`. You should be using `/` instead.
>
So, trying again with source listed as "/home/software/gits/krita" and 
build directory as "/home/software/gits/krita/build", now it gives me 
this error:

CMake Error at CMakeLists.txt:9 (project): GHS_TOOLSET_ROOT directory 
"/usr/ghs" does not exist.

What is that??? I can't find any trace of that in Debian Bookworm.

Thanks, Alvin.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-23 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=472422

--- Comment #9 from Halla Rempt  ---
That is undoubtedly the case.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-23 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=472422

Halla Rempt  changed:

   What|Removed |Added

 CC||ha...@valdyas.org
 Status|REPORTED|RESOLVED
 Resolution|--- |NOT A BUG

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-23 Thread Alvin Wong
https://bugs.kde.org/show_bug.cgi?id=472422

Alvin Wong  changed:

   What|Removed |Added

 CC||al...@alvinhc.com

--- Comment #8 from Alvin Wong  ---
Looks like you may be running cmake with the source path pointing to `/krita/`. You should be using `/` instead.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-21 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=472422

Bug Janitor Service  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #7 from Bug Janitor Service  ---
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-21 Thread David
https://bugs.kde.org/show_bug.cgi?id=472422

--- Comment #6 from David  ---
OK. This is all cmake shows me in terminal:

CMake Error at data/CMakeLists.txt:34 (install):
  install FILES given no DESTINATION!

CMake Error at CMakeLists.txt:47 (ecm_add_app_icon):
  Unknown CMake command "ecm_add_app_icon".

Or is this what you want (found when running cmake-gui and clicking configure):

CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error in CMakeLists.txt:
  GHS_TOOLSET_ROOT directory "/usr/ghs" does not exist.


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

cmake_minimum_required(VERSION 3.25)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP".
This warning is for project developers.  Use -Wno-dev to suppress it.

Configuring incomplete, errors occurred!
See also "/home/software/krita/build/CMakeFiles/CMakeOutput.log".

I have tried it with three different install prefixes, and cmake insists it has
been given no destination.

My Krita source is in /home/software/gits/krita, not the "kritadev" mentioned
in the web page about building Krita
[https://docs.krita.org/en/untranslatable_pages/building_krita.html#building-on-linux].
So I have tried giving it the full path to the install folder
("/home/software/gits/krita/install"), tried using the
"$HOME/software/gits/krita/install" (modified version of what's on the building
page), and tried using "../install".

Sorry, I find the instructions on the building Krita page unclear and lacking
in explanation.

I've compiled other software on my system from git, all under the
/home/software/gits directory, and compiling worked.

Ideas?

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-21 Thread David
https://bugs.kde.org/show_bug.cgi?id=472422

--- Comment #5 from David  ---
OK. This is all cmake shows me in terminal:

CMake Error at data/CMakeLists.txt:34 (install):
  install FILES given no DESTINATION!

CMake Error at CMakeLists.txt:47 (ecm_add_app_icon):
  Unknown CMake command "ecm_add_app_icon".

I have tried it with three different install prefixes, and cmake insists it has
been given no destination.

My Krita source is in /home/software/gits/krita, not the "kritadev" mentioned
in the web page about building Krita
[https://docs.krita.org/en/untranslatable_pages/building_krita.html#building-on-linux].
So I have tried giving it the full path to the install folder
("/home/software/gits/krita/install"), tried using the
"$HOME/software/gits/krita/install" (modified version of what's on the building
page), and tried using "../install".

Sorry, I find the instructions on the building Krita page unclear and lacking
in explanation.

I've compiled other software on my system from git, all under the
/home/software/gits directory, and compiling worked.

Ideas?

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-21 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=472422

Dmitry Kazakov  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #4 from Dmitry Kazakov  ---
Erm... I meant the output of CMake actually

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-20 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=472422

Bug Janitor Service  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #3 from Bug Janitor Service  ---
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-20 Thread David
https://bugs.kde.org/show_bug.cgi?id=472422

--- Comment #2 from David  ---
Created attachment 160414
  --> https://bugs.kde.org/attachment.cgi?id=160414=edit
CMakeOutput.log

Here you go, using a fresh git clone.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-20 Thread Dmitry Kazakov
https://bugs.kde.org/show_bug.cgi?id=472422

Dmitry Kazakov  changed:

   What|Removed |Added

 CC||dimul...@gmail.com
 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Dmitry Kazakov  ---
Hi, David!

Please provide the full build log

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 472422] Cannot build krita; cmake 3.25.1 insists there's no install prefix when there is

2023-07-20 Thread David
https://bugs.kde.org/show_bug.cgi?id=472422

David  changed:

   What|Removed |Added

 CC||gn...@hawaii.rr.com

-- 
You are receiving this mail because:
You are watching all bug changes.