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

Error while running %gometa with the -i option #32

Open
eclipseo opened this issue Mar 8, 2018 · 7 comments
Open

Error while running %gometa with the -i option #32

eclipseo opened this issue Mar 8, 2018 · 7 comments

Comments

@eclipseo
Copy link

eclipseo commented Mar 8, 2018

-i seems to cause issues when building the SRPM:

$ fedpkg --release f29 srpm                                                                                                                                        
sources file doesn't exist. Source files download skipped.
Failed to get module name from Git url or pushurl
Could not execute srpm: Could not get n-v-r-e from '\n\nForge-specific packaging variables\n\n  forgeurl:        https://github.com/bazil/fuse\n\n  forgesource:     https://github.com/bazil/fuse/archive/371fbbdaa8987b715bdd21d6adc4c9b20155f748/fuse-371fbbdaa8987b715bdd21d6adc4c9b20155f748.tar.gz\n\n  forgesetupargs:  -n fuse-371fbbdaa8987b715bdd21d6adc4c9b20155f748\n\nGeneric variables\n\n  archivename:     fuse-371fbbdaa8987b715bdd21d6adc4c9b20155f748\n\n  archiveext:      tar.gz\n\n  archiveurl:      https://github.com/bazil/fuse/archive/371fbbdaa8987b715bdd21d6adc4c9b20155f748/fuse-371fbbdaa8987b715bdd21d6adc4c9b20155f748.tar.gz\n\n  scm:             git\n\n  tag:             \n\n  commit:          371fbbdaa8987b715bdd21d6adc4c9b20155f748\n\n  dist:            .20180308git371fbbd.fc29 (snapshot date is computed once %{_sourcedir}/%{archivename}.%{archiveext} is available)\n\nGo-specific packaging variables\n  goipath:         bazil.org/fuse\n  goname:          golang-bazil-fuse\n  gourl:           https://github.com/bazil/fuse\n  gosource:        https://github.com/bazil/fuse/archive/371fbbdaa8987b715bdd21d6adc4c9b20155f748/fuse-371fbbdaa8987b715bdd21d6adc4c9b20155f748.tar.gz\ngolang-bazil-fuse (none) 0 0.3.20180308git371fbbd.fc29'
@eclipseo
Copy link
Author

eclipseo commented Mar 8, 2018

It works fine with rpmbuild, it must be a fedpkg issue then.

@eclipseo
Copy link
Author

eclipseo commented Mar 8, 2018

I found the bug, I conquer the bug, I create a PR:

https://pagure.io/rpkg/pull-request/295

@ingvagabund
Copy link
Contributor

@eclipseo what version of fedpkg you have?

@eclipseo
Copy link
Author

eclipseo commented Mar 9, 2018

I have 1.31-5.fc27. But it's a bug in the rpkg library.

@ingvagabund
Copy link
Contributor

@eclipseo is the error occurring only when the -i option is set? Or does it occur even without the option?

@eclipseo
Copy link
Author

Only with -i. I decided to remove it from all my SPEC because it was also causing issue with fedpkg clog.

@ingvagabund
Copy link
Contributor

It's causing rpmlint to go crazy as well. I am thinking of the same. I tested all the updated spec files on f24 so can't wait once I upgrade to f27+ :(.

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

No branches or pull requests

2 participants