Ah ha, so I can get it to install if I backout a change, details below. I'm not sure where this leaves the problem though?

Changing the s11u1b17 live-x86 iso image machine I installed that pointed to the fcs repo to point to the ipkg dev repo didn't help.

So I went back to a virtual machine I had already installed with s11u1b15 and had pkg update'd after the install to play around a bit more. libxml2 failed to install the same way complaining about the same stuff:
---
pkg install: No solution was found to satisfy constraints

maintained incorporations:

pkg://solaris/consolidation/gfx/[email protected],5.11-0.175.1.0.0.5.0:20111212T232623Z
{ . . . etc . }  and...

No suitable version of required package pkg://solaris/developer/build/[email protected],5.11-0.153:20101118T212848Z found: Reject: pkg://solaris/developer/build/[email protected],5.11-0.153:20101118T212848Z Reason: All acceptable versions of 'require' dependency on pkg:/runtime/python-24 are obsolete
  {etc...}
---

The machine has the entire pkg:
root@S11:~# pkg info entire
          Name: entire
       Summary: Incorporation to lock all system packages to the same build
   Description: This package constrains system package versions to the same
                build.  WARNING: Proper system update and correct package
                selection depend on the presence of this incorporation.
                Removing this package will result in an unsupported system.
      Category: Meta Packages/Incorporations
         State: Installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.1.0.0.17.0
Packaging Date: Tue May 29 23:24:58 2012
          Size: 5.46 kB
FMRI: pkg://solaris/[email protected],5.11-0.175.1.0.0.17.0:20120529T232458Z
root@S11:~#


Suspicious of recent changes I removed the change from libxml2's .p5m file for CR 7108059, basically commented out the depend lines and republished:

--- a/components/libxml2/libxml2.p5m    Thu Feb 23 15:58:00 2012 -0800
+++ b/components/libxml2/libxml2.p5m    Fri Feb 24 13:30:24 2012 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
 #

<transform file path=usr.*/man/.+ -> default mangler.man.stability committed>
@@ -123,3 +123,11 @@
 link path=usr/lib/libxml2.so target=./libxml2.so.2
 link path=usr/lib/libxml2.so.2 target=../../lib/libxml2.so.2
 link path=usr/lib/llib-lxml2.ln target=../../lib/llib-lxml2.ln
+
+depend fmri=library/python-2/libxml2-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
+    predicate=runtime/python-26 \
+    type=conditional
+
+depend fmri=library/python-2/libxml2-27@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
+    predicate=runtime/python-27 \
+    type=conditional



and it now installs fine:
root@S11:~# pkg install pkg://userland/library/libxml2
            Packages to update:   1
       Create boot environment:  No
Create backup boot environment: Yes

DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1         6/6      2.0/2.0

PHASE                                        ACTIONS
Removal Phase                                    6/6
Install Phase                                    3/3
Update Phase                                   17/17

PHASE                                          ITEMS
Package State Update Phase                       2/2
Package Cache Update Phase                       1/1
Image State Update Phase                         2/2
root@S11:~#


Where does this leave me? Is there still a p5m or packaging problem with libxml (those depend lines?) or should I have installed something else on my s11u1b17 machines before trying to install libxml2 I built (the complaints from pkg install didn't make it clear if that was the case?) or is something else going on here?

Thanks,
Kevin.



On 06/ 7/12 04:27 PM, Danek Duvall wrote:
Kevin Crowe wrote:

Interesting about the repo.  I just installed from an image from nana this
morning (I took the live-x86 iso from the s11.1/17/ directory) but I could
have sworn I installed from there before and it pointed to
ipkg.us.oracle.com/solaris11/dev/ ?  Maybe not?  Or maybe I used the 'full'
iso in the past?
I think the default installers set you up with the release repo, even
though the bits you just installed aren't present in that repo.  I didn't
think you'd just installed the machine.

Trying to update my publisher now to see if it helps...
That might make the difference; I'd definitely try that.

The output itself isn't terribly useful for solving this problem.  Looks
like most (if not all) of the things it's complaining about are obsolete or
renamed packages, and it's possible that's because it can't find the right
versions of them.

I'm a bit surprised it didn't say anything about libxml2 in there, though.
If you still get errors, you should try giving libxml2 the version you
built to force it to confront why it's unable to do the update.

Danek

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

Reply via email to