Git LFS는 더 이상 Yocto와 작동하지 않습니다. 도구를 이 버전으로 업그레이드했기 때문에 git은 "대형 파일"을 선택할 수 없습니다.
Yocto kirkstone
gitlab 16.7.3 and gitlab 16.8
git version 2.34.1
git-lfs/3.0.2 (GitHub; linux amd64; go 1.18.1)
Kubuntu 22.04: Linux linux-dev 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Yocto 명령을 실행할 때"비트베이크 tep2020ihm"여러 개 있어요"토양" 오류 예:
ERROR: tep2020ihm-1.22-r0 do_unpack: Bitbake Fetcher Error: FetchError( <...>) failed with exit code 128, output:\nDownloading 3rd-party/aghaf/lib/aghaf.dll (6.6 MB)\nError downloading object: 3rd-party/aghaf/lib/aghaf.dll (1d6198d): Smudge error: Error downloading 3rd-party/aghaf/lib/aghaf.dll
프로젝트를 수동으로 복제할 때("개발 서버의 다른 디렉터리에" 명령을 수동으로 입력하여)git 클론 https://...", 대용량 파일을 포함하여 작동합니다. Yocto fetcher가 이 작업을 수행하면 작동하지 않습니다(대용량 파일의 스미어 버그).
.bb 파일의 SRC_URI 변수(내 프로젝트의 Yocto 레시피)에 "lfs=0"을 언급하면 getter가 작동하지만 파일의 내용을 가져오는 대신 "LFS blob"을 가져옵니다.
version https://git-lfs.github.com/spec/v1
oid sha256:dba4dab327a3b420509ac9f466acde6c657698ccb1854522d20d3cfb35a493c1
size 173735936
제가 언급하지 않은 사항을 명확히 하기 위해 아래에 "git lfslogslast" 명령의 결과를 생성했습니다.
git-lfs/3.0.2 (GitHub; linux amd64; go 1.18.1)
git version 2.34.1
$ git-lfs filter-process
Error downloading object: 3rd-party/aghaf/lib/aghaf.dll (1d6198d): Smudge error: Error downloading 3rd-party/aghaf/lib/aghaf.dll (1d6198d4a0a31d3425d50901619f3b223e15d8f328c5a554d6150a0cb00fb5fd): batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
Error downloading 3rd-party/aghaf/lib/aghaf.dll (1d6198d4a0a31d3425d50901619f3b223e15d8f328c5a554d6150a0cb00fb5fd)
github.com/git-lfs/git-lfs/errors.newWrappedError
github.com/git-lfs/git-lfs/errors/types.go:225
github.com/git-lfs/git-lfs/errors.Wrapf
github.com/git-lfs/git-lfs/errors/errors.go:85
github.com/git-lfs/git-lfs/lfs.(*GitFilter).downloadFile
github.com/git-lfs/git-lfs/lfs/gitfilter_smudge.go:119
github.com/git-lfs/git-lfs/lfs.(*GitFilter).Smudge
github.com/git-lfs/git-lfs/lfs/gitfilter_smudge.go:78
github.com/git-lfs/git-lfs/commands.smudge
github.com/git-lfs/git-lfs/commands/command_smudge.go:127
github.com/git-lfs/git-lfs/commands.filterCommand
github.com/git-lfs/git-lfs/commands/command_filter_process.go:122
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra/command.go:860
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra/command.go:974
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra/command.go:902
github.com/git-lfs/git-lfs/commands.Run
github.com/git-lfs/git-lfs/commands/run.go:105
main.main
github.com/git-lfs/git-lfs/git-lfs.go:33
runtime.main
runtime/proc.go:250
runtime.goexit
runtime/asm_amd64.s:1571
Smudge error
github.com/git-lfs/git-lfs/errors.newWrappedError
github.com/git-lfs/git-lfs/errors/types.go:225
github.com/git-lfs/git-lfs/errors.NewSmudgeError
github.com/git-lfs/git-lfs/errors/types.go:311
github.com/git-lfs/git-lfs/lfs.(*GitFilter).Smudge
github.com/git-lfs/git-lfs/lfs/gitfilter_smudge.go:87
github.com/git-lfs/git-lfs/commands.smudge
github.com/git-lfs/git-lfs/commands/command_smudge.go:127
github.com/git-lfs/git-lfs/commands.filterCommand
github.com/git-lfs/git-lfs/commands/command_filter_process.go:122
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra/command.go:860
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra/command.go:974
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra/command.go:902
github.com/git-lfs/git-lfs/commands.Run
github.com/git-lfs/git-lfs/commands/run.go:105
main.main
github.com/git-lfs/git-lfs/git-lfs.go:33
runtime.main
runtime/proc.go:250
runtime.goexit
runtime/asm_amd64.s:1571
Current time in UTC:
2024-01-18 17:17:38
ENV:
LocalWorkingDir=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0/git
LocalGitDir=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0/git/.git
LocalGitStorageDir=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0/git/.git
LocalMediaDir=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0/git/.git/lfs/objects
LocalReferenceDirs=
TempDir=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0/git/.git/lfs/tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0/git/.git/lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file,ssh
UploadTransfers=basic,lfs-standalone-file,ssh
GIT_EXEC_PATH=/usr/lib/git-core
GIT_CEILING_DIRECTORIES=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0
GIT_PREFIX=
GIT_CONFIG_PARAMETERS='core.fsyncobjectfiles'='0' 'gc.autoDetach'='false' 'core.pager'='cat'
Client IP addresses:
답변1
"이름 확인이 일시적으로 실패했습니다" 메시지는 호스트 이름을 확인하는 동안 일종의 DNS 문제가 발생했음을 의미합니다 gitlab.annecyelectronique.com
. 문제를 해결하면 상황이 다시 정상으로 돌아올 가능성이 높습니다.
여기에는 로컬 확인자 손상, 로컬 네트워크의 재귀 이름 서버 손상, 신뢰할 수 있는 DNS 서버 손상(DNSSEC 문제 포함) 또는 네트워크 문제 등 여러 가지 원인이 있을 수 있습니다. Git LFS는 Go로 작성되었으며 기본적으로 Go는 이름을 확인하기 위해 libc를 사용하지 않습니다. 따라서 mdns 또는 기타 비DNS 시스템에서 이를 구성한 경우 GODEBUG=netdns=cgo
작동하도록 환경에서 설정해야 할 수도 있습니다.
그러나 전반적으로 이는 Git LFS의 버그라기보다는 어딘가의 구성 오류인 것이 거의 확실합니다.