Package Details: osxcross-git 0.16-1

Git Clone URL: https://aur.archlinux.org/osxcross-git.git (read-only, click to copy)
Package Base: osxcross-git
Description: macOS cross-compiling toolchain for Linux, FreeBSD and NetBSD
Upstream URL: https://github.com/tpoechtrager/osxcross
Keywords: apple c c++ clang compiler crosscompiler macos sdk toolchain
Licenses: MIT
Conflicts: apple-darwin-osxcross, osxcross, xar
Provides: osxcross, xar
Submitter: emersion
Maintainer: swyter
Last Packager: swyter
Votes: 1
Popularity: 0.000011
First Submitted: 2017-02-01 10:49 (UTC)
Last Updated: 2023-04-25 05:49 (UTC)

Dependencies (7)

Required by (6)

Sources (2)

Latest Comments

swyter commented on 2024-11-07 17:56 (UTC)

Just built the current head and works just fine for me out of the box.

mirsella commented on 2024-09-25 07:17 (UTC) (edited on 2024-09-25 07:17 (UTC) by mirsella)

hello, package is still broken

mirsella commented on 2023-12-06 15:44 (UTC)

@HurricanePootis submitted a PR that has been merged to the xar repo, this compile error is now fixed. But I have a new one further down the installation :

/usr/bin/ld: otool-arm_disasm.o:(.bss+0x8): multiple definition of `dis_info'; otool-i386_disasm.o:(.bss+0x0): first defined here
/usr/bin/ld: otool-arm64_disasm.o:(.bss+0x0): multiple definition of `dis_info'; otool-i386_disasm.o:(.bss+0x0): first defined here
/usr/bin/ld: otool-print_bitcode.o: in function `print_bitcode_section':
print_bitcode.c:(.text+0x4b6): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'

HurricanePootis commented on 2023-12-04 03:15 (UTC)

I am getting the following error

lib/ext2.c:117:2: error: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        free(vstr);
        ^
lib/ext2.c:117:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
lib/ext2.c:198:13: error: call to undeclared library function 'strtol' with type 'long (const char *, char **, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                version = strtol(temp, NULL, 10);
                          ^
lib/ext2.c:198:13: note: include the header <stdlib.h> or explicitly provide a declaration for 'strtol'

nikdog commented on 2023-07-29 17:30 (UTC)

@Daniel071 3 years late... But no, it does not. apple-darwin-osxcross installs specifically commit 16efae8 (at the time of writing). This version installs the latest available commit in the git repo, hence the -git suffix in the package name.

Daniel071 commented on 2020-08-06 00:34 (UTC) (edited on 2020-08-06 00:34 (UTC) by Daniel071)

Also, doesn't this package serve the same purpose as apple-darwin-osxcross?

Daniel071 commented on 2020-07-21 07:34 (UTC)

I have the same issue as digital. I get this error while building

sed: can't read wrapper/build.sh: No such file or directory

digital commented on 2019-11-14 04:52 (UTC)

==> Making package: osxcross-git 0.14-1 (Чт 14 ноя 2019 07:52:24) ==> Retrieving sources... -> Updating osxcross git repo... Fetching origin -> Found MacOSX10.11.sdk.tar.xz ==> Validating source files with md5sums... osxcross ... Skipped MacOSX10.11.sdk.tar.xz ... Passed ==> Cleaning up... ==> Making package: osxcross-git 0.14-1 (Чт 14 ноя 2019 07:52:25) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating osxcross git repo... Fetching origin -> Found MacOSX10.11.sdk.tar.xz ==> Validating source files with md5sums... osxcross ... Skipped MacOSX10.11.sdk.tar.xz ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of osxcross git repo... Cloning into 'osxcross'... done. ==> Sources are ready. ==> Making package: osxcross-git 0.14-1 (Чт 14 ноя 2019 07:52:27) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting build()... sed: can't read wrapper/build.sh: No such file or directory ==> ERROR: A failure occurred in build(). Aborting... Error making: osxcross-git