Package Details: darling-cli-devenv-gui-common-git r4178.fe0da1407-1

Git Clone URL: https://aur.archlinux.org/darling-git.git (read-only, click to copy)
Package Base: darling-git
Description: Components of Darling that are shared between the developer environment and the GUI components
Upstream URL: https://www.darlinghq.org
Keywords: Emulator macOS OSX Wine
Licenses: GPL3
Conflicts: darling-cli-devenv-gui-common
Provides: darling-cli-devenv-gui-common
Submitter: UnicornDarkness
Maintainer: None
Last Packager: facekapow
Votes: 41
Popularity: 0.000012
First Submitted: 2013-06-29 15:19 (UTC)
Last Updated: 2023-10-15 18:57 (UTC)

Dependencies (41)

Sources (155)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 17 Next › Last »

zaoqi commented on 2019-07-07 11:55 (UTC)

I cannot build it:

$ git log|head -1
commit ec0b3cd906960863a8f298b47b06daca8e031228
$ makepkg -si
...
[ 73%] Building C object src/external/foundation/CMakeFiles/Foundation.dir/src/NSAppleEventDescriptor.o
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSAppleEventDescriptor.m:11:10: warning: receiver
      'NSMethodSignature' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class]
        return [NSMethodSignature signatureWithObjCTypes: "v@:"];
                ^~~~~~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/objc4/runtime/include/objc/NSObject.h:13:18: note: forward declaration of
      class here
@class NSString, NSMethodSignature, NSInvocation;
                 ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSAppleEventDescriptor.m:11:28: warning: class method
      '+signatureWithObjCTypes:' not found (return type defaults to 'id') [-Wobjc-method-access]
        return [NSMethodSignature signatureWithObjCTypes: "v@:"];
                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSAppleEventDescriptor.m:16:69: warning: instance method
      '-selector' not found (return type defaults to 'id') [-Wobjc-method-access]
        NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
                                                                           ^~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/objc4/runtime/include/objc/NSObject.h:13:37: note: receiver is instance of
      class declared here
@class NSString, NSMethodSignature, NSInvocation;
                                    ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSAppleEventDescriptor.m:16:55: warning: incompatible pointer
      types passing 'id' to parameter of type 'SEL' [-Wincompatible-pointer-types]
        NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
                                                             ^~~~~~~~~~~~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSObjCRuntime.h:291:54: note: passing argument
      to parameter 'aSelector' here
FOUNDATION_EXPORT NSString *NSStringFromSelector(SEL aSelector);
                                                     ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:50:21: warning: incompatible pointer types
      assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types]
    _fileAttributes = [attrs retain];
                    ^ ~~~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/objc4/runtime/include/objc/NSObject.h:36:1: note: instance method 'retain' is
      assumed to return an instance of its receiver type ('NSDictionary *')
- (instancetype)retain OBJC_ARC_UNAVAILABLE;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:73:46: warning: data argument not used by
      format string [-Wformat-extra-args]
        if (NSDebugEnabled) NSLog(@"NSFileWrapper", @"initWithPath: %@", path);
                                  ~~~~~~~~~~~~~~~~  ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:224:34: warning: incompatible pointer types
      sending 'NSDate *' to parameter of type 'NSNumber *' [-Wincompatible-pointer-types]
        return [changeDatePath compare: changeDateSelf] > 0;
                                        ^~~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSValue.h:48:43: note: passing argument to
      parameter 'other' here
- (NSComparisonResult)compare:(NSNumber *)other;
                                          ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'initWithURL:options:error:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:24:1: note: method
      'initWithURL:options:error:' declared here
- (id)initWithURL:(NSURL *)url options:(NSFileWrapperReadingOptions)options error:(NSError **)outError;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'initSymbolicLinkWithDestinationURL:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:27:1: note: method
      'initSymbolicLinkWithDestinationURL:' declared here
- (id)initSymbolicLinkWithDestinationURL:(NSURL *)url;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'initWithSerializedRepresentation:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:28:1: note: method
      'initWithSerializedRepresentation:' declared here
- (id)initWithSerializedRepresentation:(NSData *)serializeRepresentation;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'matchesContentsOfURL:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:38:1: note: method
      'matchesContentsOfURL:' declared here
- (BOOL)matchesContentsOfURL:(NSURL *)url;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'readFromURL:options:error:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:39:1: note: method
      'readFromURL:options:error:' declared here
- (BOOL)readFromURL:(NSURL *)url options:(NSFileWrapperReadingOptions)options error:(NSError **)outError;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'writeToURL:options:originalContentsURL:error:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:40:1: note: method
      'writeToURL:options:originalContentsURL:error:' declared here
