Danek Duvall wrote:
On Fri, Mar 27, 2009 at 11:13:42AM -0700, Rich Burridge wrote:

   http://cr.opensolaris.org/~richb/pkg-6941-v3

What's the change to the Makefile for?

Because without it, you'd get something like:

Package 'system/prerequisite/doc/gnu'
 Version: 0.5.11-0.108
 Description: GNU and open source documentation
 Classification:  org.opensolaris.category.2008:Development/GNU
Traceback (most recent call last):
 File "./solaris.py", line 1241, in ?
   SolarisParse(_mf)
 File "./solaris.py", line 1149, in SolarisParse
   p = SolarisPackage(pkg_path(pkgspec))
 File "./solaris.py", line 424, in pkg_path
   raise RuntimeError("package %s not found" % pkgname)
RuntimeError: package SUNWfixes not found
*** Error code 1
make: Fatal error: Command failed for target `redist_import'
Current working directory
/export/home/richb/pkg/bugs/6186/gate/src/util/distro-import
*** Error code 1
make: Fatal error: Command failed for target `108/redist_import'

Note that the stack trace is from when I was testing the
current proposed set of new package name changes in bug #6186,
but the same thing applies to this bug as well.

Bart suggested the Makefile change, which seems to nicely
resolve the issue.

I don't think you need to repeat the "As there isn't currently a way"
comment for each package you're renaming.  Just do it once per import file.

Okay. I'll generate a new webrev with this adjusted.

Looks fine otherwise.

Thanks.


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to