Re: 3.82 to 3.81

2011-12-01 Thread Paul Smith
On Thu, 2011-12-01 at 18:55 +0530, Sijith James Philip wrote: For project specific need i want to change makefile version 3.82 to 3.81. Is it possible to do that. The source code for most previous versions of GNU make is available for download: http://ftp.gnu.org/gnu/make/ Choose the one

Re: Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread Paul Smith
On Wed, 2011-11-16 at 12:32 -0600, david.hag...@gmail.com wrote: I have a make file that includes a set of machine generated dependency files. Those files describe a set of shared libraries to be build, of the form: somedir/libfoo.so: somedir/libbar.so somedir/libbaz.so Note that

Re: Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread Paul Smith
On Wed, 2011-11-16 at 15:40 -0600, david.hag...@gmail.com wrote: Try running the parallel version with -d (redirect the output because it's voluminous) and see what make says about trying to build somedir/libfoo.so: what does it say about the somedir/libbar.so prerequisite? That it does

Re: Make 3.81 and 3.82 break on parallel build

2011-11-16 Thread Paul Smith
On Wed, 2011-11-16 at 17:35 -0600, David Hagood wrote: On Wed, 2011-11-16 at 17:02 -0500, Paul Smith wrote: On Wed, 2011-11-16 at 15:40 -0600, david.hag...@gmail.com wrote: Try running the parallel version with -d (redirect the output because it's voluminous) and see what make says

Re: [rfc] Colorized output for GNU make?

2011-11-13 Thread Paul Smith
On Fri, 2011-11-11 at 22:42 +0100, Sebastian Pipping wrote: the copyright assignment form reached the FSF more than a week ago. Would be great to get some more review on my patch now. I don't mind if on-list, off-list, half-half... Hi Sebastian. I got notified by the FSF that your

Re: [PATCH] High resolution file timestamp support for Mac OSX

2011-11-13 Thread Paul Smith
On Wed, 2011-10-12 at 19:32 +, Troy Runkel wrote: The GNU make configure script currently doesn’t enable high resolution file timestamp support for the Mac OSX platform. However, nanosecond file timestamps are available, they’re just stored in a different location in the ‘struct stat’

Re: fix for make gaining jobserver tokens

2011-11-13 Thread Paul Smith
On Tue, 2011-10-25 at 13:34 -0700, Tim Newsome wrote: We do a lot of builds (as in double-digit servers building non-stop). Sometimes, when a part of the build fails, make -j8 would die with: make: INTERNAL: Exiting with 9 jobserver tokens available; should be 8 With -j16 the error would

Re: [bug #33034] Makefile:23: *** mixed implicit and normal rules. Stop. for Linux kernel out of source builds

2011-11-11 Thread Paul Smith
On Thu, 2011-11-10 at 14:51 -0500, tz wrote: On Nov 10, 2011 2:32 PM, Paul Smith psm...@gnu.org wrote: On Thu, 2011-11-10 at 10:36 -0500, tz wrote: You don't need to cross-compile: you can compile natively. What you can't do is rely on your upstream vendor to provide you the toolchain

Re: [bug #33034] Makefile:23: *** mixed implicit and normal rules. Stop. for Linux kernel out of source builds

2011-11-10 Thread Paul Smith
On Thu, 2011-11-10 at 10:36 -0500, tz wrote: Unfortunately, in the embedded world, not everything is updated constantly. Even the desktop is not updated weekly. ARM is still at Fedora 12, though 16 was just released. I don't and won't have an updated kernel tree that works unless I find

Re: wildcard function returns nothing when filename contains '_' or '[' characters

2011-10-23 Thread Paul Smith
On Sun, 2011-10-23 at 19:21 +0200, earlgrey wrote: __modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod))) with MODVERDIR=fglrx-11.06[Driver 8.861] There's no problem with underscores. The problem with [] is that these are special to the shell's globbing

Re: [rfc] Colorized output for GNU make?

2011-10-19 Thread Paul Smith
On Thu, 2011-10-20 at 05:56 +0200, Sebastian Pipping wrote: On 10/11/2011 10:11 PM, Sebastian Pipping wrote: Alright. Please initiate the copyright assignment process. Any news on this? So there are no preperations to do? The paperwork generally requires you to list the files that you

Re: German message error Konnte nicht geöffnet werden printed to stdout instead of stderr

2011-10-18 Thread Paul Smith
On Tue, 2011-10-18 at 09:05 +0200, Alexander Kriegisch wrote: Some more information: I found the relevant string in /usr/share/locale-langpack/de/LC_MESSAGES/make.mo which is part of Debian package language-pack-de-base, currently installed on my Ubuntu Oneiric in version 1:11.10+20111006.

Re: German message error Konnte nicht geöffnet werden printed to stdout instead of stderr

2011-10-17 Thread Paul Smith
On Mon, 2011-10-17 at 12:58 +0200, Alexander Kriegisch wrote: I am using GNU make 3.81 on Ubuntu oneiric (11.10). I noticed that the German error message Konnte nicht geöffnet werden. is sometimes listed in my output, even if I redirect stderr to /dev/null. So obviously it goes to stdout.

RE: suggestion: new make function

2011-10-12 Thread Paul Smith
On Tue, 2011-10-11 at 11:03 -0700, Lawrence Ibarria wrote: -Original Message- From: bug-make-bounces+libarria=nvidia@gnu.org [mailto:bug-make- bounces+libarria=nvidia@gnu.org] On Behalf Of David Boyce Sent: Sunday, September 25, 2011 2:17 PM To: Tim Murphy Cc:

Re: [rfc] Colorized output for GNU make?

2011-10-11 Thread Paul Smith
On Mon, 2011-10-10 at 23:59 +0200, Sebastian Pipping wrote: On 10/03/2011 06:22 PM, Sebastian Pipping wrote: To re-summarize: - make does not color its output itself as of now - colorized output would help distincing output by make from output by programs involked by make,

Re: [rfc] Colorized output for GNU make?

2011-10-11 Thread Paul Smith
On Wed, 2011-10-12 at 00:05 +0200, Eli Zaretskii wrote: Date: Tue, 11 Oct 2011 22:11:23 +0200 From: Sebastian Pipping sebast...@pipping.org * The implementation is clean and portable and doesn't add lots of complexity to the code. Does everything support the color codes

Re: Online manual: wrong define in eval section

2011-10-08 Thread Paul Smith
On Sat, 2011-10-08 at 17:34 +0200, Georg Sauthoff wrote: Hi, currently the online manual section on eval http://www.gnu.org/software/make/manual/make.html#Eval-Function contains an example with folowing line: define PROGRAM_template = In comparison to that my local info page (make

Re: Online manual: wrong define in eval section

2011-10-08 Thread Paul Smith
On Sat, 2011-10-08 at 18:04 +0200, Georg Sauthoff wrote: It's not the manual that's outdated, it's your version of GNU make. oh, you are right. Somehow did not expect such a change in syntax at this age of GNU make or between minor version numbers. There is always new syntax in every

RE: make 3.82 performing more stat() calls than 3.81

2011-09-16 Thread Paul Smith
On Fri, 2011-09-16 at 19:18 +, Troy Runkel wrote: FYI, I believe I've located the fix in the GNU make CVS repository that resolves the excessive stat() call problem. I've back-ported the fix into 3.82 and it appears to be working in our build system. The patch for 'read.c' is attached

Re: make 3.82 performing more stat() calls than 3.81

2011-09-14 Thread Paul Smith
On Tue, 2011-09-13 at 21:06 +, Troy Runkel wrote: During our investigation we found that make 3.82 performs more stat() calls than 3.81. Hi Troy. I've verified that this issue exists in 3.82 but it's already been fixed in CVS and the fix will be available in the next release of GNU make.

Re: Problems installing gmake

2011-09-09 Thread Paul Smith
On Thu, 2011-09-08 at 15:54 -0500, Dennis Sonifer wrote: I have an HPUX 11.23 PA-RISC machine. Downloaded the make file from your site, make-3.82.tar.gz. I am hoping there is just a setting or two away from perfection but I am generally unfamiliar with installing packages. Looks like there

Re: different behavior on 3.82, 3.81, 3.80-and-older

2011-09-06 Thread Paul Smith
On Tue, 2011-09-06 at 16:31 -0500, Brandon Casey wrote: all:: SHELL_PATH = /bin/sh SHELL = $(SHELL_PATH) some_file: shell_compatibility_test FORCE @echo making some_file @$(SHELL) true Are you sure you don't mean $(SHELL) -c true here? The above will never succeed unless

Re: [PATCH] Options: `--dry-run' should prevent `--touch' from touching

2011-09-01 Thread Paul Smith
On Fri, 2011-09-02 at 01:58 +, Michael Witten wrote: Hello? I do prefer bugs files in Savannah to things sent on the mailing list, just because they're easier to keep track of. I applied this patch. -- --- Paul

Re: gnubatch-1.3

2011-08-29 Thread Paul Smith
On Mon, 2011-08-29 at 17:02 -0300, Marcos Hocpfner wrote: hello, I need know, whit that version the GCC compiler the same, I am intall on a Solaris 10 sparc This list is for people who need help using the GNU make program. You need to ask your question on a list dedicated to either the GCC

Re: Automatic variable $ doesnt increment to the next source file while compiling

2011-07-19 Thread Paul Smith
On Tue, 2011-07-19 at 15:22 +0530, Rahul wrote: I am using make (version 3.81) for compilation. However the automatic variable $ doesnt increment as expected and uses the 1st source file itself for compiling all the objects. There's not much help we can give based on this description. Please

RE: $(sort) - what is lexical order? (was RE: Follow-up)

2011-07-19 Thread Paul Smith
There is no standard definition of lexical order that I'm aware of that means only, and exactly, sorted according to the current locale collation definition. The free dictionary defines it as: the arrangement of a set of items in accordance with a recursive algorithm, such as the

Re: $(sort) - what is lexical order? (was RE: Follow-up)

2011-07-19 Thread Paul Smith
Please don't reply only to me: discussions belong on the mailing lists. On Tue, 2011-07-19 at 15:32 -0400, Rob Holbert wrote: The key in that definition is depends on their first letter, not the capitalization of their first letter. But in any event, if you don't have a clear definition for

Re: PostgreSQL 9.0.4 failure.

2011-06-15 Thread Paul Smith
On Tue, 2011-06-14 at 22:01 -0500, Perry Smith wrote: I opened a bug report with PostgreSQL but I believe it is a problem with make. The bug report there is 6059: http://archives.postgresql.org/pgsql-bugs/2011-06/msg00109.php You can also read a post here:

Re: make 3.82 bug with leading space on member names in library prerequisite.

2011-06-08 Thread Paul Smith
On Wed, 2011-06-08 at 14:13 +0100, Duncan Moore wrote: Using this makefile: .PHONY: all all: lib.a( a.o) (%.o): %.o @echo $@ $ make 3.81 gives what I would expect: lib.a a.o make 3.82, with the corrections for bug #30612, gives: make: *** No rule to make target `lib.a()', needed

Re: Implicit pattern rules do not match files with spaces in their names [resend]

2011-06-08 Thread Paul Smith
On Tue, 2011-06-07 at 16:35 -0400, Anthony DeRobertis wrote: This is with GNU Make 3.81. I originally posted this as a question on Stack Overflow, http://stackoverflow.com/questions/6233574/ According to the docs (10.5.1), % in a pattern rule matches any nonempty substring. But it seems to

Re: private with target-specific variables

2011-05-19 Thread Paul Smith
On Wed, 2011-05-18 at 15:02 +0200, Mario Schwalbe wrote: $ LC_ALL=C make -f Makefile.private-bug prereq: make: *** No rule to make target `private', needed by `target'. Stop. $ LC_ALL=C make -v GNU Make 3.81 The private feature was added in GNU make 3.82. It's not available in GNU make

Re: make multiple target patterns: make doesn't tell what these patterns are

2011-05-17 Thread Paul Smith
On Tue, 2011-05-17 at 09:23 +0200, Folkert van Heusden wrote: When there's something going wrong in the makefile causing a make multiple target patterns, make doesn't tell you what these multiple targets are. That is inconvenient when working with e.g. scriptfiles that select targets. Also -d

Re: Possible problem / misunderstanding in make manual

2011-05-12 Thread Paul Smith
On Thu, 2011-05-12 at 10:10 +0200, Julien Palard wrote: I have hard time to understand a part of the make manual, the problem can be a typo of a subject not clearly expressed, here is the point : In the page about multiline variables :

Re: $(wildcard pattern-without-glob-chars) broken (Re: make ChangeLog read.c)

2011-05-07 Thread Paul Smith
On Sat, 2011-05-07 at 17:06 +0400, Kirill Smelkov wrote: This change seems to be breaking how $(wildcard) works for patterns without glob characters. Ouch, you're right. Something missed in the regression test suite! I'll fix it. --

Re: $(wildcard pattern-without-glob-chars) broken (Re: make ChangeLog read.c)

2011-05-07 Thread Paul Smith
On Sat, 2011-05-07 at 10:15 -0400, Paul Smith wrote: On Sat, 2011-05-07 at 17:06 +0400, Kirill Smelkov wrote: This change seems to be breaking how $(wildcard) works for patterns without glob characters. Ouch, you're right. Something missed in the regression test suite! I'll fix

Re: patch to support output synchronization under -j

2011-05-03 Thread Paul Smith
On Tue, 2011-05-03 at 09:48 +0200, Stefano Lattarini wrote: The other thing I was thinking is that this feature might want to be enabled via a command-line argument. All the complex makefiles generated by automake, etc. for example cannot take advantage of this if you have to modify every

Re: Make 3.82: weird circular dependency and missing $ expansion

2011-05-03 Thread Paul Smith
On Tue, 2011-05-03 at 17:39 +0200, Akim Demaille wrote: Le 2 mai 2011 à 16:07, Paul Smith a écrit : Hi Paul! So, the circular dependency issue is because of this: %.eps: %.pdf %.eps %.pdf: %.dat In the second rule you say that BOTH %.eps and %.pdf can be built from %.dat

Re: Make 3.82: weird circular dependency and missing $ expansion

2011-05-03 Thread Paul Smith
On Tue, 2011-05-03 at 15:03 +0200, Edward Welbourne wrote: It all depends on the order in which make searches the rules, which is why changing things in the makefile matters. If make finds the second rule first then it sees it can build foo.eps and foo.pdf from foo.dat and it's all good.

Re: patch to support output synchronization under -j

2011-05-03 Thread Paul Smith
On Tue, 2011-05-03 at 13:00 -0400, David Boyce wrote: The other thing I was thinking is that this feature might want to be enabled via a command-line argument. All the complex makefiles generated by automake, etc. for example cannot take advantage of this if you have to modify every

Re: Make 3.82: weird circular dependency and missing $ expansion

2011-05-02 Thread Paul Smith
On Mon, 2011-05-02 at 09:17 +0200, Akim Demaille wrote: Using the attached Makefile (I spent quite a while to strip it down from an Automake generated file), Make 3.81 reports: $ make echo accel.dat accel.dat echo {accel.dat} {accel.dat} test -n accel.dat echo accel.pdf accel.eps

Re: patch to support output synchronization under -j

2011-05-02 Thread Paul Smith
On Fri, 2011-04-15 at 16:57 +0300, Eli Zaretskii wrote: Date: Fri, 15 Apr 2011 12:43:53 +0100 From: Tim Murphy tnmur...@gmail.com I think it's an inevitable consequence that if you have a long-running task then the output from it won't appear until it has completely finished and you

Re: makefile target all: not built automatically

2011-04-26 Thread Paul Smith
On Tue, 2011-04-26 at 13:31 +0100, Jon Grant wrote: I noticed that the all: target must be at the top of a makefile, unless explicitly built by make all. Is this expected? It seems quite limiting.. There is nothing special about the all target. That's just a convention that many, but not all,

Re: Possible minor bug in manual?

2011-04-17 Thread Paul Smith
On Fri, 2011-04-08 at 13:58 -0300, Federico Sanchez Pinzon wrote: from GNU Make manual: 3.6 (Overriding Part of Another Makefile): However, it is illegal for two makefiles to give different recipes for the same target. Thanks. --

Re: substantial 'glob' speedup ...

2011-04-17 Thread Paul Smith
On Wed, 2011-04-06 at 12:35 +0100, Michael Meeks wrote: Anyhow - one problem we are seeing is that as we load and parse the ~50Mb of dependencies that we need (for part of writer) we are statting the same files involved in dependencies sometimes a thousand times or so. We do around 700k stats

Re: patch to support output synchronization under -j

2011-04-15 Thread Paul Smith
On Fri, 2011-04-15 at 07:18 +0100, Tim Murphy wrote: Right, of course :-) That is the obvious reason for using files, thanks! I was biased against writing things to disc which is probably silly, because it's probably not slow when compared to the size of the job that's running. I think you

Re: patch to support output synchronization under -j

2011-04-15 Thread Paul Smith
On Fri, 2011-04-15 at 19:54 +0300, Eli Zaretskii wrote: What about the other issue: with the fact that output from a recipe is only shown when the entire recipe is done. I think this is a serious drawback, at least in some use cases. Can anything be done about that? I don't see how. The

Re: patch to support output synchronization under -j

2011-04-14 Thread Paul Smith
On Thu, 2011-04-14 at 11:01 -0400, David Boyce wrote: On Tue, Apr 12, 2011 at 1:46 PM, David Boyce david.s.bo...@gmail.com wrote: So I've made a proof-of-concept patch against 3.82.90 which seems to work without that overhead and my question is, would this be of interest towards 3.83?

Re: patch to support output synchronization under -j

2011-04-14 Thread Paul Smith
On Thu, 2011-04-14 at 20:48 +0300, Eli Zaretskii wrote: From: Paul Smith psm...@gnu.org Date: Thu, 14 Apr 2011 13:29:09 -0400 On Thu, 2011-04-14 at 11:01 -0400, David Boyce wrote: On Tue, Apr 12, 2011 at 1:46 PM, David Boyce david.s.bo...@gmail.com wrote: So I've made a proof

Re: patch to support output synchronization under -j

2011-04-14 Thread Paul Smith
On Thu, 2011-04-14 at 20:59 +0100, Tim Murphy wrote: To prevent any kind of deadlock you sort of want to empty everything the stderr and stdout pipe buffers may contain. It is conceivable that the stdout pipe might contain two lines of text and stderr pipe might contain 1 by the time your

Re: bug report acknowledgments should be the default!

2011-04-13 Thread Paul Smith
On Thu, 2011-04-14 at 08:57 +0800, jida...@jidanni.org wrote: PS == Paul Smith p...@mad-scientist.net writes: PS If you want a bug report to be filed and acknowledged, then you want: PS https://savannah.gnu.org/bugs/?func=additemgroup=make Thanks for answering! Well that's not the advertised

Re: bug report acknowledgments should be the default!

2011-04-13 Thread Paul Smith
On Thu, 2011-04-14 at 07:28 +0800, jida...@jidanni.org wrote: I noticed that when submitting bugs to bug-*@gnu.org, unlike other bug submission by mail systems, e.g., Deb bugs of Debian, the user receives no cheery auto reply acknowledging the bug was ever even received and didn't go into a

Re: [PATCH] Options: `--dry-run' should prevent `--touch' from touching

2011-04-12 Thread Paul Smith
On Mon, 2011-04-11 at 18:49 -0500, Michael Witten wrote: On Fri, Mar 25, 2011 at 00:00, Paul Smith psm...@gnu.org wrote: On Thu, 2011-03-24 at 03:52 -0500, Michael Witten wrote: Thus, it makes most sense for `--dry-run' (`-n') to mask `--touch' (`-t') rather than the other way around

Re: substantial 'glob' speedup ...

2011-04-07 Thread Paul Smith
On Wed, 2011-04-06 at 12:35 +0100, Michael Meeks wrote: These ~all come from calling 'glob'; I append a patch that tries to call glob only if needed - it could be done more prettily: That's interesting. I wonder why the glob expansion is so inefficient; I would expect it to do the same kinds

Re: [PATCH] Options: `--dry-run' should prevent `--touch' from touching

2011-03-24 Thread Paul Smith
On Thu, 2011-03-24 at 03:52 -0500, Michael Witten wrote: Thus, it makes most sense for `--dry-run' (`-n') to mask `--touch' (`-t') rather than the other way around (which is the current, buggy, unexpected, possibly ruinous behavior). This patch seems correct to me. --

Re: strcache scaling issue

2011-03-19 Thread Paul Smith
On Sat, 2011-03-19 at 20:47 +0300, Kirill Smelkov wrote: 100020004000500060007000 3.82.90 (with patch,2.2s4.8s14.0s 23.5s 31.6s 44.4s -O3, no asserts) 3.81 -O32.5s5.2s11.5s 14.1s 18.3s 23.8s I

Re: Make Error - trouble shooting

2011-02-23 Thread Paul Smith
On Wed, 2011-02-23 at 14:58 +0900, JamesHur(허성삼) wrote: This is James Hur from Korea, I’ve been tried to solve specific problem as follow and I got the answer through the googling. - Problem : When I run make with Makefile, I got error message as : Makefile:1458:mixed implicit and

Re: strcache scaling issue

2011-02-20 Thread Paul Smith
On Sun, 2011-01-23 at 09:59 +0100, Ralf Wildenhues wrote: * Paul Smith wrote on Sat, Jan 22, 2011 at 10:27:01PM CET: Thanks for your investigations here; that's very helpful. I had also had some thoughts about improving the strcache in various ways. For example, I was thinking maybe about

Re: a bug of GNU Make 3.82 ?

2011-02-19 Thread Paul Smith
On Sat, 2011-02-19 at 22:30 +0800, ygsoft_plus wrote: When I compile a source code with it, there is often this error : Makefile:431: *** mixed implicit and normal rules. Stop. It means the following two lines of the code have error : config %config: scripts_basic outputmakefile

Re: [PATCH] Docs: make.texi: ; - ,

2011-02-13 Thread Paul Smith
Thank you for these two patches; I've applied them in my workspace. -- --- Paul D. Smith psm...@gnu.org Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net Please

Re: Using $(eval) to get information at the time a target is invoked

2011-01-11 Thread Paul Smith
On Tue, 2011-01-11 at 21:05 +0200, Eli Zaretskii wrote: Okay. Any hints for where to put breakpoints to see when the Make reads the directory for the offending file (the one that gets deleted by the rule)? I'd like to compare the behavior on GNU/Linux and on Windows, so that I could decide

Re: Using $(eval) to get information at the time a target is invoked

2011-01-10 Thread Paul Smith
On Sat, 2011-01-08 at 11:35 +0200, Eli Zaretskii wrote: But I wonder if this is really Windows-specific. Could this be the example you asked for in Savannah bug#443 and #14617 (which was hoped to be solved in bug#21231)? Can you tell me what causes Make to renew the cache used by $(wildcard)

Re: Using $(eval) to get information at the time a target is invoked

2011-01-07 Thread Paul Smith
On Fri, 2011-01-07 at 20:46 -0500, Hsu, Shihchieh IAS wrote: Summary: Using $(eval) to get information at the time a target is invoked, but instead information gotten is when “make” is invoked. Problem occurs for make3.81 and make 3.82 on Windows XP It works fine for me on Linux, after I

Re: mention converses

2010-12-27 Thread Paul Smith
On Mon, 2010-12-27 at 16:19 +0800, jida...@jidanni.org wrote: On (info (make) Automatic Variables) you mention `$(@F)' is equivalent to `$(notdir $@)'. But on (info (make) File Name Functions) you don't mention the converse! Nobody would have guessed there are shorter ways to write those

Re: make's apparent weird behaviour

2010-12-16 Thread Paul Smith
Hi Sergio; it would help us greatly if you'd choose an email client that would preserve whitespace in your mail when you send it; stripping leading whitespace from your messages makes it very difficult to correctly parse your examples. Thanks! On Wed, 2010-12-15 at 10:22 +0100, Sergio Villone

Re: Bug#605639: deal better with different filesystem timestamp resolutions

2010-12-01 Thread Paul Smith
On Thu, 2010-12-02 at 08:41 +0800, jida...@jidanni.org wrote: By the way, make(1) lacks any of this time comparison resolution machinery at all! I'll CC them. Can you be more clear? What is the behavior you are missing today, that you would like to have? I'm not following how this feature of

Re: [bug #31743] ?= operator doesn't work correctly with 3.82

2010-12-01 Thread Paul Smith
Hm; I thought they restored Savannah as of 11/24 after the break-in, but this bug (filed 11/23) no longer exists in the database so I guess they must have restored an earlier copy than that. Anyway this is fixed; if you want to re-submit it to Savannah that's fine: I'll mark it fixed. Otherwise

Re: [bug #31743] ?= operator doesn't work correctly with 3.82

2010-11-30 Thread Paul Smith
On Tue, 2010-11-23 at 21:10 +, Paul D. Smith wrote: Update of bug #31743 (project make): Triage Status:None = Verified ___ Follow-up Comment #1: Actually it doesn't work (always)

Re: possible make bug

2010-11-28 Thread Paul Smith
On Sun, 2010-11-28 at 13:14 +0100, Sergio Villone wrote: you ill find in the allegate a directory containg a possible guilty makefile (prova), a text file f the result of running this makefile and a text file (comment) explaining the misleading results Hi Sergio; in the future we prefer if

Re: Make 3.82: error in french (fr) translation

2010-11-14 Thread Paul Smith
On Sun, 2010-11-14 at 18:14 +0100, Christophe Jarry wrote: I found an error in GNU make 3.82, inside `fr.po' file. Line 514 of `fr.po' reads: msgstr Évitement de récursion dans une régle implicite.\n It should be replaced with: msgstr Évitement de récursion dans une règle

Re: make-3.82 NEWS question

2010-11-11 Thread Paul Smith
On Thu, 2010-11-11 at 12:46 -0800, Warren Dodge wrote: * WARNING: Future backward-incompatibility! Wildcards are not documented as returning sorted values, but up to and including this release the results have been sorted and some makefiles are apparently depending on that. In the next

Re: [bug #31614] allow spaces in target names

2010-11-10 Thread Paul Smith
On Wed, 2010-11-10 at 16:15 +0100, Edward Welbourne wrote: $ echo 'a b:; echo $@' | make -f - a b echo a b a b and what happens if you echo 'a b:; echo $@' | make -f - a ? If that doesn't echo a, then you've broken all rules with more than one target ... I expected your escaping

Re: Bug with comment parsing and variable expansion

2010-11-09 Thread Paul Smith
On Tue, 2010-11-09 at 15:47 +0100, Rafaël Carré wrote: Hello, I believe I've found a bug in make 3.81, or at least some confusing behaviour. Here is a comparison of GNU make and netbsd 'pmake' A-$(X) isn't expanded to A-1 because of the comment on the line where X is set, although X is

Re: source file extension

2010-10-20 Thread Paul Smith
On Wed, 2010-10-20 at 16:08 -0600, Duke Normandin wrote: %.o:%.mod $(MODULA) % This should be $, not %. ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make

Re: need helpp//...

2010-10-06 Thread Paul Smith
On Wed, 2010-10-06 at 06:14 -0700, Jasleen Sidhu wrote: i m trying to use srilm.during moses installation .i have made the changes in make file that is set srilm . but when i write 'make world' it shows following mesaage make:sbin/machine-type command not found. make.**no file to make ** The

Re: Intermittent parallel make rebuild failures

2010-10-05 Thread Paul Smith
On Tue, 2010-10-05 at 10:23 -0700, David Highley wrote: Good news, it appears that Red Hat 5.4 with GNU make 3.81-3 fixes the issue we are running into. Now to find the right version for Cygwin. I'd be really interested to know whether the current latest release of GNU make (3.82) has this

Re: Intermittent parallel make rebuild failures

2010-10-05 Thread Paul Smith
On Tue, 2010-10-05 at 11:07 -0700, David Highley wrote: The latest version of Fedora 13 does not have a 3.82 verion of make so the only way to test would be to build from source which I can do. It may take me a while since were pretty busy right now. Building make from source is pretty

Re: The bugs in make v3.82

2010-09-29 Thread Paul Smith
Please send all questions to the mailing list, rather than emailing me personally. Thanks! On Wed, 2010-09-29 at 12:43 +0400, Alexander Kornilov wrote: 1) Are the special target which executed before all other target? It's maybe used for some initializations and preparing of build process

Re: The bugs in make v3.82

2010-09-28 Thread Paul Smith
On Tue, 2010-09-28 at 13:54 +0400, Alexander Kornilov wrote: BUG #0001: --- Description: The rule for generation dependency file (%.d) doesn't work on Linux platform; Severity: Major; Steps to reproduce: 1. Unpack bug_0001.zip files from letter attachment; 2. Execute makefile

Re: The bugs in make v3.82

2010-09-28 Thread Paul Smith
On Tue, 2010-09-28 at 18:42 +0400, Alexander Kornilov wrote: Could you, please, review my new example (bug_0001_fixed.zip attached)? But some issue still present on Windows platform: Preconditions: 'Obj' directory present as dependency of target (see example from attachment). Obj/%.d:

Re: There is a bug in the make manual!!

2010-09-07 Thread Paul Smith
On Sun, 2010-09-05 at 11:01 +0430, ali hagigat wrote: I copied some lines of the 2010 make manual, page 19. It says prerequisite list will be: /tmp/var/bar/foo.c Where is 'var'? You're right; that should not contain a var. I've fixed that in the source. --

Re: Import statement - non-recursive make implementation

2010-09-07 Thread Paul Smith
On Fri, 2010-09-03 at 17:45 +0200, Kamil Mierzejewski wrote: I came up with a solution to this long-lasting, largely-talked problem of recursive make invocation. Can you please clearly describe the problems you want to solve, then describe the solutions you came up with? The above problem

Re: There is a bug in the make manual!!

2010-09-04 Thread Paul Smith
On Sat, 2010-09-04 at 11:12 +0430, ali hagigat wrote: Please check the following section of the make manual: I'm not quite sure what you're trying to say. You have a version of the manual published in 2006. It has a problem. There have since been new versions of the manual made available,

Re: Make error

2010-09-01 Thread Paul Smith
On Wed, 2010-09-01 at 14:15 +0530, Tejbahadur Singh // Viva wrote: /bin/sh: line 1: glib-mkenums: command not found make[2]: *** [s-enum-types-h] Error 127 This mailing list is for problems with the GNU make program itself. We can't possibly help troubleshoot all the hundreds of thousands of

Re: make-3.82 testcases fail *sometimes*

2010-08-31 Thread Paul Smith
On Mon, 2010-08-30 at 19:52 +0200, Matthias Hopf wrote: All except those in targets/SECONDARY (which I do not 100% understand yet) are related to tests using sleep for parallelization tests - something highly unreliable on systems with lots of processors and high load. Lots of processors

Re: make-3.82 testcases fail *sometimes*

2010-08-31 Thread Paul Smith
On Tue, 2010-08-31 at 16:10 +0200, Matthias Hopf wrote: In effect, the tests of make 3.81 failed on our build systems every now and then. For 3.82 this is worse, I was able to sometimes fail one of the tests even on my local workstation with 8 cores and not too much stuff running otherwise. It

Re: make-3.82 testcases fail *sometimes*

2010-08-31 Thread Paul Smith
On Tue, 2010-08-31 at 20:15 +0300, Eli Zaretskii wrote: From: Paul Smith psm...@gnu.org Date: Tue, 31 Aug 2010 10:40:55 -0400 Cc: bug-make@gnu.org Right, I didn't mean flock() or something; I just meant test for existence. But, doing a loop waiting for a file to exist in a UNIX

Re: make-3.82 testcases fail *sometimes*

2010-08-31 Thread Paul Smith
On Tue, 2010-08-31 at 20:32 +0300, Eli Zaretskii wrote: From: Paul Smith psm...@gnu.org CC: mh...@suse.de, bug-make@gnu.org Date: Tue, 31 Aug 2010 13:24:45 -0400 Too bad GNU's version of sleep, that accepts fractional seconds, is not portable :-). How about introducing a new Make

Re: make-3.82 testcases fail *sometimes*

2010-08-31 Thread Paul Smith
On Tue, 2010-08-31 at 21:15 +0300, Eli Zaretskii wrote: From: Paul Smith psm...@gnu.org CC: mh...@suse.de, bug-make@gnu.org Date: Tue, 31 Aug 2010 13:41:44 -0400 How about introducing a new Make function $(sleep) ? ;-) I don't see how that can work...? We don't want make to sleep

Re: Showing file/line number combinations when executing make

2010-08-29 Thread Paul Smith
On Sun, 2010-08-22 at 15:05 +, e...@opera.com wrote: Quoting Edward Peschko e...@yahoo-inc.com: My question - how do you actually trace this back to the target that generated this statement? In this case, the ghostscript Makefile is so convoluted that it goes through levels of

Re: Showing file/line number combinations when executing make

2010-08-29 Thread Paul Smith
On Sun, 2010-08-29 at 14:13 -0400, Paul Smith wrote: On Sun, 2010-08-22 at 15:05 +, e...@opera.com wrote: Quoting Edward Peschko e...@yahoo-inc.com: My question - how do you actually trace this back to the target that generated this statement? In this case, the ghostscript Makefile

Re: include Makefile path

2010-08-28 Thread Paul Smith
On Wed, 2010-08-25 at 10:24 +0200, Stanisław Findeisen wrote: Is there any way to know a path (absolute, or relative to the primary Makefile) of an included Makefile? In that included Makefile of course. Look up the documentation for the MAKEFILE_LIST variable in the GNU make manual. --

Re: GNU Make 3.82 raises make: free(): invalid next size (fast) error when building Android

2010-08-28 Thread Paul Smith
On Wed, 2010-08-25 at 02:26 +0200, Alexis ROBERT wrote: Something more like ... this ? :) Program received signal SIGABRT, Aborted. 0xb7fe1424 in __kernel_vsyscall () (gdb) backtrace #6 0xb7ef21cd in free () from /lib/libc.so.6 #7 0x080522a6 in func_sort ( o=0xc6d9eb4

Re: GNU Make 3.82 raises make: free(): invalid next size (fast) error when building Android

2010-08-24 Thread Paul Smith
On Tue, 2010-08-24 at 20:03 +0200, Alexis ROBERT wrote: I'm trying to build Android with ArchLinux for my Nexus One and I'm having the following message during the build : find: `drm/java': No such file or directory find: `drm/java': No such file or directory

Re: mixed implicit and normal rules

2010-08-18 Thread Paul Smith
On Wed, 2010-08-18 at 07:17 -0500, Peter Fales wrote: A user has complained about Makefiles that broke when we updated from make-8.31 to make-3.82, demonstrated by this sample Makefile: Help %:: @$(ShowTargets) As I understand it, this is intended to catch the unspecifed target and

Re: Override... but not really

2010-08-09 Thread Paul Smith
On Mon, 2010-08-09 at 11:54 -0700, Philip Prindeville wrote: I guess I was thinking that variables are exported between makes the same way that environments variables are passed between processes. Well, certainly variables CAN be exported by make (see the export command) and passed to sub-makes

Re: Override... but not really

2010-08-09 Thread Paul Smith
On Mon, 2010-08-09 at 12:41 -0700, Philip Prindeville wrote: Alas much of this is beyond my control, and it's not a single project: it's a Linux distro having a couple of hundred projects, many of which have several directories deep of makefile nesting. Ah, well, you didn't say so :-). One

Re: Override... but not really

2010-08-09 Thread Paul Smith
On Mon, 2010-08-09 at 14:00 -0700, Philip Prindeville wrote: The offender I'm staring at right now is ppp-2.4.5. I'll try to autoconfiscate it (autoconf + obsfucate?) later. I wasn't suggesting you should autoconfiscate it. I was suggesting the maintainers of the package should. PPP is a

Re: make 3.82 fails on powerpc defconfig update [was: Linux 2.6.35]

2010-08-08 Thread Paul Smith
On Mon, 2010-08-02 at 11:51 +0300, Thomas Backlund wrote: BOOT_TARGETS = zImage zImage.initrd uImage zImage% dtbImage% treeImage.% cuImage.% simpleImage.% Now, I dont know if this is intended breakage by the make update, or if the Makefile needs to be updated The change is intentional.

Re: [RFC]serialize the output of parallel make?

2010-07-30 Thread Paul Smith
On Thu, 2010-07-29 at 22:44 -0700, Howard Chu wrote: The scheme that I grew up with on Alliant Concentrix was just to prefix each output line with its job number |xx|blah blah blah. It obviously requires a pipe for each child process' output, so that lines can be read by the parent make and

Re: gmake Error.

2010-07-30 Thread Paul Smith
On Fri, 2010-07-30 at 13:31 -0400, Ana Zoghbi wrote: I would like to kindly ask your help with an error I’m getting when running the gmake command. I would appreciate anything that you could do to help me. I’m trying to install the sudosh2 SW that I downloaded from this site gcc

<    7   8   9   10   11   12   13   14   >