From unknown Sun Jun 22 03:55:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61867: dirstamp pattern rule kills buildability with FreeBSD make, NetBSD make, AIX make Resent-From: Bruno Haible Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Tue, 28 Feb 2023 12:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61867 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 61867@debbugs.gnu.org Cc: Mike Frysinger , Jim Meyering X-Debbugs-Original-To: bug-automake@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167758845126025 (code B ref -1); Tue, 28 Feb 2023 12:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Feb 2023 12:47:31 +0000 Received: from localhost ([127.0.0.1]:49890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWzOE-0006lf-Ag for submit@debbugs.gnu.org; Tue, 28 Feb 2023 07:47:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:57654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWzOC-0006lX-9K for submit@debbugs.gnu.org; Tue, 28 Feb 2023 07:47:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWzOB-0000yI-Bw for bug-automake@gnu.org; Tue, 28 Feb 2023 07:47:27 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWzO8-0004Gz-08 for bug-automake@gnu.org; Tue, 28 Feb 2023 07:47:27 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1677588427; cv=none; d=strato.com; s=strato-dkim-0002; b=agwHBhMM0CPzI+Aws9QLH2rPOaHakeQ+FDDSVhp7bzmh2LjTF62PQwW1MAu66mB9mn Usfp/RGvdfRCnFtR1XNqCarUBkvIASp0x0EmIhDAIlaKydv1kHMD13ZEc2bsGtMT+7We oUanB2sFkh/2YV7AftwNjzwRS+/DzdIF4HxzFPrnysqXpXl1CZlhYKnBnYfQwLOpl8U7 fDf3qjBDlI0koA21vTaPnNkpF8Pj3w7JJb3sP/khnxLSoKqdh2rZ0ml6NzTeeK4YcaQH jJ/og3E2MiOn1wWMlmE/xOF2EFUPFrsjOSdzLVJA30WJ3mtoRbmbKC2B8quMNm6FZSJO RXZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1677588427; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=hCpKOb4yBvXf0Dv3zZFTXHoOwh2M6G2Vm0QmpVzsu3M=; b=gt2lJ5RBMgTLOzP9mclSVHJRKDgHoue5aNGshykdUNX7ay8uw//snL1zZUiFIl0bgF z72Htn3Q26u1oeGcRPGeHtttKf9gh4LsQpP1y9J6iuLggBFxd1X0rrSK7RAAT5ZQMVv1 752TwWSXRvc6kxNdoaIM5NoZix+raXE7PIC34IfLbr0nWODW1Ru6uWxGO+nHBUCvB2m1 iYmJiDSdYywCO7aWnnvNIZkfOeuIrtCa6mc/rhb5qu8ICtiJSONjcJ007gknRVJqt4Bt jd3IHLbBpnWkJcqIyWxa+uoA09UMzHuZKMzxmiZOJiGyl4IwCECCRHF6styYav1HkAdc L6Yw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1677588427; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=hCpKOb4yBvXf0Dv3zZFTXHoOwh2M6G2Vm0QmpVzsu3M=; b=LEQDVJykdOAyX6JQJC2941fFuylHRvBd0QWpUeYQIPyimvDE3u4mztcGNllLGTpHzO 2niSDtaIIElH1xk1YDqtDv+Xaaab3fwq06dKbb2AoA4aZqT01Neol+IikHElg1gg7+/M pp1K5ipQhPMRBpkjnSVEFs3lRVvRXNSE2ERJb6MCLhaQtny9mnkrE6ZgdaEwzxQhO9hq SivMG0ZCi1Lcyp2JJmvFSjlVVzQxhjJF2NxTeN1vROjTdaQY9Kq+bVTWmvhqIoVj4I7H IUlAK+RIXlQoTUpjHyrMWRehzuBHd56JBd4AFWQTK72duImHfDJyDSrXayG9OBLOl6S+ sEWw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOf3qAHzhUgNvf+TnsHHjISBkSAEQ==" Received: from nimes.localnet by smtp.strato.de (RZmta 49.3.0 AUTH) with ESMTPSA id Yddb27z1SCl602w (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 28 Feb 2023 13:47:06 +0100 (CET) From: Bruno Haible Date: Tue, 28 Feb 2023 13:47:06 +0100 Message-ID: <3183636.ZQ0cqP7t2B@nimes> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart6643952.peFUeoqG7q" Content-Transfer-Encoding: 7Bit Received-SPF: none client-ip=81.169.146.221; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --nextPart6643952.peFUeoqG7q Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Hi, =46reeBSD 13.1 'make', NetBSD 9.0 'make', AIX 7.1 and 7.2 'make' are perfec= tly fine for building many GNU packages, even as VPATH builds. Jim Meyering has now put out a tarball for testing, that uses bleeding-edge Automake: https://lists.gnu.org/archive/html/platform-testers/2023-02/msg00012.html When I build this tarball on FreeBSD, NetBSD, or AIX =E2=80=94 in srcdir or= as a VPATH build, does not matter =E2=80=94, the build fails, like this: ------------------------------------------------------ =2E.. CC libgreputils_a-getopt1.o CC libgreputils_a-getprogname.o make: 1254-002 Cannot find a rule to create target malloc/.dirstamp from de= pendencies. Stop. make: 1254-004 The error code from the last command is 2. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. ------------------------------------------------------ This is a regression, caused by the bleeding-edge Automake, because when I unpack the tarball and then (with Automake 1.16.5 in $PATH) do aclocal -I m4 automake touch configure touch config.hin it does not exhibit this build failure any more. =46ind attached the diff between lib/Makefile (that fails) and lib/Makefile (that comes from Automake 1.16.5 and works fine). You can see that with individual rules for malloc/$(am__dirstamp), glthread/$(am__dirstamp), unistr/$(am__dirstamp), uniwidth/$(am__dirstamp) the build works fine, whereas with the pattern rule %/$(am__dirstamp) it fails. I guess that the commit "dirstamp: switch to a pattern rule" is the culprit. https://git.savannah.gnu.org/gitweb/?p=3Dautomake.git;a=3Dcommitdiff;h=3D55= f8fcfd08cbf15d65d61dd2db934b6c3171cf06 Bruno --nextPart6643952.peFUeoqG7q Content-Disposition: attachment; filename="makefiles.diff" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="makefiles.diff" --- grep-3.8.35-c860/build/lib/Makefile 2023-02-28 10:01:18.623558000 +0100 +++ grep-3.8.35-c860-fixed/build/lib/Makefile 2023-02-28 13:26:12.610679000 +0100 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16i from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # lib/Makefile. Generated from Makefile.in by configure. -# Copyright (C) 1994-2023 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -203,8 +203,6 @@ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -am__rm_f = rm -f $(am__rm_f_notfound) -am__rm_rf = rm -rf $(am__rm_f_notfound) am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c @@ -446,7 +444,6 @@ am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = libgreputils_a_AR = $(AR) $(ARFLAGS) -libgreputils_a_RANLIB = $(RANLIB) am__DEPENDENCIES_1 = LIBOBJDIR = ../gnulib-tests/ am__dirstamp = $(am__leading_dot)dirstamp @@ -951,7 +948,7 @@ pkgincludedir = ${includedir}/${PACKAGE} pkglibdir = ${libdir}/${PACKAGE} pkglibexecdir = ${libexecdir}/${PACKAGE} -ACLOCAL = ${SHELL} '/home/bruno/grep-3.8.35-c860/build-aux/missing' aclocal-1.16 +ACLOCAL = ${SHELL} '/home/bruno/grep-3.8.35-c860-fixed/build-aux/missing' aclocal-1.16 ALLOCA = ALLOCA_H = alloca.h AMTAR = $${TAR-tar} @@ -960,9 +957,9 @@ AR = ar ARFLAGS = cr ASSERT_H = assert.h -AUTOCONF = ${SHELL} '/home/bruno/grep-3.8.35-c860/build-aux/missing' autoconf -AUTOHEADER = ${SHELL} '/home/bruno/grep-3.8.35-c860/build-aux/missing' autoheader -AUTOMAKE = ${SHELL} '/home/bruno/grep-3.8.35-c860/build-aux/missing' automake-1.16 +AUTOCONF = ${SHELL} '/home/bruno/grep-3.8.35-c860-fixed/build-aux/missing' autoconf +AUTOHEADER = ${SHELL} '/home/bruno/grep-3.8.35-c860-fixed/build-aux/missing' autoheader +AUTOMAKE = ${SHELL} '/home/bruno/grep-3.8.35-c860-fixed/build-aux/missing' automake-1.16 AWK = nawk BITSIZEOF_PTRDIFF_T = BITSIZEOF_SIG_ATOMIC_T = @@ -985,6 +982,7 @@ ECHO_C = ECHO_N = -n ECHO_T = +EGREP = @EGREP@ EMULTIHOP_HIDDEN = EMULTIHOP_VALUE = ENOLINK_HIDDEN = @@ -1803,7 +1801,7 @@ LTLIBOBJS = LTLIBSIGSEGV = LTLIBTHREAD = -MAKEINFO = ${SHELL} '/home/bruno/grep-3.8.35-c860/build-aux/missing' makeinfo +MAKEINFO = ${SHELL} '/home/bruno/grep-3.8.35-c860-fixed/build-aux/missing' makeinfo MBRTOWC_LIB = MKDIR_P = mkdir -p MSGFMT = /home/bruno/bin/msgfmt @@ -2216,19 +2214,17 @@ XGETTEXT = /home/bruno/bin/xgettext XGETTEXT_015 = /home/bruno/bin/xgettext XGETTEXT_EXTRA_OPTIONS = --flag=error:3:c-format --flag=error_at_line:5:c-format --keyword='proper_name:1,"This is a proper name. See the gettext manual, section Names."' --keyword='proper_name_utf8:1,"This is a proper name. See the gettext manual, section Names."' -abs_aux_dir = /home/bruno/grep-3.8.35-c860/build-aux -abs_builddir = /home/bruno/grep-3.8.35-c860/build/lib -abs_srcdir = /home/bruno/grep-3.8.35-c860/build/../lib -abs_top_builddir = /home/bruno/grep-3.8.35-c860/build -abs_top_srcdir = /home/bruno/grep-3.8.35-c860/build/.. +abs_aux_dir = /home/bruno/grep-3.8.35-c860-fixed/build-aux +abs_builddir = /home/bruno/grep-3.8.35-c860-fixed/build/lib +abs_srcdir = /home/bruno/grep-3.8.35-c860-fixed/build/../lib +abs_top_builddir = /home/bruno/grep-3.8.35-c860-fixed/build +abs_top_srcdir = /home/bruno/grep-3.8.35-c860-fixed/build/.. ac_ct_CC = cc -ferror-limit=0 am__include = include am__leading_dot = . am__quote = -am__rm_f_notfound = am__tar = $${TAR-tar} chof - "$$tardir" am__untar = $${TAR-tar} xf - -am__xargs_n = xargs -n bindir = ${exec_prefix}/bin bindir_c = "/home/bruno/bin" bindir_c_make = \"$(bindir)\" @@ -2274,7 +2270,7 @@ infodir = ${datarootdir}/info infodir_c = "/home/bruno/share/info" infodir_c_make = \"$(infodir)\" -install_sh = ${SHELL} /home/bruno/grep-3.8.35-c860/build-aux/install-sh +install_sh = ${SHELL} /home/bruno/grep-3.8.35-c860-fixed/build-aux/install-sh libdir = ${exec_prefix}/lib libdir_c = "/home/bruno/lib" libdir_c_make = \"$(libdir)\" @@ -2564,11 +2560,17 @@ $(am__aclocal_m4_deps): clean-noinstLIBRARIES: - -$(am__rm_f) $(noinst_LIBRARIES) -%/$(am__dirstamp): - @$(MKDIR_P) $(@D) - @: >>$@ + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +../gnulib-tests/$(am__dirstamp): + @$(MKDIR_P) ../gnulib-tests/ + @: > ../gnulib-tests/$(am__dirstamp) ../gnulib-tests/alloca.$(OBJEXT): ../gnulib-tests/$(am__dirstamp) +malloc/$(am__dirstamp): + @$(MKDIR_P) malloc + @: > malloc/$(am__dirstamp) +malloc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) malloc/$(DEPDIR) + @: > malloc/$(DEPDIR)/$(am__dirstamp) malloc/libgreputils_a-dynarray_at_failure.$(OBJEXT): \ malloc/$(am__dirstamp) malloc/$(DEPDIR)/$(am__dirstamp) malloc/libgreputils_a-dynarray_emplace_enlarge.$(OBJEXT): \ @@ -2579,16 +2581,34 @@ malloc/$(am__dirstamp) malloc/$(DEPDIR)/$(am__dirstamp) malloc/libgreputils_a-dynarray_resize_clear.$(OBJEXT): \ malloc/$(am__dirstamp) malloc/$(DEPDIR)/$(am__dirstamp) +glthread/$(am__dirstamp): + @$(MKDIR_P) glthread + @: > glthread/$(am__dirstamp) +glthread/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) glthread/$(DEPDIR) + @: > glthread/$(DEPDIR)/$(am__dirstamp) glthread/libgreputils_a-lock.$(OBJEXT): glthread/$(am__dirstamp) \ glthread/$(DEPDIR)/$(am__dirstamp) glthread/libgreputils_a-threadlib.$(OBJEXT): glthread/$(am__dirstamp) \ glthread/$(DEPDIR)/$(am__dirstamp) +unistr/$(am__dirstamp): + @$(MKDIR_P) unistr + @: > unistr/$(am__dirstamp) +unistr/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) unistr/$(DEPDIR) + @: > unistr/$(DEPDIR)/$(am__dirstamp) unistr/libgreputils_a-u8-mbtoucr.$(OBJEXT): unistr/$(am__dirstamp) \ unistr/$(DEPDIR)/$(am__dirstamp) unistr/libgreputils_a-u8-uctomb.$(OBJEXT): unistr/$(am__dirstamp) \ unistr/$(DEPDIR)/$(am__dirstamp) unistr/libgreputils_a-u8-uctomb-aux.$(OBJEXT): unistr/$(am__dirstamp) \ unistr/$(DEPDIR)/$(am__dirstamp) +uniwidth/$(am__dirstamp): + @$(MKDIR_P) uniwidth + @: > uniwidth/$(am__dirstamp) +uniwidth/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) uniwidth/$(DEPDIR) + @: > uniwidth/$(DEPDIR)/$(am__dirstamp) uniwidth/libgreputils_a-width.$(OBJEXT): uniwidth/$(am__dirstamp) \ uniwidth/$(DEPDIR)/$(am__dirstamp) malloc/libgreputils_a-dynarray-skeleton.$(OBJEXT): \ @@ -2597,7 +2617,7 @@ libgreputils.a: $(libgreputils_a_OBJECTS) $(libgreputils_a_DEPENDENCIES) $(EXTRA_libgreputils_a_DEPENDENCIES) $(AM_V_at)-rm -f libgreputils.a $(AM_V_AR)$(libgreputils_a_AR) libgreputils.a $(libgreputils_a_OBJECTS) $(libgreputils_a_LIBADD) - $(AM_V_at)$(libgreputils_a_RANLIB) libgreputils.a + $(AM_V_at)$(RANLIB) libgreputils.a mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -2789,7 +2809,7 @@ $(am__depfiles_remade): @$(MKDIR_P) $(@D) - @: >>$@ + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ am--depfiles: $(am__depfiles_remade) @@ -5384,36 +5404,36 @@ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: - -$(am__rm_f) $(MOSTLYCLEANFILES) - -$(am__rm_f) ../gnulib-tests/alloca.$(OBJEXT) + -rm -f ../gnulib-tests/alloca.$(OBJEXT) + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) clean-generic: - -$(am__rm_f) $(CLEANFILES) + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: - -$(am__rm_f) $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES) - -$(am__rm_f) ../gnulib-tests/$(am__dirstamp) - -$(am__rm_f) glthread/$(DEPDIR)/$(am__dirstamp) - -$(am__rm_f) glthread/$(am__dirstamp) - -$(am__rm_f) malloc/$(DEPDIR)/$(am__dirstamp) - -$(am__rm_f) malloc/$(am__dirstamp) - -$(am__rm_f) unistr/$(DEPDIR)/$(am__dirstamp) - -$(am__rm_f) unistr/$(am__dirstamp) - -$(am__rm_f) uniwidth/$(DEPDIR)/$(am__dirstamp) - -$(am__rm_f) uniwidth/$(am__dirstamp) + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f ../gnulib-tests/$(am__dirstamp) + -rm -f glthread/$(DEPDIR)/$(am__dirstamp) + -rm -f glthread/$(am__dirstamp) + -rm -f malloc/$(DEPDIR)/$(am__dirstamp) + -rm -f malloc/$(am__dirstamp) + -rm -f unistr/$(DEPDIR)/$(am__dirstamp) + -rm -f unistr/$(am__dirstamp) + -rm -f uniwidth/$(DEPDIR)/$(am__dirstamp) + -rm -f uniwidth/$(am__dirstamp) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." - -$(am__rm_f) $(BUILT_SOURCES) - -$(am__rm_f) $(MAINTAINERCLEANFILES) + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am distclean: distclean-am - -rm -f ../gnulib-tests/$(DEPDIR)/alloca.Po + -rm -f ../gnulib-tests/$(DEPDIR)/alloca.Po -rm -f ./$(DEPDIR)/libgreputils_a-argmatch.Po -rm -f ./$(DEPDIR)/libgreputils_a-at-func.Po -rm -f ./$(DEPDIR)/libgreputils_a-basename-lgpl.Po @@ -5635,7 +5655,7 @@ installcheck-am: maintainer-clean: maintainer-clean-am - -rm -f ../gnulib-tests/$(DEPDIR)/alloca.Po + -rm -f ../gnulib-tests/$(DEPDIR)/alloca.Po -rm -f ./$(DEPDIR)/libgreputils_a-argmatch.Po -rm -f ./$(DEPDIR)/libgreputils_a-at-func.Po -rm -f ./$(DEPDIR)/libgreputils_a-basename-lgpl.Po --nextPart6643952.peFUeoqG7q-- From unknown Sun Jun 22 03:55:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61867: dirstamp pattern rule kills buildability with FreeBSD make, NetBSD make, AIX make References: <3183636.ZQ0cqP7t2B@nimes> Resent-From: Karl Berry Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Tue, 28 Feb 2023 23:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61867 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: bruno@clisp.org Cc: vapier@gentoo.org, jim@meyering.net, 61867@debbugs.gnu.org Received: via spool by 61867-submit@debbugs.gnu.org id=B61867.167762620229230 (code B ref 61867); Tue, 28 Feb 2023 23:17:01 +0000 Received: (at 61867) by debbugs.gnu.org; 28 Feb 2023 23:16:42 +0000 Received: from localhost ([127.0.0.1]:52166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX9D7-0007bO-Rx for submit@debbugs.gnu.org; Tue, 28 Feb 2023 18:16:42 -0500 Received: from freefriends.org ([96.88.95.60]:50122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX9D1-0007b1-Hj; Tue, 28 Feb 2023 18:16:36 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 31SNGQ4m011436 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Feb 2023 16:16:27 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 31SNGQaA011435; Tue, 28 Feb 2023 16:16:26 -0700 Date: Tue, 28 Feb 2023 16:16:26 -0700 Message-Id: <202302282316.31SNGQaA011435@freefriends.org> From: Karl Berry In-Reply-To: <3183636.ZQ0cqP7t2B@nimes> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) I guess that the commit "dirstamp: switch to a pattern rule" is the culprit. https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=55f8fcfd08cbf15d65d61dd2db934b6c3171cf06 Thanks Bruno. I reverted (attempted to, anyway) that change. Hope it flies. Closing this, in hopes ... -k From unknown Sun Jun 22 03:55:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Bruno Haible Subject: bug#61867: closed (Re: bug#61867: dirstamp pattern rule kills buildability with FreeBSD make, NetBSD make, AIX make) Message-ID: References: <202302282316.31SNGQaA011435@freefriends.org> <3183636.ZQ0cqP7t2B@nimes> X-Gnu-PR-Message: they-closed 61867 X-Gnu-PR-Package: automake Reply-To: 61867@debbugs.gnu.org Date: Tue, 28 Feb 2023 23:17:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1677626222-29287-1" This is a multi-part message in MIME format... ------------=_1677626222-29287-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #61867: dirstamp pattern rule kills buildability with FreeBSD make, NetBSD = make, AIX make which was filed against the automake package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 61867@debbugs.gnu.org. --=20 61867: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61867 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1677626222-29287-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 61867-done) by debbugs.gnu.org; 28 Feb 2023 23:16:37 +0000 Received: from localhost ([127.0.0.1]:52164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX9D3-0007bC-J3 for submit@debbugs.gnu.org; Tue, 28 Feb 2023 18:16:37 -0500 Received: from freefriends.org ([96.88.95.60]:50122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX9D1-0007b1-Hj; Tue, 28 Feb 2023 18:16:36 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 31SNGQ4m011436 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Feb 2023 16:16:27 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 31SNGQaA011435; Tue, 28 Feb 2023 16:16:26 -0700 Date: Tue, 28 Feb 2023 16:16:26 -0700 Message-Id: <202302282316.31SNGQaA011435@freefriends.org> From: Karl Berry To: bruno@clisp.org Subject: Re: bug#61867: dirstamp pattern rule kills buildability with FreeBSD make, NetBSD make, AIX make In-Reply-To: <3183636.ZQ0cqP7t2B@nimes> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61867-done Cc: vapier@gentoo.org, jim@meyering.net, 61867@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) I guess that the commit "dirstamp: switch to a pattern rule" is the culprit. https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=55f8fcfd08cbf15d65d61dd2db934b6c3171cf06 Thanks Bruno. I reverted (attempted to, anyway) that change. Hope it flies. Closing this, in hopes ... -k ------------=_1677626222-29287-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Feb 2023 12:47:31 +0000 Received: from localhost ([127.0.0.1]:49890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWzOE-0006lf-Ag for submit@debbugs.gnu.org; Tue, 28 Feb 2023 07:47:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:57654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWzOC-0006lX-9K for submit@debbugs.gnu.org; Tue, 28 Feb 2023 07:47:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWzOB-0000yI-Bw for bug-automake@gnu.org; Tue, 28 Feb 2023 07:47:27 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWzO8-0004Gz-08 for bug-automake@gnu.org; Tue, 28 Feb 2023 07:47:27 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1677588427; cv=none; d=strato.com; s=strato-dkim-0002; b=agwHBhMM0CPzI+Aws9QLH2rPOaHakeQ+FDDSVhp7bzmh2LjTF62PQwW1MAu66mB9mn Usfp/RGvdfRCnFtR1XNqCarUBkvIASp0x0EmIhDAIlaKydv1kHMD13ZEc2bsGtMT+7We oUanB2sFkh/2YV7AftwNjzwRS+/DzdIF4HxzFPrnysqXpXl1CZlhYKnBnYfQwLOpl8U7 fDf3qjBDlI0koA21vTaPnNkpF8Pj3w7JJb3sP/khnxLSoKqdh2rZ0ml6NzTeeK4YcaQH jJ/og3E2MiOn1wWMlmE/xOF2EFUPFrsjOSdzLVJA30WJ3mtoRbmbKC2B8quMNm6FZSJO RXZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1677588427; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=hCpKOb4yBvXf0Dv3zZFTXHoOwh2M6G2Vm0QmpVzsu3M=; b=gt2lJ5RBMgTLOzP9mclSVHJRKDgHoue5aNGshykdUNX7ay8uw//snL1zZUiFIl0bgF z72Htn3Q26u1oeGcRPGeHtttKf9gh4LsQpP1y9J6iuLggBFxd1X0rrSK7RAAT5ZQMVv1 752TwWSXRvc6kxNdoaIM5NoZix+raXE7PIC34IfLbr0nWODW1Ru6uWxGO+nHBUCvB2m1 iYmJiDSdYywCO7aWnnvNIZkfOeuIrtCa6mc/rhb5qu8ICtiJSONjcJ007gknRVJqt4Bt jd3IHLbBpnWkJcqIyWxa+uoA09UMzHuZKMzxmiZOJiGyl4IwCECCRHF6styYav1HkAdc L6Yw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1677588427; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=hCpKOb4yBvXf0Dv3zZFTXHoOwh2M6G2Vm0QmpVzsu3M=; b=LEQDVJykdOAyX6JQJC2941fFuylHRvBd0QWpUeYQIPyimvDE3u4mztcGNllLGTpHzO 2niSDtaIIElH1xk1YDqtDv+Xaaab3fwq06dKbb2AoA4aZqT01Neol+IikHElg1gg7+/M pp1K5ipQhPMRBpkjnSVEFs3lRVvRXNSE2ERJb6MCLhaQtny9mnkrE6ZgdaEwzxQhO9hq SivMG0ZCi1Lcyp2JJmvFSjlVVzQxhjJF2NxTeN1vROjTdaQY9Kq+bVTWmvhqIoVj4I7H IUlAK+RIXlQoTUpjHyrMWRehzuBHd56JBd4AFWQTK72duImHfDJyDSrXayG9OBLOl6S+ sEWw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOf3qAHzhUgNvf+TnsHHjISBkSAEQ==" Received: from nimes.localnet by smtp.strato.de (RZmta 49.3.0 AUTH) with ESMTPSA id Yddb27z1SCl602w (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 28 Feb 2023 13:47:06 +0100 (CET) From: Bruno Haible To: bug-automake@gnu.org Subject: dirstamp pattern rule kills buildability with FreeBSD make, NetBSD make, AIX make Date: Tue, 28 Feb 2023 13:47:06 +0100 Message-ID: <3183636.ZQ0cqP7t2B@nimes> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart6643952.peFUeoqG7q" Content-Transfer-Encoding: 7Bit Received-SPF: none client-ip=81.169.146.221; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Mike Frysinger , Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --nextPart6643952.peFUeoqG7q Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Hi, =46reeBSD 13.1 'make', NetBSD 9.0 'make', AIX 7.1 and 7.2 'make' are perfec= tly fine for building many GNU packages, even as VPATH builds. Jim Meyering has now put out a tarball for testing, that uses bleeding-edge Automake: https://lists.gnu.org/archive/html/platform-testers/2023-02/msg00012.html When I build this tarball on FreeBSD, NetBSD, or AIX =E2=80=94 in srcdir or= as a VPATH build, does not matter =E2=80=94, the build fails, like this: ------------------------------------------------------ =2E.. CC libgreputils_a-getopt1.o CC libgreputils_a-getprogname.o make: 1254-002 Cannot find a rule to create target malloc/.dirstamp from de= pendencies. Stop. make: 1254-004 The error code from the last command is 2. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. ------------------------------------------------------ This is a regression, caused by the bleeding-edge Automake, because when I unpack the tarball and then (with Automake 1.16.5 in $PATH) do aclocal -I m4 automake touch configure touch config.hin it does not exhibit this build failure any more. =46ind attached the diff between lib/Makefile (that fails) and lib/Makefile (that comes from Automake 1.16.5 and works fine). You can see that with individual rules for malloc/$(am__dirstamp), glthread/$(am__dirstamp), unistr/$(am__dirstamp), uniwidth/$(am__dirstamp) the build works fine, whereas with the pattern rule %/$(am__dirstamp) it fails. I guess that the commit "dirstamp: switch to a pattern rule" is the culprit. https://git.savannah.gnu.org/gitweb/?p=3Dautomake.git;a=3Dcommitdiff;h=3D55= f8fcfd08cbf15d65d61dd2db934b6c3171cf06 Bruno --nextPart6643952.peFUeoqG7q Content-Disposition: attachment; filename="makefiles.diff" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="makefiles.diff" --- grep-3.8.35-c860/build/lib/Makefile 2023-02-28 10:01:18.623558000 +0100 +++ grep-3.8.35-c860-fixed/build/lib/Makefile 2023-02-28 13:26:12.610679000 +0100 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16i from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # lib/Makefile. Generated from Makefile.in by configure. -# Copyright (C) 1994-2023 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -203,8 +203,6 @@ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -am__rm_f = rm -f $(am__rm_f_notfound) -am__rm_rf = rm -rf $(am__rm_f_notfound) am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c @@ -446,7 +444,6 @@ am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = libgreputils_a_AR = $(AR) $(ARFLAGS) -libgreputils_a_RANLIB = $(RANLIB) am__DEPENDENCIES_1 = LIBOBJDIR = ../gnulib-tests/ am__dirstamp = $(am__leading_dot)dirstamp @@ -951,7 +948,7 @@ pkgincludedir = ${includedir}/${PACKAGE} pkglibdir = ${libdir}/${PACKAGE} pkglibexecdir = ${libexecdir}/${PACKAGE} -ACLOCAL = ${SHELL} '/home/bruno/grep-3.8.35-c860/build-aux/missing' aclocal-1.16 +ACLOCAL = ${SHELL} '/home/bruno/grep-3.8.35-c860-fixed/build-aux/missing' aclocal-1.16 ALLOCA = ALLOCA_H = alloca.h AMTAR = $${TAR-tar} @@ -960,9 +957,9 @@ AR = ar ARFLAGS = cr ASSERT_H = assert.h -AUTOCONF = ${SHELL} '/home/bruno/grep-3.8.35-c860/build-aux/missing' autoconf -AUTOHEADER = ${SHELL} '/home/bruno/grep-3.8.35-c860/build-aux/missing' autoheader -AUTOMAKE = ${SHELL} '/home/bruno/grep-3.8.35-c860/build-aux/missing' automake-1.16 +AUTOCONF = ${SHELL} '/home/bruno/grep-3.8.35-c860-fixed/build-aux/missing' autoconf +AUTOHEADER = ${SHELL} '/home/bruno/grep-3.8.35-c860-fixed/build-aux/missing' autoheader +AUTOMAKE = ${SHELL} '/home/bruno/grep-3.8.35-c860-fixed/build-aux/missing' automake-1.16 AWK = nawk BITSIZEOF_PTRDIFF_T = BITSIZEOF_SIG_ATOMIC_T = @@ -985,6 +982,7 @@ ECHO_C = ECHO_N = -n ECHO_T = +EGREP = @EGREP@ EMULTIHOP_HIDDEN = EMULTIHOP_VALUE = ENOLINK_HIDDEN = @@ -1803,7 +1801,7 @@ LTLIBOBJS = LTLIBSIGSEGV = LTLIBTHREAD = -MAKEINFO = ${SHELL} '/home/bruno/grep-3.8.35-c860/build-aux/missing' makeinfo +MAKEINFO = ${SHELL} '/home/bruno/grep-3.8.35-c860-fixed/build-aux/missing' makeinfo MBRTOWC_LIB = MKDIR_P = mkdir -p MSGFMT = /home/bruno/bin/msgfmt @@ -2216,19 +2214,17 @@ XGETTEXT = /home/bruno/bin/xgettext XGETTEXT_015 = /home/bruno/bin/xgettext XGETTEXT_EXTRA_OPTIONS = --flag=error:3:c-format --flag=error_at_line:5:c-format --keyword='proper_name:1,"This is a proper name. See the gettext manual, section Names."' --keyword='proper_name_utf8:1,"This is a proper name. See the gettext manual, section Names."' -abs_aux_dir = /home/bruno/grep-3.8.35-c860/build-aux -abs_builddir = /home/bruno/grep-3.8.35-c860/build/lib -abs_srcdir = /home/bruno/grep-3.8.35-c860/build/../lib -abs_top_builddir = /home/bruno/grep-3.8.35-c860/build -abs_top_srcdir = /home/bruno/grep-3.8.35-c860/build/.. +abs_aux_dir = /home/bruno/grep-3.8.35-c860-fixed/build-aux +abs_builddir = /home/bruno/grep-3.8.35-c860-fixed/build/lib +abs_srcdir = /home/bruno/grep-3.8.35-c860-fixed/build/../lib +abs_top_builddir = /home/bruno/grep-3.8.35-c860-fixed/build +abs_top_srcdir = /home/bruno/grep-3.8.35-c860-fixed/build/.. ac_ct_CC = cc -ferror-limit=0 am__include = include am__leading_dot = . am__quote = -am__rm_f_notfound = am__tar = $${TAR-tar} chof - "$$tardir" am__untar = $${TAR-tar} xf - -am__xargs_n = xargs -n bindir = ${exec_prefix}/bin bindir_c = "/home/bruno/bin" bindir_c_make = \"$(bindir)\" @@ -2274,7 +2270,7 @@ infodir = ${datarootdir}/info infodir_c = "/home/bruno/share/info" infodir_c_make = \"$(infodir)\" -install_sh = ${SHELL} /home/bruno/grep-3.8.35-c860/build-aux/install-sh +install_sh = ${SHELL} /home/bruno/grep-3.8.35-c860-fixed/build-aux/install-sh libdir = ${exec_prefix}/lib libdir_c = "/home/bruno/lib" libdir_c_make = \"$(libdir)\" @@ -2564,11 +2560,17 @@ $(am__aclocal_m4_deps): clean-noinstLIBRARIES: - -$(am__rm_f) $(noinst_LIBRARIES) -%/$(am__dirstamp): - @$(MKDIR_P) $(@D) - @: >>$@ + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +../gnulib-tests/$(am__dirstamp): + @$(MKDIR_P) ../gnulib-tests/ + @: > ../gnulib-tests/$(am__dirstamp) ../gnulib-tests/alloca.$(OBJEXT): ../gnulib-tests/$(am__dirstamp) +malloc/$(am__dirstamp): + @$(MKDIR_P) malloc + @: > malloc/$(am__dirstamp) +malloc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) malloc/$(DEPDIR) + @: > malloc/$(DEPDIR)/$(am__dirstamp) malloc/libgreputils_a-dynarray_at_failure.$(OBJEXT): \ malloc/$(am__dirstamp) malloc/$(DEPDIR)/$(am__dirstamp) malloc/libgreputils_a-dynarray_emplace_enlarge.$(OBJEXT): \ @@ -2579,16 +2581,34 @@ malloc/$(am__dirstamp) malloc/$(DEPDIR)/$(am__dirstamp) malloc/libgreputils_a-dynarray_resize_clear.$(OBJEXT): \ malloc/$(am__dirstamp) malloc/$(DEPDIR)/$(am__dirstamp) +glthread/$(am__dirstamp): + @$(MKDIR_P) glthread + @: > glthread/$(am__dirstamp) +glthread/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) glthread/$(DEPDIR) + @: > glthread/$(DEPDIR)/$(am__dirstamp) glthread/libgreputils_a-lock.$(OBJEXT): glthread/$(am__dirstamp) \ glthread/$(DEPDIR)/$(am__dirstamp) glthread/libgreputils_a-threadlib.$(OBJEXT): glthread/$(am__dirstamp) \ glthread/$(DEPDIR)/$(am__dirstamp) +unistr/$(am__dirstamp): + @$(MKDIR_P) unistr + @: > unistr/$(am__dirstamp) +unistr/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) unistr/$(DEPDIR) + @: > unistr/$(DEPDIR)/$(am__dirstamp) unistr/libgreputils_a-u8-mbtoucr.$(OBJEXT): unistr/$(am__dirstamp) \ unistr/$(DEPDIR)/$(am__dirstamp) unistr/libgreputils_a-u8-uctomb.$(OBJEXT): unistr/$(am__dirstamp) \ unistr/$(DEPDIR)/$(am__dirstamp) unistr/libgreputils_a-u8-uctomb-aux.$(OBJEXT): unistr/$(am__dirstamp) \ unistr/$(DEPDIR)/$(am__dirstamp) +uniwidth/$(am__dirstamp): + @$(MKDIR_P) uniwidth + @: > uniwidth/$(am__dirstamp) +uniwidth/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) uniwidth/$(DEPDIR) + @: > uniwidth/$(DEPDIR)/$(am__dirstamp) uniwidth/libgreputils_a-width.$(OBJEXT): uniwidth/$(am__dirstamp) \ uniwidth/$(DEPDIR)/$(am__dirstamp) malloc/libgreputils_a-dynarray-skeleton.$(OBJEXT): \ @@ -2597,7 +2617,7 @@ libgreputils.a: $(libgreputils_a_OBJECTS) $(libgreputils_a_DEPENDENCIES) $(EXTRA_libgreputils_a_DEPENDENCIES) $(AM_V_at)-rm -f libgreputils.a $(AM_V_AR)$(libgreputils_a_AR) libgreputils.a $(libgreputils_a_OBJECTS) $(libgreputils_a_LIBADD) - $(AM_V_at)$(libgreputils_a_RANLIB) libgreputils.a + $(AM_V_at)$(RANLIB) libgreputils.a mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -2789,7 +2809,7 @@ $(am__depfiles_remade): @$(MKDIR_P) $(@D) - @: >>$@ + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ am--depfiles: $(am__depfiles_remade) @@ -5384,36 +5404,36 @@ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: - -$(am__rm_f) $(MOSTLYCLEANFILES) - -$(am__rm_f) ../gnulib-tests/alloca.$(OBJEXT) + -rm -f ../gnulib-tests/alloca.$(OBJEXT) + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) clean-generic: - -$(am__rm_f) $(CLEANFILES) + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: - -$(am__rm_f) $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES) - -$(am__rm_f) ../gnulib-tests/$(am__dirstamp) - -$(am__rm_f) glthread/$(DEPDIR)/$(am__dirstamp) - -$(am__rm_f) glthread/$(am__dirstamp) - -$(am__rm_f) malloc/$(DEPDIR)/$(am__dirstamp) - -$(am__rm_f) malloc/$(am__dirstamp) - -$(am__rm_f) unistr/$(DEPDIR)/$(am__dirstamp) - -$(am__rm_f) unistr/$(am__dirstamp) - -$(am__rm_f) uniwidth/$(DEPDIR)/$(am__dirstamp) - -$(am__rm_f) uniwidth/$(am__dirstamp) + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f ../gnulib-tests/$(am__dirstamp) + -rm -f glthread/$(DEPDIR)/$(am__dirstamp) + -rm -f glthread/$(am__dirstamp) + -rm -f malloc/$(DEPDIR)/$(am__dirstamp) + -rm -f malloc/$(am__dirstamp) + -rm -f unistr/$(DEPDIR)/$(am__dirstamp) + -rm -f unistr/$(am__dirstamp) + -rm -f uniwidth/$(DEPDIR)/$(am__dirstamp) + -rm -f uniwidth/$(am__dirstamp) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." - -$(am__rm_f) $(BUILT_SOURCES) - -$(am__rm_f) $(MAINTAINERCLEANFILES) + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am distclean: distclean-am - -rm -f ../gnulib-tests/$(DEPDIR)/alloca.Po + -rm -f ../gnulib-tests/$(DEPDIR)/alloca.Po -rm -f ./$(DEPDIR)/libgreputils_a-argmatch.Po -rm -f ./$(DEPDIR)/libgreputils_a-at-func.Po -rm -f ./$(DEPDIR)/libgreputils_a-basename-lgpl.Po @@ -5635,7 +5655,7 @@ installcheck-am: maintainer-clean: maintainer-clean-am - -rm -f ../gnulib-tests/$(DEPDIR)/alloca.Po + -rm -f ../gnulib-tests/$(DEPDIR)/alloca.Po -rm -f ./$(DEPDIR)/libgreputils_a-argmatch.Po -rm -f ./$(DEPDIR)/libgreputils_a-at-func.Po -rm -f ./$(DEPDIR)/libgreputils_a-basename-lgpl.Po --nextPart6643952.peFUeoqG7q-- ------------=_1677626222-29287-1-- From unknown Sun Jun 22 03:55:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61867: dirstamp pattern rule kills buildability with FreeBSD make, NetBSD make, AIX make Resent-From: Bruno Haible Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 01 Mar 2023 00:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61867 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Karl Berry Cc: vapier@gentoo.org, jim@meyering.net, 61867@debbugs.gnu.org Received: via spool by 61867-submit@debbugs.gnu.org id=B61867.16776288531546 (code B ref 61867); Wed, 01 Mar 2023 00:01:02 +0000 Received: (at 61867) by debbugs.gnu.org; 1 Mar 2023 00:00:53 +0000 Received: from localhost ([127.0.0.1]:52205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX9tt-0000Os-Eq for submit@debbugs.gnu.org; Tue, 28 Feb 2023 19:00:53 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.23]:39277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX9tq-0000Og-NF for 61867@debbugs.gnu.org; Tue, 28 Feb 2023 19:00:51 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1677628835; cv=none; d=strato.com; s=strato-dkim-0002; b=kNJj8SQ5Ae2Ggzuu4NQmKJVIILcxosGbMVyc9+QjeaPLQzmR2CGgJ1mdC1RJBtc84a Uq8de+y+YSiSbfJr438h/pvpuhDR5iUio6NlBGHkZESUlQiw/MbkzksP+ljvysoCC7TA 6NLBt8rP5y4v7k/Qg9biwqr3dCuXCEikKQ5q/7y+qOSgnUS4pNqVWOxNPke5Lr+BnxQG 1WbtQJzbd6oBLV/mWAwrrQDLeOtXcJY6iKxaE4b7BHmoQi0FHO/wRIf+2gBZfBUH+/TC S4yHs0Ztn2ZMrixbIuRmdXO2yUfSYGHGeU4usDIfUT6+W1jWne24RC1r3PvMtdr2AZlI ws9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1677628835; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=mbiJTVIp6XLkD1lOd28EOvpYYv3wuS2kLnZewG5ztZE=; b=ro4jRTggkz1z/6ecK8KXhiKfzlpqvUGrsMPYvlVJxy2Z/ex7ErB9UbTpiHbybsHwKN PRlHjchgKC409gkkROvweCsGFsWrtNFTvT2s/KgWhg1wyLz+X+jFJeWMeuLZiDoO2Fhm DoWUTFxXRHx4I070Z6Ulsoc2rIU5tbj9AhBfwDJ8/sLf+hzAzJEoyAitNkzljRThQCdp Bn1+lcBYcOhKho6cK+Q5sbbSS+TuQvuS3IQYl+9zqhkFPb7sr6FnwNTl2Njd0dxHDkUY IXzkm2GcJy8aGTcRHHA/1YAmVITHpYjEPyIkpNqmPB1u5auOJdzpHL3Eztu0Vh7ML8sd DwnA== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1677628835; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=mbiJTVIp6XLkD1lOd28EOvpYYv3wuS2kLnZewG5ztZE=; b=cadq88HmqSt3hvscv26SmsXfu7JoZ6EW5qQx1FlEFDDtyZ/KottUkcbjTd4JOdntLq MWlsGx42bjsdaF8uG6eVO7HLMK3mBE+xr1sf00JT6Jp/vNX4sP5OkKMuJx6TI7L3wxVU IUrMDxdnwEdsItEfEBe3YxAyQ5mMdtTsF7blfZomh1o9Tr1/kGpcJn3GzzMwO0IsnfAE VBXdPB/oL6ImiocM+QL5o0J2A+sKevIInq8yr26SfWmGgUg+loLWkP17Rqho9PEDGCqu no4kkxvoPN7tms+F8c8/QQt5DPC7msbi6rYqXAXxV9xoqk6tQG87yOHGhRZTdjhbob3N ZGsw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOf3qAHzhUgNvf+TnsHHjISBkSAEQ==" Received: from nimes.localnet by smtp.strato.de (RZmta 49.3.0 AUTH) with ESMTPSA id Yddb27z2100Z3TH (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 1 Mar 2023 01:00:35 +0100 (CET) From: Bruno Haible Date: Wed, 01 Mar 2023 01:00:34 +0100 Message-ID: <560147480.JY4mfKhWER@nimes> In-Reply-To: <202302282316.31SNGQaA011435@freefriends.org> References: <202302282316.31SNGQaA011435@freefriends.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Karl Berry wrote: > I reverted (attempted to, anyway) that change. Thank you. > since evidently @D is not supported on BSD-derived makes, > whatever POSIX says. Nitpicking: I think the problem is not with $(@D), which is inside the rule. The error message Cannot find a rule to create target malloc/.dirstamp indicates that 'make' did not even start to execute that rule. Bruno