- (BOOL)writeToURL:(NSURL *)url options:(NSFileWrapperWritingOptions)options originalContentsURL:(NSURL *)originalContentsURL e...
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'serializedRepresentation' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:41:1: note: method
      'serializedRepresentation' declared here
- (NSData *)serializedRepresentation;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'addRegularFileWithContents:preferredFilename:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:43:1: note: method
      'addRegularFileWithContents:preferredFilename:' declared here
- (NSString *)addRegularFileWithContents:(NSData *)data preferredFilename:(NSString *)fileName;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'keyForFileWrapper:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:46:1: note: method
      'keyForFileWrapper:' declared here
- (NSString *)keyForFileWrapper:(NSFileWrapper *)child;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'symbolicLinkDestinationURL' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:48:1: note: method
      'symbolicLinkDestinationURL' declared here
- (NSURL *)symbolicLinkDestinationURL;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method 'encodeWithCoder:' in
      protocol 'NSCoding' not implemented [-Wprotocol]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSObject.h:22:1: note: method
      'encodeWithCoder:' declared here
- (void)encodeWithCoder:(NSCoder *)aCoder;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method 'initWithCoder:' in
      protocol 'NSCoding' not implemented [-Wprotocol]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSObject.h:23:1: note: method 'initWithCoder:'
      declared here
- (id)initWithCoder:(NSCoder *)aDecoder;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSCallBacks.m:106:52: warning: values of type 'NSUInteger'
      should not be used as format arguments; add an explicit cast to 'unsigned long' instead [-Wformat]
  return [NSString stringWithFormat: @"%#"PRIxPTR, (NSUInteger)p];
                                       ~~~~~~~~~~  ^~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSCallBacks.m:205:52: warning: values of type 'NSUInteger'
      should not be used as format arguments; add an explicit cast to 'unsigned long' instead [-Wformat]
  return [NSString stringWithFormat: @"%0"PRIxPTR, (NSUInteger)p];
                                       ~~~~~~~~~~  ^~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSCallBacks.m:238:62: warning: values of type 'NSUInteger'
      should not be used as format arguments; add an explicit cast to 'unsigned long' instead [-Wformat]
  return [NSString stringWithFormat: @"%d(%#"PRIxPTR")", *p, (NSUInteger)p];
                                          ~~~~~~~~~~         ^~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSCallBacks.m:253:11: error: use of undeclared identifier 'o'
  return [o isEqual: p];;
          ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSCallBacks.m:272:13: warning: instance method '-describe' not
      found (return type defaults to 'id') [-Wobjc-method-access]
  return [o describe];
            ^~~~~~~~
4 warnings and 1 error generated.
make[2]: *** [src/external/foundation/CMakeFiles/Foundation.dir/build.make:2390: src/external/foundation/CMakeFiles/Foundation.dir/src/NSCallBacks.o] Error 1
make[2]: *** Waiting for unfinished jobs....
4 warnings generated.
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSAppleEventDescriptor.m:11:10: warning: receiver
      'NSMethodSignature' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class]
        return [NSMethodSignature signatureWithObjCTypes: "v@:"];
                ^~~~~~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/objc4/runtime/include/objc/NSObject.h:13:18: note: forward declaration of
      class here
@class NSString, NSMethodSignature, NSInvocation;
                 ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSAppleEventDescriptor.m:11:28: warning: class method
      '+signatureWithObjCTypes:' not found (return type defaults to 'id') [-Wobjc-method-access]
        return [NSMethodSignature signatureWithObjCTypes: "v@:"];
                                  ^~~~~~~~~~~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSAppleEventDescriptor.m:16:69: warning: instance method
      '-selector' not found (return type defaults to 'id') [-Wobjc-method-access]
        NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
                                                                           ^~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/objc4/runtime/include/objc/NSObject.h:13:37: note: receiver is instance of
      class declared here
@class NSString, NSMethodSignature, NSInvocation;
                                    ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSAppleEventDescriptor.m:16:55: warning: incompatible pointer
      types passing 'id' to parameter of type 'SEL' [-Wincompatible-pointer-types]
        NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
                                                             ^~~~~~~~~~~~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSObjCRuntime.h:291:54: note: passing argument
      to parameter 'aSelector' here
FOUNDATION_EXPORT NSString *NSStringFromSelector(SEL aSelector);
                                                     ^
4 warnings generated.
15 warnings generated.
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:50:21: warning: incompatible pointer types
      assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types]
    _fileAttributes = [attrs retain];
                    ^ ~~~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/objc4/runtime/include/objc/NSObject.h:36:1: note: instance method 'retain' is
      assumed to return an instance of its receiver type ('NSDictionary *')
