From: Hans-Peter Nilsson <hp@bitrange.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Joel Brobecker <brobecker@adacore.com>, gdb-patches@sourceware.org
Subject: Re: RFC: move common/version.in to gdb/ (Was: sim checkout broken)
Date: Fri, 28 Jun 2013 03:18:00 -0000 [thread overview]
Message-ID: <alpine.BSF.2.02.1306271906200.39031@arjuna.pair.com> (raw)
In-Reply-To: <87vc4zo5km.fsf_-_@fleche.redhat.com>
On Thu, 27 Jun 2013, Tom Tromey wrote:
> Tom> I think moving the file out of 'common' should help.
>
> Here's the patch.
>
> Let me know what you think.
Thanks! It works, but it's sad to be forced to keep
src/gdb/version.in.
Though, I admit I didn't try much when I saw your patch, but at
least I checked and it doesn't help moving the gdb-version-files
to their own module alias. That's odd, because the src-support
module alias *also* mentions non-pertinent (long gone) files; it
seemed just the same as for the attempted gdb-version module
below, except for gdb-version mentioning a file one directory
deeper. So, I'm still somewhat lost as to what the reason is
for that "Emptydir"-complaint and exit(1). I guess I could
debug cvs, but I'm not really that deeply interested. Here's
what I tried. Before that, as you probably imagine, I tried
having gdb-version at the end of the sim module alias. Again:
*DO NOT APPLY* the following patch; it's wrong; it doesn't make
a difference:
Index: modules
===================================================================
RCS file: /home/hp/derp/srccvs/cvsfiles/CVSROOT/modules,v
retrieving revision 1.79
retrieving revision 1.80
diff -p -u -r1.79 -r1.80
--- modules 25 Jun 2013 15:01:34 -0000 1.79
+++ modules 27 Jun 2013 22:27:52 -0000 1.80
@@ -135,11 +135,18 @@ dejagnu -a naked-dejagnu naked-expect n
naked-texinfo naked-libiberty naked-include \
src/djunpack.bat
+# This module, gdb-version, must not be mentioned last in any using
+# module due to either file expected to be missing, or else CVS exits
+# with non-zero value on subsequent checkouts, which is the required
+# update method as "cvs update" "updates" by checking out the *rest* of
+# the src tree.
+gdb-version -a src/gdb/version.in \
+ src/gdb/common/version.in
+
naked-sim -a src/sim
sim -a naked-sim naked-bfd naked-opcodes \
naked-libiberty naked-include \
- src-support naked-intl src/gdb/version.in \
- src/gdb/common/version.in
+ src-support gdb-version naked-intl
# OLD-GDB contains everything that ever was in GDB. It can be used to
# check out out old GDB branches and as an approximation for an old
*DO NOT APPLY* the patch above.
> Once it goes in I will update the modules file.
Not really necessary, but for the record, I verified that
nothing bad happened (could still checkout**2 with exit 0) with
the patch below in the local repo copy:
Index: modules
===================================================================
RCS file: /home/hp/derp/srccvs/cvsfiles/CVSROOT/modules,v
retrieving revision 1.79
diff -p -u -r1.79 modules
--- modules 25 Jun 2013 15:01:34 -0000 1.79
+++ modules 27 Jun 2013 23:02:42 -0000
@@ -138,8 +138,7 @@ dejagnu -a naked-dejagnu naked-expect n
naked-sim -a src/sim
sim -a naked-sim naked-bfd naked-opcodes \
naked-libiberty naked-include \
- src-support naked-intl src/gdb/version.in \
- src/gdb/common/version.in
+ src-support naked-intl src/gdb/version.in
# OLD-GDB contains everything that ever was in GDB. It can be used to
# check out out old GDB branches and as an approximation for an old
Thank you for your efforts. If you want to try something else
module-wise, I'll hang on to the repo copy for a little while
longer, or maybe you want it uploaded to try something yourself
(need to tweak config, commitinfo and loginfo to comment-out the
sourceware-specific script calls). I think that'd take a few
hours though, (the usual) asymmetric network speed factors apply
here.
brgds, H-P
next prev parent reply other threads:[~2013-06-27 23:33 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-21 17:33 [PATCH v5] don't keep a gdb-specific date Tom Tromey
2013-06-21 18:00 ` Pedro Alves
2013-06-24 14:56 ` Tom Tromey
2013-06-24 19:22 ` Joel Brobecker
2013-06-24 22:41 ` [commit] Fix host_name and target_name generation by common/create-version.sh Joel Brobecker
2013-06-24 22:59 ` [PATCH v5] don't keep a gdb-specific date Joel Brobecker
2013-06-24 23:58 ` [commit] Adapt sim to new version number & date locations Joel Brobecker
2013-06-25 0:52 ` Mike Frysinger
2013-06-25 1:53 ` Joel Brobecker
2013-06-25 15:51 ` Tom Tromey
2013-06-25 15:57 ` Tom Tromey
2013-06-25 15:46 ` Tom Tromey
2013-06-25 16:01 ` Eli Zaretskii
2013-06-25 15:28 ` Tom Tromey
2013-06-25 16:41 ` Mike Frysinger
2013-06-25 1:08 ` [PATCH v5] don't keep a gdb-specific date Hans-Peter Nilsson
2013-06-25 14:16 ` Tom Tromey
2013-06-25 14:25 ` Joel Brobecker
2013-06-25 14:43 ` Tom Tromey
2013-06-25 15:27 ` Tom Tromey
2013-06-26 11:23 ` sim checkout broken (was: [PATCH v5] don't keep a gdb-specific date) Hans-Peter Nilsson
2013-06-26 16:52 ` sim checkout broken Tom Tromey
2013-06-26 17:58 ` Hans-Peter Nilsson
2013-06-27 3:22 ` Tom Tromey
2013-06-27 4:05 ` Hans-Peter Nilsson
2013-06-27 15:22 ` Tom Tromey
2013-06-27 16:30 ` Tom Tromey
2013-06-27 17:09 ` RFC: move common/version.in to gdb/ (Was: sim checkout broken) Tom Tromey
2013-06-28 3:18 ` Hans-Peter Nilsson [this message]
2013-06-28 18:17 ` RFC: move common/version.in to gdb/ Tom Tromey
2013-06-27 17:27 ` sim checkout broken Hans-Peter Nilsson
2013-06-27 8:19 ` Andreas Schwab
2013-06-25 14:50 ` [PATCH v5] don't keep a gdb-specific date Pedro Alves
2013-06-25 14:53 ` Joel Brobecker
2013-06-25 15:01 ` Tom Tromey
2013-06-25 15:14 ` Pedro Alves
2013-06-26 2:45 ` Yao Qi
2013-06-26 16:06 ` Tom Tromey
2013-06-27 2:11 ` Yao Qi
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=alpine.BSF.2.02.1306271906200.39031@arjuna.pair.com \
--to=hp@bitrange.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.com \
/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