<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Am 16.12.21 um 17:11 schrieb clark k
weeks:<br>
</div>
<blockquote type="cite"
cite="mid:F9C4F574-2C05-4C18-8BE0-F84D6EF95465@mmx3.net">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
line-break: after-white-space;" class="">
<div class="">Greetings,</div>
</div>
</blockquote>
<p>Welcome to OpenIndiana!</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:F9C4F574-2C05-4C18-8BE0-F84D6EF95465@mmx3.net">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
<div class="">I am brand new to OpenIndiana (and solaris of any
kind) so my nomenclature may not be completely correct. I will
accept any help.</div>
<div class=""><br class="">
</div>
<div class="">Reading from <a
href="https://github.com/OpenIndiana/oi-userland#readme:"
class="moz-txt-link-freetext" moz-do-not-send="true">https://github.com/OpenIndiana/oi-userland#readme:</a> The
very beginning is titled "<font class="" color="#24292f"><span style="caret-color: rgb(36, 41, 47); white-space: pre-wrap;" class="">Getting started with the Userland Consolidation<font style="font-size: 12px;" class="" face="ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace">”</font></span></font>
</div>
<div class="">and if I'm reading it correctly it suggests to</div>
</div>
</blockquote>
<p>The readme seems to be outdated. In fact I haven't noticed it
yet. Please follow our documentation at <a
class="moz-txt-link-freetext"
href="http://docs.openindiana.org/dev/userland/">http://docs.openindiana.org/dev/userland/</a></p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:F9C4F574-2C05-4C18-8BE0-F84D6EF95465@mmx3.net">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
line-break: after-white-space;" class="">
<div class=""> </div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>git
clone <a href="https://github.com/OpenIndiana/oi-userland.git" style="caret-color: rgb(36, 41, 47); white-space: pre-wrap; box-sizing: border-box; color: var(--color-accent-fg); text-decoration: none;" class="moz-txt-link-freetext" moz-do-not-send="true">https://github.com/OpenIndiana/oi-userland.git</a><span style="caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); white-space: pre-wrap;" class=""> /scratch/clone</span></div>
<div class=""><span style="caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre-wrap;" class="">
</span></div>
<div class=""><br class="">
</div>
<div class="">I actually cloned it to /usr/src instead of
/scratch/clone. (I hope that was not an error.)<br>
</div>
</div>
</blockquote>
<p> No, this wasn't the cause of the error. You just decided to name
your local clone to have a different name than the readme
proposes.</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:F9C4F574-2C05-4C18-8BE0-F84D6EF95465@mmx3.net">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
<div class="">The next thing the README file suggests is to cd
to the components directory in the clone, then run, “make
download”. When I executed that command it trudged on for
hours and ended with the following:</div>
</div>
</blockquote>
This is in my opinion a bad suggestion. It advises the system to
download all sources for all package definitions which probably will
talk a lot of time and space. Plus, it's not necessary at all
because when you run "gmake build" (or one of the other possible
make targets)<br>
it will do whatever is necessary to get there. So, in fact the first
step you should do after the initial cloning is to run "gmake setup"
in the main folder and probably also in components/encumbered.<br>
To be successful you'll need to have sufficient rights and have
installed at least the "build-essential" package (pfexec pkg install
-v build-essential). It is also recommended to have your build
system up-to-date (pfexec pkg update -v) and if necessary rebooted
after the update.<br>
It is necessary to reboot if a new boot environment has been created
by running pkg update.<br>
<p>I recommend to try to build existing packages before trying to
update any package sources or add new ones. You can enter a folder
of an interesting package, eg. by<br>
cd components/developer/git<br>
gmake build<br>
</p>
This will automatically install missing packages needed for the
build and then download git's source packages and starts to build
everything. When this ends successfully you have a good starting
point :)<br>
"gmake publish" will create a package and puts it into your local
package repository (this is created by the aforementioned "gmake
setup).<br>
The oi-userland repository contains additional documentation in its
doc folder. You should start reading there, too.<br>
<br>
<blockquote type="cite"
cite="mid:F9C4F574-2C05-4C18-8BE0-F84D6EF95465@mmx3.net">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding:
0px;" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">Source
/usr/share/src/oi-userland/archives/splix-315.tar.bz2... </span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">
validating signature... skipping (no signature URL)</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">
validating hash... corruption detected</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">
expected:
sha256:43f61ec33006a77b508c65765cf9295bc7d6258fbf3ef37ff3d23dc4e7df0375</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">
actual:
sha256:ce5d148b7966c9844311d1c2ece2a8ef386e87778a8a2bedf2c2d8355cb9d08a</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">
payload:
sha256:0eba76cd8d9af67992233da1ae1eda773a306d5578ad8b5e9e99f1b15dcecccd</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo; min-height: 21px;" class=""><span
style="background-color: rgb(255, 255, 255);" class=""><br
class="">
</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">WARN:
Removing the corrupt downloaded file</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">Source
SVN... not found, skipping file copy</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">Source <a
href="http://dlc.openindiana.org/oi-userland/source-archives/splix-315.tar.bz2"
class="moz-txt-link-freetext" moz-do-not-send="true">http://dlc.openindiana.org/oi-userland/source-archives/splix-315.tar.bz2</a>... </span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">
downloading... </span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">
validating signature... skipping (no signature URL)</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">
validating hash... corruption detected</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">
expected:
sha256:43f61ec33006a77b508c65765cf9295bc7d6258fbf3ef37ff3d23dc4e7df0375</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">
actual:
sha256:ce5d148b7966c9844311d1c2ece2a8ef386e87778a8a2bedf2c2d8355cb9d08a</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">
payload:
sha256:0eba76cd8d9af67992233da1ae1eda773a306d5578ad8b5e9e99f1b15dcecccd</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo; min-height: 21px;" class=""><span
style="background-color: rgb(255, 255, 255);" class=""><br
class="">
</span></div>
</div>
</blockquote>
</div>
</blockquote>
Downloading from dlc.openindiana.org is a bad sign. It's our last
resort if the original package source isn't available.<br>
A sha256 mismatch is another problem and can have several reasons,
one of them the archive being hijacked. Typically this happens when
the package have been changed after we have calculated its checksum.<br>
But splix is one of the very special source packages: it will be
dynamically built by downloading its contents from a subversion
repository. If your workstation is set up properly it should have
subversion installed and immediately starts downloading the sources
by means of svn.<br>
In your case I expect that installing the build-essential package
will cure this problem.<br>
<br>
<blockquote type="cite"
cite="mid:F9C4F574-2C05-4C18-8BE0-F84D6EF95465@mmx3.net">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
line-break: after-white-space;" class="">
<blockquote style="margin: 0 0 0 40px; border: none; padding:
0px;" class="">
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo; min-height: 21px;" class=""><span
style="background-color: rgb(255, 255, 255);" class="">
</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">WARN:
Removing the corrupt downloaded file</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">/bin/bash:
line 1: /usr/bin/svn: No such file or directory</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">gmake[1]:
***
[/usr/share/src/oi-userland/make-rules/prep-svn.mk:81:
/usr/share/src/oi-userland/archives/splix-315.tar.bz2]
Error 127</span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures;
background-color: rgb(255, 255, 255);" class="">gmake:
*** [Makefile:183:
/usr/share/src/oi-userland/components/print/splix.nosetup]
Error 2</span></div>
</div>
</blockquote>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; font-family: Menlo; min-height: 21px;" class=""><span
style="background-color: rgb(255, 255, 255);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class=""></span></span></div>
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height:
normal; min-height: 21px;" class=""><font class=""
face="Menlo">It occurred that the download of the file may
not have completed properly, so, from the line, "</font><span
style="background-color: rgb(255, 255, 255);" class=""><font
class="" face="Menlo">Source <a
href="http://dlc.openindiana.org/oi-userland/source-archives/splix-315.tar.bz2"
class="moz-txt-link-freetext" moz-do-not-send="true">http://dlc.openindiana.org/oi-userland/source-archives/splix-315.tar.bz2</a>…”,
I abstracted the full URL, "</font></span><span
style="background-color: rgb(255, 255, 255);" class=""><a
href="http://dlc.openindiana.org/oi-userland/source-archives/splix-315.tar.bz2"
style="font-family: Menlo;"
class="moz-txt-link-freetext" moz-do-not-send="true">http://dlc.openindiana.org/oi-userland/source-archives/splix-315.tar.bz2</a><font
class="" face="Menlo">”, cd’d to "</font></span><font
style="background-color: rgb(255, 255, 255);" class="">/usr/share/src/oi-userland/archives<font
class="" size="4"><span style="caret-color: rgb(255,
255, 255);" class="">” (which is where other </span></font></font><font
class="" size="4"><span style="caret-color: rgb(255, 255,
255);" class="">downloads were being deposited). Cd’d
back to </span></font>/usr/src/oi-userland/components.
and again executed “gmake downloads” which also ended with
the same result as before.</div>
</div>
<div style="margin: 0px; font-stretch: normal; line-height:
normal; min-height: 21px;" class=""><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height:
normal; min-height: 21px;" class="">So, my question is, is the
source file “splix-315.tar.bz2” actually corrupted? Is it not
the file it should actually be? Or, did I do something wrong?</div>
<div style="margin: 0px; font-stretch: normal; line-height:
normal; min-height: 21px;" class=""><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height:
normal; min-height: 21px;" class="">Any help would be
appreciated.</div>
<div style="margin: 0px; font-stretch: normal; line-height:
normal; min-height: 21px;" class=""><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height:
normal; min-height: 21px;" class="">Thank you,</div>
</div>
<br>
</blockquote>
Regards,<br>
Andreas<br>
</body>
</html>