Re: Help with parallel test harness

2023-01-08 Thread Kip Warner
agment and then use the include command in your main makefile: https://www.gnu.org/software/automake/manual/html_node/Include.html The latter will "bake" the external fragment into the actual Makefile that Automake generates. -- Kip Warner OpenPGP signed/encrypted mail preferr

Re: Help with parallel test harness

2023-01-08 Thread Kip Warner
roll down and see the paragraph "In order to guarantee an ordering between tests...". Hope that is helpful. Yours truly, -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Future plans for Autotools

2021-05-03 Thread Kip Warner
get. You still have to implement it yourself? -- Kip Warner -- Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Future plans for Autotools

2021-01-20 Thread Kip Warner
ne have no intention of migrating away from the Autotools for any of my projects. My personal experience is that every time someone tries to develop a replacement, they tend to reinvent it and in a poorer way. -- Kip Warner -- Senior Software Engineer OpenPGP signed/encrypted mail preferred http

Re: Stopping unit test on failed partial ordering dependency

2019-04-23 Thread Kip Warner
On Tue, 2019-04-23 at 10:25 -0500, Bob Friesenhahn wrote: > On Mon, 22 Apr 2019, Kip Warner wrote: > > How can I solve this problem? > > By using the TAP test framework you could organize your related > tests into ordered scripts which assure that test > construction/destru

Re: Stopping unit test on failed partial ordering dependency

2019-04-23 Thread Kip Warner
efer not to do that because it overly complicates things because the test script is already a wrapper for a binary to run. PS Good to hear from you again. I always have your book by my side. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.

Stopping unit test on failed partial ordering dependency

2019-04-22 Thread Kip Warner
unit test to spawn the daemon fails for any reason, all the client requests are bound to fail anyways so there's no point on trying to debug them when the problem is obvious that the daemon isn't running. How can I solve this problem? -- Kip Warner | Senior Software Engineer OpenPGP signed

Re: AC_ARG_ENABLE and checking for unrecognized switches

2019-03-16 Thread Kip Warner
On Fri, 2019-03-15 at 14:35 -0700, Kip Warner wrote: > On Fri, 2019-03-15 at 16:24 -0500, Bob Friesenhahn wrote: > > A project can be made subordinate to another project without > > the author of the subordinate project being aware of it. This is a > > very useful capability

Re: AC_ARG_ENABLE and checking for unrecognized switches

2019-03-15 Thread Kip Warner
no subprojects such that the root configure.ac invokes child ones. There's not even child Makefile.am's. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: AC_ARG_ENABLE and checking for unrecognized switches

2019-03-15 Thread Kip Warner
could be doing something wrong though. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: AC_ARG_ENABLE and checking for unrecognized switches

2019-03-14 Thread Kip Warner
On Thu, 2019-03-14 at 23:27 -0500, Eric Blake wrote: > Unfortunately, since it is by design that unknown --enable arguments > are ignored, I don't know of a handy way to switch that behavior to > warn or fail instead. Thanks anyways Eric. -- Kip Warner | Senior Software Engineer

AC_ARG_ENABLE and checking for unrecognized switches

2019-03-14 Thread Kip Warner
Hey list, I use AC_ARG_ENABLE to create a number of different --enable switches. I noticed when I accidentally mistyped the in --enable- , ./configure didn't bail on the unrecognized switch. Is there something I need to add to configure.ac in order to get it to do this? -- Kip Warner | S

Re: Parallel builds with some ordering constraints

2018-12-30 Thread Kip Warner
able. What I ended up doing was giving all relevant targets an alias named "ordered_test_*" and then declaring ordering rules for each. It looks very clean and it works. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Parallel builds with some ordering constraints

2018-12-30 Thread Kip Warner
elevant targets an alias named "ordered_test_*" and then declared the graph ordering. Works like a charm. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Parallel builds with some ordering constraints

