Ouch, yes, my disastrous typo in the repository name, sorry. (The first time I 
tried, without using "sudo su -“, I had copied the “echo rsync” command 
directly from the https://www.openmodelica.org/download/download-mac 
<https://www.openmodelica.org/download/download-mac> instructions. But the 
second time, using "sudo su -“ I just typed the command, clearly a mistake. 

Now the sync with that repository has completed successfully, I’m watching the 
long installation process proceed.

(Using openmodelica will be an adventure, as I intend to use it as a source of 
models I can then import into Wolfram Mathematica and simulate there —  without 
having to acquire the expensive Wolfram SystemModeler.)


> On 7 Apr2018, at 2:57 PM, Ryan Schmidt <ryandes...@macports.org> wrote:
> 
> On Apr 7, 2018, at 13:56, Murray Eisenberg wrote:
> 
>> On 7 Apr2018, at 2:51 PM, Ryan Schmidt wrote:
>> 
>>> On Apr 7, 2018, at 13:50, Murray Eisenberg wrote:
>>> 
>>>> What’s happening now is befuddling to me. Doing the step 
>>>> 
>>>>  echo rsync://build.openmodelica.org/macports/ >> 
>>>> /opt/local/etc/macports/sources.conf
>>>> 
>>>> as root (sudo su - ) seems to have worked, as 
>>>> /opt/local/etc/macports/sources.conf now ends with:
>>>> 
>>>>  rsync://rsync.macports.org/release/tarballs/ports.tar [default]
>>>>  rsync://build-openmodelica.org/macports/
>>>> 
>>>> However, continuing as root, doing the step  
>>>> 
>>>>   port selfupdate
>>>> 
>>>> gives:
>>>> 
>>>>   Error: Synchronization of the local ports tree failed doing rsync
>>> 
>>> Use the -v flag to get more information about why it failed:
>>> 
>>> sudo port -v selfupdate
>> 
>> The verbose flag on selfupdate shows that rsync-ing 
>> rsync.macports.org/release/tarballs/ports.tar is OK, but then...
>> 
>> Synchronizing local ports tree from rsync://build-openmodelica.org/macports/
>> rsync: getaddrinfo: build-openmodelica.org 873: nodename nor servname 
>> provided, or not known
>> rsync error: error in socket IO (code 10) at 
>> /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-52/rsync/clientserver.c(106)
>>  [receiver=2.6.9]
>> Command failed: /usr/bin/rsync -rtzvl --delete-after  
>> '--exclude=/PortIndex*' rsync://build-openmodelica.org/macports/ 
>> /opt/local/var/macports/sources/build-openmodelica.org/macports
>> Exit code: 10
>> Error: Synchronization of the local ports tree failed doing rsync
> 
> Well it should be build.openmodelica.org not build-openmodelica.org.
> 

---
Murray Eisenberg                        murrayeisenb...@gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667        Mobile (413)-427-5334


Reply via email to