AppImage / AppImage/AppImageKit

Error compiling AppimageKit for Arch Linux

オープン
#854 コメント 2 件 リアクション 4 件 担当者 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 を短くまとめたダイジェスト。