[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Apache Subversion 1.8.0-rc2 Released

From: Barry Scott <barry_at_barrys-emacs.org>
Date: Sun, 26 May 2013 15:41:09 +0100

I see the following warning when compiling on Mac OS X 10.8 with Xcode 4.6.2,
"Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)".

Would you be willing to change the code to fix the warning?

subversion/libsvn_delta/svndiff.c:791:34: warning: adding 'apr_size_t' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
      if (memcmp(buffer, "SVN\0" + db->header_bytes, nheader) == 0)
                         ~~~~~~~~^~~~~~~~~~~~~~~~~~
subversion/libsvn_delta/svndiff.c:791:34: note: use array indexing to silence this warning
      if (memcmp(buffer, "SVN\0" + db->header_bytes, nheader) == 0)
                                 ^
                         & [ ]
subversion/libsvn_delta/svndiff.c:793:39: warning: adding 'apr_size_t' (aka 'unsigned long') to a string does not append to the string [-Wstring-plus-int]
      else if (memcmp(buffer, "SVN\1" + db->header_bytes, nheader) == 0)
                              ~~~~~~~~^~~~~~~~~~~~~~~~~~
subversion/libsvn_delta/svndiff.c:793:39: note: use array indexing to silence this warning
      else if (memcmp(buffer, "SVN\1" + db->header_bytes, nheader) == 0)
                                      ^
                              & [ ]
2 warnings generated.

Also the following path is needed to make serf 1.2.0 work:

--- serfmake.orig 2012-12-09 18:56:19.000000000 +0000
+++ serfmake 2013-05-26 14:54:48.000000000 +0100
@@ -260,7 +261,7 @@
     all_libs = self.LIBS + ' ' + self.SSL_LIBS
 
     lib = File('.', LIBNAME, 'la')
- cmd = '%s --silent --mode=link %s %s -rpath %s -o %s %s %s' % (
+ cmd = '%s --silent --mode=link --tag=CC %s %s -rpath %s -o %s %s %s' % (
       self.LIBTOOL, self.CC, self.LDFLAGS, self.libdir,
       lib.fname, ' '.join([l.fname for l in libobjs]), all_libs)
     self._add_dep(lib, libobjs, cmd)
@@ -283,13 +284,13 @@
 
       # test_all requires extra dependencies
       if fname == "test_all":
- cmd = '%s --silent --mode=link %s %s -static -o %s %s %s %s' % (
+ cmd = '%s --silent --mode=link --tag=CC %s %s -static -o %s %s %s %s' % (
           self.LIBTOOL, self.CC, self.LDFLAGS,
           prog.fname, lib.fname, ' '.join([l.fname for l in [obj] + testobjs]),
           all_libs)
         self._add_dep(prog, [lib, obj] + testobjs, cmd)
       else:
- cmd = '%s --silent --mode=link %s %s -static -o %s %s %s %s' % (
+ cmd = '%s --silent --mode=link --tag=CC %s %s -static -o %s %s %s %s' % (
           self.LIBTOOL, self.CC, self.LDFLAGS,
           prog.fname, lib.fname, obj.fname, all_libs)
         self._add_dep(prog, [lib, obj], cmd)
@@ -299,7 +300,7 @@
     self._add_dep(pcfile, [], self._write_pcfile)
 
   def _add_compile(self, src, obj, hdrs):
- cmd = '%s --silent --mode=compile %s %s %s %s -c -o %s %s' % (
+ cmd = '%s --silent --mode=compile --tag=CC %s %s %s %s -c -o %s %s' % (
       self.LIBTOOL, self.CC, self.CFLAGS, self.CPPFLAGS, self.INCLUDES,
       obj.fname, src.fname)
     self._add_dep(obj, [src] + hdrs, cmd)
@@ -386,7 +387,7 @@
       print("Installing: %s.pc" % (PCFILE,))
       shutil.copy(PCFILE + '.pc', self.pkgconfigdir)
 
- cmd = '%s --silent --mode=install %s -c -m %d %s %s' % (
+ cmd = '%s --silent --mode=install --tag=CC %s -c -m %d %s %s' % (
             self.LIBTOOL, '/usr/bin/install', self.MODE, target.fname,
             self.libdir)
 

Barry

On 17 May 2013, at 00:01, Ben Reser <breser_at_apache.org> wrote:

> I'm happy to announce the release of Apache Subversion 1.8.0-rc2, the
> first public release candidate of Subversion 1.8.0.
> Please choose the mirror closest to you by visiting:
>
> http://subversion.apache.org/download/#pre-releases
>
> The SHA1 checksums are:
>
> 272a32237cf297f9cca5f511e600e46ac19ab052 subversion-1.8.0-rc2.tar.bz2
> 9b8d319f6b556f856348a72563fd2d5005a6fa31 subversion-1.8.0-rc2.tar.gz
> bab03d90dc8cc27877372ba875009c5b878c9785 subversion-1.8.0-rc2.zip
>
> PGP Signatures are available at:
>
> http://www.apache.org/dist/subversion/subversion-1.8.0-rc2.tar.bz2.asc
> http://www.apache.org/dist/subversion/subversion-1.8.0-rc2.tar.gz.asc
> http://www.apache.org/dist/subversion/subversion-1.8.0-rc2.zip.asc
>
> For this release, the following people have provided PGP signatures:
>
> Ben Reser [4096R/16A0DE01] with fingerprint:
> 19BB CAEF 7B19 B280 A0E2 175E 62D4 8FAD 16A0 DE01
> Branko Čibej [2048R/C8628501] with fingerprint:
> 8769 28CD 4954 EA74 87B6 B96C 29B8 92D0 C862 8501
> C. Michael Pilato [4096R/FE681333] with fingerprint:
> 753B 2F9D F717 FA23 A43E E7C3 F5E0 F001 FE68 1333
> Ivan Zhakov [4096R/F6AD8147] with fingerprint:
> 4829 8F0F E47F 4B8A 43FD 6525 919F 6F61 F6AD 8147
> Mark Phippard [1024D/035A96A9] with fingerprint:
> D315 89DB E1C1 E9BA D218 39FD 265D F8A0 035A 96A9
> Paul T. Burba [4096R/56F3D7BC] with fingerprint:
> 1A0F E7C6 B3C5 F8D4 D0C4 A20B 64DD C071 56F3 D7BC
> Philip Martin [2048R/ED1A599C] with fingerprint:
> A844 790F B574 3606 EE95 9207 76D7 88E1 ED1A 599C
> Stefan Sperling [2048R/9A59B973] with fingerprint:
> 8BC4 DAE0 C5A4 D65F 4044 0107 4F7D BAA9 9A59 B973
>
> This is a release candidate for what will eventually become Apache
> Subversion 1.8.0. It is thought to be free of blocking issues, and if
> none are found will become the final release. For this reason, we
> encourage thorough testing in as many environments as possible. This
> release candidate begins the four-week "soak" period to allow for
> further testing, and barring show-stopping bugs, the final 1.8.0
> release can be expected on or near June 14th.
>
> A pre-release means the Subversion developers feel that this release
> is ready for widespread testing by the community. There are known issues
> (and unknown ones!), so please use it at your own risk, though we do
> encourage people to test this release thoroughly. Of particular note, please
> remember than persistent data, such as the working copy or repository
> formats may change before the final release, and there may not be an
> upgrade path from the pre-releases to the final.
>
> As a note to operating system distro packagers: while we wish to have this
> release candidate widely tested, we do not feel that it is ready for packaging
> and providing to end-users through a distro package system. Packaging a
> release candidate poses many problems, the biggest being that our policy lets
> us break compatibility between the release candidate and the final release, if
> we find something serious enough. Having many users depending on a release
> candidate through their distro would cause no end of pain and frustration that
> we do not want to have to deal with. However, if your distro has a branch that
> is clearly labeled as containing experimental and often broken software, and
> explicitly destined to consenting developers and integrators only, then we're
> okay with packaging the release candidate there. Just don't let it near the
> end users please.
>
>
> Release notes for the 1.8.x release series may be found at:
>
> http://subversion.apache.org/docs/release-notes/1.8.html
>
> You can find the list of changes between 1.8.0-rc2 and earlier versions at:
>
> http://svn.apache.org/repos/asf/subversion/tags/1.8.0-rc2/CHANGES
>
> Questions, comments, and bug reports to users_at_subversion.apache.org.
>
> Thanks,
> - The Subversion Team
>
Received on 2013-05-26 16:41:54 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.