-
Notifications
You must be signed in to change notification settings - Fork 71
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
CPT error when updating conan #588
Comments
@katetsu Thank you for reporting and giving details. I'll investigate. |
Thanks. any chance there could be a tested conan/cpt combination that i could use for now? |
@katetsu Downgrade to CPT 0.36.0 for now. I need to recreate your scenario in a test, then provide a hotfix. |
@katetsu How looks like your |
@uilianries i am seeing a strange situation where some of my other packages do go through and some dont. they used to all go through. their build.py and travis config are more or less identical. my build.py is:
and my travis:
|
@katetsu thank you, is your project public on github, can you share its link? So I can read Travis log (if public too). It's clear the package reference is empty, but I still can't figure out how it happened, because it's validated/parsed before been passed to Docker. |
unfortunately not. is it possible that conan package manager is looking to see if it can find the package in the registry. as this is a new package its possible that the recipe is not there yet.... |
@katetsu No problem, I'll investigate using that information. |
full travis log:
|
Tahnk you! |
@katetsu Now I can reproduce your error! Thank you for sharing all details |
@katetsu Checking the code, I can presume your build doesn't have a package reference. That error is because there is no treatment for it, but basically:
So, your package reference is missing. There are multiple ways to pass it, environment variable That's a prone error, not a bug, but still, CPT should warn the user, or at least fail with a helpful message. I'll open a PR improving it, but you need to fix your side too. |
Thanks a lot @uilianries. this resolved my problem. :) |
Description of Problem, Request, or Question
Environment Details
Steps to reproduce (Include if Applicable)
I used to be able to build my binaries for some specific in house platforms with travis CI - all linux(Centos and RHEL) but i tried adding a package recently and im getting the below error:
any ideas?
Build logs (Include if Available)
The text was updated successfully, but these errors were encountered: