AppImage / AppImage/AppImageKit

Error compiling AppimageKit for Arch Linux

未關閉
#854 2 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視
deprioritized pr-welcome
主要語言
沒有語言資料
星號
9.4k
分支
588
PR 合併指標
PR 指標待擷取

描述

Hi!

I'm trying to generate a PKGBUILD to compile AppimageKit on Arch Linux via makepkg script, without installing appimaged daemon (thus, users must run appimage files from file manager or console).

I've found mksquashfs errors, that aborts compilation:

Scanning dependencies of target mksquashfs
[ 11%] Creating directories for 'mksquashfs'
[ 12%] Performing download step (git clone) for 'mksquashfs'
Cloning into 'mksquashfs'...
Note: checking out '5be5d61'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

HEAD is now at 5be5d61 pseudo.c: Fix pseudo format error message
[ 14%] Performing patch step for 'mksquashfs'
patching file squashfs-tools/mksquashfs.c
[ 15%] No update step for 'mksquashfs'
[ 16%] Performing configure step for 'mksquashfs'
[ 18%] Performing build step for 'mksquashfs'
mksquashfs.c: In function ‘create_inode’:
mksquashfs.c:996:24: error: called object ‘major’ is not a function or function pointer
unsigned int major = major(buf->st_rdev);
^~~~~
mksquashfs.c:996:16: note: declared here
unsigned int major = major(buf->st_rdev);
^~~~~
mksquashfs.c:997:24: error: called object ‘minor’ is not a function or function pointer
unsigned int minor = minor(buf->st_rdev);
^~~~~
mksquashfs.c:997:16: note: declared here
unsigned int minor = minor(buf->st_rdev);
^~~~~
mksquashfs.c:1020:24: error: called object ‘major’ is not a function or function pointer
unsigned int major = major(buf->st_rdev);
^~~~~
mksquashfs.c:1020:16: note: declared here
unsigned int major = major(buf->st_rdev);
^~~~~
mksquashfs.c:1021:24: error: called object ‘minor’ is not a function or function pointer
unsigned int minor = minor(buf->st_rdev);
^~~~~
mksquashfs.c:1021:16: note: declared here
unsigned int minor = minor(buf->st_rdev);
^~~~~
mksquashfs.c: In function ‘dir_scan2’:
mksquashfs.c:3559:17: warning: implicit declaration of function ‘makedev’ [-Wimplicit-function-declaration]
buf.st_rdev = makedev(pseudo_ent->dev->major,
^~~~~~~
make[3]: *** [: mksquashfs.o] Error 1
make[2]: *** [CMakeFiles/mksquashfs.dir/build.make:115: mksquashfs-prefix/src/mksquashfs-stamp/mksquashfs-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:937: CMakeFiles/mksquashfs.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

What can I do to solve this?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。