Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Mart Raudsepp <leio@g.o>
Subject: Re: Please avoid absolute paths in patched filenames
Date: Tue, 18 Nov 2008 02:56:19 +0200
On Mon, 2008-11-17 at 20:24 +0100, Diego 'Flameeyes' Pettenò wrote:
> I ask it here as a favour, please avoid using absolute paths in the
> filenames of patched files. This mean avoid having stuff like
> 
> --- foobar/foo.c
> +++ /tmp/foobar/foobar.c
> 
> This tends to break from time to time, and I had to fix at least three
> packages since I started my treewide build for these problems. I already
> asked Zac about adding such a check on repoman, but in the mean time I'd
> like to ask here for people to verify their packages.
> 
> I actually am culprit of doing this some time ago but I learnt my lesson
> the hard way :P My suggestion for everybody else is to use quilt when
> you need to write patches.
> 
> And if you have patches with the filenames like I shown above, you can
> change it the git way so that it becomes:
> 
> --- a/foobar/foo.c
> +++ b/foobar/foo.c
> 
> and the problem is usually solved.

Could you please expand on what the actual problem is for reference,
having never seen them fail myself or hear any fail for others?


-- 
Mart Raudsepp
Gentoo Developer
Mail: leio@g.o
Weblog: http://planet.gentoo.org/developers/leio
Attachment:
signature.asc (This is a digitally signed message part)
Replies:
Re: Please avoid absolute paths in patched filenames
-- Serkan Kaba
References:
Please avoid absolute paths in patched filenames
-- Diego 'Flameeyes' Pettenò
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: Please avoid absolute paths in patched filenames
Next by thread:
Re: Please avoid absolute paths in patched filenames
Previous by date:
Re: Please avoid absolute paths in patched filenames
Next by date:
Re: Proposal for how to handle stable ebuilds


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.