[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#134260: package writes to /usr/share during build



On Mon, Feb 25, 2002 at 02:37:52PM +0900, Atsuhito Kohda wrote:
> From: Steve Langasek <vorlon@netexpress.net>
> Subject: Bug#134260: package writes to /usr/share during build
> Date: Sat, 16 Feb 2002 10:28:11 -0600

> > Justification: fails to build from source

> > The build scripts from tetex-bin 1.0.7+20011202-3.1 use a $(mandir) 
> > setting which does not respect $(prefix).  I found the patch below was 
> > necessary in order to get the package to build on my system using 
> > fakeroot.

> Did you really fail to build from source?

Yes.  The build failed for me when it tried to write to /usr.  The patch 
I included in the report fixed the problem.

> As far as I tried, there was no problem and generated (top) Makefile
> contained the line

> mandir = ${prefix}/share/man/man$(manext)
> 
> so, I guessed, 
> 
> make install prefix=`pwd`/debian/tmp/usr texmf=`pwd`/debian/...
> 
> seemed enough to provide the correct mandir.
> 
> Am I missing some important point?

Did you try building the package using fakeroot in a clean chroot?

Steve Langasek
postmodern programmer

Attachment: pgpo4xeZIZybn.pgp
Description: PGP signature


Reply to: