Bug 19818 - makedepend command line parsing broken
makedepend command line parsing broken
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: XFree86 (Show other bugs)
7.0
All Linux
low Severity low
: ---
: ---
Assigned To: Mike A. Harris
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-10-25 13:39 EDT by Georg Nikodym
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-03-08 06:37:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Georg Nikodym 2000-10-25 13:39:37 EDT
The following (from one of our Makefiles) no longer works:

	makedepend -fMakefile.deps -- $(CFLAGS) -- \
		foo.c

Instead I get:

(keller) 1032$ make depend
Makefile:76: Makefile.deps: No such file or directory
/bin/rm -f Makefile.deps
touch Makefile.deps
makedepend -fMakefile.deps -- -D__KERNEL__ -DMODULE -O -Wall
-I../someplace  -- \
	foo.c
Unknown option '-Wall' ignored
rm: unrecognized option `--.bak'
Try `rm --help' for more information.
cp: missing destination file
Try `cp --help' for more information.
Appending dependencies to --
?
/bin/rm -f Makefile.deps.bak
make: Nothing to be done for `depend'.
(keller) 1033$ 

I find that makedepend is now a script...  Hmm educated whim, if I add a
space between
the -f and the Makefile.dep things work.
Comment 1 Need Real Name 2000-12-11 12:15:44 EST
I ran into this too.  Adding a space makes things work, but doesn't match the
man page.  The extra space works in the XFree86-3.3/RH6.2 version, too.

The -p option does not seem to be supported anymore.  This breaks my
multi-architecture build system (maybe I should switch to autoconf :).  This
worked in XFree86-3.3/RH6.2.

-Dan Christian
Comment 2 Mike A. Harris 2001-03-08 06:37:48 EST
Asking upstream...
Comment 3 Mike A. Harris 2001-04-02 15:20:51 EDT
Fixed in 4.0.3 in rawhide (actually it was fixed just after 4.0.2b was
tagged on March 13th).

I dunno about the -p one.  File a new bug report if it isn't fixed in
4.0.3 in rawhide.

Note You need to log in before you can comment on or make changes to this bug.