Bug 223713 - lang/swift: Fails to build: error: qualified reference to 'CanTypeWrapper' is a constructor name rather than a type in this context
Summary: lang/swift: Fails to build: error: qualified reference to 'CanTypeWrapper' is...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2017-11-16 17:05 UTC by Robert Cina
Modified: 2019-02-10 03:46 UTC (History)
2 users (show)

See Also:


Attachments
lang/swift build log (363.62 KB, text/x-log)
2017-11-16 17:05 UTC, Robert Cina
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cina 2017-11-16 17:05:33 UTC
Created attachment 188054 [details]
lang/swift build log

The lang/swift port fails to build on my system using poudriere and FreeBSD 11.1-STABLE 1101506.

Attached is the build log for the poudriere build that failed.

                         ^
1 warning generated.
[92/696] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Utils/PerformanceInlinerUtils.cpp.o
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/lib/SILOptimizer/Utils/PerformanceInlinerUtils.cpp:13:
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/include/swift/SILOptimizer/Utils/PerformanceInlinerUtils.h:13:
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/include/swift/SIL/SILInstruction.h:29:
/wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/include/swift/SIL/SILValue.h:238:26: warning: cast from 'const swift::ValueBase *' to 'swift::ValueBase *' drops const qualifier [-Wcast-qual]
    : Value((ValueBase *)V) { }
                         ^
1 warning generated.
[93/696] Building CXX object lib/SILOptimizer/CMakeFiles/swiftSILOptimizer.dir/Utils/SILSSAUpdater.cpp.o
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/lib/SILOptimizer/Utils/SILSSAUpdater.cpp:18:
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/include/swift/SIL/SILArgument.h:18:
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/include/swift/SIL/SILFunction.h:20:
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/include/swift/SIL/SILBasicBlock.h:23:
In file included from /wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/include/swift/SIL/SILInstruction.h:29:
/wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/include/swift/SIL/SILValue.h:238:26: warning: cast from 'const swift::ValueBase *' to 'swift::ValueBase *' drops const qualifier [-Wcast-qual]
    : Value((ValueBase *)V) { }
                         ^
1 warning generated.
ninja: build stopped: subcommand failed.
./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/swift
=>> Cleaning up wrkdir
===>  Cleaning for swift-3.1.1_3
build of lang/swift | swift-3.1.1_3 ended at Thu Nov 16 11:54:44 EST 2017
build time: 00:23:24
!!! build failure encountered !!!
Comment 1 w.schwarzenfeld freebsd_triage 2018-02-04 12:53:19 UTC
Feedback please!