Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Serkan Kaba <serkan@g.o>
Subject: Re: Please avoid absolute paths in patched filenames
Date: Tue, 18 Nov 2008 06:49:53 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mart Raudsepp yazmış:
> 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?
> 
> 

See bug #237667 and dev-thread
http://archives.gentoo.org/gentoo-dev/msg_777d416bb082a45b0e4848d8db5bfec8.xml

- --
Sincerely,
Serkan KABA
Gentoo/Java
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkiSXEACgkQRh6X64ivZaJfgACfbA/wjlEoldGyZUaDev0jXyng
/SkAoIHS1c8x2bAHbeFDO+r4M8NIK++R
=+Ho/
-----END PGP SIGNATURE-----


References:
Please avoid absolute paths in patched filenames
-- Diego 'Flameeyes' Pettenò
Re: Please avoid absolute paths in patched filenames
-- Mart Raudsepp
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Please avoid absolute paths in patched filenames
Next by thread:
Package for grab: libzzub and aldrin
Previous by date:
Re: Proposal for how to handle stable ebuilds
Next by date:
Re: Re: Proposal for how to handle stable ebuilds


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.