Hi,
To add to what @Alkaris said, I get the following error message while building:
/usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found
which results in the same build failure.
Git Clone URL: | https://aur.archlinux.org/darling.git (read-only, click to copy) |
---|---|
Package Base: | darling |
Description: | Darwin/macOS emulation layer for Linux (Stable) |
Upstream URL: | http://www.darlinghq.org |
Keywords: | Darwin Emulator macOS OSX Stable Wine |
Licenses: | |
Groups: | |
Conflicts: | |
Provides: | |
Submitter: | jamesbrink |
Maintainer: | jamesbrink |
Last Packager: | jamesbrink |
Votes: | 5 |
Popularity: | 1.18 |
First Submitted: | 2019-07-10 02:21 |
Last Updated: | 2020-07-27 17:54 |
Hi,
To add to what @Alkaris said, I get the following error message while building:
/usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found
which results in the same build failure.
I get the same error which @Alkis reported on 2020-12-08. (Same error as I get for darling-git
.)
Thanks for maintaining and making it building again!
This does not build at all, and shouldn't be labeled stable
4 warnings generated.
[ 0%] Linking CXX executable x86_64-apple-darwin11-ld
[ 0%] Built target x86_64-apple-darwin11-ld
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
CMake Error at src/external/cocotron/AppKit/CMakeLists.txt:19 (message):
XRandR not found
Missing dependency?
Due to this using Git LFS, fetching binaries for darling-swift fails as these aren't cloned initially by makepkg when cloning the sources. After setting the URL to the local paths, git submodule update
fails to get these files from the remote.
I run into the same issue as simona, anything I should do?
make[6]: *** [scripts/Makefile.build:281: /home/simona/.cache/yay/darling/src/darling/src/external/lkm/osfmk/duct/duct_kern_kalloc.o] Errore 1
can you update the dependencies so it can be build in clean containers.
some dependencies are missing, like fontconfig
|
/home/simona/.cache/yay/darling/src/darling/src/external/lkm/osfmk/duct/duct_kern_kalloc.c: In function ‘duct_kalloc_noblock’:
/home/simona/.cache/yay/darling/src/darling/src/external/lkm/osfmk/duct/duct_kern_kalloc.c:56:16: error: too many arguments to function ‘__vmalloc’
56 | return __vmalloc (size, GFP_ATOMIC | __GFP_HIGHMEM, PAGE_KERNEL);
| ^~~~~~~~~
In file included from /home/simona/.cache/yay/darling/src/darling/src/external/lkm/osfmk/duct/duct.h:53,
from /home/simona/.cache/yay/darling/src/darling/src/external/lkm/osfmk/duct/duct_kern_kalloc.c:35:
./include/linux/vmalloc.h:111:14: note: declared here
111 | extern void __vmalloc(unsigned long size, gfp_t gfp_mask);
| ^~~~~~~~~
make[6]: ** [scripts/Makefile.build:281: /home/simona/.cache/yay/darling/src/darling/src/external/lkm/osfmk
/duct/duct_kern_kalloc.o] Errore 1
with kernel 5.8 (5.8.7-arch1-1) I get the following error, because, as far as I know, vmalloc is not a valid function anymore.
/home/user/.cache/pikaur/build/darling/src/darling/src/external/lkm/osfmk/duct/duct_kern_kalloc.c: In function ‘duct_kalloc_noblock’:
/home/user/.cache/pikaur/build/darling/src/darling/src/external/lkm/osfmk/duct/duct_kern_kalloc.c:56:16: error: too many arguments to function ‘__vmalloc’
56 | return __vmalloc (size, GFP_ATOMIC | __GFP_HIGHMEM, PAGE_KERNEL);
| ^~~~~~~~~
In file included from /home/user/.cache/pikaur/build/darling/src/darling/src/external/lkm/osfmk/duct/duct.h:53,
from /home/user/.cache/pikaur/build/darling/src/darling/src/external/lkm/osfmk/duct/duct_kern_kalloc.c:35:
./include/linux/vmalloc.h:111:14: note: declared here
111 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
| ^~~~~~~~~
make[6]: *** [scripts/Makefile.build:281: /home/user/.cache/pikaur/build/darling/src/darling/src/external/lkm/osfmk/duct/duct_kern_kalloc.o] Error 1
make[5]: *** [Makefile:1756: /home/user/.cache/pikaur/build/darling/src/darling/src/external/lkm] Error 2
make[5]: Leaving directory '/usr/lib/modules/5.8.7-arch1-1/build'
make[4]: *** [Makefile:346: default] Error 2
make[4]: Leaving directory '/home/user/.cache/pikaur/build/darling/src/darling/src/external/lkm'
make[3]: *** [src/external/lkm/CMakeFiles/lkm.dir/build.make:77: src/external/lkm/CMakeFiles/lkm] Error 2
make[2]: *** [CMakeFiles/Makefile2:46367: src/external/lkm/CMakeFiles/lkm.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:46374: src/external/lkm/CMakeFiles/lkm.dir/rule] Error 2
make: *** [Makefile:15757: lkm] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
jamesbrink commented on 2019-07-10 02:37
This package is identical to the darling-git, but it will remain locked in on git refs that are known to build. I have labeled it stable in an attempt to clarify this.