On Sep 16, 2010, at 3:47 PM, Eric MSP Veith wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thursday 16 September 2010, Jeff Johnson <n3...@mac.com> wrote:
>> Hmmm, building for me. If you add a stanza to devtool.conf for however
>> you are building from cvs it will be easier (for me) to see what your
>> build issues are.
> 
> Hm, the thing is, I cannot even jump to the function mentioned with ctags or 
> even grep... Where is it located? I guess I'm just missing some sources. 
> Geez, screwed up the CVS repo again. :-(
> 

The symbol is in rpmio/rpmrepo.c. There's one single occurrence of 
rpmrfileXMLWrite
left in tools/rpmrepo.c while I muddle where/how to fix accessing
a Header from -lrpmio (a layering violation).

The likely expedient resolution will be
        mv rpmio/rpmrepo.c rpmdb/rpmrepo.c
because I have a rpmmongo.c object that is gonna have exactly the
same issues in the next 48 hours.

The other approach would be to add a callback ... but lets not go there.

The programming/layering rule is
        Nothing in rpmio/* should access a Header (or other
        rpmdb/lib specific objects).

Generally the rpmrepo work was moving internals from
tools/rpmrepo.c -> rpmio/rpmrepo.c with prototypes in rpmrepo.h
(watchout for the loader map in rpmio/librpmio.vers, disable
the loader maps if you wish).

You can always work around brokenness on head ... do the same thing with rpmrepo
that you did with dbsql ;-)

>> Off hand, I'd guess that "make distclean && ./devtool system && make"
>> should fix. Just a guess ...
> 
> Ok, running. Not the fastest system here, so it's taking some time...
> 
>                       Eric
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> 
> iEYEARECAAYFAkySdDYACgkQhS0drJ3goJJJpgCeJtziYQD/az4V/jWLhybFnHiq
> TsUAnAiNSquN5512nRgFHzWIxFxRglW2
> =sepz
> -----END PGP SIGNATURE-----
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> Developer Communication List                        rpm-devel@rpm5.org

______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to