FS#35968 - [make] 3.82-5 fails on a valid dependency (fix for upstream bug 30612 is not complete)

Attached to Project: Arch Linux
Opened by Paul Barker (paulbarker) - Friday, 28 June 2013, 18:16 GMT
Last edited by Allan McRae (Allan) - Monday, 01 July 2013, 06:00 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

This is Redhat Bug Bug 975597: https://bugzilla.redhat.com/show_bug.cgi?id=975597

Upstream make  bug 30612 : http://savannah.gnu.org/bugs/?30612

The bug is fixed in upstream commit b06b8c6: http://git.savannah.gnu.org/cgit/make.git/commit/?id=b06b8c64a29a5ba3a8daecd829fa2f98d42cb285

That commit just needs backporting to the current Arch release of make. There is a patch for upstream  bug 30612  in the PKGBUILD for make but it doesn't appear to contain the above commit and so doesn't completely fix the issue.

I can provide additional info or testing if needed.
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 01 July 2013, 06:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  make 3.82-6 in [testing]
Comment by Paul Barker (paulbarker) - Friday, 28 June 2013, 18:21 GMT
Additional info, from Redhat bug:

A valid dependency of the type:

target( dep1 dep2)

Fails, where:

target(dep1 dep2)

succeeds.


Version-Release number of selected component (if applicable):
make 3.82 all versions

How reproducible:
Use the following makefile

-----
test.a: test_a.c test_b.c test.a( test_a.c test_b.c)

test_a.c:
touch $@

test_b.c:
touch $@
------

(note those are tabs, not spaces on the 'touch' lines)

Steps to Reproduce:
1. make -f makefile

Actual results:
touch test_a.c
touch test_b.c
make: *** No rule to make target `test.a()', needed by `test.a'. Stop.


Expected results:
touch test_a.c
touch test_b.c
ar rv test.a test_a.c
ar: creating test.a
a - test_a.c
ar rv test.a test_b.c
a - test_b.c
Comment by niqingliang (niqingliang2003) - Monday, 01 July 2013, 05:34 GMT
I have encountered same problem when using yocto/openembedded, the sanity checker said the make has not been patched for 30712.
Comment by Allan McRae (Allan) - Monday, 01 July 2013, 05:43 GMT
Ah - it was patched for the fix of 30612 given in August 2010. Additional issues were presented and in the same bug in June 2011 which are not included in our patch.

Loading...