Make distclean failes: too many args on command line

RESOLVED FIXED in mozilla0.9

Status

P3
normal
RESOLVED FIXED
19 years ago
14 years ago

People

(Reporter: laurent.duperval, Assigned: cls)

Tracking

Trunk
mozilla0.9
HP
HP-UX

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

19 years ago
HPUX 10.10
M15 sources
Using GNU rm
Shell: tcsh 6.04.00

Running make distclean fails because the command line is too long. I believe
that the DIST_GARBAGE variable contains too many */Makefiles. Not sure how that
can be fixed.

Updated

19 years ago
Target Milestone: --- → M18
(Assignee)

Comment 1

18 years ago
This should be mine.
Assignee: slamm → cls
(Assignee)

Comment 2

18 years ago
Created attachment 20145 [details] [diff] [review]
Detect & use xargs to delete huge list of Makefiles
(Assignee)

Comment 3

18 years ago
mkaply, dose OS/2 have the xargs command?
jdunn, can you verify that the 'echo | xargs rm' does work on hpux?
Status: NEW → ASSIGNED
Component: Build → Build Config
Product: Webtools → Browser
Target Milestone: M18 → mozilla0.9

Comment 4

18 years ago
Yep, we have a gnu xargs. Now whether or not it will work like you want...

Comment 5

18 years ago
I applied these changes to an hp 11.00 build and it works fine...
will now try a 10.20 build...  (don't have a 10.10)

Comment 6

18 years ago
I saw that you checked this the diffs...
but, I finally got to try this on HP 10.20 and it isn't working,
I am still seeing the error
"execvp: /bin/sh: Arg list too long"

Will continue to look at this.
(Assignee)

Comment 7

18 years ago
Created attachment 20430 [details] [diff] [review]
Pipe huge list of makefiles directly into xargs rather than use make variable

Comment 8

18 years ago
This latest diff (combined with the earlier one) works on HP10.20.

r= jdunn@netscape.com
(Assignee)

Comment 9

18 years ago
Patch has been checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.