- (instancetype)retain OBJC_ARC_UNAVAILABLE;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:73:46: warning: data argument not used by
      format string [-Wformat-extra-args]
        if (NSDebugEnabled) NSLog(@"NSFileWrapper", @"initWithPath: %@", path);
                                  ~~~~~~~~~~~~~~~~  ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:224:34: warning: incompatible pointer types
      sending 'NSDate *' to parameter of type 'NSNumber *' [-Wincompatible-pointer-types]
        return [changeDatePath compare: changeDateSelf] > 0;
                                        ^~~~~~~~~~~~~~
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSValue.h:48:43: note: passing argument to
      parameter 'other' here
- (NSComparisonResult)compare:(NSNumber *)other;
                                          ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'initWithURL:options:error:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:24:1: note: method
      'initWithURL:options:error:' declared here
- (id)initWithURL:(NSURL *)url options:(NSFileWrapperReadingOptions)options error:(NSError **)outError;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'initSymbolicLinkWithDestinationURL:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:27:1: note: method
      'initSymbolicLinkWithDestinationURL:' declared here
- (id)initSymbolicLinkWithDestinationURL:(NSURL *)url;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'initWithSerializedRepresentation:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:28:1: note: method
      'initWithSerializedRepresentation:' declared here
- (id)initWithSerializedRepresentation:(NSData *)serializeRepresentation;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'matchesContentsOfURL:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:38:1: note: method
      'matchesContentsOfURL:' declared here
- (BOOL)matchesContentsOfURL:(NSURL *)url;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'readFromURL:options:error:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:39:1: note: method
      'readFromURL:options:error:' declared here
- (BOOL)readFromURL:(NSURL *)url options:(NSFileWrapperReadingOptions)options error:(NSError **)outError;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'writeToURL:options:originalContentsURL:error:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:40:1: note: method
      'writeToURL:options:originalContentsURL:error:' declared here
- (BOOL)writeToURL:(NSURL *)url options:(NSFileWrapperWritingOptions)options originalContentsURL:(NSURL *)originalContentsURL e...
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'serializedRepresentation' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:41:1: note: method
      'serializedRepresentation' declared here
- (NSData *)serializedRepresentation;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'addRegularFileWithContents:preferredFilename:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:43:1: note: method
      'addRegularFileWithContents:preferredFilename:' declared here
- (NSString *)addRegularFileWithContents:(NSData *)data preferredFilename:(NSString *)fileName;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'keyForFileWrapper:' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:46:1: note: method
      'keyForFileWrapper:' declared here
- (NSString *)keyForFileWrapper:(NSFileWrapper *)child;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method definition for
      'symbolicLinkDestinationURL' not found [-Wincomplete-implementation]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSFileWrapper.h:48:1: note: method
      'symbolicLinkDestinationURL' declared here
- (NSURL *)symbolicLinkDestinationURL;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method 'encodeWithCoder:' in
      protocol 'NSCoding' not implemented [-Wprotocol]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSObject.h:22:1: note: method
      'encodeWithCoder:' declared here
- (void)encodeWithCoder:(NSCoder *)aCoder;
^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/src/NSFileWrapper.m:37:17: warning: method 'initWithCoder:' in
      protocol 'NSCoding' not implemented [-Wprotocol]
@implementation NSFileWrapper
                ^
/home/zaoqi/pkgs-aur/darling-git/src/darling/src/external/foundation/include/Foundation/NSObject.h:23:1: note: method 'initWithCoder:'
      declared here
