none
Failed to download headers from directory: '/usr/include/arm-linux-gnueabihf' RRS feed

  • Question

  • I'm trying to download headers from my raspberry pi 3B+ running raspbian stretch. However, the downloading failed with error message " Failed to download headers from directory: '/usr/include/arm-linux-gnueabihf' ".

    This is "vslinux_header_update_log.txt" file.

    liblinux.IO.RsyncException: Failed to download headers from directory: '/usr/include/arm-linux-gnueabihf' .
       위치: liblinux.Services.RsyncRemoteCompilerIOImpl.<DownloadDirectoriesAsync>d__13.MoveNext()
    --- 예외가 throw된 이전 위치의 스택 추적 끝 ---
       위치: System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       위치: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       위치: liblinux.Services.RemoteCompiler.<DownloadSysrootAsync>d__152.MoveNext()
    --- 예외가 throw된 이전 위치의 스택 추적 끝 ---
       위치: System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       위치: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       위치: liblinux.Services.RemoteCompiler.<CreateSysrootAsync>d__186.MoveNext()
    --- 예외가 throw된 이전 위치의 스택 추적 끝 ---
       위치: System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       위치: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       위치: liblinux.Services.RemoteCompiler.<CreateLocalSysrootAsync>d__147.MoveNext()
    --- 예외가 throw된 이전 위치의 스택 추적 끝 ---
       위치: System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       위치: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       위치: System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       위치: Microsoft.VisualStudio.Linux.Package.Dialogs.HeaderUpdateDialog.<DownloadUpdateAsync>d__18.MoveNext()

    Here's the full logging. I emphasized the line where error occured at the bottom. 

    09:15:58.4413113 [Info, Thread 57] liblinux.RemoteSystemBase: Connecting over SSH to xxx.xxx.x.xxx:xxxxx
    09:15:59.5498776 [Info, Thread 57] liblinux.IO.RemoteFileSystemImpl: Connecting over SFTP to xxx.xxx.x.xxx:xxxxx
    09:16:00.3584932 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "cat /etc/os-release" finished with exit code 0 after 35.8916ms
    09:16:00.4830807 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "uname -m" finished with exit code 0 after 121.3692ms
    09:16:00.6100784 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "uname -r" finished with exit code 0 after 122.8048ms
    09:16:00.7590169 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "g++" finished with exit code 1 after 113.6806ms
    09:16:00.8880780 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "clang" finished with exit code 127 after 111.7078ms
    09:16:01.0150853 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "realpath -m -L clang" finished with exit code 0 after 121.6585ms
    09:16:01.1365696 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "clang++" finished with exit code 127 after 68.2316ms
    09:16:01.2708876 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "realpath -m -L clang++" finished with exit code 0 after 129.5231ms
    09:16:01.4389460 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "echo | g++ -x c -E -v -" finished with exit code 0 after 145.8438ms
    09:16:01.6809284 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "echo | g++ -x c++ -E -v -" finished with exit code 0 after 87.4556ms
    09:16:01.9979313 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "echo | g++ -x c -dM -E -" finished with exit code 0 after 89.1237ms
    09:16:02.1878743 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "echo | g++ -x c++ -dM -E -" finished with exit code 0 after 181.5866ms
    09:16:02.3359351 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "cat ~/.vcpkg/vcpkg.path.txt" finished with exit code 1 after 137.9185ms
    09:16:02.4665028 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "rsync --version" finished with exit code 0 after 123.8559ms
    09:16:02.6011412 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "cat /proc/net/tcp | awk '{gsub(/.*:/,"",$2); print $2}'" finished with exit code 0 after 77.9004ms
    09:16:02.7371748 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "netstat -tln | awk '{gsub(/.*:/,"",$4); print $4}'" finished with exit code 0 after 131.7216ms
    09:16:02.8576229 [Info, Thread 57] liblinux.Ssh.ShellStream: Writing "unset HISTFILE
    " to SSH shell
    09:16:02.9011736 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "mkdir -p $HOME/.vs/rsync/12284_5d72e030-baf7-4a1f-9f70-3f06dcb8d163/" finished with exit code 0 after 37.6857ms
    09:16:03.0161210 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "echo -e "pid file = $HOME/.vs/rsync/12284_5d72e030-baf7-4a1f-9f70-3f06dcb8d163/rsyncd.pid 
    lock file = $HOME/.vs/rsync/12284_5d72e030-baf7-4a1f-9f70-3f06dcb8d163/rsyncd.lock 
    log file = $HOME/.vs/rsync/12284_5d72e030-baf7-4a1f-9f70-3f06dcb8d163/rsyncd.log 
    port = 4444 
    use chroot = False 
    address = 127.0.0.1
    [temp] 
    path = /usr/lib/gcc/arm-linux-gnueabihf/6/include 
    comment =  
    read only = no 
    list = True 
    uid = pi 
    " > $HOME/.vs/rsync/12284_5d72e030-baf7-4a1f-9f70-3f06dcb8d163/rsyncd.conf" finished with exit code 0 after 112.9543ms
    09:16:03.0193129 [Info, Thread 57] liblinux.IO.RemoteRsyncDaemon: Rsync forwarding tunnel created with local port: 50758 and remote port: 4444
    09:16:03.0201233 [Info, Thread 57] liblinux.IO.RemoteRsyncDaemon: Rsync daemon start command line: rsync --daemon --port=4444 --config=$HOME/.vs/rsync/12284_5d72e030-baf7-4a1f-9f70-3f06dcb8d163/rsyncd.conf
    09:16:03.1331685 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "rsync --daemon --port=4444 --config=$HOME/.vs/rsync/12284_5d72e030-baf7-4a1f-9f70-3f06dcb8d163/rsyncd.conf" finished with exit code 0 after 110.8575ms
    09:16:03.2791763 [Info, Thread 57] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_5d72e030-baf7-4a1f-9f70-3f06dcb8d163" finished with exit code 0 after 142.7263ms
    09:16:04.4241148 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_5d72e030-baf7-4a1f-9f70-3f06dcb8d163" finished with exit code 0 after 95.3553ms
    09:16:05.5271707 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_5d72e030-baf7-4a1f-9f70-3f06dcb8d163" finished with exit code 0 after 98.9747ms
    09:16:05.8672227 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_5d72e030-baf7-4a1f-9f70-3f06dcb8d163" finished with exit code 0 after 53.526ms
    09:16:05.9891350 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "kill -9 2149" finished with exit code 0 after 119.009ms
    09:16:06.1051716 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "rm -rf '$HOME/.vs/rsync/12284_5d72e030-baf7-4a1f-9f70-3f06dcb8d163/'" finished with exit code 0 after 112.5195ms
    09:16:06.2241149 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "cat /proc/net/tcp | awk '{gsub(/.*:/,"",$2); print $2}'" finished with exit code 0 after 82.4639ms
    09:16:06.3701172 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "netstat -tln | awk '{gsub(/.*:/,"",$4); print $4}'" finished with exit code 0 after 140.4319ms
    09:16:06.5148459 [Info, Thread 10] liblinux.Ssh.ShellStream: Writing "unset HISTFILE
    " to SSH shell
    09:16:06.5568547 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "mkdir -p $HOME/.vs/rsync/12284_a509d235-3ed7-4e59-aa72-8b76e7d4a8b6/" finished with exit code 0 after 38.3888ms
    09:16:06.6767035 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "echo -e "pid file = $HOME/.vs/rsync/12284_a509d235-3ed7-4e59-aa72-8b76e7d4a8b6/rsyncd.pid 
    lock file = $HOME/.vs/rsync/12284_a509d235-3ed7-4e59-aa72-8b76e7d4a8b6/rsyncd.lock 
    log file = $HOME/.vs/rsync/12284_a509d235-3ed7-4e59-aa72-8b76e7d4a8b6/rsyncd.log 
    port = 4445 
    use chroot = False 
    address = 127.0.0.1
    [temp] 
    path = /usr/local/include 
    comment =  
    read only = no 
    list = True 
    uid = pi 
    " > $HOME/.vs/rsync/12284_a509d235-3ed7-4e59-aa72-8b76e7d4a8b6/rsyncd.conf" finished with exit code 0 after 115.8603ms
    09:16:06.6796482 [Info, Thread 10] liblinux.IO.RemoteRsyncDaemon: Rsync forwarding tunnel created with local port: 50763 and remote port: 4445
    09:16:06.6806513 [Info, Thread 10] liblinux.IO.RemoteRsyncDaemon: Rsync daemon start command line: rsync --daemon --port=4445 --config=$HOME/.vs/rsync/12284_a509d235-3ed7-4e59-aa72-8b76e7d4a8b6/rsyncd.conf
    09:16:06.8026574 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "rsync --daemon --port=4445 --config=$HOME/.vs/rsync/12284_a509d235-3ed7-4e59-aa72-8b76e7d4a8b6/rsyncd.conf" finished with exit code 0 after 119.4811ms
    09:16:06.9486651 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_a509d235-3ed7-4e59-aa72-8b76e7d4a8b6" finished with exit code 0 after 144.1441ms
    09:16:08.0890098 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_a509d235-3ed7-4e59-aa72-8b76e7d4a8b6" finished with exit code 0 after 98.5443ms
    09:16:09.1991399 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_a509d235-3ed7-4e59-aa72-8b76e7d4a8b6" finished with exit code 0 after 106.1501ms
    09:16:09.4957440 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_a509d235-3ed7-4e59-aa72-8b76e7d4a8b6" finished with exit code 0 after 62.7805ms
    09:16:09.6141647 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "kill -9 2196" finished with exit code 0 after 116.1149ms
    09:16:09.7318099 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "rm -rf '$HOME/.vs/rsync/12284_a509d235-3ed7-4e59-aa72-8b76e7d4a8b6/'" finished with exit code 0 after 115.7717ms
    09:16:09.8508649 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "cat /proc/net/tcp | awk '{gsub(/.*:/,"",$2); print $2}'" finished with exit code 0 after 82.7701ms
    09:16:09.9834888 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "netstat -tln | awk '{gsub(/.*:/,"",$4); print $4}'" finished with exit code 0 after 128.0726ms
    09:16:10.1137866 [Info, Thread 10] liblinux.Ssh.ShellStream: Writing "unset HISTFILE
    " to SSH shell
    09:16:10.1558116 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "mkdir -p $HOME/.vs/rsync/12284_caccdb3a-9a39-4d91-ba6a-24ea45d795c5/" finished with exit code 0 after 38.6883ms
    09:16:10.2798650 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "echo -e "pid file = $HOME/.vs/rsync/12284_caccdb3a-9a39-4d91-ba6a-24ea45d795c5/rsyncd.pid 
    lock file = $HOME/.vs/rsync/12284_caccdb3a-9a39-4d91-ba6a-24ea45d795c5/rsyncd.lock 
    log file = $HOME/.vs/rsync/12284_caccdb3a-9a39-4d91-ba6a-24ea45d795c5/rsyncd.log 
    port = 4446 
    use chroot = False 
    address = 127.0.0.1
    [temp] 
    path = /usr/lib/gcc/arm-linux-gnueabihf/6/include-fixed 
    comment =  
    read only = no 
    list = True 
    uid = pi 
    " > $HOME/.vs/rsync/12284_caccdb3a-9a39-4d91-ba6a-24ea45d795c5/rsyncd.conf" finished with exit code 0 after 120.4726ms
    09:16:10.2829598 [Info, Thread 10] liblinux.IO.RemoteRsyncDaemon: Rsync forwarding tunnel created with local port: 50768 and remote port: 4446
    09:16:10.2838102 [Info, Thread 10] liblinux.IO.RemoteRsyncDaemon: Rsync daemon start command line: rsync --daemon --port=4446 --config=$HOME/.vs/rsync/12284_caccdb3a-9a39-4d91-ba6a-24ea45d795c5/rsyncd.conf
    09:16:10.3978653 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "rsync --daemon --port=4446 --config=$HOME/.vs/rsync/12284_caccdb3a-9a39-4d91-ba6a-24ea45d795c5/rsyncd.conf" finished with exit code 0 after 111.6315ms
    09:16:10.5438127 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_caccdb3a-9a39-4d91-ba6a-24ea45d795c5" finished with exit code 0 after 142.449ms
    09:16:11.6837133 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_caccdb3a-9a39-4d91-ba6a-24ea45d795c5" finished with exit code 0 after 106.4829ms
    09:16:12.7855418 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_caccdb3a-9a39-4d91-ba6a-24ea45d795c5" finished with exit code 0 after 96.3279ms
    09:16:13.0775792 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_caccdb3a-9a39-4d91-ba6a-24ea45d795c5" finished with exit code 0 after 59.6872ms
    09:16:13.1945205 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "kill -9 2243" finished with exit code 0 after 110.724ms
    09:16:13.3085797 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "rm -rf '$HOME/.vs/rsync/12284_caccdb3a-9a39-4d91-ba6a-24ea45d795c5/'" finished with exit code 0 after 110.0649ms
    09:16:13.4479846 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "cat /proc/net/tcp | awk '{gsub(/.*:/,"",$2); print $2}'" finished with exit code 0 after 84.6009ms
    09:16:13.5922979 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "netstat -tln | awk '{gsub(/.*:/,"",$4); print $4}'" finished with exit code 0 after 141.1017ms
    09:16:13.7141139 [Info, Thread 10] liblinux.Ssh.ShellStream: Writing "unset HISTFILE
    " to SSH shell
    09:16:13.7540135 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "mkdir -p $HOME/.vs/rsync/12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8/" finished with exit code 0 after 35.8423ms
    09:16:13.8739889 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "echo -e "pid file = $HOME/.vs/rsync/12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8/rsyncd.pid 
    lock file = $HOME/.vs/rsync/12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8/rsyncd.lock 
    log file = $HOME/.vs/rsync/12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8/rsyncd.log 
    port = 4446 
    use chroot = False 
    address = 127.0.0.1
    [temp] 
    path = /usr/include/arm-linux-gnueabihf 
    comment =  
    read only = no 
    list = True 
    uid = pi 
    " > $HOME/.vs/rsync/12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8/rsyncd.conf" finished with exit code 0 after 116.6501ms
    09:16:13.8782067 [Info, Thread 10] liblinux.IO.RemoteRsyncDaemon: Rsync forwarding tunnel created with local port: 50773 and remote port: 4446
    09:16:13.8789834 [Info, Thread 10] liblinux.IO.RemoteRsyncDaemon: Rsync daemon start command line: rsync --daemon --port=4446 --config=$HOME/.vs/rsync/12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8/rsyncd.conf
    09:16:14.0010226 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "rsync --daemon --port=4446 --config=$HOME/.vs/rsync/12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8/rsyncd.conf" finished with exit code 0 after 118.6138ms
    09:16:14.1479690 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8" finished with exit code 0 after 142.21ms
    09:16:15.2980481 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8" finished with exit code 0 after 97.1647ms
    09:16:16.4060055 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8" finished with exit code 0 after 103.717ms
    09:16:17.4952057 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8" finished with exit code 0 after 81.1764ms
    09:16:18.5640193 [Info, Thread 10] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8" finished with exit code 0 after 65.2631ms
    09:16:19.2459871 [Info, Thread 21] liblinux.Shell.CommonCommandBase: Command "ps aux | grep -v grep | grep 12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8" finished with exit code 0 after 105.7095ms
    09:16:19.3582602 [Info, Thread 21] liblinux.Shell.CommonCommandBase: Command "kill -9 2290" finished with exit code 0 after 109.0312ms
    09:16:19.4790070 [Info, Thread 21] liblinux.Shell.CommonCommandBase: Command "rm -rf '$HOME/.vs/rsync/12284_0ee901f3-ae36-4a26-a9e3-011e0b0789f8/'" finished with exit code 0 after 117.5852ms
    09:16:19.4889797 [Error, Thread 21] liblinux.Services.RsyncRemoteCompilerIOImpl: Failed to download headers from directory: '/usr/include/arm-linux-gnueabihf' .
    09:16:19.6038636 [Info, Thread 73] liblinux.Shell.CommonCommandBase: Command "realpath -m -L ~" finished with exit code 0 after 93.3012ms
    09:16:19.6161829 [Info, Thread 73] liblinux.RemoteSystemBase: Disconnecting over SSH from "xxx.xxx.x.xxx:xxxxx"
    09:16:19.7039612 [Info, Thread 73] liblinux.IO.RemoteFileSystemImpl: Disconnecting over SFTP from xxx.xxx.x.xxx:xxxxx
    09:16:22.3537244 [Info, Thread 1] liblinux.RemoteSystemBase: Disconnecting over SSH from "xxx.xxx.x.xxx:xxxxx"

    How do I solve this?



    Saturday, June 22, 2019 12:22 AM

All replies

  • Hi SitD1925,

    Welcome to the MSDN forum.

    According to the description, it seems this issue is about the Raspberry Pi and our forum is to discuss the VS IDE, please redirect to this appropriate forum: https://www.raspberrypi.org/forums/ for better support, thanks for your understanding.

    If you have any other issues in the future, please feel free to let us know.

    Have a nice day!

    Best regards,

    Sara


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, June 24, 2019 3:30 AM