bugGNU troff - Bugs: bug #62592, allow groff source pulled from git...

 
 

bug #62592: allow groff source pulled from git to build without TeX

Submitter:  Dave <barx>
Submitted:  Mon 06 Jun 2022 08:48:08 PM UTC
 
Category:  General Severity:  1 - Wish
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)
   

Comment Type & Canned Response:
       No canned response available

 

Wed 22 Jun 2022 09:25:18 PM UTC, comment #5: 

Ah.  Thanks for the clarification.

Dave <barx>
Project Member
Wed 22 Jun 2022 05:10:29 PM UTC, comment #4: 

comment #2:

> comment #1:
> > Since this item also applies to groff 1.22.4,
>
> Commentary in bug #62551 indicates this dependency originates with commit 3805d2a0, from a mere two months ago.


I forgot to reply to this.  The dependency is strengthened, but it was there before, if you ran "make doc".

$ make doc
LANG=C \
LC_ALL=C \
makeinfo --enable-encoding -I/home/branden/BUILD/groff-1.22.4/doc --plaintext -o doc/groff.txt doc/groff.texi
LANG=C \
LC_ALL=C \
TEXINPUTS="./build-aux:" \
MAKEINFO='makeinfo -I /home/branden/BUILD/groff-1.22.4/doc' \
texi2dvi -e --batch --build-dir=doc/`basename doc/groff.dvi`.t2d -o doc/groff.dvi doc/groff.texi
You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do).  See the --help
output for more details.

For information about obtaining TeX, please see http://tug.org/texlive,
or do a web search for TeX and your operating system or distro.

On Debian you can install a working TeX system with
  apt-get install texlive
make: *** [Makefile:11904: doc/groff.dvi] Error 1

G. Branden Robinson <gbranden>
Project Administrator
Fri 10 Jun 2022 04:01:21 AM UTC, comment #3: 

commit 31f64af693b077b846ac2540f4ea2baf95c4ef10
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Thu Jun 9 16:45:42 2022 -0500

    Weaken build dependency on TeX.

    [build]: Weaken dependency on TeX, instead using it (to generate the DVI
    and PDF forms of our Texinfo manual) only if it is available.

    * m4/groff.m4 (GROFF_USE_TEX_CHECK): Check for presence of 'tex'
      executable in path.  Set shell variable `groff_use_tex` to "yes" if
      present, and "no" otherwise.  This check runs only if the 'makeinfo'
      and 'texi2dvi' version checks have already passed.

    * configure.ac: Run the new check.  Set Automake conditional `USE_TEX`
      only if shell variable `groff_use_tex` is "yes".  Report whether
      "groff.dvi" and "groff.pdf" are (re-)buildable.

    * doc/doc.am: Parameterize names of groff.{dvi,pdf} targets as Make
      macros `GROFF_DVI` and `GROFF_PDF`.  Define them only if `USE_TEX`.
      Do _not_ update `EXTRA_DIST` macro; leave the literal file names there
      because we require that distribution archives contain these files.

      (.texi.dvi, .texi.pdf): Update suffix rules to check `USE_TEX` and
      fail, complaining of missing 'tex' program, if these targets are
      attempted without it being true.  Only manually specifying the file
      names as targets to 'make' or attempting to generate a distribution
      archive without TeX present should cause these errors.

    * INSTALL.REPO: Update dependency information.

    Fixes <https://savannah.gnu.org/bugs/?62592>.  Thanks to Deri James for
    the report.

G. Branden Robinson <gbranden>
Project Administrator
Mon 06 Jun 2022 10:42:56 PM UTC, comment #2: 

comment #1:

> Since this item also applies to groff 1.22.4,


Commentary in bug #62551 indicates this dependency originates with commit 3805d2a0, from a mere two months ago.

Dave <barx>
Project Member
Mon 06 Jun 2022 09:37:01 PM UTC, comment #1: 

original submission:

> First raised as a tangent in bug #62551 (see comments 10 on) and continued on the email list (the "building without tex" messages in the thread (which sprawls into other topics) at http://lists.gnu.org/r/groff/2022-06/msg00013.html).
>
> Branden, the likely candidate for making the change, is already aware and has participated in discussion, but he has a couple dozen balls in the air right now, so this bug report serves as a bookmark for this item.


Thanks, Dave.  Since this item also applies to groff 1.22.4, it's particularly helpful to have it filed as a ticket.

I sometimes don't create tickets for things I discover to fix that aren't applicable to any official, final groff release.

G. Branden Robinson <gbranden>
Project Administrator
Mon 06 Jun 2022 08:48:08 PM UTC, original submission:  

First raised as a tangent in bug #62551 (see comments 10 on) and continued on the email list (the "building without tex" messages in the thread (which sprawls into other topics) at http://lists.gnu.org/r/groff/2022-06/msg00013.html).

Branden, the likely candidate for making the change, is already aware and has participated in discussion, but he has a couple dozen balls in the air right now, so this bug report serves as a bookmark for this item.

Dave <barx>
Project Member

 

(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 barx (Submitted the item)
  • -email is unavailable- added by barx
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-10 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2022-06-10 gbranden StatusNone In Progress
    2022-06-06 gbranden CategoryCore General
        Severity3 - Normal 1 - Wish
        Assigned toNone gbranden
    2022-06-06 barx Carbon-Copy- Added deri

    Back to the top


    Powered by Savane 3.9