- (id)initWithCoder:(NSCoder *)aDecoder;
^
15 warnings generated.
make[1]: *** [CMakeFiles/Makefile2:13674: src/external/foundation/CMakeFiles/Foundation.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> 錯誤: build() 遭遇失敗。
    正在中止...

jamesbrink commented on 2019-05-24 02:50 (UTC)

For those trying to build on Linux 5.1 please see this PR

https://github.com/darlinghq/darling-newlkm/pull/5

I have just included this patch in the most recent package.

Scrumplex commented on 2019-05-13 00:48 (UTC)

When building it requires linux-headers on my system. But I run linux-zen instead. Can I safely ignore this dependency?

jamesbrink commented on 2019-05-04 06:49 (UTC)

@dreieck & @J5lx, I have updated the PKGBUILD placing the git submodules into the sources section. Thanks for the info!

simona commented on 2019-05-03 13:18 (UTC)

home/simona/.cache/yay/darling-git/src/darling/src/lkm/osfmk/duct/duct_kern_task.c:417:53: error: ‘struct task_struct’ has no member named ‘se’ times->sum_exec_runtime += t->se.sum_exec_runtime; ^~ make[6]: [scripts/Makefile.build:277: /home/simona/.cache/yay/darling-git/src/darling/src/lkm/osfmk/duct/duct_kern_task.o] Error 1 make[5]: [Makefile:1579: module/home/simona/.cache/yay/darling-git/src/darling/src/lkm] Error 2

yuuta commented on 2019-02-27 03:58 (UTC) (edited on 2019-02-27 03:59 (UTC) by yuuta)

I cannot build it on the latest Arch Linux:

Building the Linux kernel module
make[4]: Entering directory '/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm'
Running kernel version is 4.20.12-arch1-1-ARCH
rm -f darling-mach.mod.o
make -C /lib/modules/4.20.12-arch1-1-ARCH/build M=/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm modules
make[5]: Entering directory '/usr/lib/modules/4.20.12-arch1-1-ARCH/build'
Running kernel version is 4.20.12-arch1-1-ARCH
Invoked by kernel build system, building for 4.20.12-arch1-1-ARCH
  CC [M]  /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.o
/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.c: In function ‘pthread_kill_trap’:
/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.c:65:17: error: passing argument 1 of ‘clear_siginfo’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   clear_siginfo(&info);
                 ^~~~~
In file included from ./include/linux/syscalls.h:76,
                 from /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/osfmk/duct/duct.h:73,
                 from /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.h:22,
                 from /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.c:20:
./include/linux/signal.h:20:52: note: expected ‘kernel_siginfo_t *’ {aka ‘struct kernel_siginfo *’} but argument is of type ‘struct siginfo *’
 static inline void clear_siginfo(kernel_siginfo_t *info)
                                  ~~~~~~~~~~~~~~~~~~^~~~
/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.c:74:33: error: passing argument 2 of ‘send_sig_info’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   ret = send_sig_info(args.sig, &info, t);
                                 ^~~~~
In file included from ./include/linux/ptrace.h:7,
                 from ./include/uapi/asm-generic/bpf_perf_event.h:4,
                 from ./arch/x86/include/generated/uapi/asm/bpf_perf_event.h:1,
                 from ./include/uapi/linux/bpf_perf_event.h:11,
                 from ./include/linux/perf_event.h:18,
                 from ./include/linux/trace_events.h:10,
                 from ./include/trace/syscall.h:7,
                 from ./include/linux/syscalls.h:85,
                 from /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/osfmk/duct/duct.h:73,
                 from /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.h:22,
                 from /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.c:20:
./include/linux/sched/signal.h:325:31: note: expected ‘struct kernel_siginfo *’ but argument is of type ‘struct siginfo *’
 extern int send_sig_info(int, struct kernel_siginfo *, struct task_struct *);
                               ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[6]: *** [scripts/Makefile.build:292: /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.o] Error 1
make[5]: *** [Makefile:1562: _module_/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm] Error 2
make[5]: Leaving directory '/usr/lib/modules/4.20.12-arch1-1-ARCH/build'
make[4]: *** [Makefile:292: default] Error 2
make[4]: Leaving directory '/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm'
make[3]: *** [src/lkm/CMakeFiles/lkm.dir/build.make:58: src/lkm/CMakeFiles/lkm] Error 2
make[2]: *** [CMakeFiles/Makefile2:54218: src/lkm/CMakeFiles/lkm.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:54225: src/lkm/CMakeFiles/lkm.dir/rule] Error 2
make: *** [Makefile:15010: lkm] Error 2

Could you help me to solve that? Thanks.

dreieck commented on 2018-11-21 12:49 (UTC) (edited on 2018-11-21 21:20 (UTC) by dreieck)

.. and what for is e.g. perl needed, when I just want to build the kernel module?

J5lx commented on 2018-11-21 12:43 (UTC)

The Arch Wiki has instructions on how to handle git submodules: https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git_Submodules

dreieck commented on 2018-11-21 10:41 (UTC)

The prepare()-function invokes a lot of data traffic (via initialisation of git submodules).

For getting sources, the source-array is the place to go.

Is it possible to make all the downloads via the source-array? Would be much more convenient, expecially over slow internet connections where downloading via source-array can be managed differently e.g. by specifiying handlers in the makepkg.conf.

jamesbrink commented on 2018-11-03 22:13 (UTC)

Package updated - Added new dependencies libpng, libtiff, glu, cairo, libbsd, python2, and linux-headers

thanks @tgc

I found that in a headless install it now requires OpenGL libraries.