AppImage / AppImage/AppImageKit

Error compiling AppimageKit for Arch Linux

Abierto
#854 2 comentarios 4 reacciones 0 asignados Ver en GitHub
deprioritized pr-welcome
Lenguaje dominante
Sin datos de lenguaje
Estrellas
9.4k
Forks
588
Métricas de merge de PR
Métricas de PR pendientes

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.