Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2015 01:31:09 +0100
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        office@freebsd.org
Subject:   libreoffice: failure detection could dmesg |& grep ": filesystem full"
Message-ID:  <201511100031.tAA0V9uH083021@fire.js.berklix.net>
In-Reply-To: Your message "Sat, 07 Nov 2015 02:47:57 -0500." <563DACAD.6090806@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi office@ & jkim@,

Suggestion: libreoffice Makefile could have a trap to detect failure, & do
	dmesg |& grep ": filesystem full"

Reason: Presumably libreofice is most vulnerable by far to transient
disturbance as it is so huge, taking hours to days to build, so
there's a lot of time exposure when transient disk partition usage,
or adjacent memory fork saturation etc can pollute the build tree.

It would run immediately after failure, & clearly show problem,
before logs might later rotate, & humans return perhaps next day &
miss old dmesg clues.

One reason for one of my previous build failures (& possibly other
peoples' at times ?) was a ports/ partition transiently filled, &
not realised (a neighbouring process transiently wanted 60+
gig in the same partition as the ports/ build).

I finaly managed to build libreoffice on current a few days ago,
  ls -l /usr/ports/packages/All/libreoffice*
  -rw-r--r--  1 root  staff  73250204 Jun  7 16:45 libreoffice-4.3.7.txz
  -rw-r--r--  1 root  staff  73039668 Oct 29 21:06 libreoffice4-4.3.7.txz
  -rw-r--r--  1 root  staff  74493380 Nov  6 20:31 libreoffice-5.0.3.txz

after recent failures, jkim@ kindly gave me patches, 
  http://berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/editors/libreoffice/files
(the first patch of which I used succesfully to build, & the 2nd
patch I didnt apply as I was by then already in mid re-build, which
succeeded & so then I switched to rebuild generic, ready to hand
apply patches & test as needed...  but I was happily suprised when
generic then built with no additional patches, leaving me puzzling
"Why did it build finaly ?!" :-)

Cheers,
Julian
--
Julian Stacey,  BSD Linux Unix Sys. Eng. Consultant Munich http://berklix.com
 Reply After previous text to preserve context, as in a play script.
 Indent previous text with > 		Insert new lines before 80 chars.
 Use plain text, Not quoted-printable, Not HTML, Not base64, Not MS.doc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511100031.tAA0V9uH083021>