bugGNU roff - Bugs: bug #63302, Makefile, output from...

 
 

bug #63302: Makefile, output from "make" contains "...sh: @echo:...not found"

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Tue 01 Nov 2022 07:23:01 PM UTC
   
 
Category:  Driver - others/general Severity:  3 - Normal
Item Group:  Build/Installation Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 06 Nov 2022 04:39:58 AM UTC, comment #2: 


commit 4b51278b8a59c40506512e495bbf154966e329d0
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Tue Nov 1 17:05:20 2022 -0500

    [gxditview]: Fix noise from build.

    * src/devices/xditview/xditview.am ($(GXDITVIEW_GROFF_VERSION_H)): Run
      `$(MKDIR_P)` and `printf` as separate rule commands in order to use
      them with `$(AM_V_at)` and `$(AM_V_GEN)`, respectively.  Prevents
      noise from build.

    Fixes <https://savannah.gnu.org/bugs/?63302>.  Thanks to Bjarni Ingi
    Gislason for the report.


G. Branden Robinson <gbranden>
Group administrator
Tue 01 Nov 2022 10:07:17 PM UTC, comment #1: 

Thanks for the report.  I have a fix pending for my next push.


diff --git a/src/devices/xditview/xditview.am b/src/devices/xditview/xditview.am
index 084c26a3c..7bb32ba0a 100644
--- a/src/devices/xditview/xditview.am
+++ b/src/devices/xditview/xditview.am
@@ -37,9 +37,9 @@ GXDITVIEWSOURCES = \
 GXDITVIEW_GROFF_VERSION_H=src/devices/xditview/groff_version.h

 $(GXDITVIEW_GROFF_VERSION_H): $(top_srcdir)/.version
-       $(AM_V_at)$(MKDIR_P) `dirname $@` \
-       && $(AM_V_GEN)printf \
-           'const char *Version_string = "%s";\n' '@VERSION@' > $@
+       $(AM_V_at)$(MKDIR_P) `dirname $@`
+       $(AM_V_GEN)printf \
+         'const char *Version_string = "%s";\n' '@VERSION@' > $@

 if WITHOUT_X11
 GXDITVIEW_MAN1 =


G. Branden Robinson <gbranden>
Group administrator
Tue 01 Nov 2022 07:23:01 PM UTC, original submission:  

Subject: Makefile, output from "make" contains "...sh: @echo:...not found"

File: src/devices/xditview/xditview.am

  From the output of "make" (4.3.92, same as 4.4(?)):

...
  CC       src/devices/xditview/gxditview-page.o
  CC       src/devices/xditview/gxditview-parse.o
/usr/bin/sh: 2: @echo: not found
  CC       src/devices/xditview/gxditview-xditview.o
  CC       src/libs/libxutil/libxutil_a-DviChar.o
...

  The output of "make -n" shows "@echo" only once (near "xditview").


  This is caused by:

GXDITVIEW_GROFF_VERSION_H=src/devices/xditview/groff_version.h

$(GXDITVIEW_GROFF_VERSION_H): $(top_srcdir)/.version
        $(AM_V_at)$(MKDIR_P) `dirname $@` \
        && $(AM_V_GEN)printf \
            'const char *Version_string = "%s";\n' '@VERSION@' > $@


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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-11-06 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2022-11-01 gbranden StatusNone In Progress
        Assigned toNone gbranden
        Planned ReleaseNone 1.23.0

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code