public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/58197] New: subversion-1.8.x breaks script contrib/gcc_update
@ 2013-08-19 21:03 winfried.magerl@t-online.de
2013-08-19 21:04 ` [Bug other/58197] " winfried.magerl@t-online.de
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: winfried.magerl@t-online.de @ 2013-08-19 21:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58197
Bug ID: 58197
Summary: subversion-1.8.x breaks script contrib/gcc_update
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: winfried.magerl@t-online.de
Hi,
installing subversion-1.8.x breaks checkout of the svn-repository because
'svn info' adds an additional line.
The command used:
svn co svn://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch gcc-4.8-branch
(cd gcc-4.8-branch; ./contrib/gcc_update)
the diff for 'svn info' with subversion-1.7.11 and subversion-1.8.1:
# diff -u svn-info-1711 svn-info-181
--- svn-info-1711 2013-08-19 22:10:59.480215273 +0200
+++ svn-info-181 2013-08-19 22:09:48.011278900 +0200
@@ -1,6 +1,7 @@
Path: .
Working Copy Root Path: /home/winfried/gcc-svn/gcc-4.8-branch
URL: svn://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch
+Relative URL: ^/branches/gcc-4_8-branch
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 201852
This results in a broken gcc/REVISION which breaks compilation because
it's used to generate version-header:
# diff -ur -x.svn gcc-4.8-svn1711/gcc/REVISION gcc-4.8-svn18x/gcc/REVISION
--- gcc-4.8-svn1711/gcc/REVISION 2013-08-19 20:35:03.353241599 +0200
+++ gcc-4.8-svn18x/gcc/REVISION 2013-08-19 21:34:33.115310266 +0200
@@ -1 +1,2 @@
-[gcc-4_8-branch revision 201852]
+[gcc-4_8-branch
+gcc-4_8-branch revision 201854]
the script-part from contrib/gcc_update matches twice for /URL:/
branch=`$GCC_SVN info | sed -ne "/URL:/ {
s,.*/trunk,trunk,
s,.*/branches/,,
s,.*/tags/,,
p
}"`
using 'sh -x contrib/gcc_update' has the following diff:
# diff -u up.out.1711 up.out.181
++ svn info
@@ -33,13 +32,15 @@
s,.*/tags/,,
p
}'
-+ branch=gcc-4_8-branch
++ branch='gcc-4_8-branch
+gcc-4_8-branch'
+ rm -f LAST_UPDATED gcc/REVISION
+ date
++ TZ=UTC
++ date
-+ echo 'Mon Aug 19 20:12:31 UTC 2013 (revision 201855)'
-+ echo '[gcc-4_8-branch revision 201855]'
++ echo 'Mon Aug 19 20:14:22 UTC 2013 (revision 201855)'
++ echo '[gcc-4_8-branch
+gcc-4_8-branch revision 201855]'
A trivial fix would be something like /^URL:/ but I don't know
enough about ancient subversion-releases to be sure the line
has always started with '^URL:'.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug other/58197] subversion-1.8.x breaks script contrib/gcc_update
2013-08-19 21:03 [Bug other/58197] New: subversion-1.8.x breaks script contrib/gcc_update winfried.magerl@t-online.de
@ 2013-08-19 21:04 ` winfried.magerl@t-online.de
2013-08-20 16:51 ` winfried.magerl@t-online.de
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: winfried.magerl@t-online.de @ 2013-08-19 21:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58197
Winfried Magerl <winfried.magerl@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |winfried.magerl@t-online.de
Severity|normal |trivial
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug other/58197] subversion-1.8.x breaks script contrib/gcc_update
2013-08-19 21:03 [Bug other/58197] New: subversion-1.8.x breaks script contrib/gcc_update winfried.magerl@t-online.de
2013-08-19 21:04 ` [Bug other/58197] " winfried.magerl@t-online.de
@ 2013-08-20 16:51 ` winfried.magerl@t-online.de
2014-03-29 18:07 ` winfried.magerl@t-online.de
2014-03-29 19:14 ` burnus at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: winfried.magerl@t-online.de @ 2013-08-20 16:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58197
--- Comment #1 from Winfried Magerl <winfried.magerl@t-online.de> ---
checked some ancient versions of subversion and there was no
format-change to URL: since subversion-1.0.0 (2004):
./subversion-1.0.0/subversion/clients/cmdline/info-cmd.c: printf ("URL:
%s\n", name_stdout);
./subversion-1.3.0/subversion/clients/cmdline/info-cmd.c: SVN_ERR
(svn_cmdline_printf (pool, _("URL: %s\n"), info->URL));
./subversion-1.4.0/subversion/svn/info-cmd.c:
SVN_ERR(svn_cmdline_printf(pool, _("URL: %s\n"), info->URL));
./subversion-1.5.0/subversion/svn/info-cmd.c:
SVN_ERR(svn_cmdline_printf(pool, _("URL: %s\n"), info->URL));
./subversion-1.6.0/subversion/svn/info-cmd.c:
SVN_ERR(svn_cmdline_printf(pool, _("URL: %s\n"), info->URL));
./subversion-1.7.0/subversion/svn/info-cmd.c:
SVN_ERR(svn_cmdline_printf(pool, _("URL: %s\n"), info->URL));
./subversion-1.8.0/subversion/svn/info-cmd.c:
SVN_ERR(svn_cmdline_printf(pool, _("URL: %s\n"), info->URL));
./subversion-1.8.0/subversion/svn/info-cmd.c:
SVN_ERR(svn_cmdline_printf(pool, _("Relative URL: ^/%s\n"),
Changing sed-expression from /URL:/ to /^URL:/ is the obviously correct fix.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug other/58197] subversion-1.8.x breaks script contrib/gcc_update
2013-08-19 21:03 [Bug other/58197] New: subversion-1.8.x breaks script contrib/gcc_update winfried.magerl@t-online.de
2013-08-19 21:04 ` [Bug other/58197] " winfried.magerl@t-online.de
2013-08-20 16:51 ` winfried.magerl@t-online.de
@ 2014-03-29 18:07 ` winfried.magerl@t-online.de
2014-03-29 19:14 ` burnus at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: winfried.magerl@t-online.de @ 2014-03-29 18:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58197
--- Comment #2 from Winfried Magerl <winfried.magerl@t-online.de> ---
the bug is already fixed in current gcc-4.8-branch and in TRUNK.
gcc-4.8-branch/contrib/ChangeLog:
---
2013-10-21 Mike Stump <mikestump@comcast.net>
* gcc_update (configure): Update to handle svn 1.8.1.
---
gcc-4.9-branch/contrib/ChangeLog:
---
2013-08-29 Mike Stump <mikestump@comcast.net>
* gcc_update (configure): Update to handle svn 1.8.1.
---
please confirm/close/.... the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug other/58197] subversion-1.8.x breaks script contrib/gcc_update
2013-08-19 21:03 [Bug other/58197] New: subversion-1.8.x breaks script contrib/gcc_update winfried.magerl@t-online.de
` (2 preceding siblings ...)
2014-03-29 18:07 ` winfried.magerl@t-online.de
@ 2014-03-29 19:14 ` burnus at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-03-29 19:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58197
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |burnus at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Winfried Magerl from comment #2)
> please confirm/close/.... the bug.
Well, you should also be able to close your own bugs yourself.
A belated thanks for the report and for the digging.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-03-29 19:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-19 21:03 [Bug other/58197] New: subversion-1.8.x breaks script contrib/gcc_update winfried.magerl@t-online.de
2013-08-19 21:04 ` [Bug other/58197] " winfried.magerl@t-online.de
2013-08-20 16:51 ` winfried.magerl@t-online.de
2014-03-29 18:07 ` winfried.magerl@t-online.de
2014-03-29 19:14 ` burnus at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).