Re: [pkg-fallout@FreeBSD.org: [package - 140amd64-default][finance/ticker] Failed for ticker-4.6.3 in fetch]
Date: Mon, 24 Jun 2024 06:00:13 UTC
On Tue, Jun 18, 2024 at 11:50:24AM GMT, Robert Clausecker wrote: > I'm receiving this fallout message that looks like something went > wrong during fetch: > > https://lists.freebsd.org/archives/freebsd-pkg-fallout/2024-June/615449.html > > Especially this part is suspicious: > > => charmbracelet-x-v0.1.0_GH0.tar.gz doesn't seem to exist in /portdistfiles/. > => Attempting to fetch https://codeload.github.com/charmbracelet/x/tar.gz/v0.1.0?dummy=/charmbracelet-x-v0.1.0_GH0.tar.gz > fetch: 10317: No such file or directory > fetch: https://codeload.github.com/charmbracelet/x/tar.gz/v0.1.0?dummy=/charmbracelet-x-v0.1.0_GH0.tar.gz: size unknown > fetch: https://codeload.github.com/charmbracelet/x/tar.gz/v0.1.0?dummy=/charmbracelet-x-v0.1.0_GH0.tar.gz: size of remote file is not known > charmbracelet-x-v0.1.0_GH0.tar.gz 10 kB 69 MBps 00s > => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/charmbracelet-x-v0.1.0_GH0.tar.gz > fetch: 10317: No such file or directory > > What is the meaning of the number “10317?” I was unable to find where > it comes from. 10317 is the size of the file, it is passed as an argument to fetch to tell it that if the file size is different, it does not need to be fetched because the checksum will be wrong too. That being said, I have no idea what goes exacly wrong here, the fetch command must have been changed in an interesting way, maybe set DEBUG_MK_SCRIPTS=yes in your environment to enable `set -x` in the framework scripts. Thinking about it, a possible problem is if the distfile is present twice in the distinfo file, so the file size somehow gets in there twice, which is one too many. -- Mathieu Arnold