<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 02/07/2018 09:10 PM, Aurélien Larcher wrote:<br>
<blockquote type="cite"
cite="mid:CAHMq6q3Uq_s5r3PVB+_xrYZao3CDPKvA+1_sh01vL7PbqEdSEA@mail.gmail.com">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi everyone,<br>
</div>
we are happy to announce that a repository containing all
the oi-userland packages built with gcc 6.4.0 is now
available for testing.<br>
<br>
</div>
The repository is located at:<br>
<br>
<a href="http://pkg.openindiana.org/gcc-6/" target="_blank"
moz-do-not-send="true">http://pkg.openindiana.org/<wbr>gcc-6/</a><br>
<br>
</div>
It is synchronized with the latest oi-userland bits and
contains some minor updates.<br>
</div>
<div>While these packages have been tested for a few weeks now,
be aware that the repository should be used for evaluation
only (not in production).<br>
<br>
</div>
<div>Note that illumos-gate is still built with illumos-gcc
4.4.4.<br>
</div>
<div><br>
</div>
<div>To test this repository, we recommend that you create a new
Boot Environment (BE) and update manually this newly created
BE.<br>
<br>
</div>
<div>Assume the right credentials using sudo, or pfexec if you
have Software Installation profile: you need to add sudo or
pfexec before each of the following command lines.<br>
<br>
</div>
<div>$ beadm create 20180207-gcc6<br>
<br>
</div>
<div>with '20180207-gcc6' an arbitrary BE name.<br>
<br>
</div>
<div>$ beadm mount 20180207-gcc6<br>
Mounted successfully on: '/tmp/tmp.7mayXC'<br>
<br>
</div>
<div>with '/tmp/tmp.7mayXC' the mountpoint of the new BE.<br>
<br>
</div>
<div>Add the gcc-6 repository to the list of publishers and set
as preferred:<br>
</div>
<div><br>
$ pkg -R /tmp/tmp.7mayXC set-publisher -P -O <a
href="http://pkg.openindiana.org/gcc-6/" target="_blank"
moz-do-not-send="true">http://pkg.openindiana.org/<wbr>gcc-6/</a>
userland<br>
<br>
$ pkg -R /tmp/tmp.7mayXC set-publisher --non-sticky --disable
<a href="http://openindiana.org" moz-do-not-send="true">openindiana.org</a><br>
<br>
$ pkg -R /tmp/tmp.7mayXC publisher <br>
PUBLISHER TYPE STATUS P LOCATION<br>
userland origin online F <a
href="http://pkg.openindiana.org/gcc-6/" target="_blank"
moz-do-not-send="true">http://pkg.openindiana.org/<wbr>gcc-6/</a><br>
<a href="http://openindiana.org" moz-do-not-send="true">openindiana.org</a>
(non-sticky, disabled) origin online F <a
href="http://pkg.openindiana.org/hipster/" target="_blank"
moz-do-not-send="true">http://pkg.openindiana.org/<wbr>hipster/</a><br>
<br>
</div>
<div>Finally you can update the new BE:<br>
<br>
$ pkg -R /tmp/tmp.7mayXC update -v<br>
<br>
</div>
<div>Be aware that the update can make up to 3GB of data.<br>
<br>
</div>
<div>The created BE can be chosen manually at the next reboot,
or activated using:<br>
<br>
<div>$ beadm activate 20180207-gcc6</div>
</div>
<div><br>
</div>
<div>Please report any package dependency issue that may arise.<br>
<br>
</div>
<div>Happy testing!<br>
<br>
</div>
<div>Aurélien</div>
<br>
</div>
</blockquote>
Hi everyone and thanks Aurélien, Alp et al. for making this happen!<br>
<br>
I added support for additional repository to our openQA <a
moz-do-not-send="true"
href="https://github.com/OpenIndiana/os-autoinst-distri-openindiana/commit/bae6e14262634ad95198d37734c8e4ae7960865a">tests</a>
and updated several images which had default installation of Live,
Server, and Minimal variants from last three releases. Although I
haven't found any dependency issues, four of the seven updates
failed shortly after reboot to the new BE (which got created
automatically as part of the update process).<br>
<br>
<a moz-do-not-send="true"
href="https://openqa.oi.mnowak.cz/tests/2450">Live</a> and <a
moz-do-not-send="true"
href="https://openqa.oi.mnowak.cz/tests/2444">Server</a> variants
of 20161030 release failed with: "Unexpected trap. Unexpected trap.
Nested trap." (See the red-framed screen in each job run for the
error message; other screens and video in "Logs & Assets" might
be helpful too.)<br>
<br>
<a moz-do-not-send="true"
href="https://openqa.oi.mnowak.cz/tests/2449">Live</a> and <a
moz-do-not-send="true"
href="https://openqa.oi.mnowak.cz/tests/2445">Server</a> variants
of 20170502 release failed with:<br>
<br>
krtld: error during initial load/link phase<br>
krtld could neither locate nor resolve symbols for:<br>
/platform/i86pc/kernel/amd64/unix<br>
in the boot archive. Please verify that this file<br>
matches what is found in the boot archive.<br>
You may need to boot using the Solaris failsafe to fix this.<br>
<br>
All variants of the 20171031 release passes just fine: <a
moz-do-not-send="true"
href="https://openqa.oi.mnowak.cz/tests/2448">Live</a>, <a
moz-do-not-send="true"
href="https://openqa.oi.mnowak.cz/tests/2446">Server</a>, <a
moz-do-not-send="true"
href="https://openqa.oi.mnowak.cz/tests/2447">Minimal</a>.<br>
<br>
You can reproduce it by downloading the QCOW2 image from "Logs &
Assets" of a respective job and starting it on Linux KVM (I use QEMU
2.11.0) via:<br>
<br>
qemu-img create -f qcow2 OI-20170502-Server.qcow2 -b
<a class="moz-txt-link-abbreviated" href="mailto:openindiana-hipster-x86_64-20170502-Server@64bit.qcow2">openindiana-hipster-x86_64-20170502-Server@64bit.qcow2</a><br>
<br>
/usr/bin/qemu-system-x86_64 -soundhw ac97 -vga cirrus -global
isa-fdc.driveA= -m 3072 -cpu qemu64,+xsave -netdev user,id=qanet0
-device virtio-net,netdev=qanet0,mac=52:54:00:12:34:56 -device
virtio-blk,drive=hd1,serial=1 -drive
file=OI-20170502-Server.qcow2,cache=unsafe,if=none,id=hd1,format=qcow2
-boot order=c -device usb-ehci -device usb-tablet -smp 1 -enable-kvm<br>
<br>
OS credentials:<br>
User: robot<br>
User password: nots3cr3t (root via sudo is password-less)<br>
<br>
Michal<br>
</body>
</html>