[swift-dev] Build issue on amd64

2016-07-08 Thread Richard Neese via swift-dev
Linux swift 4.6.0-1-amd64 #1 SMP Debian 4.6.2-2 (2016-06-25) x86_64 GNU/Linux
root@swift:~# clang -v
Debian clang version 3.6.2-3 (tags/RELEASE_362/final) (based on LLVM 3.6.2)
Target: x86_64-pc-linux-gnu
Thread model: posix
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8.4
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9.3
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6.1.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.4
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.3
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.1.1
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6.1.1
Candidate multilib: .

/usr/bin/../lib/gcc/x86_64-linux-gnu/6.1.1/../../../../include/c++/6.1.1/tuple:652:17:
 note: candidate constructor not viable: requires 1 argument, but 4 were 
provided
  constexpr tuple(const tuple&) = default;
^
/usr/src/llvm/lib/CodeGen/LexicalScopes.cpp:209:32: error: no matching function 
for call to 'forward_as_tuple'
   std::forward_as_tuple(Parent, Scope,
   ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/6.1.1/../../../../include/c++/6.1.1/tuple:1399:5:
 note: candidate template ignored: substitution failure [with _Elements = 
]
forward_as_tuple(_Elements&&... __args) noexcept
^
3 errors generated.
ninja: build stopped: subcommand failed.
./utils/build-script: fatal error: command terminated with a non-zero exit 
status 1, aborting


My build script
#!/bin/bash
#clean src
rm -rf /usr/src/*

#git src
git clone -b swift-3.0-preview-3-branch https://github.com/apple/swift.git 
/usr/src/swift
git clone -b swift-3.0-branch https://github.com/apple/swift-llvm.git 
/usr/src/llvm
git clone -b swift-3.0-branch https://github.com/apple/swift-clang.git 
/usr/src/clang

git clone -b swift-3.0-branch https://github.com/apple/swift-lldb.git 
/usr/src/lldb
cd /usr/src/lldb
lldb/scripts/build-swift-cmake.py --test

cd ~
git clone https://github.com/jgm/cmark.git /usr/src/cmark

git clone https://github.com/ninja-build/ninja.git /usr/src/ninja && cd 
usr/src/ninja
git checkout release
cat README

#build
cd /usr/src/swift

./utils/build-script  -r -t

This is for testing . working on building debian pkgs .

Sent from Mail for Windows 10



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


Re: [swift-dev] Debian/Ubuntu Package

2016-09-14 Thread Richard Neese via swift-dev
The issue is there is already a pkg called swift that is nothing to do with the 
apple language.


Sent from Mail for Windows 10

From: Paulo Faria via swift-dev

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


Re: [swift-dev] Debian/Ubuntu Package

2016-09-14 Thread Richard Neese via swift-dev
Ok as a start eack lib has to be its own debian pkg. I have done a few and 
planned to look into it once I had some free time.

They have to be done in proper order lib 1/2/3 so that if libe 1 is needed by 
lib 2 it is there for lib2 to build


Sent from Mail for Windows 10

From: Ron Olson via swift-dev

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


Re: [swift-dev] Debian/Ubuntu Package

2016-09-14 Thread Richard Neese via swift-dev
Ok so well pkgs would have to be swift-lang-corelibs-foundation 
swift-lang-corelibs-libdispatch and soforth.

Sent from Mail for Windows 10

From: Jeff Hajewski via swift-dev

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev