Bug 1644935

Summary: eclipse-findbugs-contrib-7.4.3-1.fc29 unpacking of archive failed: cpio: lstat failed - Not a directory
Product: [Fedora] Fedora Reporter: Edgar Hoch <edgar.hoch>
Component: findbugs-contribAssignee: Richard Fearn <richardfearn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 29CC: richardfearn
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: findbugs-contrib-7.4.3-2.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-17 05:15:08 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 Edgar Hoch 2018-11-01 00:41:53 UTC
Description of problem:

When I try to install eclipse-findbugs-contrib on Fedora 29, I get the following error:

Running transaction
  Preparing        :                                                                                                                                                                                                                      1/1 
Installed: eclipse-findbugs-contrib-7.4.3-1.fc29.noarch
  Installing       : eclipse-findbugs-contrib-7.4.3-1.fc29.noarch                                                                                                                                                                         1/1 
Error unpacking rpm package eclipse-findbugs-contrib-7.4.3-1.fc29.noarch
Installed: eclipse-findbugs-contrib-7.4.3-1.fc29.noarch
error: unpacking of archive failed: cpio: lstat failed - Not a directory

  Verifying        : eclipse-findbugs-contrib-7.4.3-1.fc29.noarch                                                                                                                                                                         1/1 

Failed:
  eclipse-findbugs-contrib-7.4.3-1.fc29.noarch                                                                                                                                                                                                

Error: Transaction failed


Version-Release number of selected component (if applicable):
eclipse-findbugs-contrib-7.4.3-1.fc29.noarch

How reproducible:
Always

Steps to Reproduce:
1. dnf install eclipse-findbugs-contrib

Comment 1 Richard Fearn 2018-11-01 10:57:43 UTC
The eclipse-findbugs package contains [1]:

* /usr/share/eclipse/droplets/findbugs (directory)
* /usr/share/eclipse/droplets/findbugs/eclipse (file)
* /usr/share/eclipse/droplets/findbugs/plugins (directory)
    - which in turn contains edu.umd.cs.findbugs.plugin.eclipse_3.0.1.20150306-5afe4d1

eclipse-findbugs-contrib contains [2]:

* /usr/share/eclipse/droplets/findbugs/eclipse/plugins/edu.umd.cs.findbugs.plugin.eclipse_3.0.1.20150306-5afe4d1/plugin/fb-contrib-7.4.3.jar

That should be /usr/share/eclipse/droplets/findbugs/plugins/edu.umd.cs.findbugs.plugin.eclipse_3.0.1.20150306-5afe4d1/plugin/fb-contrib-7.4.3.jar

[1] https://koji.fedoraproject.org/koji/rpminfo?rpmID=14623232
[2] https://koji.fedoraproject.org/koji/rpminfo?rpmID=14941859

Comment 2 Fedora Update System 2018-11-02 18:42:55 UTC
findbugs-contrib-7.4.3-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-fdf1098581

Comment 3 Fedora Update System 2018-11-03 00:55:34 UTC
findbugs-contrib-7.4.3-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-fdf1098581

Comment 4 Richard Fearn 2018-11-04 10:21:09 UTC
Well, the good news is that the new eclipse-findbugs-contrib package can be installed - the symlink goes into the right folder.

The bad news is that having eclipse-findbugs (not eclipse-findbugs-contrib) installed prevents Eclipse from starting up. I think it's because the fragment.info file is missing. I'll look into that another time.

For now, I'd recommend *not* installing eclipse-findbugs / eclipse-findbugs-contrib - just use the standalone FindBugs GUI.

Comment 5 Richard Fearn 2018-11-04 11:57:31 UTC
> The bad news is that having eclipse-findbugs (not eclipse-findbugs-contrib) installed prevents Eclipse from starting up.

Created bug 1645854

Comment 6 Richard Fearn 2018-11-12 19:25:19 UTC
> The bad news is that having eclipse-findbugs (not eclipse-findbugs-contrib) installed prevents Eclipse from starting up.

The problem with eclipse-findbugs should now be fixed by https://bodhi.fedoraproject.org/updates/FEDORA-2018-3cc592e12b.

This problem with eclipse-findbugs-contrib should be fixed by https://bodhi.fedoraproject.org/updates/FEDORA-2018-fdf1098581.

Comment 7 Fedora Update System 2018-11-17 05:15:08 UTC
findbugs-contrib-7.4.3-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.