Danek Duvall wrote:

> Craig Mohrman wrote:
> 
> > I don't see anything wrong.
> > 
> > http://jurassic.us.oracle.com/net/mogo/builds3/cmohrman/userland_perl516_s12-V3/webrev/
> > Look at perl-516.p5m.
> > 
> > All intermediate files under the build directory look correct.
> > 
> > Looks like "manifest.mediatorcache" is incorrect at runtime.
> 
> Hm.  I'll bet that we don't handle two different mediator implementations
> (or versions) in the same package properly.  A normal mediatorcache file
> doesn't have a trailing newline, so that's probably what's going on.

Indeed, in _gen_mediators_to_str(), we have

    a = "set name=pkg.mediator " \
        "value=%s %s %s\n".rstrip() % (mediation[0],

It's not clear to me why that rstrip() is there, but it'll strip that
newline right off ...

If you want to test the fix, edit
/usr/lib/python2.6/vendor-packages/pkg/manifest.py on line 345 to remove
the ".rstrip()", remove perl-516, add it again, and see if it works as it
should.

Danek
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to