Bug 4618

Summary: A file moved from gcj-tools to gcc-gnat, causing an upgrade problem
Product: Mageia Reporter: Malo DeniƩlou <pmdenielou>
Component: RPM PackagesAssignee: Thomas Backlund <tmb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: gcc-4.6.2-1.mga2.x86_64 CVE:
Status comment:

Description Malo DeniƩlou 2012-02-21 22:58:22 CET
Description of problem:
Installing last update of gcc I get:

Installation failed:    file /usr/bin/gnative2ascii from install of gcc-gnat-4.6.2-2.mga2.x86_64 conflicts with file from package gcj-tools-4.6.2-1.mga2.x86_64
        file /usr/bin/gnative2ascii from install of gcj-tools-4.6.2-2.mga2.x86_64 conflicts with file from package gcc-gnat-4.6.2-1.mga2.x86_64

this is due to gnat %file section having 
/usr/bin/gnat*
which captured (for the first time) the file /usr/bin/gnative2ascii which is explicitely part of gcj-tools.
Comment 1 Thomas Backlund 2012-03-03 12:38:50 CET
Fixed in gcc-4.6.3-1.mga2

Status: NEW => RESOLVED
Resolution: (none) => FIXED