ports/129122: Building OpenOffice.org-3.0.0 fails

Jukka A. Ukkonen jau at iki.fi
Sat Nov 29 02:30:05 PST 2008


The following reply was made to PR ports/129122; it has been noted by GNATS.

From: jau at iki.fi (Jukka A. Ukkonen)
To: bug-followup at freebsd.org, openoffice at freebsd.org
Cc:  
Subject: Re: ports/129122: Building OpenOffice.org-3.0.0 fails
Date: Sat, 29 Nov 2008 12:26:33 +0200 (EET)

 	The root cause seems to be quite obvious in this case.
 
 	GNU cp (gcp) still fails miserably when ACLs are enabled.
 	It assumes that it can set default ACLs for files other than
 	directories. Linux quietly accepts and ignores a default ACL
 	for files other than directories. FreeBSD OTOH quite correctly
 	returns an error.
 
 	This leaves some intermediate targets non-existent during the
 	build when ACLs are enable.
 
 	The correct solution would be fixing gcp of course.
 
 	To make the ports build successful on ACL enabled systems
 	while waiting for the real fix you can...
 
 	1) either make the build phase use the native cp in place of
 	gcp (labour intensive),
 
 	2) or emulate gcp on top of the native cp (simple),
 
 	*) and remove the stupid test for the real gcp being used
 	during the configure phase, because it is a guaranteed way
 	to make the build process fail.
 	With that pointless test in place it becomes hard to emulate
 	gcp on top of the native cp.
 
 	Even better would be simply turning the ACLs on in the FreeBSD
 	ports build environments to make this sort of problems stick
 	out in a way that they just have to be fixed.
 
 
 	Cheers,
 		// jau
 .---  ..-  -.-  -.-  .-    .-  .-.-.-    ..-  -.-  -.-  ---  -.  .  -.
   /    Jukka A. Ukkonen,                             Oxit Ltd, Finland
  /__   M.Sc. (sw-eng & cs)                    (Phone) +358-500-606-671
    /   Internet: Jukka.Ukkonen(a)Oxit.Fi        (Home) +358-9-6215-280
   /    Internet: jau(a)iki.fi
  v
         .---  .-  ..-  ...-.-  ..  -.-  ..  .-.-.-  ..-.  ..
 + + + + My opinions are mine and mine alone, not my employers. + + + +


More information about the freebsd-openoffice mailing list