[Bug 225660] lang/swift missing dependency

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 4 10:33:56 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225660

            Bug ID: 225660
           Summary: lang/swift missing dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills at FreeBSD.org
          Reporter: fnoyanisi at yahoo.com
          Assignee: swills at FreeBSD.org
             Flags: maintainer-feedback?(swills at FreeBSD.org)

Hi there,

devel/binutils should be one of the required packages by lang/swift as without
devel/binutils, lang/switf fails to compile (at the link stage) .swift files
into executable files.

root at swift-jail:~ # cat test.swift 
print("test")
root at swift-jail:~ # swiftc test.swift -o test
clang++: error: invalid linker name in argument '-fuse-ld=gold'
<unknown>:0: error: link command failed with exit code 1 (use -v to see
invocation)
root at swift-jail:~ # pkg install binutils
Updating FreeBSD repository catalogue...
[swift-jail] Fetching meta.txz: 100%    944 B   0.9kB/s    00:01    
[swift-jail] Fetching packagesite.txz: 100%    6 MiB   1.0MB/s    00:06    
Processing entries: 100%
FreeBSD repository update completed. 28776 packages processed.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        binutils: 2.28,1
        gettext-runtime: 0.19.8.1_1

Number of packages to be installed: 2

The process will require 177 MiB more space.
19 MiB to be downloaded.

Proceed with this action? [y/N]: y 
[swift-jail] [1/2] Fetching binutils-2.28,1.txz:   0%  152 KiB 155.7kB/s   
02:08 ETA
[swift-jail] [1/2] Fetching binutils-2.28,1.txz: 100%   19 MiB   1.8MB/s   
00:11    
[swift-jail] [2/2] Fetching gettext-runtime-0.19.8.1_1.txz: 100%  149 KiB
152.4kB/s    00:01    
Checking integrity... done (0 conflicting)
[swift-jail] [1/2] Installing gettext-runtime-0.19.8.1_1...
[swift-jail] [1/2] Extracting gettext-runtime-0.19.8.1_1: 100%
[swift-jail] [2/2] Installing binutils-2.28,1...
[swift-jail] Extracting binutils-2.28,1: 100%
root at swift-jail:~ # swiftc test.swift -o test
root at swift-jail:~ # ./test 
test
root at swift-jail:~ #

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list