Skip to content

Instantly share code, notes, and snippets.

@taku0
Created March 31, 2019 12:31
Show Gist options
  • Save taku0/b1e7bf8c10da6b780ad0812442591b47 to your computer and use it in GitHub Desktop.
Save taku0/b1e7bf8c10da6b780ad0812442591b47 to your computer and use it in GitHub Desktop.
$ git show HEAD
commit c637aeff19b57b620a27029188060c76c6022dc1 (HEAD -> master, upstream/master, origin/master, origin/HEAD)
Merge: 4d4b67b65e8 bf484519590
Author: markuskowa <[email protected]>
Date: Sun Mar 31 12:51:59 2019 +0200
Merge pull request #58541 from luispedro/add_megahit
megahit: init at 1.1.4
$ nix-build --keep-failed --keep-going -I nixpkgs=. -o swift -A pkgs.swift
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3
$ ./swift/bin/swift
Welcome to Swift version 4.2.3 (swift-4.2.3-RELEASE). Type :help for assistance.
1> import Foundation
error: /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/lldb/clang/6.0.0/include/module.modulemap:24:8: error: redefinition of module '_Builtin_intrinsics'
module _Builtin_intrinsics [system] [extern_c] {
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/clang/include/module.modulemap:24:8: note: previously defined here
module _Builtin_intrinsics [system] [extern_c] {
^
error: /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/lldb/clang/6.0.0/include/module.modulemap:160:8: error: redefinition of module '_Builtin_stddef_max_align_t'
module _Builtin_stddef_max_align_t [system] [extern_c] {
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/clang/include/module.modulemap:160:8: note: previously defined here
module _Builtin_stddef_max_align_t [system] [extern_c] {
^
error: /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/lldb/clang/6.0.0/include/module.modulemap:164:8: error: redefinition of module 'opencl_c'
module opencl_c {
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/clang/include/module.modulemap:164:8: note: previously defined here
module opencl_c {
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:10: note: while building module 'SwiftGlibc' imported from /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:
#include <sys/types.h>
^
<module-includes>:9:10: note: in file included from <module-includes>:9:
#include "/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h"
^
error: /nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h:290:8: error: unknown type name 'intmax_t'; did you mean '__intmax_t'?
extern intmax_t imaxabs (intmax_t __n) __THROW __attribute__ ((__const__));
^
/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/bits/types.h:61:18: note: '__intmax_t' declared here
typedef long int __intmax_t;
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:10: note: while building module 'SwiftGlibc' imported from /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:
#include <sys/types.h>
^
<module-includes>:9:10: note: in file included from <module-includes>:9:
#include "/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h"
^
error: /nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h:290:26: error: unknown type name 'intmax_t'; did you mean '__intmax_t'?
extern intmax_t imaxabs (intmax_t __n) __THROW __attribute__ ((__const__));
^
/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/bits/types.h:61:18: note: '__intmax_t' declared here
typedef long int __intmax_t;
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:10: note: while building module 'SwiftGlibc' imported from /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:
#include <sys/types.h>
^
<module-includes>:9:10: note: in file included from <module-includes>:9:
#include "/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h"
^
error: /nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h:293:27: error: unknown type name 'intmax_t'; did you mean '__intmax_t'?
extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
^
/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/bits/types.h:61:18: note: '__intmax_t' declared here
typedef long int __intmax_t;
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:10: note: while building module 'SwiftGlibc' imported from /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:
#include <sys/types.h>
^
<module-includes>:9:10: note: in file included from <module-includes>:9:
#include "/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h"
^
error: /nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h:293:45: error: unknown type name 'intmax_t'; did you mean '__intmax_t'?
extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
^
/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/bits/types.h:61:18: note: '__intmax_t' declared here
typedef long int __intmax_t;
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:10: note: while building module 'SwiftGlibc' imported from /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:
#include <sys/types.h>
^
<module-includes>:9:10: note: in file included from <module-includes>:9:
#include "/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h"
^
error: /nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h:297:8: error: unknown type name 'intmax_t'; did you mean '__intmax_t'?
extern intmax_t strtoimax (const char *__restrict __nptr,
^
/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/bits/types.h:61:18: note: '__intmax_t' declared here
typedef long int __intmax_t;
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:10: note: while building module 'SwiftGlibc' imported from /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:
#include <sys/types.h>
^
<module-includes>:9:10: note: in file included from <module-includes>:9:
#include "/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h"
^
error: /nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h:301:8: error: unknown type name 'uintmax_t'
extern uintmax_t strtoumax (const char *__restrict __nptr,
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:10: note: while building module 'SwiftGlibc' imported from /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:
#include <sys/types.h>
^
<module-includes>:9:10: note: in file included from <module-includes>:9:
#include "/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h"
^
error: /nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h:305:8: error: unknown type name 'intmax_t'; did you mean '__intmax_t'?
extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr,
^
/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/bits/types.h:61:18: note: '__intmax_t' declared here
typedef long int __intmax_t;
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:10: note: while building module 'SwiftGlibc' imported from /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:
#include <sys/types.h>
^
<module-includes>:9:10: note: in file included from <module-includes>:9:
#include "/nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h"
^
error: /nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/inttypes.h:310:8: error: unknown type name 'uintmax_t'
extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr,
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CoreFoundation.h"
^
error: /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CoreFoundation.h:25:10: error: could not build module 'SwiftGlibc'
#include <sys/types.h>
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CFStream.h:20:10: note: while building module 'CDispatch' imported from /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/CoreFoundation/CFStream.h:20:
#include <dispatch/dispatch.h>
^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "dispatch.h"
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/dispatch/dispatch.h:32:10: note: in file included from /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/dispatch/dispatch.h:32:
#include <os/generic_unix_base.h>
^
/nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/os/generic_unix_base.h:17:10: note: in file included from /nix/store/zv9jgz3190wsj27wj3lg2c55f8gvy59g-swift-4.2.3/lib/swift/os/generic_unix_base.h:17:
#include <sys/sysmacros.h>
^
error: /nix/store/sr4253np2gz2bpha4gn8gqlmiw604155-glibc-2.27-dev/include/sys/sysmacros.h:39:10: error: could not build module 'SwiftGlibc'
#include <features.h>
^
error: could not build C module 'CoreFoundation'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment