YES! That fixed it. # pkg mediator -a MEDIATOR VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION gcc system 3.4 system java system 1.7 system java system 1.6 system perl system 5.16 system 32 perl system 5.16 system 64 perl system 5.12 system 32 php system 5.3 system php system 5.2 system python vendor 2.6 vendor
Thanks Danek. craig ----- [email protected] wrote: > 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 [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
