[OmniOS-discuss] [developer] FLAG DAY - 4719 affects nightly, package, and poold

Jim Klimov jimklimov at cos.ru
Wed May 6 21:35:52 UTC 2015


5 мая 2015 г. 19:32:17 CEST, Dan McDonald <danmcd at omniti.com> пишет:
>Illumos #4719 introduces a flag day for people who build illumos-gate.
>Starting now, you will need a Java Developers Kit (JDK) 7 or later.
>OpenIndiana 151a9 does NOT have this by default.  Builders must either
>set
>JAVA_ROOT to a source of JDK7, or must have /usr/java populated with
>JDK7.
>
>Users still on JDK6 will see build errors in the packaging portions
>like
>such:
>
>==== package build errors (non-DEBUG) ====
>
>dmake: Warning: Command failed for target
>`packages.i386/developer-dtrace.dep'
>dmake: Warning: Command failed for target
>`packages.i386/service-network-dns-mdns.dep'
>dmake: Warning: Target `install' not remade because of errors
>
>.  .  .
>
>
>These are due to javadoc changes between 6 and 7.  The dtrace and mdns
>packages generate javadoc, so their packaging manifests are updated to
>the 7
>versions.
>
>
>ALSO, because poold defines JAVA_ROOT in its binaries, you must set
>JAVA_ROOT
>when building poold to match the runtime java on your ONU or
>otherwised-packaged target.  For example, on my OI 151a9 test builder,
>I
>untarred an openjdk7 in /usr/jdk/instances/openjdk7/ and set
>JAVA_ROOT=/usr/jdk/instances/openjdk7/.
>
>
>IMPORTANT --> If you are an OI 151a9 user, and wish to use poold,
>installing
>openjdk7 in instances is not sufficient.  You will need to set
>/usr/java to
>point to the openjdk7 instance as well.  Illumos bug 5851 tracks this.
>
>
>This change is the last of several steps that will allow other
>platforms
>(like OmniOS, e.g.) to build stock illumos-gate.  I will post a
>separate note
>on building illumos-gate on OmniOS.
>
>
>Thanks to Richard PALO for creating these diffs in the first place.
>
>Thanks!
>Dan
>
>
>
>-------------------------------------------
>illumos-developer
>Archives: https://www.listbox.com/member/archive/182179/=now
>RSS Feed:
>https://www.listbox.com/member/archive/rss/182179/22416750-c03c8c44
>Modify Your Subscription:
>https://www.listbox.com/member/?member_id=22416750&id_secret=22416750-eb7e3ed7
>Powered by Listbox: http://www.listbox.com


Out of curiosity: Did you happen to check if the newer JDK magically solves the problem with Sun DHCP builds not producing functional bits of software for the past year or two?

Jim
--
Typos courtesy of K-9 Mail on my Samsung Android


More information about the OmniOS-discuss mailing list