Description of problem: I have a standard Makefile that as successfully been used for years that suddenly breaks on Mageia 3. The bug is triggered by a long target-specific variable assignment that contains one or more semicolon characters. Apparently if affects target-specific variables and if the value assigned contains semicolons and is over 150 characters, the assignment throws an error like: /home/admin/share/pkg/local/Makefile.inc:91: *** Malformed target-specific variable definition. Stop. Version-Release number of selected component (if applicable): Name : make Epoch : 1 Version : 3.82 Release : 6.mga3 How reproducible: See the following URL for a Makefile that triggers the bug. http://savannah.gnu.org/bugs/download.php?file_id=25595 Steps to Reproduce: bash $ gmake -f test.makefile a test.makefile:1: *** Malformed target-specific variable definition. Stop. bash-4.1$ gmake --version GNU Make 3.82 Remove one 'e' or a semicolon from the above and it suddenly works. Patch to fix this issue attached. The version of make needs to be bumped. The upstream bug report posts a patch. Upstream reports the bug is fixed in make version 4.0. Reproducible: Steps to Reproduce:
Cauldron has a fixed version that needs to be pulled into 3: make-4.0-2.mga4
I used rpmbuild to build the Cauldron source RPM and installed this version of make on Mageia 3. The bug disappeared.
(In reply to Kevin Bulgrien from comment #1) > Cauldron has a fixed version that needs to be pulled into 3: > > make-4.0-2.mga4 Nope. Make 4.0 introduces some fixes needing to be done all over the mga3 packages, something we wont be doing on a stable release. If we want to fix this in a stable release, we need to find the exact fix in upstream tree and backport that one.
CC: (none) => tmbAssignee: bugsquad => tmb
This is the bug: http://savannah.gnu.org/bugs/?36106 This is the patch: http://savannah.gnu.org/bugs/download.php?file_id=25596
Created attachment 5121 [details] Patch to make 3.82 to fix this bug. This is the patch posted with the upstream bug report.
Created attachment 5122 [details] Test file to detect the problem and to test the fix. This file can be used to reproduce the bug and to determine whether the patch fixes it or not. It was obtained from the upstream bug report.
Mageia 3 changed to end-of-life (EOL) status 4 months ago. http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Mageia please feel free to click on "Version" change it against that version of Mageia and reopen this bug. Thank you for reporting this bug and we are sorry it could not be fixed. -- The Mageia Bugsquad
Status: NEW => RESOLVEDResolution: (none) => OLD