On 08/15/12 14:13, Stephen Talley wrote:
I'm trying to set up a build machine for userland.

First, is there an equivalent to developer/opensolaris/osnet for
userland?

no.


Next, following the README:

     % cd (workspace)
     % hg update s11-update
     % cd components
     % gmake setup
     % cd visual-panels
     % gmake publish

that should work.


The "setup" completes without error, but "publish" in any component
directory (I tried "gtar" as well as "visual-panels") ends with a
pkgsend error:

     % gmake publish
     publish core
     gmake[1]: Entering directory 
`/data/workspaces/userland-7190471/components/visual-panels/core'
     /usr/bin/pkgsend -s file:/data/workspaces/userland-7190471/i386/repo 
publish --fmri-in-manifest -d 
/data/workspaces/userland-7190471/components/visual-panels/core/build/prototype/i386/mangled
 -d 
/data/workspaces/userland-7190471/components/visual-panels/core/build/prototype/i386
 -d /data/workspaces/userland-7190471/components/visual-panels/core/build -d 
/data/workspaces/userland-7190471/components/visual-panels/core -d src -T \*.py 
/data/workspaces/userland-7190471/components/visual-panels/core/build/manifest-i386-system-management-visual-panels-core.depend.res
     pkgsend: 'open' failed; unable to initiate transaction:
     This operation requires that a default publisher has been set or that a 
publisher be specified in the FMRI 
'pkg:/system/management/[email protected],5.11-5.12.0.0.0.3.0'.

that's strange, as those are the s12 pkg versions, not the s11-update branch pkg versions. still, it should have worked. had you maybe built this before switching branches, and didn't clobber
(and probably wipe your repo? in between? I would expect to have to do that.

     gmake[1]: *** 
[/data/workspaces/userland-7190471/components/visual-panels/core/build/manifest-i386-system-management-visual-panels-core.published]
 Error 1
     gmake[1]: Leaving directory 
`/data/workspaces/userland-7190471/components/visual-panels/core'
     gmake: *** [core] Error 2

Nothing in the pkgsend man page mentions a default publisher.

On coupe and kodiak, the builds complete successfully.  What's
different on my build machine?

is it the same workspace too? or was it perhaps new workspaces on those machines but an existing one on yours? I can't imagine that the current publishers on the system might affect the build like this, but maybe check 'pkg publisher' just in case?

    Mike


Thanks,

Steve

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

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

Reply via email to