[Bug 1570551] Review Request: pgcli - Postgres CLI with autocompletion and syntax highlighting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1570551



--- Comment #8 from Per Bothner <per@xxxxxxxxxxx> ---
A problem not with pgcli but with fedora-review/mock is a terrible error
message.
I've tried running fedora-review in various ways, and I typically get:

INFO: Running checks and generating report
ERROR: Exception(/home/bothner/tmp/pgcli-1.9.1-3.fc28.src.rpm)
Config(fedora-rawhide-x86_64) 12 minutes 42 seconds
INFO: Results and/or logs in: /home/bothner/tmp/review-pgcli/results
ERROR: Command failed: 
ERROR: 'mock build failed, see
/home/bothner/tmp/review-pgcli/results/build.log'
[tmp]1013$ less /home/bothner/tmp/review-pgcli/results/build.log

Then I look at /home/bothner/tmp/review-pgcli/results/build.log and *there is
no error message there*.  I see:

Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M',
'9ef15e6bf216491ba8829a9ce86f2af0', '-D',
'/var/lib/mock/fedora-rawhide-x86_64/root', '-a', '--setenv=TERM=vt100',
'--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir',
'--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin',
'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"',
'--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u',
'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64
--nodeps /builddir/build/SPECS/pgcli.spec'] with env {'TERM': 'vt100', 'SHELL':
'/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf
"\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG':
'en_US.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/pgcli-1.9.1-3.fc29.src.rpm
Child return code was: 0
Mock Version: 1.4.10

(The "and shell False" is a bit weird but I have no idea if it is legitimate.)

This is a serious usability bug in mock and/or fedora-review: To write an error
message 'mock build failed, see FILENAME' and then have FILENAME not contain
any error message is pretty bad.  (Not the fault of pgcli, of course.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx/message/VP7CVKJED3U62SHPNWFQLYFFTQOWKTAU/




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux