Bug 130262 - "quilt setup gcc.spec" creates a second series file in a subdirectory
Summary: "quilt setup gcc.spec" creates a second series file in a subdirectory
Status: RESOLVED DUPLICATE of bug 130251
: 130267 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Development (show other bugs)
Version: RC 4
Hardware: All SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Olaf Dabrunz
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-24 14:10 UTC by Olaf Dabrunz
Modified: 2005-11-03 10:45 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Dabrunz 2005-10-24 14:10:01 UTC
How to reproduce:

- get the gcc sources (I took them from SLES9)
- quilt setup gcc.spec

> find . -depth -name "series"
./gcc-3.3.3/gcc/series
./gcc-3.3.3/series

In gcc.spec we have:

%prep 
%setup -q -n gcc-%{gcc_version}
%patch0 
%patch1
cd gcc
%patch2 
cd ..
%patch3
%patch4
[...]
%patch64 -p1
%patch65 -p1
cd gcc
%patch66
cd ..
%patch67
%patch68
[...]

So %patch2 and %patch66 get applied from within the gcc subdirectory and end up
in the gcc/series file.

Problem: depending on the current directory within the gcc sources, quilt
commands like "quilt push -a" and "quilt applied" behave differently.
Comment 1 Andreas Gruenbacher 2005-10-24 14:20:00 UTC
Quilt has no way of applying the -p0 style patch 2 against the gcc/ sub-directory from within the gcc-3.3.3 directory. Please fix patch2 to that it is applied from within gcc-3.3.3.
Comment 2 Andreas Gruenbacher 2005-10-24 14:26:30 UTC
*** Bug 130267 has been marked as a duplicate of this bug. ***
Comment 3 Olaf Dabrunz 2005-11-03 10:45:27 UTC

*** This bug has been marked as a duplicate of 130251 ***