Kevin Segaud
2017-08-18 08:21:52 UTC
Hello,
Yesterday i tried to build the dart-sdk from the source for fedora 26 and i
got an error.
here are the step i have done :
sudo dnf -y install git subversion make gcc-c++
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=$PATH:`pwd`/depot_tools
git clone -b stable https://github.com/dart-lang/sdk.git
cd sdk
tools/build.py --mode=release --arch=x86 create_sdk
<https://github.com/dart-lang/sdk/wiki/Building-Dart-on-CentOS,-Red-Hat,-Fedora-and-Amazon-Linux-AMI#get-the-dart-source-and-generate-makefiles>
And here is the error i got :
gn gen --check in out/ReleaseX64
Traceback (most recent call last):
File "/home/kleak/test/sdk/tools/gn.py", line 482, in <module>
sys.exit(Main(sys.argv))
File "/home/kleak/test/sdk/tools/gn.py", line 469, in Main
results = pool.map(RunCommand, commands, chunksize=1)
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 251, in map
return self.map_async(func, iterable, chunksize).get()
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 567, in get
raise self._value
OSError: [Errno 2] No such file or directory
Tried to run GN, but it failed. Try running it manually:
$ python /home/kleak/test/sdk/tools/gn.py -m release -a x64 --os host -v
Traceback (most recent call last):
File "tools/build.py", line 625, in <module>
sys.exit(Main())
File "tools/build.py", line 618, in Main
mode, arch) != 0:
File "tools/build.py", line 498, in BuildOneConfig
args = BuildNinjaCommand(options, target, target_os, mode, arch)
File "tools/build.py", line 473, in BuildNinjaCommand
if UseGoma(out_dir):
File "tools/build.py", line 431, in UseGoma
return 'use_goma = true' in open(args_gn, 'r').read()
IOError: [Errno 2] No such file or directory: 'out/ReleaseX64/args.gn'
If someone has hints thanks a lot.
Yesterday i tried to build the dart-sdk from the source for fedora 26 and i
got an error.
here are the step i have done :
sudo dnf -y install git subversion make gcc-c++
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=$PATH:`pwd`/depot_tools
git clone -b stable https://github.com/dart-lang/sdk.git
cd sdk
tools/build.py --mode=release --arch=x86 create_sdk
<https://github.com/dart-lang/sdk/wiki/Building-Dart-on-CentOS,-Red-Hat,-Fedora-and-Amazon-Linux-AMI#get-the-dart-source-and-generate-makefiles>
And here is the error i got :
gn gen --check in out/ReleaseX64
Traceback (most recent call last):
File "/home/kleak/test/sdk/tools/gn.py", line 482, in <module>
sys.exit(Main(sys.argv))
File "/home/kleak/test/sdk/tools/gn.py", line 469, in Main
results = pool.map(RunCommand, commands, chunksize=1)
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 251, in map
return self.map_async(func, iterable, chunksize).get()
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 567, in get
raise self._value
OSError: [Errno 2] No such file or directory
Tried to run GN, but it failed. Try running it manually:
$ python /home/kleak/test/sdk/tools/gn.py -m release -a x64 --os host -v
Traceback (most recent call last):
File "tools/build.py", line 625, in <module>
sys.exit(Main())
File "tools/build.py", line 618, in Main
mode, arch) != 0:
File "tools/build.py", line 498, in BuildOneConfig
args = BuildNinjaCommand(options, target, target_os, mode, arch)
File "tools/build.py", line 473, in BuildNinjaCommand
if UseGoma(out_dir):
File "tools/build.py", line 431, in UseGoma
return 'use_goma = true' in open(args_gn, 'r').read()
IOError: [Errno 2] No such file or directory: 'out/ReleaseX64/args.gn'
If someone has hints thanks a lot.
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.