bugGNU Wget - Bugs: bug #35011, make distclean removes too much


bug #35011: make distclean removes too much

Submitted by:  Peter Kruse <pjodrr>
Submitted on:  Thu 08 Dec 2011 08:57:14 AM UTC  
Category: Build/InstallSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: PeterOpen/Closed: Closed
Release: 1.16.3Operating System: None
Reproducibility: Every TimeFixed Release: None
Planned Release: NoneRegression: None
Work Required: NonePatch Included: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 14 Mar 2015 12:06:52 PM UTC, comment #5:

it was fixed by:

commit 0a4826f4a1700c20c1a5cae6363ec532d230d35b
Author: Friedrich Haubensak <hsk@fli-leibniz.de>
Date: Thu Dec 11 15:17:07 2014 +0100

Add support for older versions of flex (tiny change)

E.g. flex 2.5.4 (Solaris 10) does not like a space after -o.

Giuseppe Scrivano <gscrivano>
Project Administrator
Thu 12 Mar 2015 04:25:10 PM UTC, comment #4:

I'm using wget version 1.9.1 and I can neither reproduce this bug nor locate the files
./src: build_info.c
./src: css_.c
./src: css.c
What am I missing here?

Ameya Marathe <ameyamarathe18>
Wed 14 Dec 2011 12:20:17 PM UTC, comment #3:


version 1.13.4, and verified the tar.bz2 with your signature,
the space is in src/Makefile.in:

> ggrep -C 1 -- "LEX.*-o" src/Makefile.in

css.c: $(srcdir)/css.l
$(LEX) $(LFLAGS) -o $@ $^



Peter Kruse <pjodrr>
Sat 10 Dec 2011 01:36:52 PM UTC, comment #2:

I can't see that space in the development version of wget. What version are you using?


Giuseppe Scrivano <gscrivano>
Project Administrator
Fri 09 Dec 2011 12:29:36 PM UTC, comment #1:

Hello again,

the attached patch fixes this issue, the problem was not that too many files were deleted but that flex does not expect a space after the option "-o". Maybe I'm using an ancient version of flex, and this behaviour was changed.
Anyways, removing the space fixes it for me.


Peter Kruse <pjodrr>
Thu 08 Dec 2011 08:57:14 AM UTC, original submission:


when running "make distclean", these files are removed making it
impossible to build again:

./src: build_info.c
./src: css_.c
./src: css.c

running "./configure && make" again results in this error:

Making all in src
flex: can't open css.c
gmake[3]: *** [css.c] Error 1
gmake[2]: *** [all] Error 2
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2

gmake is GNU Make 3.81


Peter Kruse <pjodrr>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #24554:  Makefile.patch added by pjodrr (315B - text/x-patch - Patch for Makefile)
file #24555:  Makefile.in.patch added by pjodrr (324B - text/x-patch - Patch for Makefile)
file #24556:  Makefile.patch added by pjodrr (315B - text/x-patch - Patch for Makefile)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by ameyamarathe18 (Posted a comment)
  • -unavailable- added by gscrivano (Posted a comment)
  • -unavailable- added by pjodrr (Submitted the item)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 14 Mar 2015 12:06:52 PM UTCgscrivanoStatusNone=>Fixed
    Fri 09 Dec 2011 12:25:22 PM UTCpjodrrAttached File-=>Added Makefile.patch, #24554
      Attached File-=>Added Makefile.in.patch, #24555
      Attached File-=>Added Makefile.patch, #24556

    Back to the top

    Powered by Savane 3.1-cleanup1