rh-lab-q / rpg

RPG is tool, that guides people through the creation of a RPM package
GNU General Public License v2.0
22 stars 11 forks source link

Find files wil now replace system paths with rpm macros (fix #351) #352

Open onionka opened 8 years ago

onionka commented 8 years ago

Could you restart Travis? This error shown up:

11.08s$ docker exec -i test_fedora bash -c "dnf builddep -y hawkey"
enabling fedora-source repository
enabling updates-source repository
Last metadata expiration check performed 0:00:01 ago on Thu Nov  5 20:06:32 2015.
Traceback (most recent call last):
  File "/usr/bin/dnf", line 36, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 198, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 136, in _main
    cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1091, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/builddep.py", line 76, in inner
    return func(*args, **kwds)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/builddep.py", line 142, in run
    self._remote_deps(pkgspec)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/builddep.py", line 213, in _remote_deps
    package).get_best_query(self.base.sack)})
  File "/usr/lib/python2.7/site-packages/dnf-plugins/builddep.py", line 212, in <setcomp>
    for pkg in dnf.subject.Subject(
  File "/usr/lib/python2.7/site-packages/dnfpluginscore/lib.py", line 170, in package_source_name
    srcname = package.sourcerpm.rstrip(".src.rpm")
AttributeError: 'NoneType' object has no attribute 'rstrip'
jsilhan commented 8 years ago

The travis will be when new dnf-plugins-core package is in the repositories. (the bug is fixed in the upstream but no new version has been released)

onionka commented 8 years ago

Now this should be all OK and non-hardcoded

onionka commented 8 years ago

this error is issued #373 but everything else is OK. please restart travis

onionka commented 8 years ago

depends on #358 heavily but all done - I hope tests will pass now

onionka commented 8 years ago

It is failing because of missing macro definition

see #374