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

Re: Issue with binaries generated(subversion 1.10.2) after compilation on AiX 7.2

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 27 Dec 2018 15:04:09 +0000

Prannoy K.v wrote on Thu, 27 Dec 2018 13:35 +0000:
> Hi Team, 
> I tried compiling subversion 1.10.2 on AiX 7.2 machine .

Note that 1.10.3 has been released.

> After "make" command generated binaries work well in the folder where it
> is generated, whereas if we move binaries to a different location I get
> the error :- 
>
> svnadmin: E000009: Can't write '/temp1110/home/Repo_test/db/current' atomically 
>
> svnadmin: E000009: Can't flush file '/temp1110/home/Repo_test/db' to
> disk: Bad file number  

In subversion/libsvn_subr/io.c, in svn_io_file_flush_to_disk(), there's
an APR_STATUS_IS_EINVAL() check. Try making it check
APR_STATUS_IS_EBADF() as well and handle it the same way (assuming "Bad
file number" is strerror(3) of EBADF) --- read the comment there while
you're at it. For context, creating new revisions relies on being able
to flush the revision files to disk.

Cheers,

Daniel
Received on 2018-12-27 16:04:28 CET

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

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