#45 fedpkg local does not provide build output if you hit Ctrl-C in the middle of the build
Closed: Invalid None Opened 13 years ago by abbot.

'''How to reproduce:'''

  1. Run a local build with fedpkg:
    {{{
    fedpkg local
    }}}
  2. Hit Ctrl-C in the middle of the build progress.
  3. Observe this instead of the partial build output:
    {{{
    ^CTraceback (most recent call last):
    File "/usr/bin/fedpkg", line 812, in <module>
    args.command(args)
    File "/usr/bin/fedpkg", line 467, in local
    return mymodule.local(arch=arch)
    File "/usr/lib/python2.6/site-packages/pyfedpkg/init.py", line 659, in local
    output, error = proc.communicate()
    File "/usr/lib/python2.6/subprocess.py", line 663, in communicate
    return self._communicate(input)
    File "/usr/lib/python2.6/subprocess.py", line 1152, in _communicate
    rlist, wlist, xlist = select.select(read_set, write_set, [])
    KeyboardInterrupt
    }}}

'''Expected output:'''

Output of the rpmbuild command, interrupted in the middle of the build process.

Observed with fedora-packager-0.4.2.1-1.fc12.noarch.


Just checked, this is still relevant for fedora-packager-0.5.1.0-1.fc12.noarch.

This would not be an issue when #34 gets fixed, which I have on my to-do list.

Login to comment on this ticket.

Metadata