Bug 509747 - mingw32-nsiswrapper: missing requirement (mingw32-binutils)
Summary: mingw32-nsiswrapper: missing requirement (mingw32-binutils)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw32-nsiswrapper
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-05 18:06 UTC by Jose Pedro Oliveira
Modified: 2009-09-11 23:34 UTC (History)
2 users (show)

Fixed In Version: 3-3.fc10.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-12 20:56:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jose Pedro Oliveira 2009-07-05 18:06:26 UTC
Description of problem:
The nsis wrapper script requires mingw32-binutils to operate correctly.

Version-Release number of selected component (if applicable):
mingw32-nsiswrapper-3-3.el5.1

How reproducible:
Always if you only have mingw32-nsiswrapper and its requirement mingw32-nsis installed.

Steps to Reproduce:
1. $ nsiswrapper bla 
   i686-pc-mingw32-objdump: program not found on $PATH
  
Actual results:
$ nsiswrapper pbla
i686-pc-mingw32-objdump: program not found on $PATH

Expected results:
A NSIS script scrolling on stdout.

Additional info:
Perl code that aborts the nsis wrapper:
...
# Check prerequisites.

sub check_prereqs
{
    my @paths = split (/:/, $ENV{PATH});

    if (! $objdump) {
        $objdump = check_path ("i686-pc-mingw32-objdump", @paths);
        if (! $objdump || ! -x $objdump) {
            die "i686-pc-mingw32-objdump: program not found on \$PATH\n"
        }
    }
}
...

Comment 1 Jose Pedro Oliveira 2009-07-05 18:11:31 UTC
Affected branches:
This appears to affect all the Fedora and EPEL branches.


Easy fix:
Adding the line

   Requires:  mingw32-binutils

to the mingw32-nsiswrapper specfile fixes the problem.

Comment 2 Richard W.M. Jones 2009-07-05 19:57:31 UTC
Yes, I'll take this one.

Comment 3 Fedora Update System 2009-07-05 21:18:07 UTC
mingw32-nsiswrapper-3-4.fc11.2 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/mingw32-nsiswrapper-3-4.fc11.2

Comment 4 Fedora Update System 2009-07-05 21:34:03 UTC
mingw32-nsiswrapper-3-3.fc10.2 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/mingw32-nsiswrapper-3-3.fc10.2

Comment 5 Fedora Update System 2009-07-11 16:59:54 UTC
mingw32-nsiswrapper-3-4.fc11.2 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update mingw32-nsiswrapper'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7431

Comment 6 Fedora Update System 2009-07-11 17:08:59 UTC
mingw32-nsiswrapper-3-3.fc10.2 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update mingw32-nsiswrapper'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-7457

Comment 7 Fedora Update System 2009-08-12 20:55:59 UTC
mingw32-nsiswrapper-3-4.fc11.2 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2009-09-11 23:34:36 UTC
mingw32-nsiswrapper-3-3.fc10.2 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.