Skip to content

windows - following symlink to network share not working #745

Open
@novalisek

Description

@novalisek

Describe the problem

I am running Windows 7 under VirtualBox and I have folder shared via Virtualbox, it can be seen as \\vboxsrv\programy.

I have mapped it using:

mklink /D d:\programy \\vboxsrv\programy

From the arduino-builder command:

C:\Program Files (x86)\arduino-nightly\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\arduino-nightly\hardware -hardware C:\Users\martin\AppData\Local\Arduino15\packages -hardware D:\programy\arduino\hardware -tools C:\Program Files (x86)\arduino-nightly\tools-builder -tools C:\Program Files (x86)\arduino-nightly\hardware\tools\avr -tools C:\Users\martin\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\arduino-nightly\libraries -libraries D:\programy\arduino\libraries -fqbn=arduino:sam:arduino_due_x_dbg -ide-version=10813 -build-path d:\temp\arduino_build_807214 -warnings=none -build-cache d:\temp\arduino_cache_153221 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.bossac.path=C:\Users\martin\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.6.1-arduino -prefs=runtime.tools.bossac-1.6.1-arduino.path=C:\Users\martin\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.6.1-arduino -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\martin\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.arm-none-eabi-gcc-4.8.3-2014q1.path=C:\Users\martin\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -verbose D:\git\arduino\test\test.ino

I only see

loading hardware from D:\programy\arduino\hardware: following possible symlink D:\programy\arduino\hardware: CreateFile \\VBOXSVR\programyarduino: Network name cannot be found.

it seems that it is missing \ in programyarduino (it should be \\VBOXSVR\programy\arduino)

Expected behavior

It should be possible to disable following symlinks or it should be repaired so that following them doesn't cause errors

Arduino CLI version

Arduino Builder 1.5.3

Operating system

Windows 7 64bit running under Virtualbox with network shares mapped to local directories

Additional context

Arduino Builder 1.4.7 from Arduino 1.8.10 is working fine, I noticed this problem for the first time in Arduino 1.8.12

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

os: windowsSpecific to Windows operating systemtype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions