Hi Danek,

On Thu, 2010-07-22 at 11:44 -0700, Danek Duvall wrote:
> The failures from the automated build server is ticking me off, so I filed
> a bug:
> 
>     16626 package build fails prior to build 143
>     https://defect.opensolaris.org/bz/show_bug.cgi?id=16626
> 
> the proposed patch is in the bug, if someone would like to review it.

Drew was running into this on an nv_136 system. I applied your suggested
fix.  It fails when we get to regenerating the search indices as we're
still trying to call /usr/lib/pkg.depotd from the machine rather than
the proto area.

.
.
pkg://pkg5-nightly/system/zones/brand/[email protected],5.11-0.145:20100722T191127Z
PUBLISHED
touch pkgtmp/system%2Fzones%2Fbrand%2Fipkg.pub
/usr/lib/pkg.depotd -d /home/admin/pkg5-gate/src/pkg/../../packages/i386/repo 
--add-content --exit-ready
Traceback (most recent call last):
  File "/usr/lib/pkg.depotd", line 98, in <module>
    from pkg.misc import port_available, msg, emsg, setlocale
ImportError: cannot import name port_available
*** Error code 1
make: Fatal error: Command failed for target `repository-metadata'
Current working directory /home/admin/pkg5-gate/src/pkg
*** Error code 1
The following command caused the error:
cd pkg; pwd; make install check \
        PATH=$(hg root)/proto/root_$(uname -p)/usr/bin:$PATH \
        PYTHONPATH=$(hg root)/proto/root_$(uname 
-p)/usr/lib/python2.6/vendor-packages
make: Fatal error: Command failed for target `packages'


Could we instead do something like

@@ -85,7 +85,7 @@
 
 # Finalize the repository
 repository-metadata: publish-pkgs
-       /usr/lib/pkg.depotd -d $(PKGDEST)/repo --add-content --exit-ready
+       $(PKGROOT)/usr/lib/pkg.depotd -d $(PKGDEST)/repo --add-content 
--exit-ready
 
 publish-pkgs: $(PKGDEST)/repo .WAIT $(PUBLIFESTS)

        cheers,
                        tim
 


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

Reply via email to