bugGNU roff - Bugs: bug #64913, [PATCH] Makefile.am: variable...

 
 

bug #64913: [PATCH] Makefile.am: variable "HOST" is not created by "automake"

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Mon 20 Nov 2023 06:26:58 PM UTC
   
 
Category:  Core Severity:  2 - Minor
Item Group:  Documentation Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 09 Jan 2024 09:12:28 PM UTC, comment #5: 

Changing the Item Group: while the affected file is part of the build system, the problem is only in comment lines, which serve to document, not to build.

Dave <barx>
Group Member
Sat 25 Nov 2023 11:49:48 PM UTC, comment #4: 

My reading of the problem is that the variable name in the comments is misspelled (or more specifically miscased).

The lines in question are in the section of the file headed:

# The variables that are listed in the following comments will be
# automatically set by automake in the generated Makefile.in

Some variables in these comments are all-caps and some are lowercase, presumably in line with the corresponding automake-generated variables.

Dave <barx>
Group Member
Sat 25 Nov 2023 11:53:44 AM UTC, comment #3: 

I still don't understand what problem is being addressed here.

The patch alters only comments.

G. Branden Robinson <gbranden>
Group administrator
Thu 23 Nov 2023 11:40:23 PM UTC, comment #2: 

From 960c22e6f75db890ce3ed5a00037c1f9712dff36 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@simnet.is>
Date: Thu, 23 Nov 2023 21:53:08 +0000
Subject: [PATCH]   The automake program defines a variable named 'host' with
 the canonical host specification and not a variable named 'HOST'.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@simnet.is>
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e15a8ff0f..b61de154e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,8 +35,8 @@

 # top_builddir

-# HOST
-# `HOST' is the canonical host specification,
+# host
+# `host' is the canonical host specification,
 #    CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
 # or
 #    CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
--
2.42.0

The patch is also in the attachment

(file #55352)

Bjarni Ingi Gislason <bjarniig>
Wed 22 Nov 2023 06:42:09 AM UTC, comment #1: 


original submission:

> Subject: Makefile.am: variable "HOST" is not created by "automake"


Why does it need to be?

G. Branden Robinson <gbranden>
Group administrator
Mon 20 Nov 2023 06:26:58 PM UTC, original submission:  

Subject: Makefile.am: variable "HOST" is not created by "automake"

  But "host" ("host_triplet = @host@" and host = @host@ in
Makefile.in) is.

Bjarni Ingi Gislason <bjarniig>

 

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

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by barx (Posted a comment)
  • -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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-12 gbranden Severity3 - Normal 2 - Minor
    2024-01-09 barx Item GroupBuild/Installation Documentation
        SummaryMakefile.am: variable &quot;HOST&quot; is not created by &quot;automake&quot; [PATCH] Makefile.am: variable "HOST" is not created by "automake"
    2023-11-23 bjarniig Attached File- Added 0001-The-automake-program-defines-a-variable-named-host-w.txt, #55352
    2023-11-22 gbranden StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code