I just ran this small test:

#include <iostream>
#include <list>
#include <string>
//
#include "zypp/base/Logger.h"
#include "zypp/Arch.h"

using namespace std;
using namespace zypp;

int main() {
        cout << Arch("i686") << "\n";
        cout << Arch_noarch.compatibleWith( Arch_i686 ) << "\n";
        cout << Arch_i386.compatibleWith( Arch_i686 ) << "\n";
        cout << Arch_i486.compatibleWith( Arch_i686 ) << "\n";
        cout << Arch_i586.compatibleWith( Arch_i686 ) << "\n";
        cout << Arch_i686.compatibleWith( Arch_i686 ) << "\n";
}


and the results are:

bash-3.2# ./arch 
i686
0
0
0
0
1
So there is something really bad happening here, not sure what it could be...
Running the same on opensuse 11.4 gives only "1", and no zeros.

Anas

On Mon, Jul 4, 2011 at 12:49 PM, Anas Nashif <anas.nashif@intel.com> wrote:

On 28 Jun 2011, at 08:34, Michael Andres wrote:

> On Friday 24 June 2011 14:07:30 Anas Nashif wrote:
>> Hi,
>> We just updated to glibc 2.13 and gcc 4.6 and zypper is refusing to install
>> anything below i686, changing the config file with
>>
>> arch = i586
>>
>> seems to resolve the issue and allows package installations. Not sure why
>> that is happening, any hints?
>
> Hard to tell without log.
>

Here is a log:

http://pastebin.com/sE9mFfe8

> System architecture was detected correctly?
>  grep 'ZConfig.cc.*SystemArchitecture:' /var/log/zypper.log
>



[root@localhost ~]# grep 'ZConfig.cc.*SystemArchitecture:' /var/log/zypper.log
2011-07-04 05:27:07 <1> localhost(946) [zconfig] ZConfig.cc(ZConfig):569 SystemArchitecture: 'i686' (i686)
2011-07-04 05:28:38 <1> localhost(961) [zconfig] ZConfig.cc(ZConfig):569 SystemArchitecture: 'i686' (i686)


anas



>
>
> --
>
>
> cu,
>    Michael Andres
>
> +------------------------------------------------------------------+
> Key fingerprint = 2DFA 5D73 18B1 E7EF A862  27AC 3FB8 9E3A 27C6 B0E4
> +------------------------------------------------------------------+
> Michael Andres   SUSE LINUX Products GmbH, Development,   ma@suse.de
> GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg)
> Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
> +------------------------------------------------------------------+
>
> --
> To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org
> For additional commands, e-mail: zypp-devel+help@opensuse.org
>