bugmake - Bugs: bug #30897, simple archive rules broken under...


bug #30897: simple archive rules broken under make 3.82

Submitted by:  Mike Frysinger <vapier>
Submitted on:  Sat 28 Aug 2010 10:23:19 PM UTC  
Severity: 3 - NormalItem Group: None
Status: DuplicatePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: NoneOperating System: None
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)

You are not logged in

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


Sat 28 Aug 2010 11:44:04 PM UTC, comment #1:

Duplicate of bug #30612

Paul D. Smith <psmith>
Project Administrator
Sat 28 Aug 2010 10:23:19 PM UTC, original submission:

the simple makefile:
$ cat Makefile
FILES = boxdraw smbios console
OBJS = $(FILES:%=%.o)
libfoo.a: libfoo.a($(OBJS))

along with simple source files:
$ touch boxdraw.c smbios.c console.c

no longer works with make 3.82. make 3.81 works fine.

$ make-3.81 -n
cc -c -o boxdraw.o boxdraw.c
ar rv libfoo.a boxdraw.o
cc -c -o smbios.o smbios.c
ar rv libfoo.a smbios.o
cc -c -o console.o console.c
ar rv libfoo.a console.o
rm console.o smbios.o boxdraw.o

$ make-3.82 -n
make-3.82: *** No rule to make target `boxdraw.o)', needed by `libfoo.a'. Stop.

and depending on the contents of FILES, the error message may change slightly (not sure if this matters):

$ make-3.82 -n FILES="boxdraw smbios"
make-3.82: *** No rule to make target `libfoo.a(boxdraw.o', needed by `libfoo.a'. Stop.

Mike Frysinger <vapier>


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by vapier (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


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



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 28 Aug 2010 11:44:04 PM UTCpsmithStatusNone=>Duplicate

    Back to the top

    Powered by Savane 3.1-cleanup1