2018-12-29 Thread Kip Warner
urce tree and confirmed that: automake-1.16: warnings are treated as errors Makefile.am:200: warning: user target 'Init_d_Stop.sh.log' defined here ... /usr/share/automake-1.16/am/check2.am: ... overrides Automake target 'Init_d_Stop.sh.log' defined here make: *** [

Parallel builds with some ordering constraints

2018-12-29 Thread Kip Warner
know what I can do for the binary check_PROGRAMS that test the daemon itself to constrain them to run between the former two? Yours truly, -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally s

Re: [GSoC] Proposal for "Parse Makefile.am using an AST"

2018-03-05 Thread Kip Warner
avourite book on the Autotools! A lot of what Automake does is string manipulation which probably lends itself well to an interpreted language like Perl. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.cartesiantheatre.com signature.asc Description: This is a digitally signed message part

Re: [GSoC] Proposal for "Parse Makefile.am using an AST"

2018-03-04 Thread Kip Warner
on using a native system language like C++, consider looking at flexc++(1) and bisonc++(1). Yours truly, -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.cartesiantheatre.com signature.asc Description: This is a digitally signed message part

Target dependent on dynamically generated dependency list

2017-11-24 Thread Kip Warner
really don't think this feels elegant. https://pastebin.com/STGvw2Fd Yours truly, -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Automake Digest, Vol 175, Issue 3

2017-09-08 Thread Kip Warner
On Fri, 2017-09-08 at 13:40 +0200, Václav Haisman wrote: > You might want to look at AutoGen > (https://www.gnu.org/software/autogen/) and use that to create the > Makefile.am contents. Thanks Václav. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail prefe

Re: Automake Digest, Vol 175, Issue 3

2017-09-07 Thread Kip Warner
hat's an argument in favor of adding the directory part since no > comparable portability headache applies to > > "dir/$$i" Good call Thomas. It would have been no problem to keep the trailing slash, and personally I prefer it. -- Kip Warner | Senior Software Engineer O

Re: Automake Digest, Vol 175, Issue 3

2017-09-07 Thread Kip Warner
parses those variables, but I'm assuming they have to be computed in advance if you're also using them outside of a rule. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Automake Digest, Vol 175, Issue 3

2017-09-05 Thread Kip Warner
nodist_..._SOURCES, CLEANFILES, and as a target. The parser_clobbered_source_files_only variant containing the file names only is used on line 150 as a workaround for where bisonc++(1) emits its files. If you can see a more elegant way of solving the same problem I'm trying to, I'm all

Re: Portable $addprefix

2017-09-02 Thread Kip Warner
later changes to dozens or more, it will probably be a good idea to revisit your combined suggestions. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Portable $addprefix

2017-09-01 Thread Kip Warner
a *_SOURCES variable. Is this a dead end or is there a workaround? Assume a reference within a _SOURCES variable is probably necessary. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Portable $addprefix

2017-09-01 Thread Kip Warner
$(files_with_path) is used.  As a consequence it should only be > used in the recipe of a rule, not as a target or prerequisite. Thanks Matt, but unfortunately I'll need to be able to use it as at least a target, and possibly later as a prerequisite as well. -- Kip Warner | Senior So

Re: Portable $addprefix

2017-08-27 Thread Kip Warner
not sure if Automake needs to initialize the variable prior to emitting Makefile from Makefile.am. Do you know if this is the case? I went to test it, but for some reason I keep getting these errors on that line: Makefile:836: *** missing separator. Stop. -- Kip Warner | Senior Software Engineer

Re: Portable $addprefix

2017-08-25 Thread Kip Warner
Finally, while not portable to all make implementations, expansions > like this: > >   $(files_only:%:dir/%) > > do work in multiple implementations other than GNU make. I like this, but unfortunately I need to target for portability. -- Kip Warner | Senior Software Eng

Portable $addprefix

2017-08-24 Thread Kip Warner
27;s naughty to use where portability is a concern and a different implementation of make may be used behind Automake. I was wondering if anyone has come up with a recipe for scenarios like this? -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com

Re: Fwd: Integrating flexc++(1) and bisonc++(1) into Makefile.am

2017-07-12 Thread Kip Warner
  $(AX_V_LUAC)test "$(LUA_PATH)set" = set || export > LUA_PATH="$(LUA_PATH)" ;\ > $(LUAC) -o $@ $< > > It uses the automake silent rules convention to quiet things; see > section 21.3 "How Automake can help in silencing make" Excellent idea for extending t

Re: Integrating flexc++(1) and bisonc++(1) into Makefile.am

2017-07-12 Thread Kip Warner
On Wed, 2017-07-12 at 10:59 -0400, Will Estes wrote: > You might also have a look at the flex test suite to see various ways > in which automake is abused to build odd things for flex itself. > There's a lot of edge cases there and you might get ideas. Great idea. Thanks Will.

Re: Integrating flexc++(1) and bisonc++(1) into Makefile.am

2017-07-12 Thread Kip Warner
ackage. I think that as long as I don't have to actually modify the generated parser sources, I don't have a problem requiring the user to have the two tools installed. Most of the compilation I'll be doing, and most of what remains will probably be on a build server which will automatica

Integrating flexc++(1) and bisonc++(1) into Makefile.am

2017-07-11 Thread Kip Warner
ks ok, but I suspect this is not an elegant solution and there are some very good suggestions from this mailing list. Yours truly, -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Autotools and CMake

2014-12-29 Thread Kip Warner
On Mon, 2014-12-29 at 21:05 -0800, Kip Warner wrote: > Yes. In my case I don't distribute a bootstrap script, nor do I use > one myself as maintainer. I ask Sorry, I don't know what happened to the rest of this sentence: ...my users to run autoreconf -v -i -- Kip

Re: Autotools and CMake

2014-12-29 Thread Kip Warner
On Fri, 2014-12-26 at 18:46 -0700, Warren Young wrote: > On Dec 26, 2014, at 7:56 AM, Kip Warner wrote: > > I think the logical place to "configure" > > another subproject is within the superproject's configure script. Hey Warren. Thank you so much for getting bac

Re: Autotools and CMake

2014-12-26 Thread Kip Warner
On Wed, 2014-12-24 at 15:49 -0700, Warren Young wrote: > On Dec 23, 2014, at 8:37 PM, Kip Warner wrote: > Stefano Lattarini is no longer the Automake maintainer: > > http://goo.gl/eE1v9R Thanks for bringing that to my attention, Warren. > I’d put the “mkdir build ; cd build ;

Autotools and CMake

2014-12-23 Thread Kip Warner
that to prepare X's makefile. Respectfully, -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Normalized absolute path

2014-12-22 Thread Kip Warner
p --suffix=.dtshd.spdif --dry-run ...to generate a path the ALSA file writer plugin can write out to which is absolute, normalized, and (should) contains no spaces. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Descriptio

Re: Normalized absolute path

2014-12-22 Thread Kip Warner
= -Wno-portability" to the Makefile(s) using > such constructs (I assume you are OK with mandating the use of > GNU make to build your package). Hey Stefano, I'd prefer to keep it portable, so I wonder if it's possible to invoke things like realpath directly from the shell if re

Normalized absolute path

2014-12-20 Thread Kip Warner
/some_file.foo I have tried the above and too many syntactical variations, but automake complains about all of them when I try to achieve the intention of the above. Respectfully, -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc

Re: AM_GNU_GETTEXT and intl/ directory

2014-12-17 Thread Kip Warner
he > intl/ subdirectory. Sorry. Thanks anyways. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

AM_GNU_GETTEXT and intl/ directory

2014-11-15 Thread Kip Warner
xt to work in intl/ when I run autoreconf -v -i. Is there any way to have it put the intl/ into a subdirectory of my choosing? I tried adding a path as a third parameter in AM_GNU_GETTEXT, but it just ignored it. Regards, -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed

Missing msgfmt

2013-07-23 Thread Kip Warner
binary is not detected. This is a problem for my build which depends on it during compilation time. How can I change this behaviour? I could have added a manual check for the tool, but it seemed redundant with AM_GNU_GETTEXT's check, but not enforcement. -- Kip Warner -- Software Engineer Op

Re: Broken install-data-yes target

2013-06-07 Thread Kip Warner
cally and/or pinging the gettext mailing lists. With local > patching you may need to take care when you run autopoint so > that it is not overwritten (I'm not overly familiar with these > tools myself). > > Hope that helps, Thanks Nick. That was helpful. Perhaps when I ha

Re: Broken install-data-yes target

2013-06-06 Thread Kip Warner
s are often > run as the superuser. It's no fun for anyone involved when a buggy > makefile trashes someone's root filesystem... Absolutely agree. Is this a problem in my Makefile.am, or a bug in Automake? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Broken install-data-yes target

2013-06-05 Thread Kip Warner
ult. I think in the end I should probably just take the book's advice and not use spaces in the paths. =) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Broken install-data-yes target

2013-06-05 Thread Kip Warner
On Wed, 2013-06-05 at 23:42 +0100, Gavin Smith wrote: > AFAIK file names with spaces and funny characters in them are not > supported by automake. Damn. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: Thi

Broken install-data-yes target

2013-06-05 Thread Kip Warner
d.net/~avaneya/avaneya/trunk/view/head:/Extras/Viking%20Lander%20Remastered/Extractor/Makefile.am> Any help appreciated on solving the spaces in path problem. Just assume that renaming the directory is not an option at this point. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed

Re: Help with static linking

2013-06-02 Thread Kip Warner
7;d <http://rod.gs/A2m>. As for debs, I'd love to, but for the reasons I mentioned, it's not possible. =) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Help with static linking

2013-06-01 Thread Kip Warner
7;m also missing the elftools python dependency the script needs and having trouble tracking down what I need to do to get that working, assuming lddtree.py approach is the best way to handle this scenario. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Help with static linking

2013-06-01 Thread Kip Warner
pstream bug report, I can't find any more information on PKG_CHECK_MODULES_STATIC. Apparently in comment 7 it was commit around May 19, but I don't see it in my distro's /usr/share/aclocal/pkg.m4. Maybe it's just old. -- Kip Warner -- Software Engineer OpenPG

Re: Help with static linking

2013-06-01 Thread Kip Warner
ssing absolute paths to the .a files? I haven't tried that. I'm sure that would probably work, but there's probably a more elegant approach. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Help with static linking

2013-06-01 Thread Kip Warner
me&Section=ABI&Lname=libpng12 I actually don't know about that issue. However, based on the LSB link, it says the library is pretty ubiquitous from what I'm reading. So I'll take your word for it. But it would still be an issue if someone wants to compile my application for w32/6

Re: Help with static linking

2013-06-01 Thread Kip Warner
d to statically link stuff that way unless you're doing release > management of binary applications, in which case you have another set of > problems entirely. Hey Diego. Sorry, I'm confused. Are you referring to my need to statically link against certain libraries, or Robert&#

Re: Help with static linking

2013-06-01 Thread Kip Warner
is is the configure.ac for zziplib. I don't really have much meaningful experience with libtool, but based on my reading of this, I think it is using it: <http://sourceforge.net/p/zziplib/svn/HEAD/tree/trunk/zzip-0/configure.ac> -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Help with static linking

2013-05-30 Thread Kip Warner
m: <http://rod.gs/Lwo> Any help appreciated. Respectfully, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part