Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1164410
Summary: | gcc -O2 <tab complete> tries to run f77 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dr. David Alan Gilbert <rh> |
Component: | PackageKit | Assignee: | Richard Hughes <rhughes> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | adam, goriccardo, hyxermail, jonathan, kalevlember, klember, luto, michael.hartman.cz, miminar, mnewsome, nmavrogi, ooprala, quantum.analyst, rdieter, rh, rhughes, robberphex, sheltren, smparrish, soud, ville.skytta, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | PackageKit-1.0.6-2.fc21 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-09-25 12:19:26 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dr. David Alan Gilbert
2014-11-15 00:53:56 UTC
I suppose this is PackageKit-command-not-found in action. Sure, the gcc completion tries to invoke f77 to do some optional stuff at initial load time, but I don't know why PackageKit-command-not-found would trigger on that. The user is not invoking f77 so I'd say it shouldn't. Reassigning for comments, is this the expected behavior, and why? I suppose we could check for existence of every command that is allowed to not even exist before invoking but I'm afraid that's going to be a long painful road, more and messier code, and gcc completion or even the whole bash-completion certainly won't be the only thing affected. (In reply to rh from comment #0) > when I did tab complete on gcc (for a filename) I got it prompting me for > installation of a g77 package The command not found program shouldn't be run when doing tab-complete. Can you describe exactly how you can reproduce this please. Richard: On my home machine, this does exactly as described in the bug, I type: gcc and then hit tab and it says 'Install package 'compat-gcc-34-g77' to provide command 'f77'? [N/y]' it only happens once in any shell, open a new shell and it repeats. Now, it doesn't happen on my work laptop (that's also an f20 upgrade). This happens on my desktop machine that I upgraded from F20 to F21 as well. It doesn't happen on my laptop, presumably because I uninstalled PackageKit. Dupe of Bug 1123591. *** Bug 1123591 has been marked as a duplicate of this bug. *** *** Bug 1186641 has been marked as a duplicate of this bug. *** I confirm this is also happening to me. Fedora 21 x64. *** Bug 1176715 has been marked as a duplicate of this bug. *** This bug seems to be open for quite some time. Unless there is a fix please disable the component that causes the issue in the default installations of Fedora. Candidate fix submitted upstream: https://bugs.freedesktop.org/show_bug.cgi?id=91073 (In reply to Ville Skyttä from comment #11) > Candidate fix submitted upstream: > https://bugs.freedesktop.org/show_bug.cgi?id=91073 Thank you for addressing it. This should be fixed in PackageKit 1.0.8 in F22 and newer (already in stable), and PackageKit-1.0.6-2.fc21 in F21. PackageKit-1.0.6-2.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15440 PackageKit-1.0.6-2.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update PackageKit'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15440 PackageKit-1.0.6-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. since Bug 1123591 is reported as duplicate of this bug, i'm going to continue here. i am using stock fedora 22 in VM. having similar problem albeit a different message: Install package 'gcc-c++' to provide command 'c++'? [N/y] Version-Release number of selected component (if applicable): GNU bash, version 4.3.33(1)-release (x86_64-redhat-linux-gnu) gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC) Fedora verison: 4.0.4-301.fc22.x86_64 How reproducible: 50% Steps to Reproduce: 1. login from ssh 2. Type gcc -o filename and hit tab |