Open lexasub opened 5 years ago
Please export LC_ALL=C LANGUAGE=C
, then re-run and post the new log. None of us speaks the language in the log, and the command I posted will generate an English log.
Which distribution and version did you get this error on @lexasub?
Which distribution and version did you get this error on @lexasub?
arch
Do you really need to build AppImageKit yourself @lexasub? The only recommended system to build AppImageKit on currently is CentOS 6, this is to maximize binary compatibility with older systems.
We are providing pre-built binaries of appimagetool
, and most users are better off using those rather than trying to re-build from source. Are those not sufficient for your use case?
If I can't get a log which I can't read, @lexasub, I can't help you. Please post an English log, or we'll have to close the issue.
[ 16%] Performing configure 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
Interesting log. I wonder if that is what we compile currently for our own builds... the code doesn't make sense at all (naming variables like methods...). Not sure how to fix this. Perhaps we need to force some certain C language level?
I think if user uses squshfs-tool on OS as native, And maintainer of AppImage delete it from source, it will be solved. I have this problem on debian unstable.
Have our patches been upstreamed @TheAssassin?