On Fri, 2010-01-22 at 18:51 +0000, Tim Foster wrote:
> So, this fails:
> 
> t...@tcx2200m2-02[748] make -e BUILDID=111a Clusters.import
> PYTHONPATH=../../../proto/root_i386/usr/lib/python2.6/vendor-packages  
> ./importer.py
<snip>
>         -R http://ipkg.sfbay/rele...@[email protected],5.11-0.111
> unbundleds/Clusters \
>         unbundleds/ClusterTools  unbundleds/ClusterTools8
> unbundleds/DTraceGUI    unbundleds/Eclipse
> unbundleds/ExuberantCTags       unbundleds/GlassFishV2
> unbundleds/GnuDevTools  unbundleds/LDomsManager
> unbundleds/MessageQueue41       unbundleds/NetBeans
> unbundleds/OpenDS               unbundleds/OpenJDK7
> unbundleds/OpenOffice   unbundleds/Studio
> unbundleds/Webstackui

> That said, I'm not 100% sure why leaving that stuff on the command line
> is preventing publication of packages.  I'll look into it some more on
> Monday, and update the webrev once I'm sure of what's going on.

Ok, found out what was happening. Previously, the Makefile was calling
the importer where one of it's arguments was the results of the command

`$(SOLARIS.PY) -N $(INCLUDE_PATH_$(BUILDID):%=-I %) unbundleds/$(@:
%.import=%)`

this produced a bunch of '-j <foo>' arguments, containing the packages
listed in the unbundleds/Clusters file.  With -j specified, importer.py
interprets the remaining non-option arguments as manifest files to be
scanned, as above.

Without -j options, the first non-option argument is the manifest file
to read, with the rest of the items being a list of package names to
import.  As I'm taking out the backticked importer command[1], that's
how we were interpreting the command line, and nothing was being
imported (none of unbundleds/ClusterTools, unbundleds/ClusterTools8,
etc. are package names)

I've updated the webrev at:
http://cr.opensolaris.org/~timf/10748-webrev/

        cheers,
                        tim

[1] we're using -R, referring to a repo that will have the unbundled
targets imported, so to no need to build up the picture of the packages
a given cluster could depend on from manifest files - we now get this
from the ref_uri.

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

Reply via email to