Project

General

Profile

Bug #5248

incorrect branch number for SUNWlibm and SUNWlibms

Added by Ryan Zezeski about 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
2014-10-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

While trying to build illumos-gate the onu (usr/src/tools/scripts/onu)
would fail because my new osnet-incorporation could not meet its
required dependencies:

rpz@oioi:~$ sudo pkg update -nv
Password:
Creating Plan /
pkg update: No solution was found to satisfy constraints
Plan Creation: Package solver has not found a solution to update to latest available versions.
This may indicate an overly constrained set of packages are installed.

latest incorporations:

pkg:,5.11-0.151.1.9:20140117T203708Z
pkg:,5.11-0.151.1.9:20140117T204511Z
pkg:,5.11-0.151.1.9:20140117T203708Z
pkg:,5.11-0.151.1.9:20140117T203708Z
pkg:,5.11-0.151.1.9:20140117T204518Z
pkg:,5.11-0.151.1.9:20140117T203708Z
pkg:,5.11-0.151.1.9:20140117T204510Z
pkg:,5.11-0.151.1.9:20140117T204514Z
pkg:,5.11-0.151.1.9:20140117T203708Z
pkg:,5.11-0.151.1.9:20140117T204512Z
pkg:,5.11-0.151.1.9:20140117T204519Z
pkg:,5.11-0.151.1.9:20140117T203708Z

The following indicates why the system cannot update to the latest version:

No suitable version of required package pkg:,5.11-0.151.2.0:20141020T062424Z found:
Reject: pkg:,5.11-0.151.2.0:20141020T062424Z
Reason: A version for 'incorporate' dependency on pkg:,5.11-0.132 cannot be found

The recent libm commit (25c28e83beb90e7c80452a7c818c5e6f73a07dc8)
added SUNWlibm and SUNWlibms manifests with a branch number of 0.132.
These manifests are sucked up into the generated osnet-incorporation
and thus are required to be there. However, the OI dev repo (which is
was OI 151a8 uses) already includes SUNWlibm(s) with branch number
0.133 and they are installed. Thus, when pkg update runs it doesn't
see that the new repo (on-nightly) includes SUNWlibm(s) 0.132 because
it is shadowed by the already installed 0.133 from OI.

I worked around this by simply making the SUNWlibm(s) versions equal
to $(PKGVERS) but while discussion this in #illumos JT-EC pointed out
that it should just be 0.133 in all repos as that is the branch name
that indicates the transitions from SVR4 to IPS:

JT-EC: That's wrong. Should just be s/132/133
[12:23pm] rzezeski: another idea might be to make it so they are not incorporated
[12:23pm] rzezeski: AFAICT they should only be there for old packages that still rely on that name???
[12:23pm] rzezeski: JT-EC: okay
[12:23pm] rzezeski: so all IPS based distros out there are at 133?
[12:24pm] JT-EC: No, all of them are at whatever they choose to be at. That's an obsoletion or rename that happened at a point in history. The point in history doesn't change
[12:25pm] JT-EC: There was a mass renaming of packages from the old SVR4 format of SUNWblah to the new IPS scheme of foo/bar/blah at version 133.
rzezeski: JT-EC: okay, well if for some reason another distro decided to bumb that branch then illumos-gate would fail to build on that distro
[12:26pm] rzezeski: as it would run into this problem again
[12:27pm] alanc: right - 133 was the last version of the SUNW* packages to be published, the point at which they all were renamed to the modern names
[12:27pm] JT-EC: No distro will change the version of SUNWlibm. It's fixed in history.

So, the illumos-gate SUNWlibm(s) manifests should have their branches
both bumped to 0.133.

History

#1

Updated by Ryan Zezeski about 5 years ago

Here is a better version of the transcript above:

JT-EC: That's wrong. Should just be s/132/133
rzezeski: another idea might be to make it so they are not incorporated
rzezeski: AFAICT they should only be there for old packages that still rely on that name???
rzezeski: JT-EC: okay
rzezeski: so all IPS based distros out there are at 133?
JT-EC: No, all of them are at whatever they choose to be at.  That's an obsoletion or rename that happened at a point in history.  The point in history doesn't change
JT-EC: There was a mass renaming of packages from the old SVR4 format of SUNWblah to the new IPS scheme of foo/bar/blah at version 133.
rzezeski: JT-EC: okay, well if for some reason another distro decided to bumb that branch then illumos-gate would fail to build on that distro
rzezeski: as it would run into this problem again
alanc: right - 133 was the last version of the SUNW* packages to be published, the point at which they all were renamed to the modern names
JT-EC: No distro will change the version of SUNWlibm.  It's fixed in history.
#2

Updated by Piotr Jasiukajtis about 5 years ago

  • Assignee set to Piotr Jasiukajtis
#3

Updated by Piotr Jasiukajtis about 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF