[bug #22434] Consider a dependancy as target file and try to make the file
URL: http://savannah.gnu.org/bugs/?22434 Summary: Consider a dependancy as target file and try to make the file Project: make Submitted by: mornifle Submitted on: Wednesday 02/27/2008 at 18:49 Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 3.81 Operating System: POSIX-Based Fixed Release: None ___ Details: Hi, here the end of the log to see the problem Considering target file `Pokme'. File `Pokme' does not exist. Looking for an implicit rule for `Pokme'. Trying pattern rule with stem `Pokme'. Trying implicit prerequisite `Pokme.cpp'. Found an implicit rule for `Pokme'. Pruning file `Pokme.cpp'. Finished prerequisites of target file `Pokme'. Must remake target `Pokme'. to reproduce the bug read http://hg.plopbyte.net/GnuMakeBug/file/0de340f455d7/README to get the minimal project to reproduce it hg clone http://hg.plopbyte.net/GnuMakeBug I hope it helps ___ Reply to this item at: http://savannah.gnu.org/bugs/?22434 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make
[bug #22434] Consider a dependancy as target file and try to make the file
Follow-up Comment #3, bug #22434 (project make): Your testcase is way too complex to be convenient - it would be more helpful if you could make a self-contained example, rather than requiring people to install Hg and then clone your repository and then autoconf a makefile and only /then/ be able to even /start/ looking at the problem. So this is only a guess, but it sounds like you've missed or misread the part of the manual that explains that all dependencies are always supposed to be prerequisites, and if you just want a goal as a dependency that doesn't make a target file of the same name, you have to list it as a .PHONY target. Are you simply missing a .PHONY declaration to tell make that Pokme isn't the name of a real output file? ___ Reply to this item at: http://savannah.gnu.org/bugs/?22434 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make
[bug #22198] wrong target name - possibly buffer overflow with long shell-result
Update of bug #22198 (project make): Status:None = Not A Bug Open/Closed:Open = Closed ___ Reply to this item at: http://savannah.gnu.org/bugs/?22198 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make
[bug #22434] Consider a dependancy as target file and try to make the file
Follow-up Comment #4, bug #22434 (project make): Sorry for the poor description. I will try to explain. I added an example to reproduce it: autoreconf -f -i ./configure make touch src/Viewer.cpp make - an error occur here and it should not while i ran make -d at this stage i deduce (maybe i am wrong) that a dependency is used as target eg it try to build Viewer object (and it should not because it's an include). I dont know why that's happen and why it does not happen the first time. Maybe my explanation is not clear, try the example is very simple and you will be able to reproduce the problem. i put under the log of the compile it can give you an idea of the problem. (file #15134) ___ Additional Item Attachment: File name: logSize:9 KB ___ Reply to this item at: http://savannah.gnu.org/bugs/?22434 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make