public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Fix PDF build on Rawhide/F-29.
Date: Sat, 27 Jun 2026 23:58:34 GMT	[thread overview]
Message-ID: <178260471484.1.13148608830411507410.rpms-gdb-4262bf0e3265@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 4262bf0e3265877a1b446e9c2d6a9bd346c1202b
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2018-03-31T19:34:45+02:00
Stats  : +65/-1 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/4262bf0e3265877a1b446e9c2d6a9bd346c1202b?branch=gdb-17.2-rebase-f44

Log:
Fix PDF build on Rawhide/F-29.

---
diff --git a/_gdb.spec.Patch.include b/_gdb.spec.Patch.include
index 353356e..b9d3e6d 100644
--- a/_gdb.spec.Patch.include
+++ b/_gdb.spec.Patch.include
@@ -527,3 +527,7 @@ Patch126: gdb-ppc64-stwux-tautological-compare.patch
 # =fedoratest
 Patch127: gdb-rhbz1553104-s390x-arch12-test.patch
 
+# Fix PDF build on Rawhide/F-29.
+# =push
+Patch128: gdb-texinfo-path.patch
+

diff --git a/_gdb.spec.patch.include b/_gdb.spec.patch.include
index 28c6d1f..aa4fb19 100644
--- a/_gdb.spec.patch.include
+++ b/_gdb.spec.patch.include
@@ -125,3 +125,4 @@
 %patch125 -p1
 %patch126 -p1
 %patch127 -p1
+%patch128 -p1

diff --git a/_patch_order b/_patch_order
index 91c68da..ed188d2 100644
--- a/_patch_order
+++ b/_patch_order
@@ -125,3 +125,4 @@ gdb-vla-intel-fix-print-char-array.patch
 gdb-rhbz1540559-gdbaddindex-glibcdebug-regression.patch
 gdb-ppc64-stwux-tautological-compare.patch
 gdb-rhbz1553104-s390x-arch12-test.patch
+gdb-texinfo-path.patch

diff --git a/gdb-texinfo-path.patch b/gdb-texinfo-path.patch
new file mode 100644
index 0000000..72c0800
--- /dev/null
+++ b/gdb-texinfo-path.patch
@@ -0,0 +1,55 @@
+http://sourceware.org/ml/gdb-patches/2018-03/msg00635.html
+Subject: [patch] Fix gdb/doc/ PDF build on Fedora Rawhide==F-29
+
+
+--2fHTh5uZTiUOsy+g
+Content-Type: text/plain; charset=us-ascii
+Content-Disposition: inline
+
+Hi,
+
+on Fedora Rawhide==F-29 PDF build fails with:
+	https://kojipkgs.fedoraproject.org//work/tasks/2102/26052102/build.log
+	texi2dvi --pdf  -I ../../../gdb/doc/../mi -I ../../../gdb/doc \
+		../../../gdb/doc/gdb.texinfo
+	! I can't find file `texinfo.tex'.
+
+TBH I do not see how the file could be found in earlier versions.  Also both
+F-29 and F-28 have texinfo-tex-6.5-3.fc28.x86_64 while in F-28 it still builds
+fine but in F-29 it does not - so apparently it depends on some other package.
+
+But I did not investigate why as IMO the patch below is a logical one.
+
+OK for check-in?
+
+
+Jan
+
+--2fHTh5uZTiUOsy+g
+Content-Type: text/plain; charset=us-ascii
+Content-Disposition: inline; filename="gdb-texinfo-path.patch"
+
+gdb/ChangeLog
+2018-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* doc/Makefile.in (TEXI2DVI): Add $(SET_TEXINPUTS).
+
+diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
+index 0323bc4ecb..fa745b3542 100644
+--- a/gdb/doc/Makefile.in
++++ b/gdb/doc/Makefile.in
+@@ -63,7 +63,7 @@ MAKEHTMLFLAGS =
+ TEXI2ROFF=texi2roff
+ 
+ # where to find texi2dvi, ditto
+-TEXI2DVI=texi2dvi
++TEXI2DVI=$(SET_TEXINPUTS) texi2dvi
+ 
+ # Package to install the docs under
+ PACKAGE = @PACKAGE@
+-- 
+2.17.0.rc1
+
+
+--2fHTh5uZTiUOsy+g--
+

diff --git a/gdb.spec b/gdb.spec
index d19c2ad..2cbfd1a 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -26,7 +26,7 @@ Version: 8.1
 
 # The release always contains a leading reserved number, start it at 1.
 # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 12%{?dist}
+Release: 13%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
 Group: Development/Debuggers
@@ -1026,6 +1026,9 @@ then
 fi
 
 %changelog
+* Sat Mar 31 2018 Jan Kratochvil <jan.kratochvil@redhat.com> - 8.1-13.fc28
+- Fix PDF build on Rawhide/F-29.
+
 * Fri Mar 23 2018 Jan Kratochvil <jan.kratochvil@redhat.com> - 8.1-12.fc28
 - Add test: [s390x] Backport arch12 instructions decoding (RH BZ 1553104).
 

                 reply	other threads:[~2026-06-27 23:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178260471484.1.13148608830411507410.rpms-gdb-4262bf0e3265@fedoraproject.org \
    --to=jan.kratochvil@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox