Failed to resolve REPL breakpoint


(Ryan Lovelett) #1

I have compiled from the latest Swift source and built a package for my
system using the install to destination. However, after installing the
package and running `swift` to test the REPL it dies with the following
error: `error: failed to resolve REPL breakpoint for 'repl_main'`.

Not really sure what this means. Did I fail to compile something
properly?

The script that I used to run was this `utils/build-script
--preset=buildbot_linux install_destdir="$pkgdir/"
installable_package=/tmp/swift.tar.gz`


(Ryan Lovelett) #2

For future reference I figured out what was causing this. The Arch Linux
`makepkg` command was calling strip [1] by default. This was obviously
stripping out some things that was necessary for build.

The fix was obviously to tell the packager to skip calling strip [2].

[1] http://linux.die.net/man/1/strip
[2]
https://github.com/RLovelett/swift-aur/blob/3498527dc392e391d77507579f075a8ebc4c78c0/PKGBUILD#L31-L33

ยทยทยท

On Wed, Dec 23, 2015, at 08:32 PM, Ryan Lovelett via swift-users wrote:

I have compiled from the latest Swift source and built a package for my
system using the install to destination. However, after installing the
package and running `swift` to test the REPL it dies with the following
error: `error: failed to resolve REPL breakpoint for 'repl_main'`.

Not really sure what this means. Did I fail to compile something
properly?

The script that I used to run was this `utils/build-script
--preset=buildbot_linux install_destdir="$pkgdir/"
installable_package=/tmp/swift.tar.gz`

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users