Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failing on heroku #11

Closed
JustinM1 opened this issue Dec 22, 2016 · 3 comments · Fixed by #12
Closed

build failing on heroku #11

JustinM1 opened this issue Dec 22, 2016 · 3 comments · Fixed by #12

Comments

@JustinM1
Copy link

remote: Linking ./.build/release/App
remote: /tmp/build_9e6662da1ad3a4a4089c8520505ca138/.build/release/App.build/Droplet+Setup.swift.o:/tmp/build_9e6662da1ad3a4a4089c8520505ca138/.build/release/App.build/Misc/String+E164Format.swift.o:function _::_TTSf4g_n_n___TFC3App14AuthMiddleware7respondfzT2toC4HTTP7Request10chainingToPS1_9Responder(Response) static const: error: undefined reference to '_TFE8VaporJWTPS_16ClaimsVerifiable12verifyClaimsfGSaPS_5Claim(bool) static'
remote: /tmp/build_9e6662da1ad3a4a4089c8520505ca138/.build/release/App.build/Droplet+Setup.swift.o:/tmp/build_9e6662da1ad3a4a4089c8520505ca138/.build/release/App.build/Misc/String+E164Format.swift.o:function _::_TTSf4g_n_n___TFC3App14AuthMiddleware7respondfzT2toC4HTTP7Request10chainingToPS1_9Responder(Response) static const: error: undefined reference to '_TFE8VaporJWTPS_16ClaimsVerifiable12verifyClaimsfGSaPS_5Claim(bool) static'
remote: /tmp/build_9e6662da1ad3a4a4089c8520505ca138/.build/release/App.build/RenewalTokenMiddleware.swift.o:/tmp/build_9e6662da1ad3a4a4089c8520505ca138/.build/release/App.build/Misc/String+E164Format.swift.o:function _::_TTSf4g_n_n___TFC3App22RenewalTokenMiddleware7respondfzT2toC4HTTP7Request10chainingToPS1_9Responder(Response) static const: error: undefined reference to '_TFE8VaporJWTPS_16ClaimsVerifiable12verifyClaimsfGSaPS_5Claim(bool) static'
remote: clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
remote: :0: error: link command failed with exit code 1 (use -v to see invocation)
remote: :0: error: build had 1 command failures

it runs locally on mac with no issue, any ideas?

@siemensikkema
Copy link
Member

@JustinM1 sorry about the late reply! This is an issue that seems to keep coming up but it should be fixed in 0.6.1. Can you confirm your app or a dependent is not depending on an earlier version?

@JustinM1
Copy link
Author

@siemensikkema no prob. I know how it can be, especially around this time of year. Unfortunately, I think there is still an issue.
vapor-jwt_version
heroku_builderror

@siemensikkema
Copy link
Member

siemensikkema commented Dec 29, 2016

Is this on a custom server? How are you building? Can you replicate this on your own machine? I see you're running swift 3.0.1, I doubt upgrading to 3.0.2 will help but it's worth a try.

EDIT: just read the title again where it clearly says Heroku.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants