Date: Wed, 03 Jan 2018 17:15:09 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 224871] `make fetchindex' may leave a corrupt INDEX file Message-ID: <bug-224871-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224871 Bug ID: 224871 Summary: `make fetchindex' may leave a corrupt INDEX file Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: wosch@FreeBSD.org CC: freebsd-ports-bugs@FreeBSD.org In /usr/ports/Makefile is a target fetchindex to fetch the latest INDEX file for the given OS. $ cd /usr/ports; make fetchindex In case of an error the target will fail with an error status, but leaves t= he ./INDEX file in an undefined corrupt state. An error can occurs if the disk= is full, or the kernel kills the bunzip2 command (e.g. out of swap). Example: $ make fetchindex bunzip2: I/O or other error, bailing out. Possible reason follows. bunzip2: No space left on device Input file =3D (stdin), output file =3D (stdout) *** Error code 1 Stop. make: stopped in /home/projects/freebsd-ports $ du -hs INDEX-12 32M INDEX-12 The expected size is 36MB. The problem is in the line bunzip2 < ${INDEXDIR}/${INDEXFILE}.bz2 > ${INDEXDIR}/${INDEXFILE} --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224871-13>