Bug 16219

Summary: gcc i586 package depends on x86_64 packages on x86_64
Product: Mageia Reporter: Minggang Li <minggang.li>
Component: RPM PackagesAssignee: Thomas Backlund <tmb>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: Normal    
Version: 5   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Minggang Li 2015-06-26 16:49:05 CEST
Description of problem:
Package dependency of I586 is wrong. I tried to install GCC by rpmdrake. After reseting Mageia urpmi media sources to network only by "urpmi.removemedia -a && urpmi.addmedia --distrib --mirrorlist". I found the gcc(i586) package would always dependent on gcc-cpp_x86_x64, which is a 64bit package. Other gcc related packages have the same problem.

Version-Release number of selected component (if applicable):
5

How reproducible:
use rpmdrake and set the source to network.

Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
David Walser 2015-06-26 19:06:27 CEST

Hardware: i586 => x86_64
Assignee: bugsquad => tmb
Summary: Package dependency of I586 is wrong => gcc i586 package depends on x86_64 packages on x86_64

Comment 1 Thomas Backlund 2015-06-26 19:40:08 CEST
thats because you should only install 64bit gcc on 64bit install.

if you want to build 32bit package with 64bit gcc, use 

linux32 

at start of your build... like:

linux32 rpmbuild -ba package.spec
Comment 2 Minggang Li 2015-06-27 05:01:48 CEST
I think this is a invalid issue. I downloaded VMs from osboxes.org. It said it's a 32bit one. However, I got x86_64 when I tried uname -a.

Sorry for the confusion.

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