Vit Hrachovy wrote: > Brock Pytlik wrote: > >> My best guess is that you've got a package with a space someplace the >> indexer isn't expecting it. Did you happen to install a new package >> recently, or do an image-update? If you're willing to spend some time, >> we can try to figure out which package is causing the problem, and then >> narrow it down to a particular action. >> >> Brock >> > > Hi Brock, > thanks a lot for response. > I've injected some debug tracing code into pkg/indexer.py and found > that the problem was caused by including space in license tag during > pkgsend. > > The following line in my own package caused the problem: > > license /export/home/`whoami`/COPYING.LIB license="LGPL v.2.1" > > IMO this is another manifestation of bug 2849. > > I've tried recursive grep in /var/pkg for that string and removed > affected package files, but this has broken pkg even more. It seems > there are at least two binary files containing this broken metadata. > > As I had no idea how to fix them properly, I've reused older BE and > discarded the broken one. > > Cheers > Hark > > > P.S. Wine, Dosbox (with libSDL-net, libSDL-sound) work like a charm! > _______________________________________________ > pkg-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/pkg-discuss > Interesting, I hadn't considered license actions when I thought about spaces in actions. For now, I'll probably add code so that license actions are split on spaces as well, so that it's at least possible to search for LGPL.
The result is a duplicate of bug 2849, but it's not clear that the solution there is the right one for this situation (thought it will certainly make the problem vanish). I'll likely file another bug on this. Thanks for the debugging help! That was exactly the info I was looking for. Brock _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
