* Copying of symbolic links not working as expected
@ 2019-04-21 10:07 Matt D.
2019-04-21 11:45 ` Matt D.
0 siblings, 1 reply; 4+ messages in thread
From: Matt D. @ 2019-04-21 10:07 UTC (permalink / raw)
To: cygwin
I'm experiencing a discrepancy between Linux cp and Cygwin cp when
copying native symbolic links:
Test/
FolderA/
123/
456/ -> 123/
On Linux I can:
> cp -r FolderA/ FolderB/
> ls -l FolderB/
total 0
drwxrwxr-x. 2 account group 45 Apr 21 05:47 123
lrwxrwxrwx. 1 account group 4 Apr 21 05:47 456 -> 123/
Entire folder copied with relative symblic link paths preserved.
*** (starting from the original state -- rm -rf FolderB/) ***
> mkdir FolderB/
> cp -r FolderA/456 FolderB/
> ls -l FolderB/
total 0
lrwxrwxrwx. 1 account group 4 Apr 21 05:47 456 -> 123/
Note that "456 -> 123/" in "FolderB/" is a BROKEN link. This is
DESIRABLE as it preserves my curated symbolic links with their relative
paths.
On Cygwin:
> cp -r FolderA/ FolderB/
... Works as expected
But:
> cp -r FolderA/456 FolderB/
ERRORS:
cp: cannot create symbolic link 'FolderB/456': No such file or directory
I know that there is no file or directory there. I'm trying to copy one
to this location.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Copying of symbolic links not working as expected
2019-04-21 10:07 Copying of symbolic links not working as expected Matt D.
@ 2019-04-21 11:45 ` Matt D.
2019-04-21 12:20 ` Eliot Moss
2019-04-21 12:39 ` LRN
0 siblings, 2 replies; 4+ messages in thread
From: Matt D. @ 2019-04-21 11:45 UTC (permalink / raw)
To: cygwin
Note that this creates a chicken-and-the-egg problem when copying paths
which contain symbolic links which will be but are not yet valid at the
time of copying.
For example, copying a very large and complex tree with many lots of
links will result in a broken copy. I'm trying to copy a directory tree
right now and it's a major headache.
For example:
$ cp -ra /c/data/repositories/ /c/development/repositories/
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifest.xml':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests/.git/config':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests/.git/description':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests/.git/hooks':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests/.git/info':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests/.git/logs':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests/.git/objects':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests/.git/packed-refs':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests/.git/refs':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests/.git/rr-cache':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests/.git/shallow':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests/.git/svn':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests.git/hooks/commit-msg':
No such file or directory
cp: cannot create symbolic link
'/c/development/repositories/repositories/aosp/source/.repo/manifests.git/hooks/pre-auto-gc':
No such file or directory
...
And so on.
I had the same problem while trying to tar and untar:
tar: aosp/source/system/vold/.git/shallow: Cannot create symlink to
â../../../.repo/projects/system/vold.git/shallowâ: No such file or directory
tar: aosp/source/system/vold/.git/packed-refs: Cannot create symlink to
â../../../.repo/projects/system/vold.git/packed-refsâ: No such file or
directory
tar: aosp/source/system/netd/.git/shallow: Cannot create symlink to
â../../../.repo/projects/system/netd.git/shallowâ: No such file or directory
tar: aosp/source/system/netd/.git/packed-refs: Cannot create symlink to
â../../../.repo/projects/system/netd.git/packed-refsâ: No such file or
directory
tar: aosp/source/system/media/.git/shallow: Cannot create symlink to
â../../../.repo/projects/system/media.git/shallowâ: No such file or
directory
tar: aosp/source/system/media/.git/packed-refs: Cannot create symlink to
â../../../.repo/projects/system/media.git/packed-refsâ: No such file or
directory
tar: aosp/source/system/extras/.git/shallow: Cannot create symlink to
â../../../.repo/projects/system/extras.git/shallowâ: No such file or
directory
tar: aosp/source/system/extras/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/system/extras.git/packed-refsâ: No such file
or directory
tar: aosp/source/system/core/.git/shallow: Cannot create symlink to
â../../../.repo/projects/system/core.git/shallowâ: No such file or directory
tar: aosp/source/system/core/.git/packed-refs: Cannot create symlink to
â../../../.repo/projects/system/core.git/packed-refsâ: No such file or
directory
tar: aosp/source/system/bluetooth/.git/shallow: Cannot create symlink to
â../../../.repo/projects/system/bluetooth.git/shallowâ: No such file or
directory
tar: aosp/source/sdk/.git/shallow: Cannot create symlink to
â../../.repo/projects/sdk.git/shallowâ: No such file or directory
tar: aosp/source/sdk/.git/packed-refs: Cannot create symlink to
â../../.repo/projects/sdk.git/packed-refsâ: No such file or directory
tar: aosp/source/prebuilt/.git/shallow: Cannot create symlink to
â../../.repo/projects/prebuilt.git/shallowâ: No such file or directory
tar: aosp/source/prebuilt/.git/packed-refs: Cannot create symlink to
â../../.repo/projects/prebuilt.git/packed-refsâ: No such file or directory
tar: aosp/source/packages/wallpapers/PhaseBeam/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/wallpapers/PhaseBeam.git/shallowâ:
No such file or directory
tar: aosp/source/packages/wallpapers/PhaseBeam/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/wallpapers/PhaseBeam.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/wallpapers/NoiseField/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/wallpapers/NoiseField.git/shallowâ:
No such file or directory
tar: aosp/source/packages/wallpapers/NoiseField/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/wallpapers/NoiseField.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/wallpapers/MusicVisualization/.git/shallow:
Cannot create symlink to
â../../../../.repo/projects/packages/wallpapers/MusicVisualization.git/shallowâ:
No such file or directory
tar: aosp/source/packages/wallpapers/MagicSmoke/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/wallpapers/MagicSmoke.git/shallowâ:
No such file or directory
tar: aosp/source/packages/wallpapers/MagicSmoke/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/wallpapers/MagicSmoke.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/wallpapers/LivePicker/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/wallpapers/LivePicker.git/shallowâ:
No such file or directory
tar: aosp/source/packages/wallpapers/HoloSpiral/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/wallpapers/HoloSpiral.git/shallowâ:
No such file or directory
tar: aosp/source/packages/wallpapers/HoloSpiral/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/wallpapers/HoloSpiral.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/wallpapers/Galaxy4/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/wallpapers/Galaxy4.git/shallowâ: No
such file or directory
tar: aosp/source/packages/wallpapers/Galaxy4/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/wallpapers/Galaxy4.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/wallpapers/Basic/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/wallpapers/Basic.git/shallowâ: No
such file or directory
tar: aosp/source/packages/wallpapers/Basic/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/wallpapers/Basic.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/providers/UserDictionaryProvider/.git/shallow:
Cannot create symlink to
â../../../../.repo/projects/packages/providers/UserDictionaryProvider.git/shallowâ:
No such file or directory
tar: aosp/source/packages/providers/TelephonyProvider/.git/shallow:
Cannot create symlink to
â../../../../.repo/projects/packages/providers/TelephonyProvider.git/shallowâ:
No such file or directory
tar: aosp/source/packages/providers/TelephonyProvider/.git/packed-refs:
Cannot create symlink to
â../../../../.repo/projects/packages/providers/TelephonyProvider.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/providers/MediaProvider/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/providers/MediaProvider.git/shallowâ:
No such file or directory
tar: aosp/source/packages/providers/MediaProvider/.git/packed-refs:
Cannot create symlink to
â../../../../.repo/projects/packages/providers/MediaProvider.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/providers/GoogleContactsProvider/.git/shallow:
Cannot create symlink to
â../../../../.repo/projects/packages/providers/GoogleContactsProvider.git/shallowâ:
No such file or directory
tar: aosp/source/packages/providers/DrmProvider/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/providers/DrmProvider.git/shallowâ:
No such file or directory
tar: aosp/source/packages/providers/DownloadProvider/.git/shallow:
Cannot create symlink to
â../../../../.repo/projects/packages/providers/DownloadProvider.git/shallowâ:
No such file or directory
tar: aosp/source/packages/providers/DownloadProvider/.git/packed-refs:
Cannot create symlink to
â../../../../.repo/projects/packages/providers/DownloadProvider.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/providers/ContactsProvider/.git/shallow:
Cannot create symlink to
â../../../../.repo/projects/packages/providers/ContactsProvider.git/shallowâ:
No such file or directory
tar: aosp/source/packages/providers/ContactsProvider/.git/packed-refs:
Cannot create symlink to
â../../../../.repo/projects/packages/providers/ContactsProvider.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/providers/CalendarProvider/.git/shallow:
Cannot create symlink to
â../../../../.repo/projects/packages/providers/CalendarProvider.git/shallowâ:
No such file or directory
tar: aosp/source/packages/providers/CalendarProvider/.git/packed-refs:
Cannot create symlink to
â../../../../.repo/projects/packages/providers/CalendarProvider.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/providers/ApplicationsProvider/.git/shallow:
Cannot create symlink to
â../../../../.repo/projects/packages/providers/ApplicationsProvider.git/shallowâ:
No such file or directory
tar: aosp/source/packages/inputmethods/PinyinIME/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/inputmethods/PinyinIME.git/shallowâ:
No such file or directory
tar: aosp/source/packages/inputmethods/PinyinIME/.git/packed-refs:
Cannot create symlink to
â../../../../.repo/projects/packages/inputmethods/PinyinIME.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/inputmethods/OpenWnn/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/inputmethods/OpenWnn.git/shallowâ:
No such file or directory
tar: aosp/source/packages/inputmethods/OpenWnn/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/inputmethods/OpenWnn.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/inputmethods/LatinIME/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/inputmethods/LatinIME.git/shallowâ:
No such file or directory
tar: aosp/source/packages/inputmethods/LatinIME/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/inputmethods/LatinIME.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/experimental/.git/shallow: Cannot create
symlink to â../../../.repo/projects/packages/experimental.git/shallowâ:
No such file or directory
tar: aosp/source/packages/experimental/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/packages/experimental.git/packed-refsâ: No such
file or directory
tar: aosp/source/packages/apps/VoiceDialer/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/VoiceDialer.git/shallowâ: No
such file or directory
tar: aosp/source/packages/apps/VoiceDialer/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/apps/VoiceDialer.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/apps/VideoEditor/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/VideoEditor.git/shallowâ: No
such file or directory
tar: aosp/source/packages/apps/VideoEditor/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/apps/VideoEditor.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/apps/Tag/.git/shallow: Cannot create symlink
to â../../../../.repo/projects/packages/apps/Tag.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Tag/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Tag.git/packed-refsâ: No such
file or directory
tar: aosp/source/packages/apps/Stk/.git/shallow: Cannot create symlink
to â../../../../.repo/projects/packages/apps/Stk.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Stk/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Stk.git/packed-refsâ: No such
file or directory
tar: aosp/source/packages/apps/SpeechRecorder/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/apps/SpeechRecorder.git/shallowâ:
No such file or directory
tar: aosp/source/packages/apps/SpareParts/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/SpareParts.git/shallowâ: No
such file or directory
tar: aosp/source/packages/apps/SoundRecorder/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/SoundRecorder.git/shallowâ: No
such file or directory
tar: aosp/source/packages/apps/Settings/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Settings.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Settings/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Settings.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/QuickSearchBox/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/apps/QuickSearchBox.git/shallowâ:
No such file or directory
tar: aosp/source/packages/apps/QuickSearchBox/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/apps/QuickSearchBox.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/apps/Provision/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Provision.git/shallowâ: No
such file or directory
tar: aosp/source/packages/apps/Protips/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Protips.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Phone/.git/shallow: Cannot create symlink
to â../../../../.repo/projects/packages/apps/Phone.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Phone/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Phone.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/PackageInstaller/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/apps/PackageInstaller.git/shallowâ:
No such file or directory
tar: aosp/source/packages/apps/PackageInstaller/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/apps/PackageInstaller.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/apps/Nfc/.git/shallow: Cannot create symlink
to â../../../../.repo/projects/packages/apps/Nfc.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Nfc/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Nfc.git/packed-refsâ: No such
file or directory
tar: aosp/source/packages/apps/MusicFX/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/MusicFX.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Music/.git/shallow: Cannot create symlink
to â../../../../.repo/projects/packages/apps/Music.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Music/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Music.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/Mms/.git/shallow: Cannot create symlink
to â../../../../.repo/projects/packages/apps/Mms.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Mms/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Mms.git/packed-refsâ: No such
file or directory
tar: aosp/source/packages/apps/Launcher2/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Launcher2.git/shallowâ: No
such file or directory
tar: aosp/source/packages/apps/Launcher2/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Launcher2.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/KeyChain/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/KeyChain.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/HTMLViewer/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/HTMLViewer.git/shallowâ: No
such file or directory
tar: aosp/source/packages/apps/Gallery2/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Gallery2.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Gallery2/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Gallery2.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/Gallery/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Gallery.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Gallery/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Gallery.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/Exchange/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Exchange.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Exchange/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Exchange.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/Email/.git/shallow: Cannot create symlink
to â../../../../.repo/projects/packages/apps/Email.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Email/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Email.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/DeskClock/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/DeskClock.git/shallowâ: No
such file or directory
tar: aosp/source/packages/apps/DeskClock/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/DeskClock.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/Contacts/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Contacts.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Contacts/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Contacts.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/CertInstaller/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/CertInstaller.git/shallowâ: No
such file or directory
tar: aosp/source/packages/apps/CertInstaller/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/apps/CertInstaller.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/apps/CellBroadcastReceiver/.git/shallow:
Cannot create symlink to
â../../../../.repo/projects/packages/apps/CellBroadcastReceiver.git/shallowâ:
No such file or directory
tar: aosp/source/packages/apps/CellBroadcastReceiver/.git/packed-refs:
Cannot create symlink to
â../../../../.repo/projects/packages/apps/CellBroadcastReceiver.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/apps/Camera/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Camera.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Camera/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Camera.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/Calendar/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Calendar.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Calendar/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Calendar.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/Calculator/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Calculator.git/shallowâ: No
such file or directory
tar: aosp/source/packages/apps/Calculator/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/packages/apps/Calculator.git/packed-refsâ:
No such file or directory
tar: aosp/source/packages/apps/Browser/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Browser.git/shallowâ: No such
file or directory
tar: aosp/source/packages/apps/Browser/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Browser.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/Bluetooth/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Bluetooth.git/shallowâ: No
such file or directory
tar: aosp/source/packages/apps/Bluetooth/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/packages/apps/Bluetooth.git/packed-refsâ: No
such file or directory
tar: aosp/source/packages/apps/BasicSmsReceiver/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/packages/apps/BasicSmsReceiver.git/shallowâ:
No such file or directory
tar: aosp/source/ndk/.git/shallow: Cannot create symlink to
â../../.repo/projects/ndk.git/shallowâ: No such file or directory
tar: aosp/source/ndk/.git/packed-refs: Cannot create symlink to
â../../.repo/projects/ndk.git/packed-refsâ: No such file or directory
tar: aosp/source/libcore/.git/shallow: Cannot create symlink to
â../../.repo/projects/libcore.git/shallowâ: No such file or directory
tar: aosp/source/libcore/.git/packed-refs: Cannot create symlink to
â../../.repo/projects/libcore.git/packed-refsâ: No such file or directory
tar: aosp/source/hardware/ti/omap4xxx/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/hardware/ti/omap4xxx.git/shallowâ: No such
file or directory
tar: aosp/source/hardware/ti/omap4xxx/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/hardware/ti/omap4xxx.git/packed-refsâ: No
such file or directory
tar: aosp/source/hardware/ti/omap3/.git/shallow: Cannot create symlink
to â../../../../.repo/projects/hardware/ti/omap3.git/shallowâ: No such
file or directory
tar: aosp/source/hardware/ti/omap3/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/hardware/ti/omap3.git/packed-refsâ: No such
file or directory
tar: aosp/source/hardware/ril/.git/shallow: Cannot create symlink to
â../../../.repo/projects/hardware/ril.git/shallowâ: No such file or
directory
tar: aosp/source/hardware/ril/.git/packed-refs: Cannot create symlink to
â../../../.repo/projects/hardware/ril.git/packed-refsâ: No such file or
directory
tar: aosp/source/hardware/qcom/media/.git/shallow: Cannot create symlink
to â../../../../.repo/projects/hardware/qcom/media.git/shallowâ: No such
file or directory
tar: aosp/source/hardware/qcom/media/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/hardware/qcom/media.git/packed-refsâ: No
such file or directory
tar: aosp/source/hardware/qcom/gps/.git/shallow: Cannot create symlink
to â../../../../.repo/projects/hardware/qcom/gps.git/shallowâ: No such
file or directory
tar: aosp/source/hardware/qcom/gps/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/hardware/qcom/gps.git/packed-refsâ: No such
file or directory
tar: aosp/source/hardware/msm7k/.git/shallow: Cannot create symlink to
â../../../.repo/projects/hardware/msm7k.git/shallowâ: No such file or
directory
tar: aosp/source/hardware/libhardware_legacy/.git/shallow: Cannot create
symlink to
â../../../.repo/projects/hardware/libhardware_legacy.git/shallowâ: No
such file or directory
tar: aosp/source/hardware/libhardware_legacy/.git/packed-refs: Cannot
create symlink to
â../../../.repo/projects/hardware/libhardware_legacy.git/packed-refsâ:
No such file or directory
tar: aosp/source/hardware/libhardware/.git/shallow: Cannot create
symlink to â../../../.repo/projects/hardware/libhardware.git/shallowâ:
No such file or directory
tar: aosp/source/hardware/libhardware/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/hardware/libhardware.git/packed-refsâ: No such
file or directory
tar: aosp/source/hardware/invensense/.git/shallow: Cannot create symlink
to â../../../.repo/projects/hardware/invensense.git/shallowâ: No such
file or directory
tar: aosp/source/hardware/invensense/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/hardware/invensense.git/packed-refsâ: No such
file or directory
tar: aosp/source/hardware/broadcom/wlan/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/hardware/broadcom/wlan.git/shallowâ: No such
file or directory
tar: aosp/source/hardware/broadcom/wlan/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/hardware/broadcom/wlan.git/packed-refsâ: No
such file or directory
tar: aosp/source/frameworks/support/.git/shallow: Cannot create symlink
to â../../../.repo/projects/frameworks/support.git/shallowâ: No such
file or directory
tar: aosp/source/frameworks/support/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/frameworks/support.git/packed-refsâ:
No such file or directory
tar: aosp/source/frameworks/opt/vcard/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/frameworks/opt/vcard.git/shallowâ: No such
file or directory
tar: aosp/source/frameworks/opt/mailcommon/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/frameworks/opt/mailcommon.git/shallowâ: No
such file or directory
tar: aosp/source/frameworks/opt/mailcommon/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/frameworks/opt/mailcommon.git/packed-refsâ:
No such file or directory
tar: aosp/source/frameworks/opt/inputmethodcommon/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/frameworks/opt/inputmethodcommon.git/shallowâ:
No such file or directory
tar: aosp/source/frameworks/opt/emoji/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/frameworks/opt/emoji.git/shallowâ: No such
file or directory
tar: aosp/source/frameworks/opt/calendar/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/frameworks/opt/calendar.git/shallowâ: No
such file or directory
tar: aosp/source/frameworks/media/libvideoeditor/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/frameworks/media/libvideoeditor.git/shallowâ:
No such file or directory
tar: aosp/source/frameworks/media/libvideoeditor/.git/packed-refs:
Cannot create symlink to
â../../../../.repo/projects/frameworks/media/libvideoeditor.git/packed-refsâ:
No such file or directory
tar: aosp/source/frameworks/ex/.git/shallow: Cannot create symlink to
â../../../.repo/projects/frameworks/ex.git/shallowâ: No such file or
directory
tar: aosp/source/frameworks/ex/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/frameworks/ex.git/packed-refsâ: No such file
or directory
tar: aosp/source/frameworks/compile/slang/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/frameworks/compile/slang.git/shallowâ: No
such file or directory
tar: aosp/source/frameworks/compile/slang/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/frameworks/compile/slang.git/packed-refsâ:
No such file or directory
tar: aosp/source/frameworks/compile/linkloader/.git/shallow: Cannot
create symlink to
â../../../../.repo/projects/frameworks/compile/linkloader.git/shallowâ:
No such file or directory
tar: aosp/source/frameworks/compile/libbcc/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/frameworks/compile/libbcc.git/shallowâ: No
such file or directory
tar: aosp/source/frameworks/compile/libbcc/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/frameworks/compile/libbcc.git/packed-refsâ:
No such file or directory
tar: aosp/source/frameworks/base/.git/shallow: Cannot create symlink to
â../../../.repo/projects/frameworks/base.git/shallowâ: No such file or
directory
tar: aosp/source/frameworks/base/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/frameworks/base.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/zlib/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/zlib.git/shallowâ: No such file or
directory
tar: aosp/source/external/zlib/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/zlib.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/yaffs2/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/yaffs2.git/shallowâ: No such file or
directory
tar: aosp/source/external/yaffs2/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/yaffs2.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/xmlwriter/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/xmlwriter.git/shallowâ: No such
file or directory
tar: aosp/source/external/wpa_supplicant_8/.git/shallow: Cannot create
symlink to
â../../../.repo/projects/external/wpa_supplicant_8.git/shallowâ: No such
file or directory
tar: aosp/source/external/wpa_supplicant_8/.git/packed-refs: Cannot
create symlink to
â../../../.repo/projects/external/wpa_supplicant_8.git/packed-refsâ: No
such file or directory
tar: aosp/source/external/wpa_supplicant_6/.git/shallow: Cannot create
symlink to
â../../../.repo/projects/external/wpa_supplicant_6.git/shallowâ: No such
file or directory
tar: aosp/source/external/wpa_supplicant_6/.git/packed-refs: Cannot
create symlink to
â../../../.repo/projects/external/wpa_supplicant_6.git/packed-refsâ: No
such file or directory
tar: aosp/source/external/wpa_supplicant/.git/shallow: Cannot create
symlink to
â../../../.repo/projects/external/wpa_supplicant.git/shallowâ: No such
file or directory
tar: aosp/source/external/webrtc/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/webrtc.git/shallowâ: No such file or
directory
tar: aosp/source/external/webrtc/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/webrtc.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/webp/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/webp.git/shallowâ: No such file or
directory
tar: aosp/source/external/webp/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/webp.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/webkit/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/webkit.git/shallowâ: No such file or
directory
tar: aosp/source/external/webkit/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/webkit.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/valgrind/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/valgrind.git/shallowâ: No such file
or directory
tar: aosp/source/external/valgrind/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/valgrind.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/v8/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/v8.git/shallowâ: No such file or directory
tar: aosp/source/external/v8/.git/packed-refs: Cannot create symlink to
â../../../.repo/projects/external/v8.git/packed-refsâ: No such file or
directory
tar: aosp/source/external/tremolo/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/tremolo.git/shallowâ: No such file or
directory
tar: aosp/source/external/tinyxml/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/tinyxml.git/shallowâ: No such file or
directory
tar: aosp/source/external/tinyalsa/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/tinyalsa.git/shallowâ: No such file
or directory
tar: aosp/source/external/tcpdump/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/tcpdump.git/shallowâ: No such file or
directory
tar: aosp/source/external/tcpdump/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/tcpdump.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/tagsoup/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/tagsoup.git/shallowâ: No such file or
directory
tar: aosp/source/external/svox/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/svox.git/shallowâ: No such file or
directory
tar: aosp/source/external/svox/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/svox.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/strace/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/strace.git/shallowâ: No such file or
directory
tar: aosp/source/external/strace/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/strace.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/stlport/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/stlport.git/shallowâ: No such file or
directory
tar: aosp/source/external/stlport/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/stlport.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/srtp/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/srtp.git/shallowâ: No such file or
directory
tar: aosp/source/external/srec/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/srec.git/shallowâ: No such file or
directory
tar: aosp/source/external/srec/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/srec.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/sqlite/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/sqlite.git/shallowâ: No such file or
directory
tar: aosp/source/external/sqlite/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/sqlite.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/speex/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/speex.git/shallowâ: No such file or
directory
tar: aosp/source/external/sonivox/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/sonivox.git/shallowâ: No such file or
directory
tar: aosp/source/external/sonivox/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/sonivox.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/skia/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/skia.git/shallowâ: No such file or
directory
tar: aosp/source/external/skia/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/skia.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/safe-iop/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/safe-iop.git/shallowâ: No such file
or directory
tar: aosp/source/external/quake/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/quake.git/shallowâ: No such file or
directory
tar: aosp/source/external/quake/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/quake.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/qemu-pc-bios/.git/shallow: Cannot create
symlink to â../../../.repo/projects/external/qemu-pc-bios.git/shallowâ:
No such file or directory
tar: aosp/source/external/qemu-pc-bios/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/external/qemu-pc-bios.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/qemu/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/qemu.git/shallowâ: No such file or
directory
tar: aosp/source/external/qemu/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/qemu.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/protobuf/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/protobuf.git/shallowâ: No such file
or directory
tar: aosp/source/external/protobuf/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/protobuf.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/proguard/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/proguard.git/shallowâ: No such file
or directory
tar: aosp/source/external/proguard/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/proguard.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/ppp/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/ppp.git/shallowâ: No such file or
directory
tar: aosp/source/external/ppp/.git/packed-refs: Cannot create symlink to
â../../../.repo/projects/external/ppp.git/packed-refsâ: No such file or
directory
tar: aosp/source/external/ping6/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/ping6.git/shallowâ: No such file or
directory
tar: aosp/source/external/ping/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/ping.git/shallowâ: No such file or
directory
tar: aosp/source/external/pcre/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/pcre.git/shallowâ: No such file or
directory
tar: aosp/source/external/pcre/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/pcre.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/oprofile/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/oprofile.git/shallowâ: No such file
or directory
tar: aosp/source/external/oprofile/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/oprofile.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/openssl/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/openssl.git/shallowâ: No such file or
directory
tar: aosp/source/external/openssl/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/openssl.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/opencv/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/opencv.git/shallowâ: No such file or
directory
tar: aosp/source/external/opencv/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/opencv.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/oauth/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/oauth.git/shallowâ: No such file or
directory
tar: aosp/source/external/nist-sip/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/nist-sip.git/shallowâ: No such file
or directory
tar: aosp/source/external/nist-sip/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/nist-sip.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/neven/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/neven.git/shallowâ: No such file or
directory
tar: aosp/source/external/netperf/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/netperf.git/shallowâ: No such file or
directory
tar: aosp/source/external/netperf/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/netperf.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/netcat/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/netcat.git/shallowâ: No such file or
directory
tar: aosp/source/external/mtpd/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/mtpd.git/shallowâ: No such file or
directory
tar: aosp/source/external/mockwebserver/.git/shallow: Cannot create
symlink to â../../../.repo/projects/external/mockwebserver.git/shallowâ:
No such file or directory
tar: aosp/source/external/mksh/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/mksh.git/shallowâ: No such file or
directory
tar: aosp/source/external/mksh/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/mksh.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/mesa3d/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/mesa3d.git/shallowâ: No such file or
directory
tar: aosp/source/external/mesa3d/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/mesa3d.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/markdown/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/markdown.git/shallowâ: No such file
or directory
tar: aosp/source/external/lohit-fonts/.git/shallow: Cannot create
symlink to â../../../.repo/projects/external/lohit-fonts.git/shallowâ:
No such file or directory
tar: aosp/source/external/llvm/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/llvm.git/shallowâ: No such file or
directory
tar: aosp/source/external/llvm/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/llvm.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/libxslt/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/libxslt.git/shallowâ: No such file or
directory
tar: aosp/source/external/libxslt/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/libxslt.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/libxml2/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/libxml2.git/shallowâ: No such file or
directory
tar: aosp/source/external/libxml2/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/libxml2.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/libvpx/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/libvpx.git/shallowâ: No such file or
directory
tar: aosp/source/external/libvpx/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/libvpx.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/libpng/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/libpng.git/shallowâ: No such file or
directory
tar: aosp/source/external/libpng/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/libpng.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/libphonenumber/.git/shallow: Cannot create
symlink to
â../../../.repo/projects/external/libphonenumber.git/shallowâ: No such
file or directory
tar: aosp/source/external/libphonenumber/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/external/libphonenumber.git/packed-refsâ: No
such file or directory
tar: aosp/source/external/libpcap/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/libpcap.git/shallowâ: No such file or
directory
tar: aosp/source/external/libpcap/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/libpcap.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/libnl-headers/.git/shallow: Cannot create
symlink to â../../../.repo/projects/external/libnl-headers.git/shallowâ:
No such file or directory
tar: aosp/source/external/libnl-headers/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/external/libnl-headers.git/packed-refsâ: No
such file or directory
tar: aosp/source/external/libnfc-nxp/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/libnfc-nxp.git/shallowâ: No such
file or directory
tar: aosp/source/external/libnfc-nxp/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/external/libnfc-nxp.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/liblzf/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/liblzf.git/shallowâ: No such file or
directory
tar: aosp/source/external/libgsm/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/libgsm.git/shallowâ: No such file or
directory
tar: aosp/source/external/libffi/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/libffi.git/shallowâ: No such file or
directory
tar: aosp/source/external/libffi/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/libffi.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/kernel-headers/.git/shallow: Cannot create
symlink to
â../../../.repo/projects/external/kernel-headers.git/shallowâ: No such
file or directory
tar: aosp/source/external/kernel-headers/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/external/kernel-headers.git/packed-refsâ: No
such file or directory
tar: aosp/source/external/junit/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/junit.git/shallowâ: No such file or
directory
tar: aosp/source/external/jsr305/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/jsr305.git/shallowâ: No such file or
directory
tar: aosp/source/external/jsilver/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/jsilver.git/shallowâ: No such file or
directory
tar: aosp/source/external/jpeg/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/jpeg.git/shallowâ: No such file or
directory
tar: aosp/source/external/jpeg/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/jpeg.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/jhead/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/jhead.git/shallowâ: No such file or
directory
tar: aosp/source/external/jhead/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/jhead.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/jdiff/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/jdiff.git/shallowâ: No such file or
directory
tar: aosp/source/external/jdiff/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/jdiff.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/javassist/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/javassist.git/shallowâ: No such
file or directory
tar: aosp/source/external/javasqlite/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/javasqlite.git/shallowâ: No such
file or directory
tar: aosp/source/external/javasqlite/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/external/javasqlite.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/iptables/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/iptables.git/shallowâ: No such file
or directory
tar: aosp/source/external/iptables/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/iptables.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/ipsec-tools/.git/shallow: Cannot create
symlink to â../../../.repo/projects/external/ipsec-tools.git/shallowâ:
No such file or directory
tar: aosp/source/external/ipsec-tools/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/external/ipsec-tools.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/iproute2/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/iproute2.git/shallowâ: No such file
or directory
tar: aosp/source/external/iproute2/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/iproute2.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/icu4c/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/icu4c.git/shallowâ: No such file or
directory
tar: aosp/source/external/icu4c/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/icu4c.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/hyphenation/.git/shallow: Cannot create
symlink to â../../../.repo/projects/external/hyphenation.git/shallowâ:
No such file or directory
tar: aosp/source/external/hyphenation/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/external/hyphenation.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/harfbuzz/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/harfbuzz.git/shallowâ: No such file
or directory
tar: aosp/source/external/harfbuzz/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/harfbuzz.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/guava/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/guava.git/shallowâ: No such file or
directory
tar: aosp/source/external/guava/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/guava.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/gtest/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/gtest.git/shallowâ: No such file or
directory
tar: aosp/source/external/gtest/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/gtest.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/grub/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/grub.git/shallowâ: No such file or
directory
tar: aosp/source/external/grub/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/grub.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/google-diff-match-patch/.git/shallow: Cannot
create symlink to
â../../../.repo/projects/external/google-diff-match-patch.git/shallowâ:
No such file or directory
tar: aosp/source/external/google-diff-match-patch/.git/packed-refs:
Cannot create symlink to
â../../../.repo/projects/external/google-diff-match-patch.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/giflib/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/giflib.git/shallowâ: No such file or
directory
tar: aosp/source/external/genext2fs/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/genext2fs.git/shallowâ: No such
file or directory
tar: aosp/source/external/fsck_msdos/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/fsck_msdos.git/shallowâ: No such
file or directory
tar: aosp/source/external/freetype/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/freetype.git/shallowâ: No such file
or directory
tar: aosp/source/external/freetype/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/freetype.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/flac/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/flac.git/shallowâ: No such file or
directory
tar: aosp/source/external/flac/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/flac.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/fdlibm/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/fdlibm.git/shallowâ: No such file or
directory
tar: aosp/source/external/eyes-free/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/eyes-free.git/shallowâ: No such
file or directory
tar: aosp/source/external/expat/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/expat.git/shallowâ: No such file or
directory
tar: aosp/source/external/expat/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/expat.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/esd/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/esd.git/shallowâ: No such file or
directory
tar: aosp/source/external/emma/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/emma.git/shallowâ: No such file or
directory
tar: aosp/source/external/embunit/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/embunit.git/shallowâ: No such file or
directory
tar: aosp/source/external/elfutils/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/elfutils.git/shallowâ: No such file
or directory
tar: aosp/source/external/elfutils/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/elfutils.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/easymock/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/easymock.git/shallowâ: No such file
or directory
tar: aosp/source/external/e2fsprogs/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/e2fsprogs.git/shallowâ: No such
file or directory
tar: aosp/source/external/e2fsprogs/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/e2fsprogs.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/dropbear/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/dropbear.git/shallowâ: No such file
or directory
tar: aosp/source/external/dropbear/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/dropbear.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/doclava/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/doclava.git/shallowâ: No such file or
directory
tar: aosp/source/external/doclava/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/doclava.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/dnsmasq/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/dnsmasq.git/shallowâ: No such file or
directory
tar: aosp/source/external/dhcpcd/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/dhcpcd.git/shallowâ: No such file or
directory
tar: aosp/source/external/dbus/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/dbus.git/shallowâ: No such file or
directory
tar: aosp/source/external/dbus/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/dbus.git/packed-refsâ: No such file
or directory
tar: aosp/source/external/collada/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/collada.git/shallowâ: No such file or
directory
tar: aosp/source/external/clang/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/clang.git/shallowâ: No such file or
directory
tar: aosp/source/external/clang/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/clang.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/chromium/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/chromium.git/shallowâ: No such file
or directory
tar: aosp/source/external/chromium/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/external/chromium.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/bzip2/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/bzip2.git/shallowâ: No such file or
directory
tar: aosp/source/external/bzip2/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/bzip2.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/bsdiff/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/bsdiff.git/shallowâ: No such file or
directory
tar: aosp/source/external/bouncycastle/.git/shallow: Cannot create
symlink to â../../../.repo/projects/external/bouncycastle.git/shallowâ:
No such file or directory
tar: aosp/source/external/bouncycastle/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/external/bouncycastle.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/bluetooth/hcidump/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/external/bluetooth/hcidump.git/shallowâ: No
such file or directory
tar: aosp/source/external/bluetooth/glib/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/external/bluetooth/glib.git/shallowâ: No
such file or directory
tar: aosp/source/external/bluetooth/glib/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/external/bluetooth/glib.git/packed-refsâ: No
such file or directory
tar: aosp/source/external/bluetooth/bluez/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/external/bluetooth/bluez.git/shallowâ: No
such file or directory
tar: aosp/source/external/bluetooth/bluez/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/external/bluetooth/bluez.git/packed-refsâ:
No such file or directory
tar: aosp/source/external/blktrace/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/blktrace.git/shallowâ: No such file
or directory
tar: aosp/source/external/bison/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/bison.git/shallowâ: No such file or
directory
tar: aosp/source/external/bison/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/bison.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/astl/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/astl.git/shallowâ: No such file or
directory
tar: aosp/source/external/apache-xml/.git/shallow: Cannot create symlink
to â../../../.repo/projects/external/apache-xml.git/shallowâ: No such
file or directory
tar: aosp/source/external/apache-xml/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/external/apache-xml.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/apache-http/.git/shallow: Cannot create
symlink to â../../../.repo/projects/external/apache-http.git/shallowâ:
No such file or directory
tar: aosp/source/external/apache-http/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/external/apache-http.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/apache-harmony/.git/shallow: Cannot create
symlink to
â../../../.repo/projects/external/apache-harmony.git/shallowâ: No such
file or directory
tar: aosp/source/external/apache-harmony/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/external/apache-harmony.git/packed-refsâ: No
such file or directory
tar: aosp/source/external/antlr/.git/shallow: Cannot create symlink to
â../../../.repo/projects/external/antlr.git/shallowâ: No such file or
directory
tar: aosp/source/external/antlr/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/external/antlr.git/packed-refsâ: No such
file or directory
tar: aosp/source/external/android-mock/.git/shallow: Cannot create
symlink to â../../../.repo/projects/external/android-mock.git/shallowâ:
No such file or directory
tar: aosp/source/docs/source.android.com/.git/shallow: Cannot create
symlink to
â../../../.repo/projects/docs/source.android.com.git/shallowâ: No such
file or directory
tar: aosp/source/docs/source.android.com/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/docs/source.android.com.git/packed-refsâ: No
such file or directory
tar: aosp/source/device/ti/panda/.git/shallow: Cannot create symlink to
â../../../../.repo/projects/device/ti/panda.git/shallowâ: No such file
or directory
tar: aosp/source/device/ti/panda/.git/packed-refs: Cannot create symlink
to â../../../../.repo/projects/device/ti/panda.git/packed-refsâ: No such
file or directory
tar: aosp/source/device/samsung/tuna/.git/shallow: Cannot create symlink
to â../../../../.repo/projects/device/samsung/tuna.git/shallowâ: No such
file or directory
tar: aosp/source/device/samsung/tuna/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/device/samsung/tuna.git/packed-refsâ: No
such file or directory
tar: aosp/source/device/samsung/maguro/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/device/samsung/maguro.git/shallowâ: No such
file or directory
tar: aosp/source/device/sample/.git/shallow: Cannot create symlink to
â../../../.repo/projects/device/sample.git/shallowâ: No such file or
directory
tar: aosp/source/device/sample/.git/packed-refs: Cannot create symlink
to â../../../.repo/projects/device/sample.git/packed-refsâ: No such file
or directory
tar: aosp/source/device/google/accessory/demokit/.git/shallow: Cannot
create symlink to
â../../../../../.repo/projects/device/google/accessory/demokit.git/shallowâ:
No such file or directory
tar: aosp/source/device/google/accessory/demokit/.git/packed-refs:
Cannot create symlink to
â../../../../../.repo/projects/device/google/accessory/demokit.git/packed-refsâ:
No such file or directory
tar: aosp/source/device/google/accessory/arduino/.git/shallow: Cannot
create symlink to
â../../../../../.repo/projects/device/google/accessory/arduino.git/shallowâ:
No such file or directory
tar: aosp/source/device/generic/goldfish/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/device/generic/goldfish.git/shallowâ: No
such file or directory
tar: aosp/source/device/generic/goldfish/.git/packed-refs: Cannot create
symlink to
â../../../../.repo/projects/device/generic/goldfish.git/packed-refsâ: No
such file or directory
tar: aosp/source/device/common/.git/shallow: Cannot create symlink to
â../../../.repo/projects/device/common.git/shallowâ: No such file or
directory
tar: aosp/source/development/.git/shallow: Cannot create symlink to
â../../.repo/projects/development.git/shallowâ: No such file or directory
tar: aosp/source/development/.git/packed-refs: Cannot create symlink to
â../../.repo/projects/development.git/packed-refsâ: No such file or
directory
tar: aosp/source/dalvik/.git/shallow: Cannot create symlink to
â../../.repo/projects/dalvik.git/shallowâ: No such file or directory
tar: aosp/source/dalvik/.git/packed-refs: Cannot create symlink to
â../../.repo/projects/dalvik.git/packed-refsâ: No such file or directory
tar: aosp/source/cts/.git/shallow: Cannot create symlink to
â../../.repo/projects/cts.git/shallowâ: No such file or directory
tar: aosp/source/cts/.git/packed-refs: Cannot create symlink to
â../../.repo/projects/cts.git/packed-refsâ: No such file or directory
tar: aosp/source/build/.git/shallow: Cannot create symlink to
â../../.repo/projects/build.git/shallowâ: No such file or directory
tar: aosp/source/build/.git/packed-refs: Cannot create symlink to
â../../.repo/projects/build.git/packed-refsâ: No such file or directory
tar: aosp/source/bootable/recovery/.git/shallow: Cannot create symlink
to â../../../.repo/projects/bootable/recovery.git/shallowâ: No such file
or directory
tar: aosp/source/bootable/recovery/.git/packed-refs: Cannot create
symlink to â../../../.repo/projects/bootable/recovery.git/packed-refsâ:
No such file or directory
tar: aosp/source/bootable/diskinstaller/.git/shallow: Cannot create
symlink to â../../../.repo/projects/bootable/diskinstaller.git/shallowâ:
No such file or directory
tar: aosp/source/bootable/diskinstaller/.git/packed-refs: Cannot create
symlink to
â../../../.repo/projects/bootable/diskinstaller.git/packed-refsâ: No
such file or directory
tar: aosp/source/bootable/bootloader/legacy/.git/shallow: Cannot create
symlink to
â../../../../.repo/projects/bootable/bootloader/legacy.git/shallowâ: No
such file or directory
tar: aosp/source/bootable/bootloader/legacy/.git/packed-refs: Cannot
create symlink to
â../../../../.repo/projects/bootable/bootloader/legacy.git/packed-refsâ:
No such file or directory
tar: aosp/source/bionic/.git/shallow: Cannot create symlink to
â../../.repo/projects/bionic.git/shallowâ: No such file or directory
tar: aosp/source/bionic/.git/packed-refs: Cannot create symlink to
â../../.repo/projects/bionic.git/packed-refsâ: No such file or directory
tar: aosp/source/abi/cpp/.git/shallow: Cannot create symlink to
â../../../.repo/projects/abi/cpp.git/shallowâ: No such file or directory
tar: aosp/source/abi/cpp/.git/packed-refs: Cannot create symlink to
â../../../.repo/projects/abi/cpp.git/packed-refsâ: No such file or directory
tar: aosp/source/.repo/manifests/.git/shallow: Cannot create symlink to
â../../manifests.git/shallowâ: No such file or directory
tar: Exiting with failure status due to previous errors
How do I copy directories with symlinks like this?
On 4/21/2019 6:07 AM, Matt D. wrote:
> I'm experiencing a discrepancy between Linux cp and Cygwin cp when
> copying native symbolic links:
>
> Test/
> Â Â FolderA/
> Â Â Â Â Â 123/
> Â Â Â Â Â 456/ -> 123/
>
> On Linux I can:
>
> > cp -r FolderA/ FolderB/
>
> > ls -l FolderB/
> total 0
> drwxrwxr-x. 2 account group 45 Apr 21 05:47 123
> lrwxrwxrwx. 1 account group 4 Apr 21 05:47 456 -> 123/
>
> Entire folder copied with relative symblic link paths preserved.
>
> *** (starting from the original state -- rm -rf FolderB/) ***
>
> > mkdir FolderB/
> > cp -r FolderA/456 FolderB/
>
> > ls -l FolderB/
> total 0
> lrwxrwxrwx. 1 account group 4 Apr 21 05:47 456 -> 123/
>
> Note that "456 -> 123/" in "FolderB/" is a BROKEN link. This is
> DESIRABLE as it preserves my curated symbolic links with their relative
> paths.
>
> On Cygwin:
>
> > cp -r FolderA/ FolderB/
>
> ... Works as expected
>
> But:
>
> > cp -r FolderA/456 FolderB/
>
> ERRORS:
>
> cp: cannot create symbolic link 'FolderB/456': No such file or directory
>
> I know that there is no file or directory there. I'm trying to copy one
> to this location.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Copying of symbolic links not working as expected
2019-04-21 11:45 ` Matt D.
@ 2019-04-21 12:20 ` Eliot Moss
2019-04-21 12:39 ` LRN
1 sibling, 0 replies; 4+ messages in thread
From: Eliot Moss @ 2019-04-21 12:20 UTC (permalink / raw)
To: cygwin
On 4/21/2019 7:45 AM, Matt D. wrote:
> Note that this creates a chicken-and-the-egg problem when copying paths which contain symbolic links
> which will be but are not yet valid at the time of copying.
>
> For example, copying a very large and complex tree with many lots of links will result in a broken
> copy. I'm trying to copy a directory tree right now and it's a major headache.
Dear Matt - My reading of the cp man page suggests that the
-d flag addresses this issue for cp.
Now tar has these flags available:
-h (--dereference) to follow sym links, and
--hard-dereference to follow hard links
This suggests that tar does not normally follow links. So I am
less certain what is happening there.
Another program you might consider is rsync. While I normally
think of it as being for efficient cross-network copying, it
works within a system as well. It will pay to read through about
its flags before trying to use it for this purpose.
It is true that, compared with Linux, Cygwin symlinks are slightly
funky in that they are true files in the Windows file system, but
with a specific format that Cygwin recognizes as special but Windows
does not. But that should not generally be noticeable when using
generic Cygwin versions of programs such as these.
Regards - Eliot Moss
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Copying of symbolic links not working as expected
2019-04-21 11:45 ` Matt D.
2019-04-21 12:20 ` Eliot Moss
@ 2019-04-21 12:39 ` LRN
1 sibling, 0 replies; 4+ messages in thread
From: LRN @ 2019-04-21 12:39 UTC (permalink / raw)
To: cygwin
[-- Attachment #1.1: Type: text/plain, Size: 810 bytes --]
On 21.04.2019 14:45, Matt D. wrote:
>
> I had the same problem while trying to tar and untar:
>
> tar: aosp/source/system/vold/.git/shallow: Cannot create symlink to
> ‘../../../.repo/projects/system/vold.git/shallow’: No such file or directory
My current workaround for *this* particular problem is to catch the "Cannot
create symlink" message and attempt to re-run tar multiple times until the
message is no longer outputted or the script runs out of attempts. This works
OK, unless the symlink graph is maliciously gnarly.
I doubt that this will be fixed anytime soon, it's a property of the NTFS, and
you should have known what you were signing on for when you enabled
winsymlinks:nativestrict (i'm assuming that you did; otherwise you shouldn't
have been getting these errors).
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-04-21 12:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-21 10:07 Copying of symbolic links not working as expected Matt D.
2019-04-21 11:45 ` Matt D.
2019-04-21 12:20 ` Eliot Moss
2019-04-21 12:39 ` LRN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).