I am using Freebsd 13.0-CURRENT(the reason I used this version is: 1. I'm not an engineer, just to familiarize myself with linux and cli; 2. I thought this issue is a problem of 12.x and might be solved in 13.x!), and I can't use the pkg tool. When I bootstrap it, it gives error "Failed to extract /usr/local/share/zsh/site-functions/_pkg from package: Lzma library error: No progress is possible". When I build ports-mgmt/pkg, it also gives error: "<jemalloc>: jemalloc_arena.c:647: Failed assertion: "nstime_compare(&decay->epoch, &time) <= 0".I REALLY want to use it, but I don't have any solutions.
@Haocheng Could you please provide:
- Exact FreeBSD version (uname -a)
- Two complete logs of commands ran, and all output from those comments, one for each of failing to build ports-mgmt/pkg and the failure case for running pkg
- Confirmation that the ports tree used to build pkg is up to date (portsnap fetch update, or svn update)
Output of uname -a:
Output of make install clean in ports-mgmt/pkg:
Output of make install clean in editor/dte (one of the package I want to have):
Note: Log files are generated by 'make install clean' > [package-name]make.log
Output when running make install clean in ports-mgmt/dislog4ports:
Note: I see one line of output not in the log files listed above: "No installed jimsh or tclsh, building bootstrap jimsh0". Probably it's wrote to stderr not stdout as `>' expected?
(In reply to Haocheng Zhang from comment #3)
The note means that that line of output is not written into the file, instead written to console.
Sorry I didn't give the log bootstraping pkg. Here it is:
UPDATE2 (2020.02.25 12:22:46 CST): Reinstalled system, I still can't use it. What's more, when I tried to download (using ftp) the source of autoconf and its dependency m4 from ftp://ftp.gnu.org, it can download successfully, but then when extracting the .tar.xz archive, it gives same error as the summary: Lzma library error: No progress is possible.
UPDATE3: 2020/03/03 09:42:03 CST
Now downloading m4 doesn't have any problem, but building it has. Gives error as described here: https://unix.stackexchange.com/questions/570646/building-m4-from-source-on-freebsd-error-dont-know-how-to-make-build-aux
Magically solved by downgrading to 12.0. Maybe it's a bug with 13.0.