<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Christopher,<br>
<br>
the changing networks may play a part in this problem. Did I
already sometime earlier ask you to modify your Mac's /etc/hosts
file?<br>
<br>
It has helped in some cases to add the name for the MerSDK virtual
machine to /etc/hosts like this:<br>
<br>
127.0.0.1 SailfishSDK<br>
<br>
Or if you already have the 127.0.0.1 there, just add the
SailfishSDK to the end of the existing line like this:<br>
<br>
127.0.0.1 localhost.localdomain localhost SailfishSDK<br>
<br>
Could you try this and let me know if there's any improvement? If
you already have it there.. well then we'll have to think of
something else. VirtualBox has some DNS related settings like
these:<br>
<p><code class="computeroutput">--natdnsproxy<1-N> on|off</code>:
This option makes the NAT engine proxy all guest DNS requests to
the host's DNS servers<code class="computeroutput"><br>
</code></p>
<p><code class="computeroutput">--natdnshostresolver<1-N>
on|off</code>: This option makes the NAT engine use the host's
resolver mechanisms to handle DNS requests</p>
Of these we use the "--natdnshostresolver1 on" in MerSDK and the
Emulator.<br>
<br>
The options are documented here:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvm">http://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvm</a><br>
<br>
The rpmbuild command does a DNS query in the place where the
failure is in your log. Usually it just prints out:<br>
<br>
<meta name="qrichtext" content="1">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--><span
style=" color:#be1414;">"warning: Could not canonicalize
hostname: SailfishSDK"</span><!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
Which is fine.. but in some networks that bit can cause a failure.
In those cases modifying the /etc/hosts file has helped.<br>
<br>
Best regards,<br>
Juha<br>
<br>
On 03.06.2014 10:24, Christopher Lamb wrote:<br>
</div>
<blockquote cite="mid:538D7817.5020609@thurweb.ch" type="cite">Hi
Saija
<br>
<br>
In my case restarting the VMs does not help. I think (from memory)
that rebooting the whole laptop does help.
<br>
<br>
It is possible that the same reported error may have a number of
different causes - in my case it seems to be when my development
host loses its network connection (though as with all sporadic
problems it is difficult to be sure).
<br>
<br>
Thanks
<br>
<br>
Chris
<br>
On 03.06.14 09:02, Saija Saarenpää wrote:
<br>
<blockquote type="cite">I get the same error often when developing
with Windows 8 64-bit, never on Mac OSX 10. They are both always
connected to the (same) network. It helps to close and open the
virtual machine, the it stays reachable for another while once
it does the same again.
<br>
<br>
- Saija
<br>
<br>
Lähetetty iPadista
<br>
<br>
<blockquote type="cite">"Christopher Lamb"
<a class="moz-txt-link-rfc2396E" href="mailto:christopher.lamb@thurweb.ch"><christopher.lamb@thurweb.ch></a> kirjoitti 3.6.2014 kello
9.58:
<br>
<br>
Hi Jarko
<br>
<br>
Still on the train, now with the Jolla Wifi Hotspot active,
and I can build without problems.
<br>
<br>
This indicates that I get the problem when no network is
connected. In this case I am deploying to the Emulator, so no
network should be required ....
<br>
<br>
Grüsse
<br>
<br>
Chris
<br>
<br>
<blockquote type="cite">On 02.06.14 10:23, Jarko Vihriala
wrote:
<br>
journalctl -fa
<br>
</blockquote>
_______________________________________________
<br>
SailfishOS.org Devel mailing list
<br>
To unsubscribe, please send a mail to
<a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a>
<br>
</blockquote>
_______________________________________________
<br>
SailfishOS.org Devel mailing list
<br>
To unsubscribe, please send a mail to
<a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
SailfishOS.org Devel mailing list
<br>
To unsubscribe, please send a mail to
<a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br>
</blockquote>
<br>
</body>
</html>