Re: [zypp-devel] zypper/libsolv broken @System/solv file

2013-05-03 Thread Tony Wolf
Hi Michael, Thank you a lot! It was the -DRPM5 cmake flag. I replaced it with ENABLE_RPMDB and ENABLE_RPMMD, and now everything works as expected. Thanks again, you saved my weekend :-) Have a nice weekend! Kind Regards Tony On 03/05/13 16:07, Michael Schroeder wrote: On Fri, May 03, 201

Re: [zypp-devel] zypper/libsolv broken @System/solv file

2013-05-03 Thread Tony Wolf
On 03/05/13 16:05, Michael Schroeder wrote: Hmm, you don't happen to have defined RPM5 when configuring libsolv by mistake? RPM5 has switched the index from little to bih endian. Yes, I've enabled the RPM5 switch, damn, this happed while experimenting with libsolv... :-) I'll disable it an

Re: [zypp-devel] zypper/libsolv broken @System/solv file

2013-05-03 Thread Michael Schroeder
On Fri, May 03, 2013 at 03:28:49PM +0200, Tony Wolf wrote: > all IDs seems to be a multiple of 16777216 (first one is 16777216, second > 33554432 and so on). An "rpm -i" already inserted those IDs. > > 16777216 is a defined value within berkeleydb/common/db_shash.c Sounds like an endian issue. "

Re: [zypp-devel] zypper/libsolv broken @System/solv file

2013-05-03 Thread Michael Schroeder
On Fri, May 03, 2013 at 02:54:15PM +0200, Tony Wolf wrote: > I'm currently checking the rpm db. As far as I know, libsolv supports 32Bit > IDs only. That should be okay, because we won't need that much IDs :-) > > But for any reason, our IDs within our rpmdb are much higher... (there is > no smal

Re: [zypp-devel] zypper/libsolv broken @System/solv file

2013-05-03 Thread Tony Wolf
Hi, On 03/05/13 12:44, Michael Andres wrote: In general: In openSUSE we use a static libsolv. This way it is important that libzypp (staticaly linked against libsolv) and the libsolv-tools (dumpsoplv and tools to create the solv files) are based on the same libsolv version. Thanks for sharing th

Re: [zypp-devel] zypper/libsolv broken @System/solv file

2013-05-03 Thread Tony Wolf
Hi, all IDs seems to be a multiple of 16777216 (first one is 16777216, second 33554432 and so on). An "rpm -i" already inserted those IDs. 16777216 is a defined value within berkeleydb/common/db_shash.c So it's not related to libsolv/zypper. Sorry for that! I'll try to figure out, what cause

Re: [zypp-devel] zypper/libsolv broken @System/solv file

2013-05-03 Thread Tony Wolf
Hi Michael, I'm currently checking the rpm db. As far as I know, libsolv supports 32Bit IDs only. That should be okay, because we won't need that much IDs :-) But for any reason, our IDs within our rpmdb are much higher... (there is no small number anywhere, really strange :-)) So it does n

Re: [zypp-devel] zypper/libsolv broken @System/solv file

2013-05-03 Thread Michael Schroeder
On Fri, May 03, 2013 at 02:42:57PM +0200, Michael Schroeder wrote: > On Thu, May 02, 2013 at 04:21:45PM +0200, Tony Wolf wrote: > > So, rpm sees all installed packages; but the @System/solv files seems to > > be broken. > > > > We use the following versions: > > * zypper 1.8.9 (+ bugfix of swig B

Re: [zypp-devel] zypper/libsolv broken @System/solv file

2013-05-03 Thread Michael Schroeder
Hi Tony, On Thu, May 02, 2013 at 04:21:45PM +0200, Tony Wolf wrote: > So, rpm sees all installed packages; but the @System/solv files seems to > be broken. > > We use the following versions: > * zypper 1.8.9 (+ bugfix of swig BoolSave) > * libzypp 13.1.0 > * libsolv latest snapshot from git

Re: [zypp-devel] zypper/libsolv broken @System/solv file

2013-05-03 Thread Michael Andres
On Thursday 02 May 2013 16:21:45 Tony Wolf wrote: > So, rpm sees all installed packages; but the @System/solv files seems to > be broken. > > We use the following versions: >* zypper 1.8.9 (+ bugfix of swig BoolSave) >* libzypp 13.1.0 >* libsolv latest snapshot from git/origin >* bo

[zypp-devel] zypper/libsolv broken @System/solv file

2013-05-02 Thread Tony Wolf
Hi, we got some trouble with getting zypper up and running. We like to use it for a linux system from scratch. We already got the OBS working. I now set up a system and am trying to implement zypper. I installed all rpms from a local directory with "zypper install *.rpm". After that, I got an er