创建包时 Meego 构建错误

发布于 2024-12-13 13:08:19 字数 1445 浏览 0 评论 0原文

我不明白为什么我的项目突然无法运行。

我尝试重新更新所有包,但现在出现此错误。

Package Creation: Running command 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us'.
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
which: pgp: unknown command
dpkg-buildpackage: source package ethnica
dpkg-buildpackage: source version 0.0.1
dpkg-buildpackage: source changed by unknown <>
dpkg-buildpackage: host architecture armel
/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/var/lib/dpkg/status: File or path name too long
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
Packaging Error: Command 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 3
Error while building project ethnica (target: Harmattan)
When executing build step 'Create Debian Package'

我不明白这是什么意思,我在谷歌上找不到任何答案。

我无力再次重新安装 Qt,因为它确实花费了很长的时间。我所说的“很长”是指整整 24 小时。帮助!

I don't understand why does my project suddenly cannot run.

I tried to reupdate all the package and now I got this error.

Package Creation: Running command 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us'.
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
which: pgp: unknown command
dpkg-buildpackage: source package ethnica
dpkg-buildpackage: source version 0.0.1
dpkg-buildpackage: source changed by unknown <>
dpkg-buildpackage: host architecture armel
/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/var/lib/dpkg/status: File or path name too long
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
Packaging Error: Command 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 3
Error while building project ethnica (target: Harmattan)
When executing build step 'Create Debian Package'

I don't understand what that means,, and I can't find any answer in google.

I can't afford to reinstall Qt again because it really taking a loooooong time.. by loooong i mean fully 24 hour. help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

够运 2024-12-20 13:08:19

检查该行:

/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/var/lib/dpkg/status: File or path name too long

我猜这是问题所在(文件或路径名太长),后来的错误只是这个问题的结果

Check that line:

/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/var/lib/dpkg/status: File or path name too long

I guess this (File or path name too long) is the problem and the later error is just a result of that

中性美 2024-12-20 13:08:19

不要使用 Qt Creator 的打包功能。根据我的经验,它远不稳定。只需使用 Qt Creator 来运行/调试您的应用程序,然后关闭打包即可。当你想制作一个包时,可以使用Scratchbox。 (或者直接使用 MADDE。)

Don't use Qt Creator's packaging feature. In my experience, it is nowhere near stable. Just use Qt Creator for running/debugging your app, and turn off the packaging. When you want to make a package, use Scratchbox. (or maybe use MADDE directly.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文