bugGNU roff - Bugs: bug #61832, Makefile.am: consider adding...

 
 

bug #61832: Makefile.am: consider adding "posixcheck" gnulib module

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Sun 16 Jan 2022 05:13:01 PM UTC
   
 
Category:  General Severity:  1 - Wish
Item Group:  Build/Installation Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 10 Jul 2023 04:41:34 PM UTC, comment #2: 

Updating scope since `MOSTLYCLEANDIRS` is no longer a problem.  See bug #64404.


commit f2a4739d179cf7956364c107b8977fb06cd1c255
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Thu Apr 20 04:07:24 2023 -0500

    Makefile.am: Initialize more Automake variables.

    * Makefile.am: Initialize (as empty) Automake variables that we don't
      use but which gnulib modules expect to be defined.

      (AUTOMAKE_OPTIONS, SUBDIRS, noinst_HEADERS, noinst_LTLIBRARIES)
      (pkgdata_DATA, MOSTLYCLEANDIRS, AM_CFLAGS): Do it.

    Thanks to Bruno Haible for the advice.

    This is a prerequisite for including gnulib's "sys_wait" module.


G. Branden Robinson <gbranden>
Group administrator
Sun 16 Jan 2022 10:58:32 PM UTC, comment #1: 


> adding "posixcheck" to variable "gnulib_modules" in "bootstrap.conf"


Since this is not a report of a build problem the way groff is currently configured, I'm setting its severity to Wishlist.

It might very well be a good idea to add this module, however, for portability reasons.

There has been much discussion on the Austin Group mailing list about make(1) over the past year, and the question of what safe assumptions can be made regarding unset variables has, in particular, come up.

G. Branden Robinson <gbranden>
Group administrator
Sun 16 Jan 2022 05:13:01 PM UTC, original submission:  

Subject: Makefile.am: error caused be "MOSTLYCLEANDIRS" not being set to empty

  This emerged after

adding "posixcheck" to variable "gnulib_modules" in "bootstrap.conf"

command "make distclean" in the build directory

command "bootstrap" in the git/groff directory.

---cut---
autoreconf: running: automake --add-missing --copy --force-missing
lib/gnulib.mk:119: error: MOSTLYCLEANDIRS must be set with '=' before
using '+='
Makefile.am:648:   'lib/gnulib.mk' included from here
autoreconf: error: automake failed with exit status: 1
./bootstrap: autoreconf failed
---cut---

Using bootstrap 2021-04-11.09

  Fix by adding "MOSTLYCLEANDIRS =", for example before the line with

MOSTLYCLEANFILES =

Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-07-10 gbranden SummaryMakefile.am: &quot;posixcheck&quot; gnulib module, if added, complains about MOSTLYCLEANDIRS Makefile.am: consider adding "posixcheck" gnulib module
    2022-06-15 gbranden CategoryCore General
    2022-01-16 gbranden Severity3 - Normal 1 - Wish
        SummaryMakefile.am: error caused be &quot;MOSTLYCLEANDIRS&quot; not being set to empty Makefile.am: "posixcheck" gnulib module, if added, complains about MOSTLYCLEANDIRS

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code