I am hoping someone would be able to help with the following problem:
I am trying to build Swift 3 under ArchLinux. I have followed the build instructions and everything has been cloned and kick off the build by typing: ./swift/utils/build-script -R
After a long while the build errors out at (emphasis mine):
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.
[574/574] Generating swift.1
FAILED: docs/tools/swift.1
cd /home/insha/build/Ninja-ReleaseAssert/swift-linux-x86_64/docs/tools && /usr/bin/core_perl/pod2man --section 1 --center Swift\ Documentation --release --name swift --stderr /home/insha/swift/docs/tools/swift.pod > /home/insha/build/Ninja-ReleaseAssert/swift-linux-x86_64/docs/tools/swift.1
Can't open swift: No such file or directory at /usr/bin/core_perl/pod2man line 70.
ninja: build stopped: subcommand failed.
./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
So what am I doing wrong? What can I do to either fix this issue or skip it if it is not essential (i.e. docs, etc.)? Any help and pointers would be greatly appreciated.
Hello.
I've never tried building from the Swift repository, and I think you
don't need to do it either.
What I do is just installing from the AUR, if you install the 'swift'
package it will compile the last release for you, if you install
'swift-bin' it will repackage the ubuntu binary for arch.
If you want to try Swift 3 (I have done this), there are the 'swift-
development' and 'swift-development-bin' which will repackage the
ubuntu binary or compile from source respectively.
···
----
Andrés.
On Sat, 2016-07-16 at 21:23 -0700, Farhan Ahmed via swift-users wrote:
Hi,
I am hoping someone would be able to help with the following problem:
I am trying to build Swift 3 under ArchLinux. I have followed the
build instructions and everything has been cloned and kick off the
build by typing: ./swift/utils/build-script -R
After a long while the build errors out at (emphasis mine):
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.
[574/574] Generating swift.1
FAILED: docs/tools/swift.1
cd /home/insha/build/Ninja-ReleaseAssert/swift-linux-
x86_64/docs/tools && /usr/bin/core_perl/pod2man --section 1 --center
Swift\ Documentation --release --name swift --stderr
/home/insha/swift/docs/tools/swift.pod > /home/insha/build/Ninja-
ReleaseAssert/swift-linux-x86_64/docs/tools/swift.1
Can't open swift: No such file or directory at
/usr/bin/core_perl/pod2man line 70.
ninja: build stopped: subcommand failed.
./swift/utils/build-script: fatal error: command terminated with a
non-zero exit status 1, aborting
So what am I doing wrong? What can I do to either fix this issue or
skip it if it is not essential (i.e. docs, etc.)? Any help and
pointers would be greatly appreciated.
Thank you Andrés. I will take a look at those packages from the AUR.
Best,
Farhan
···
On Jul 16, 2016, at 9:34 PM, Andrés Botero via swift-users <swift-users@swift.org> wrote:
Hello.
I've never tried building from the Swift repository, and I think you don't need to do it either.
What I do is just installing from the AUR, if you install the 'swift' package it will compile the last release for you, if you install 'swift-bin' it will repackage the ubuntu binary for arch.
If you want to try Swift 3 (I have done this), there are the 'swift-development' and 'swift-development-bin' which will repackage the ubuntu binary or compile from source respectively.
----
Andrés.
On Sat, 2016-07-16 at 21:23 -0700, Farhan Ahmed via swift-users wrote:
Hi,
I am hoping someone would be able to help with the following problem:
I am trying to build Swift 3 under ArchLinux. I have followed the build instructions and everything has been cloned and kick off the build by typing: ./swift/utils/build-script -R
After a long while the build errors out at (emphasis mine):
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.
[574/574] Generating swift.1
FAILED: docs/tools/swift.1
cd /home/insha/build/Ninja-ReleaseAssert/swift-linux-x86_64/docs/tools && /usr/bin/core_perl/pod2man --section 1 --center Swift\ Documentation --release --name swift --stderr /home/insha/swift/docs/tools/swift.pod > /home/insha/build/Ninja-ReleaseAssert/swift-linux-x86_64/docs/tools/swift.1
Can't open swift: No such file or directory at /usr/bin/core_perl/pod2man line 70.
ninja: build stopped: subcommand failed.
./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
So what am I doing wrong? What can I do to either fix this issue or skip it if it is not essential (i.e. docs, etc.)? Any help and pointers would be greatly appreciated.
On Sun, Jul 17, 2016, at 03:44 PM, Farhan Ahmed via swift-users wrote:
Thank you Andrés. I will take a look at those packages from the AUR.
Best,
Farhan
On Jul 16, 2016, at 9:34 PM, Andrés Botero via swift-users <swift- >> users@swift.org> wrote:
Hello.
I've never tried building from the Swift repository, and I think you
don't need to do it either.
What I do is just installing from the AUR, if you install the 'swift'
package it will compile the last release for you, if you install 'swift-
bin' it will repackage the ubuntu binary for arch.
If you want to try Swift 3 (I have done this), there are the 'swift-
development' and 'swift-development-bin' which will repackage the
ubuntu binary or compile from source respectively.
----
Andrés.
On Sat, 2016-07-16 at 21:23 -0700, Farhan Ahmed via swift- >> users wrote:
Hi,
I am hoping someone would be able to help with the following
problem:
I am trying to build Swift 3 under ArchLinux. I have followed the
build instructions and everything has been cloned and kick off the
build by typing: ./swift/utils/build-script -R
After a long while the build errors out at (emphasis mine):
copying static files... done copying extra files... done dumping
search index in English (code: en) ... done dumping object
inventory... done build succeeded.
[574/574] Generating swift.1
*FAILED: docs/tools/swift.1 cd /home/insha/build/Ninja-ReleaseAssert/swift-linux-
x86_64/docs/tools && /usr/bin/core_perl/pod2man --section 1 --center
Swift\ Documentation --release --name swift --stderr
/home/insha/swift/docs/tools/swift.pod > /home/insha/build/Ninja-ReleaseAssert/swift-linux-
x86_64/docs/tools/swift.1 Can't open swift: No such file or
directory at /usr/bin/core_perl/pod2man line 70. ninja: build
stopped: subcommand failed. ./swift/utils/build-script: fatal error:
command terminated with a non-zero exit status 1, aborting*
So what am I doing wrong? What can I do to either fix this issue or
skip it if it is not essential (i.e. docs, etc.)? Any help and
pointers would be greatly appreciated.