Your message dated Fri, 15 Aug 2014 15:56:24 -0400
with message-id <[email protected]>
and subject line Re: Bug#758146: gdb: FTBFS on ppc64el due to missing run.1
has caused the Debian Bug report #758146,
regarding gdb: FTBFS on ppc64el due to missing run.1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
758146: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758146
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:gdb
Version: 7.7.1+dfsg-1
Severity: important
Tags: patch
User: [email protected]
Usertags: ppc64el
Hi maintainers,
I've noticed a couple of failures when building gdb 7.7.1+dfsg-1 from src on
ppc64el. One of them was already fixed on upstream git repo (fix FTBFS on
non-x86 trying to install unbuilt libinproctrace.so
<http://anonscm.debian.org/cgit/pkg-gdb/gdb.git/commit/?id=72635370173bd44addd08053c5f235e3805f342b>)
but there was another issue with run.1 manpage, that was recently removed from
Debian src:
...
/bin/bash /home/debian/gdb/debian/gdb.git/sim/common/../../mkinstalldirs
/home/debian/gdb/debian/gdb.git/debian/tmp/usr/share/man/man1
mkdir -p -- /home/debian/gdb/debian/gdb.git/debian/tmp/usr/share/man/man1
n=`echo run | sed 's,y,y,'`; \
/usr/bin/install -p -m 644
/home/debian/gdb/debian/gdb.git/sim/common/run.1
/home/debian/gdb/debian/gdb.git/debian/tmp/usr/share/man/man1/$n.1
/usr/bin/install: cannot stat
‘/home/debian/gdb/debian/gdb.git/sim/common/run.1’: No such file or directory
make[4]: *** [install-man] Error 1
make[4]: Leaving directory
`/home/debian/gdb/debian/gdb.git/build/objdir/sim/common'
make[3]: *** [install] Error 1
make[3]: Leaving directory `/home/debian/gdb/debian/gdb.git/build/objdir/sim'
make[2]: *** [install-sim] Error 2
make[2]: Leaving directory `/home/debian/gdb/debian/gdb.git/build/objdir'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/debian/gdb/debian/gdb.git/build/objdir'
make: *** [debian/stamp-makefile-install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
It seems this was also happening in other archs, such as armel and mipsel
(https://buildd.debian.org/status/logs.php?pkg=gdb&ver=7.7.1%2Bdfsg-2)
Please consider the attached patch (against git HEAD commit id a0095d) that
intends to fix this issue.
Thanks and regards,
--
Edjunior
diff --git a/debian/patches/fix-run.1-install.patch b/debian/patches/fix-run.1-install.patch
new file mode 100644
index 0000000..3575afa
--- /dev/null
+++ b/debian/patches/fix-run.1-install.patch
@@ -0,0 +1,18 @@
+--- a/sim/common/Makefile.in 2014-08-13 13:14:35.632343417 -0500
++++ b/sim/common/Makefile.in 2014-08-13 13:14:49.802243957 -0500
+@@ -116,14 +116,7 @@ distclean mostlyclean maintainer-clean r
+ force:
+
+ # Copy the files into directories where they will be run.
+-install: install-man
+-
+-install-man: installdirs
+- n=`echo run | sed '$(program_transform_name)'`; \
+- $(INSTALL_DATA) $(srcdir)/run.1 $(DESTDIR)$(man1dir)/$$n.1
+-
+-installdirs:
+- $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(man1dir)
++install:
+
+ Makefile: Makefile.in config.status
+ $(SHELL) ./config.status
diff --git a/debian/patches/series b/debian/patches/series
index 17707fe..6c1e086 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+fix-run.1-install.patch
gdb-fortran-main.patch
linuxthreads_signal_handling.patch
solve_PATH_MAX_issue.patch
diff --git a/debian/rules b/debian/rules
index 3a526c2..e1a907e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -255,8 +255,6 @@ binary-post-install/gdb$(TS) ::
if [ -x debian/tmp/usr/bin/run ]; then \
mv debian/tmp/usr/bin/run \
debian/gdb$(TS)/usr/bin/$(DEB_TARGET_ALIAS)-run; \
- mv debian/tmp/usr/share/man/man1/run.1 \
- debian/gdb$(TS)/usr/share/man/man1/$(DEB_TARGET_ALIAS)-run.1; \
fi
ifeq ($(run_tests),yes)
install -d debian/gdb$(TS)/usr/share/doc/gdb
--- End Message ---
--- Begin Message ---
Version: 7.7.1+dfsg-3
Thanks for your report, though I'm afraid I didn't see it until after
fixing the bug: I was paying closer attention to the buildd status page
than to bug reports or the PTS (new or old).
(Not, however, close enough attention to realize that 7.7.1+dfsg-1
actually had two distinct FTBFS problems: I made the mistake of assuming
that the run.1 complaints were actually harmless, that parallel building
was giving us build output in a non-deterministic order, and that the
buildd status page was simply latching onto the wrong error-looking
output in some cases ...)
It turns out I went a bit overboard in stripping manpages from the .orig
tarball here; I really only needed to strip the ones in the gdb/
subtree. Consequently, I used a different approach to fix this: I just
patched the manpage back into place for now, and adjusted our repacking
script to only strip manpages from the gdb/ subtree, since the other
manpages don't have the problematic cover texts/invariant sections.
Anyway, it's fixed now.
(Oh, btw, that's not upstream git; that's our packaging repository ;-)
--
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
--- End Message ---