[26149] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r25419 - trunk/athena/bin/quota/debian

daemon@ATHENA.MIT.EDU (Anders Kaseorg)
Sat Oct 22 20:27:17 2011

Message-ID: <4EA35F62.7060402@mit.edu>
Date: Sat, 22 Oct 2011 20:27:14 -0400
From: Anders Kaseorg <andersk@MIT.EDU>
MIME-Version: 1.0
To: Benjamin Kaduk <kaduk@MIT.EDU>
CC: Jonathan D Reed <jdreed@MIT.EDU>, source-commits@MIT.EDU
In-Reply-To: <alpine.GSO.1.10.1110222008480.882@multics.mit.edu>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit

On 10/22/2011 08:11 PM, Benjamin Kaduk wrote:
> oneiric has openafs 1.6.0, which renamed its com_err library to
> afscom_err (at my prodding). I guess (but didn't check) that quota wants
> AFS's com_err to decode errors from an AFS utility, so the desire for
> the library is not spurious. In that case, we should also check for
> /usr/lib/afs/libafscom_err.a -- is the best way to do so just another
> $(if $(wildcard ...)) stanza with LIBS+= ?

quota does not directly use com_err at all, only indirectly via 
liblocker.  IIRC, the LIBS setting here was only there to stop the 
normal com_err from screwing everything up.

quota builds on precise without any LIBS setting; I only had to add 
CPPFLAGS=-D_LINUX_QUOTA_VERSION=1 to fix “error: ‘struct dqblk’ has no 
member named ‘dqb_curblocks’”.  I haven’t checked oneiric, but I assume 
jdreed did.

Anders

home help back first fref pref prev next nref lref last post