-
Notifications
You must be signed in to change notification settings - Fork 129
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
tito does not find sources it wrote just before #398
Comments
I have the same issue,
The problem is actually that there is a mismatch between the tag/release name that Tito is building for, 1.7.2-5 in my case, and the targz it writes, which is 1.7.2 only. The release is not downloaded from the SCM forge as it normally might, so this complicates things. 🤷🏼 |
Here is a debug log:
|
The problem reduces to the definition of the In the instance that The display version function definition comment implies that it should be whatever I don't know enough about the use of Tito, as this is my first build, to bother with submitting a pull request to fix this because it may break something else. |
However, the problem created by this definition is real and the code is likely incorrect, as Lines 481 to 482 in bb3e661
When version is defined in Lines 660 to 675 in bb3e661
Overall, the concept an intent of "build version" and "display version" should be better documented. If the intent is to build the build version, and merely display the display version, like in the below example, then the implementation is incorrect.
|
Thank you for the detailed feedback @bryce-carson, and I am sorry that I didn't pay better attention to this earlier @ibotty. I think the main problem is
The error message was
which doesn't exist, but the same file exists but as So I think a workaround should be changing the Source0 to
and tagging a new version. But for sure we need to fix the issue for |
I think the problem I encountered has a different cause. I expected Tito to behave differently without understanding the various taggers and workflows. When I invoked Tito, this blob was the spec file I was using, and I invoked Tito in an unpacked Git directory with the spec file I wrote. I wanted to contribute it upstream, but I didn't realize that Fedora already packages The I'm not sure what the correct behaviour or warning should be in this situation, but that is the rest of the information that I can provide to you, @FrostyX. |
Meaning a directory where nobody did
I also changed If you've got a chance, can you please write a step-by-step reproducer that leads to the issue you mentioned in your last comment @bryce-carson? I will try to either fix the tito behavior or add some proper error messages. |
No,
When I have some extra time I'll come back to this with detailed reproduction steps. |
rpm -q tito
:tito-0.6.16-1.fc33.noarch
While trying to build https://gitlab.com/ibotty/winexe/-/commit/54f27f033d5c29e603b4ac158aa4f2d66ff23d2f in a clean checkout I get the following error. Note that
tito build --rpm --test
works fine!The text was updated successfully, but these errors were encountered: