[oe-issues] [Bug 2493] New: Subversion reports error when writing to repository ( slugosbe)

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Sat Jun 16 01:39:13 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2493

           Summary: Subversion reports error when writing to repository
                    (slugosbe)
           Product: Openembedded
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: treitmayr at yahoo.com
         QAContact: tinderbox-oe at gmx.net


I have a runtime problem with subversion which I believe has its origin in a
wrong guess of a type size in apr. The symptom is the following error message
each time I try to commit any changes:

  svn: Malformed text rep offset line in node-rev

This seems to be a result of treating the type off_t (file offset) as 64-bit
number in a few places in fs_fs.c while it is 32-bit only. fs_fs.c gets this
information from apr.h which in turn guesses the type size wrong when building
the apr package.
I used the most current versions subversion-1.4.3-r1 and apr-1.2.7-r1.

The wrong type size guessing can be found in apr's configure and configure.in
where 64 bits is the default value for cross compiling.

  configure.in:
    APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>], off_t, 8)
  configure:
    if test "$cross_compiling" = yes; then
      ac_cv_sizeof_off_t=8

I checked the size of off_t at runtime, corrected the above values to 4 and
rebuilt both packages -> subversion now works just fine.
The final solution could be a patch for configure/.in or a pre-filled ccache.

Can someone confirm my findings?
-Thomas

PS: I was doing the builds on a Gentoo system, the target is SlugOS/BE.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list