<div dir="ltr"><div>Troy,</div><div><br></div><div>I have had issues with getting SSH working in the pcc64le system, which means Vagrant won't work. But I can bring up a Rawhide VM with the following steps:</div><div><br></div><div>1: Download the qcow2 image from from here: <a href="https://download-ib01.fedoraproject.org/pub/fedora-secondary/development/rawhide/Cloud/ppc64le/images/">https://download-ib01.fedoraproject.org/pub/fedora-secondary/development/rawhide/Cloud/ppc64le/images/</a></div><div></div><div>2: Install the necessary utilities: sudo dnf install genisoimage cloud-utils qemu-system-ppc-core</div><div>3: Create a file (I call mine config.yaml) with the following content:
<a href="https://gist.github.com/greg-hellings/5f8b38f12892260df14b4e512185048e">https://gist.github.com/greg-hellings/5f8b38f12892260df14b4e512185048e</a></div><div>4: Converge config.yaml to config.iso: cloud-localds config.iso config.yaml</div><div>5: Boot VM: qemu-system-ppc64 -m 2048 -smp 2 -machine pseries -cpu power8 -hda <qcow2 image> -cdrom config.iso</div><div>6: Login to the system with the username "vagrant" and password "vagrant".</div><div><br></div><div>That seems to get me into a system where I can login directly. I still haven't figured out why SSH with password auth doesn't work, although everything seems to indicate it should be. That should get you into the latest Rawhide environment to see what's happening on that platform.</div><div><br></div><div>--Greg<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 21, 2019 at 2:27 PM Greg Hellings <<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 21, 2019 at 1:07 PM Troy A. Griffitts <<a href="mailto:scribe@crosswire.org" target="_blank">scribe@crosswire.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Well, this sounds cool. Thank you for opening the world of
Vagrant to me. I think I am doing this right. I have run the
commands and am waiting with this as my last output:</p></div></blockquote><div>Vagrant is a whole world of amazing things, that can really make working with VMs easier, once everything works right. I use it extensively when I need to test things on RHEL, CentOS, different flavors of Fedora, Ubuntu, etc. It's easiest when backed by Virtual Box, as that is the default provider for people on Mac and Windows and many who run on Linux. But many other VM providers can be used: libvirt, OpenStack, Hyper-V, VMWare, etc. It's a great way to manage your VMs.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
<p>==> default: -- Graphics Type: vnc<br>
==> default: -- Graphics Port: -1<br>
==> default: -- Graphics IP: 127.0.0.1<br>
==> default: -- Graphics Password: Not defined<br>
==> default: -- Video Type: cirrus<br>
==> default: -- Video VRAM: 9216<br>
==> default: -- Sound Type: <br>
==> default: -- Keymap: en-us<br>
==> default: -- TPM Path: <br>
==> default: -- INPUT: type=mouse, bus=ps2<br>
==> default: Creating shared folders metadata...<br>
==> default: Starting domain.<br>
==> default: Waiting for domain to get an IP address...<br>
</p>
<p>It's been sitting there for quite some time and an htop shows 2
of my cores spinning at 100% occupied by qemu...</p>
<p>I noticed the vnc reference at localhost and tried to connect to
that and sure enough, I get connected to a boot screen which last
says:</p>
<p>Booting from Hard Disk...</p>
<p>But nothing else happens? Should I keep waiting? Do I need to
escalate permissions to root? Do I need to add my username to
some new vagrant group? Do I need to reboot my box for my dnf
install stuff to "take"? Any advice would be appreciated.
Looking forward to adding this to my toolbox once I learn.</p></div></blockquote><div>Shoot. The box stopped there for me, too, and I assumed it was because I am currently at my mom's and I'm not on my local network. More likely this is because the box wasn't configured exactly correctly by the people who created it. I'll see if there's anything I can do to fix that.</div><div><br></div><div>--Greg<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
<p>Troy<br>
</p>
<p><br>
</p>
<div class="gmail-m_1520899189924214065gmail-m_-8674451257055053576moz-cite-prefix">On 7/20/19 9:28 PM, Greg Hellings
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div><a href="https://app.vagrantup.com/ppc64le/boxes/fedora30" target="_blank">https://app.vagrantup.com/ppc64le/boxes/fedora30</a></div>
<div><br>
</div>
<div>That should allow you to bring up a local VM with Fedora 30
on ppc64le using Vagrant. Only works on systems with a libvirt
backend to Vagrant (sudo dnf install vagrant vagrant-libvirt
should do the trick on a Fedora workstation, followed by
"vagrant up --provider=libvirt" if it doesn't default to that
provider on a standard "vagrant up").</div>
<div><br>
</div>
<div>The build error was in Rawhide, though, and seems to have
been due to changes in the headers. Errors from a similar
cause have come and gone from time to time in the past.
Sometimes they come and go in automated builds in a transient
manner. I don't know if you'll see it when you try or not when
you try.<br>
</div>
<div><br>
</div>
<div>--Greg<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Jul 20, 2019 at 10:36
PM Troy A. Griffitts <<a href="mailto:scribe@crosswire.org" target="_blank">scribe@crosswire.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Anyone
have access to a PPC64LE box I can play on?<br>
<br>
On 7/18/19 12:04 AM, Jaak Ristioja wrote:<br>
> Yes, it is a sizeable patch. Although there might be
hacks around this<br>
> issue, getting rid of the reserved identifiers and using
the fixed-width<br>
> types from <cstdint> seems to be the correct
approach to take.<br>
><br>
> I'm not even sure the patch applies correctly to Sword
SVN trunk, but<br>
> since this issue has long been fixed in Sword++, I
referred to this<br>
> commit in hopes to accelerate this getting fixed for
Sword as well. I<br>
> think it would not benefit anyone if Sword was left
failing on Fedora<br>
> rawhide.<br>
><br>
><br>
> +Jaak<br>
><br>
><br>
> On 18.07.19 06:47, Greg Hellings wrote:<br>
>> That is a rather sizeable patch. I don't want to just
apply it wholesale to<br>
>> the Sword engine without some input from people who
know more about the<br>
>> code than I do. It should, however, be workable if
Troy doesn't have a more<br>
>> permanent fix in mind.<br>
>><br>
>> --Greg<br>
>><br>
>> On Wed, Jul 17, 2019 at 4:52 PM Jaak Ristioja <<a href="mailto:jaak@ristioja.ee" target="_blank">jaak@ristioja.ee</a>> wrote:<br>
>><br>
>>> In Sword++ we fixed [1] this by using the
fixed-width integer types<br>
>>> provided by <cstdint>. Note also that some
certain names containing<br>
>>> underscores are reserved to the C++
implementation [2], e.g. names<br>
>>> beginning with underscores and names containing
adjacent underscores.<br>
>>><br>
>>><br>
>>> Best regards,<br>
>>> Jaak<br>
>>><br>
>>><br>
>>> [1]: Feel free to integrate<br>
>>><br>
>>> <a href="https://github.com/swordxx/swordxx/commit/3934674fd8db1302c7777c323c0a56235292d6d7" rel="noreferrer" target="_blank">https://github.com/swordxx/swordxx/commit/3934674fd8db1302c7777c323c0a56235292d6d7</a><br>
>>> back to Sword. In Sword++ most of these type
names were later prefixed<br>
>>> with std::, e.g. std::uint64_t instead of plain
uint64_t.<br>
>>><br>
>>> [2]: See <a href="https://stackoverflow.com/a/228797" rel="noreferrer" target="_blank">https://stackoverflow.com/a/228797</a>
for a good summary on this.<br>
>>><br>
>>><br>
>>> On 17.07.19 17:52, Greg Hellings wrote:<br>
>>>> I got an automated report this week that
Sword 1.8.1 has begun failing to<br>
>>>> build on ppc64le architecture with type
redefinition errors. The errors<br>
>>> are<br>
>>>> reported here: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1730318" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1730318</a><br>
>>>><br>
>>>> To copy from that link, the relevant error
is:<br>
>>>><br>
>>>> /usr/include/asm-generic/int-l64.h:29:25:
error: conflicting<br>
>>>> declaration 'typedef long int __s64'<br>
>>>> 29 | typedef __signed__ long __s64;<br>
>>>> | ^~~~~<br>
>>>><br>
>>>> /usr/include/asm-generic/int-l64.h:30:23:
error: conflicting<br>
>>>> declaration 'typedef long unsigned int __u64'<br>
>>>> 30 | typedef unsigned long __u64;<br>
>>>> | ^~~~~<br>
>>>><br>
>>>> I try to shy away from knowing too much about
C's typing system. I can<br>
>>>> easily locate the places in our code where we
are defining those types<br>
>>>> ourself. However, I don't want to mess up
proper detection and<br>
>>>> definition of them in a patch if I can help
it.<br>
>>>><br>
>>>> --Greg<br>
>>>><br>
>>>><br>
>>>>
_______________________________________________<br>
>>>> sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
>>>> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
>>>> Instructions to unsubscribe/change your
settings at above page<br>
>>>><br>
>>><br>
>>> _______________________________________________<br>
>>> sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
>>> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
>>> Instructions to unsubscribe/change your settings
at above page<br>
>>><br>
>><br>
>> _______________________________________________<br>
>> sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
>> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
>> Instructions to unsubscribe/change your settings at
above page<br>
>><br>
><br>
> _______________________________________________<br>
> sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
> Instructions to unsubscribe/change your settings at above
page<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote>
</div>
<br>
<fieldset class="gmail-m_1520899189924214065gmail-m_-8674451257055053576mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_1520899189924214065gmail-m_-8674451257055053576moz-quote-pre">_______________________________________________
sword-devel mailing list: <a class="gmail-m_1520899189924214065gmail-m_-8674451257055053576moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a>
<a class="gmail-m_1520899189924214065gmail-m_-8674451257055053576moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
</div>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page</blockquote></div></div>
</blockquote></div>