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

"...is not a directory!!" multiple errors #809

Closed
avttrue opened this issue May 21, 2024 · 14 comments
Closed

"...is not a directory!!" multiple errors #809

avttrue opened this issue May 21, 2024 · 14 comments

Comments

@avttrue
Copy link

avttrue commented May 21, 2024

OS: Linux 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux (KDE Neon, wayland)

CQtDeployer version : 1.6.2351.ec4840f

command line: cqtdeployer -bin MY_APP -extraLibs "libb2,libxcb-cursor,libvdpau_va_gl" -enablePlugins "wayland-graphics-integration-client,wayland-graphics-integration-server" -disablePlugins "platformthemes,styles,wayland-decoration-client" -verbose 3 >&verboselog.txt

I get a lot of errors like "...is not a directory!!". Even the "DistributionKit" catalog is not created.

  • sudo snap connect cqtdeployer:process-control
  • sudo snap connect cqtdeployer:removable-media
  • sudo snap connect cqtdeployer:system-backup

permissions is enabled

verboselog.txt

@EndrII
Copy link
Member

EndrII commented May 21, 2024

Try to add -qmake ... option to your deployment command

@avttrue
Copy link
Author

avttrue commented May 21, 2024

Try to add -qmake ... option to your deployment command

But I not use qmake. This is cmake project.

@EndrII
Copy link
Member

EndrII commented May 21, 2024

it looks as you tried to deploy app in forbidden for snap directory, make sure that you run cqtdeployer in /home/*, /media/* or /mnt/* dirs.
If you use the LXD the /root dir is also allowed

@avttrue
Copy link
Author

avttrue commented May 21, 2024

No...
~/Projects/Projects_QT/build-karass-Desktop_Qt_6_7_0-Release$ cqtdeployer -bin karass -extraLibs "libb2,libxcb-cursor,libvdpau_va_gl" -enablePlugins "wayland-graphics-integration-client,wayland-graphics-integration-server" -disablePlugins "platformthemes,styles,wayland-decoration-client" -verbose 3 >&verboselog.txt

@EndrII
Copy link
Member

EndrII commented May 21, 2024

Error: The deployment target requires Qt libraries, but initialize of Qt directories is failed. Please use the qmake option to set a path to the qmake executable.

Do you're sure that your deployed binaries not require qt ? Because cqtdeployer detect qt dependencies.
if you want to ignore this error, just use the
noQt option

@EndrII
Copy link
Member

EndrII commented May 21, 2024

Try to add -qmake ... option to your deployment command

But I not use qmake. This is cmake project.

Yes but the -qmake option just sets qt paths for cqtdeployer, you must use this option if you deploy qt project
if you deploy not a qt project, you must use the noQt option.

@EndrII
Copy link
Member

EndrII commented May 21, 2024

see this issue #788

@avttrue
Copy link
Author

avttrue commented May 21, 2024

qmake

Yes, the qmake option helped (it seems) the distribution was assembled, but the errors remained. I just don't know how successful the build was.

verboselog.txt

@avttrue
Copy link
Author

avttrue commented May 21, 2024

Do you're sure that your deployed binaries not require qt ? Because cqtdeployer detect qt dependencies. if you want to ignore this error, just use the noQt option

Error: The deployment target requires Qt libraries, but initialize of Qt directories is failed. Please use the qmake option to set a path to the qmake executable.

The fact is that I previously built distribution kit using this command. But I recently reinstalled Qt.

@EndrII
Copy link
Member

EndrII commented May 21, 2024

qmake

Yes, the qmake option helped (it seems) the distribution was assembled, but the errors remained. I just don't know how successful the build was.

verboselog.txt

About what error you are talking ? output log looks as fine

@avttrue
Copy link
Author

avttrue commented May 21, 2024

About what error you are talking ? output log looks as fine

About is not a directory!! - There were no such messages before.

@avttrue
Copy link
Author

avttrue commented May 21, 2024

see this issue #788

-qtRootDir option would be more understandable, by the way. There is not yet?

@avttrue
Copy link
Author

avttrue commented May 21, 2024

I think the problem is solved, thank you!

@EndrII
Copy link
Member

EndrII commented May 21, 2024

okay close please this issue, if all works fine

@avttrue avttrue closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants