make[4]: Entering directory '/tmp/yaourt-tmp-indra/aur-darling-mach-dkms-git/src/darling/src/lkm'
make -C /lib/modules/4.9.30-1-MANJARO/build M=/tmp/yaourt-tmp-indra/aur-darling-mach-dkms-git/src/darling/src/lkm modules
make[5]: Entering directory '/usr/lib/modules/4.9.30-1-MANJARO/build'
make[5]: *** No rule to make target 'modules'. Stop.
make[5]: Leaving directory '/usr/lib/modules/4.9.30-1-MANJARO/build'
make[4]: *** [Makefile:279: default] Error 2
make[4]: Leaving directory '/tmp/yaourt-tmp-indra/aur-darling-mach-dkms-git/src/darling/src/lkm'
make[3]: *** [src/lkm/CMakeFiles/lkm.dir/build.make:86: src/lkm/CMakeFiles/lkm] Error 2
make[2]: *** [CMakeFiles/Makefile2:35323: src/lkm/CMakeFiles/lkm.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:35330: src/lkm/CMakeFiles/lkm.dir/rule] Error 2
make: *** [Makefile:10083: lkm] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build darling-git.
Search Criteria
Package Base Details: darling-git
Git Clone URL: | https://aur.archlinux.org/darling-git.git (read-only, click to copy) |
---|---|
Keywords: | Darwin Emulator macOS OSX Wine |
Submitter: | Xorg |
Maintainer: | jamesbrink |
Last Packager: | jamesbrink |
Votes: | 34 |
Popularity: | 0.001226 |
First Submitted: | 2013-06-29 15:19 |
Last Updated: | 2020-07-26 04:35 |
Packages (2)
indra17r commented on 2017-06-02 01:27
Xorg commented on 2017-04-30 15:59
darling-git is now a split package, providing darling-git and darling-mach-dkms-git packages.
Please tell me if you are encountering issues.
Xorg commented on 2017-04-26 20:28
darling-git will become a split package, providing darling-git and darling-mach-dkms-git packages.
This change is needed since the new LKM design.
Xorg commented on 2017-04-24 04:59
@snuffop: The new LKM has been merged in master. I need to change this PKGBUILD due to changes. Thank for your report.
snuffop commented on 2017-04-24 01:28
something is amuck
==> Starting package()...
-> Install module sources for DKMS...
-> Set configuration for DKMS...
sed: can't read /tmp/tmp.Q2sZVNTdUB/yaourt-tmp-marty/aur-darling-mach-dkms-git/pkg/darling-mach-dkms-git/usr/src/darling-mach-r61.0cd0e120/lkm/Makefile: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build darling-mach-dkms-git.
==> Restart building darling-mach-dkms-git ? [y/N]
==> ----------------------------------------------
Xorg commented on 2017-03-27 20:12
@yan12125: That's true, you are right. Let's do that.
yan12125 commented on 2017-03-27 20:00
Builds fine with !buildflags. I guess unsetting LDFLAGS is not enough. Also, as now most files are built as Mach-O, it sounds strange for me to apply flags for ELF objects to Mach-O objects.
Xorg commented on 2017-03-27 19:27
@yan12125: Unsetting LDFLAGS do the trick.
Xorg commented on 2017-03-27 17:09
@yan12125: Yes, but I'm waiting for upstream patch before changing PKGBUILD. Only LDFLAGS seems to conflict. Maybe I'll add something like 'LDFLAGS=${LDFLAGS//-O1,}'.
yan12125 commented on 2017-03-27 16:28
Hello, I come from https://github.com/darlinghq/darling/issues/261#issuecomment-289498397. As it's more an Arch-specific issue, I write my two cents here.
Apparently makepkg uses GNU-specific options and Darling's x86_64-apple-darwin11-ld can't handle it. Adding options+=(!buildflags) fixes the first error.
Pinned Comments
jamesbrink commented on 2019-07-10 02:27
Please use this package for stable more reliable builds
https://aur.archlinux.org/packages/darling/
This one is identical but locked in on a last known working git ref and I will update as often as I can.
I have also raised an issue about versioning so maybe we can get some kind of tags for future versions and stable working builds
https://github.com/darlinghq/darling/issues/537